Method: projects.versions.read
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি প্রকল্প সংস্করণের সম্পূর্ণ বিষয়বস্তু পড়ে।
HTTP অনুরোধ
POST https://actions.googleapis.com/v2/{name=projects/*/versions/*}:read
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
name | string প্রয়োজন। projects/{project}/versions/{version} ফর্ম্যাটে ভার্সন রিসোর্সের নাম। {project} হল প্রজেক্টের সাথে যুক্ত ক্লাউড প্রোজেক্ট আইডি, {version} হল পঠিত সংস্করণটির সনাক্তকারী৷ |
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"clientSecretEncryptionKeyVersion": string
} |
ক্ষেত্র |
---|
clientSecretEncryptionKeyVersion | string ঐচ্ছিক। OAuth ক্লায়েন্ট সিক্রেট লিঙ্ক করা অ্যাকাউন্ট এনক্রিপ্ট করতে ব্যবহৃত ক্রিপ্টো কী-এর সংস্করণ। যদি নির্দিষ্ট না করা হয়, প্রাথমিক কী সংস্করণটি এনক্রিপশনের জন্য ব্যবহৃত হয়। শুধুমাত্র ক্লায়েন্ট সিক্রেটের সাথে অ্যাকাউন্ট লিঙ্ক করা প্রকল্পগুলির জন্য প্রাসঙ্গিক। |
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
versions.read এর জন্য স্ট্রিমিং RPC প্রতিক্রিয়া।
JSON প্রতিনিধিত্ব |
---|
{
"files": {
object (Files )
}
} |
ক্ষেত্র |
---|
files | object ( Files ) একটি সময়ে সার্ভার থেকে পাঠানো ফাইলের তালিকা। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eReads the complete content of a specified project version using a POST request.\u003c/p\u003e\n"],["\u003cp\u003eRequires the project and version identifiers as path parameters in the request URL.\u003c/p\u003e\n"],["\u003cp\u003eOptionally accepts an encryption key version for account linking client secrets in the request body.\u003c/p\u003e\n"],["\u003cp\u003eResponds with a stream of files contained within the requested project version.\u003c/p\u003e\n"]]],["This documentation details reading the content of a project version via an HTTP POST request to a specific URL, using gRPC Transcoding syntax. The request requires a `name` path parameter indicating the project and version. The request body optionally includes a `clientSecretEncryptionKeyVersion` for projects with account linking. A successful response contains a `files` field with a list of files from the server in JSON format. The request retrieves data associated with a specified project version.\n"],null,["# Method: projects.versions.read\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ReadVersionResponse.SCHEMA_REPRESENTATION)\n\nReads the entire content of a project version.\n\n### HTTP request\n\n`POST https://actions.googleapis.com/v2/{name=projects/*/versions/*}:read`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the version resource in the format `projects/{project}/versions/{version}`. `{project}` is the cloud project ID associated with the project, `{version}` is the identifier of the version being read. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation ||\n|--------------------------------------------------------|---|\n| ``` { \"clientSecretEncryptionKeyVersion\": string } ``` |\n\n| Fields ||\n|------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `clientSecretEncryptionKeyVersion` | `string` Optional. The version of the crypto key used to encrypt the account linking OAuth client secret. If not specified, the primary key version is used for encryption. Only relevant for projects with account linking with client secret. |\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nStreaming RPC response for versions.read.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------|---|\n| ``` { \"files\": { object (/assistant/actions/api/reference/rest/v2/Files) } } ``` |\n\n| Fields ||\n|---------|--------------------------------------------------------------------------------------------------------------------|\n| `files` | `object (`[Files](/assistant/actions/api/reference/rest/v2/Files)`)` List of files sent from the server at a time. |"]]