AI-generated Key Takeaways
-
This documentation outlines how to read the entire content of a project draft using an HTTP POST request.
-
The request requires specifying the project name as a path parameter and optionally providing an encryption key version for account linking client secrets.
-
The response provides a stream of files contained within the project draft.
-
The content is structured using JSON for both request and response bodies, with detailed descriptions of their respective fields.
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. |