Method: projects.locations.spaces.applicationTemplates.import

Imports to an existing application template from a given shared template.

HTTP request

POST https://designcenter.googleapis.com/v1alpha/{name=projects/*/locations/*/spaces/*/applicationTemplates/*}:import

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the application template.

Request body

The request body contains data with the following structure:

JSON representation
{

  // Union field source can be only one of the following:
  "applicationTemplateRevisionUri": string,
  "sharedTemplateRevisionUri": string
  // End of list of possible types for union field source.
}
Fields
Union field source. The source for setting application template components/connections. source can be only one of the following:
applicationTemplateRevisionUri

string

Optional. The source URI for application template revision.

sharedTemplateRevisionUri

string

Optional. The source URI for catalog template.

Response body

If successful, the response body contains an instance of ApplicationTemplate.

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:

  • designcenter.applicationTemplates.update

For more information, see the IAM documentation.