Method: projects.draft.read

  • 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 format projects/{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

string

Required. The name of the resource in the format projects/{project}/draft. The {project} is the cloud project ID associated with the project.

Request body

The request body contains data with the following structure:

JSON representation
{
  "clientSecretEncryptionKeyVersion": string
}
Fields
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.

Response body

If successful, the response body contains data with the following structure:

Streaming RPC response for draft.read.

JSON representation
{
  "files": {
    object (Files)
  }
}
Fields
files

object (Files)

List of files sent from the server at a time.