AI-generated Key Takeaways
-
This documentation describes how to read the entire content of a project draft using an HTTP POST request to the specified URL.
-
The request uses path parameters, specifically a required
name
parameter in the formatprojects/{project}/draft
. -
The request body is optional and can include a
clientSecretEncryptionKeyVersion
field. -
The successful response body contains a
files
field which is an object representing a list of files sent from the server.
Reads the entire content of the project draft.
HTTP request
POST https://actions.googleapis.com/v2/{name=projects/*/draft}:read
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the 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 draft.read.
JSON representation | |
---|---|
{
"files": {
object ( |
Fields | |
---|---|
files |
List of files sent from the server at a time. |