Method: accessPolicies.get

Stay organized with collections Save and categorize content based on your preferences.

Returns an access policy based on the name.

HTTP request

GET https://accesscontextmanager.googleapis.com/v1alpha/{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.