class GetPolicyOptions extends Message

Encapsulates settings provided to GetIamPolicy.

Generated from protobuf message google.iam.v1.GetPolicyOptions

Methods

__construct(array $data = NULL)

Constructor.

int
getRequestedPolicyVersion()

Optional. The policy format version to be returned.

$this
setRequestedPolicyVersion(int $var)

Optional. The policy format version to be returned.

Details

at line 45
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type int $requested_policy_version
      Optional. The policy format version to be returned.
      Valid values are 0, 1, and 3. Requests specifying an invalid value will be
      rejected.
      Requests for policies with any conditional bindings must specify version 3.
      Policies without any conditional bindings may specify any valid value or
      leave the field unset.

}

at line 61
int getRequestedPolicyVersion()

Optional. The policy format version to be returned.

Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.

Generated from protobuf field int32 requested_policy_version = 1;

Return Value

int

at line 78
$this setRequestedPolicyVersion(int $var)

Optional. The policy format version to be returned.

Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.

Generated from protobuf field int32 requested_policy_version = 1;

Parameters

int $var

Return Value

$this