Google API Common Protos V1 Client - Class GetIamPolicyRequest (4.12.3)

Reference documentation and code samples for the Google API Common Protos V1 Client class GetIamPolicyRequest.

Request message for GetIamPolicy method.

Generated from protobuf message google.iam.v1.GetIamPolicyRequest

Namespace

Google \ Cloud \ Iam \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ resource
string

REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.

↳ options
GetPolicyOptions

OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy .

getResource

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

See the operation documentation for the appropriate value for this field.

Returns
Type
Description
string

setResource

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

See the operation documentation for the appropriate value for this field.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getOptions

OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy .

Returns
Type
Description

hasOptions

clearOptions

setOptions

OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy .

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: