Method: projects.locations.spaces.catalogs.templates.create

Adds a template to a catalog.

HTTP request

POST https://designcenter.googleapis.com/v1alpha/{parent=projects/*/locations/*/spaces/*/catalogs/*}/templates

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource in which the catalog template is created.

Query parameters

Parameters
catalogTemplateId

string

Required. The ID of the catalog template to create. The ID is appended to the catalog template's name.

Request body

The request body contains an instance of CatalogTemplate.

Response body

If successful, the response body contains a newly created instance of CatalogTemplate.

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:

  • designcenter.catalogTemplates.create

For more information, see the IAM documentation.