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

Creates a policy for an application template.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource in which to create the policy in the following format: projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate

Query parameters

Parameters
policyId

string

Required. The ID of the policy to create.

Request body

The request body contains an instance of Policy.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.