Method: accessPolicies.get

Returns an access policy based on the name.

HTTP request

GET https://accesscontextmanager.googleapis.com/v1/{name=accessPolicies/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name for the access policy to get.

Format accessPolicies/{policy_id}

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.