class GetIamPolicyRequest extends Message

Request message for GetIamPolicy method.

Generated from protobuf message google.iam.v1.GetIamPolicyRequest

Methods

__construct()

No description

string
getResource()

REQUIRED: The resource for which the policy is being requested.

$this
setResource(string $var)

REQUIRED: The resource for which the policy is being requested.

Details

at line 27
__construct()

at line 40
string getResource()

REQUIRED: The resource for which the policy is being requested.

resource is usually specified as a path. For example, a Project resource is specified as projects/{project}.

Generated from protobuf field string resource = 1;

Return Value

string

at line 54
$this setResource(string $var)

REQUIRED: The resource for which the policy is being requested.

resource is usually specified as a path. For example, a Project resource is specified as projects/{project}.

Generated from protobuf field string resource = 1;

Parameters

string $var

Return Value

$this