Method: policies.get

Get a Policy

HTTP request

GET https://cloudidentity.googleapis.com/v1beta1/{name=policies/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the policy to retrieve. Format: "policies/{policy}".

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.