Method: policies.create

Create a Policy

HTTP request

POST https://cloudidentity.googleapis.com/v1beta1/policies

The URL uses gRPC Transcoding syntax.

Request body

The request body contains an instance of Policy.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-identity.policies

For more information, see the Authorization guide.