class GetIamPolicyRequest extends Message

Request message for GetIamPolicy method.

Protobuf type Google\Iam\V1\GetIamPolicyRequest

Methods

__construct()

No description

string
getResource()

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

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 53
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