class GetIamPolicyRequest extends Message

Request message for GetIamPolicy method.

Generated from protobuf message google.iam.v1.GetIamPolicyRequest

Methods

__construct(array $data = NULL)

Constructor.

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 39
__construct(array $data = NULL)

Constructor.

Parameters

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

@type string $resource
      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}`.

}

at line 52
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 66
$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