Method: projects.locations.templates.download

Downloads a template. Retrieves the Template and returns the response as a string.

HTTP request

GET https://integrations.googleapis.com/v1/{name=projects/*/locations/*/templates/*}:download

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The template to download. Format: projects/{project}/locations/{location}/template/{templateId}

Query parameters

Parameters
fileFormat

enum (FileFormat)

Required. File format for download request.

Request body

The request body must be empty.

Response body

Response for templates.download.

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

JSON representation
{
  "content": string
}
Fields
content

string

String representation of the template.

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 name resource:

  • integrations.templates.get

For more information, see the IAM documentation.