AI-generated Key Takeaways
-
The document provides a comprehensive overview of how to read the content of a project version using an HTTP POST request.
-
The request requires a 'name' path parameter specifying the project and version in a structured format.
-
The optional request body includes a
clientSecretEncryptionKeyVersion
field for specifying the encryption key version for account linking secrets. -
The successful response body contains a
files
field, which is an object representing a list of files from the server.
Reads the entire content of a project version.
HTTP request
POST https://actions.googleapis.com/v2/{name=projects/*/versions/*}:read
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the version resource in the format |
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{ "clientSecretEncryptionKeyVersion": string } |
Fields | |
---|---|
clientSecretEncryptionKeyVersion |
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. |
Response body
If successful, the response body contains data with the following structure:
Streaming RPC response for versions.read.
JSON representation | |
---|---|
{
"files": {
object ( |
Fields | |
---|---|
files |
List of files sent from the server at a time. |