Reference documentation and code samples for the Google Cloud Iam V3 Client class UpdateAccessPolicyRequest.
Request message for UpdateAccessPolicy method.
Generated from protobuf message google.iam.v3.UpdateAccessPolicyRequest
Namespace
Google \ Cloud \ Iam \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ access_policy |
AccessPolicy
Required. The access policy to update. The access policy's |
↳ validate_only |
bool
Optional. If set, validate the request and preview the update, but do not actually post it. |
getAccessPolicy
Required. The access policy to update.
The access policy's name field is used to identify the
policy to update.
| Returns | |
|---|---|
| Type | Description |
AccessPolicy|null |
|
hasAccessPolicy
clearAccessPolicy
setAccessPolicy
Required. The access policy to update.
The access policy's name field is used to identify the
policy to update.
| Parameter | |
|---|---|
| Name | Description |
var |
AccessPolicy
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValidateOnly
Optional. If set, validate the request and preview the update, but do not actually post it.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setValidateOnly
Optional. If set, validate the request and preview the update, but do not actually post it.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|