Method: projects.locations.previews.export

Export Preview results.

HTTP request

POST https://config.googleapis.com/v1/{parent=projects/*/locations/*/previews/*}:export

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The preview whose results should be exported. The preview value is in the format: 'projects/{projectId}/locations/{location}/previews/{preview}'. It takes the form projects/{project}/locations/{location}/previews/{preview}.

Request body

The request body must be empty.

Response body

A response to previews.export call. Contains preview results.

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

JSON representation
{
  "result": {
    object (PreviewResult)
  }
}
Fields
result

object (PreviewResult)

Output only. Signed URLs for accessing the plan files.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • config.googleapis.com/config.previews.export

For more information, see the IAM documentation.

PreviewResult

Contains a signed Cloud Storage URLs.

JSON representation
{
  "binarySignedUri": string,
  "jsonSignedUri": string
}
Fields
binarySignedUri

string

Output only. Plan binary signed URL

jsonSignedUri

string

Output only. Plan JSON signed URL