Method: systempolicy.getPolicy

Gets the current system policy in the specified location.

HTTP request

GET https://binaryauthorization.googleapis.com/v1/{name=locations/*/policy}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name, in the format locations/*/policy. Note that the system policy is not associated with a project.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.