会話型アクションのサポートは 2023 年 6 月 13 日に終了しました。詳細については、
会話型アクションの廃止をご覧ください。
Method: projects.versions.read
プロジェクト バージョンの内容全体を読み取ります。
HTTP リクエスト
POST https://actions.googleapis.com/v2/{name=projects/*/versions/*}:read
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。バージョン リソースの名前(projects/{project}/versions/{version} 形式)。{project} はプロジェクトに関連付けられているクラウド プロジェクト ID です。{version} は読み取られるバージョンの識別子です。
|
リクエスト本文
リクエストの本文には、次の構造のデータが含まれます。
JSON 表現 |
{
"clientSecretEncryptionKeyVersion": string
} |
フィールド |
clientSecretEncryptionKeyVersion |
string
省略可。アカウント リンクの OAuth クライアント シークレットの暗号化に使用される暗号鍵のバージョン。指定しない場合、主キーのバージョンが暗号化に使用されます。クライアント シークレットを使用してアカウントをリンクしたプロジェクトにのみ関連します。
|
レスポンスの本文
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
versions.read に対するストリーミング RPC レスポンス。
JSON 表現 |
{
"files": {
object (Files )
}
} |
フィールド |
files |
object (Files )
サーバーから一度に送信されるファイルのリスト。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-22 UTC。
[null,null,["最終更新日 2024-08-22 UTC。"],[[["Reads the complete content of a specified project version using a POST request."],["Requires the project and version identifiers as path parameters in the request URL."],["Optionally accepts an encryption key version for account linking client secrets in the request body."],["Responds with a stream of files contained within the requested project version."]]],["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"]]