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 \ V1Methods
__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 |
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 |
GetPolicyOptions|null |
|
hasOptions
clearOptions
setOptions
OPTIONAL: A GetPolicyOptions object for specifying options to
GetIamPolicy.
| Parameter | |
|---|---|
| Name | Description |
var |
GetPolicyOptions
|
| Returns | |
|---|---|
| Type | Description |
$this |
|