Method: projects.draft.read
Stay organized with collections
Save and categorize content based on your preferences.
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["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."]]],[]]