Google Cloud Binary Authorization V1 Client - Class GetSystemPolicyRequest (1.0.1)

Reference documentation and code samples for the Google Cloud Binary Authorization V1 Client class GetSystemPolicyRequest.

Request to read the current system policy.

Generated from protobuf message google.cloud.binaryauthorization.v1.GetSystemPolicyRequest

Namespace

Google \ Cloud \ BinaryAuthorization \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

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

getName

Required. The resource name, in the format locations/*/policy.

Note that the system policy is not associated with a project.

Returns
Type Description
string

setName

Required. The resource name, in the format locations/*/policy.

Note that the system policy is not associated with a project.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name, in the format locations/*/policy. Note that the system policy is not associated with a project. Please see Google\Cloud\BinaryAuthorization\V1\SystemPolicyV1Client::policyName() for help formatting this field.

Returns
Type Description
Google\Cloud\BinaryAuthorization\V1\GetSystemPolicyRequest