Method: projects.locations.spaces.applicationTemplates.components.create

Creates a component.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource in which to create the component.

Query parameters

Parameters
componentId

string

Required. The ID of the component to create.

Request body

The request body contains an instance of Component.

Response body

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

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.components.create

For more information, see the IAM documentation.