Reference documentation and code samples for the Google Cloud Iam V3 Client class UpdatePolicyBindingRequest.
Request message for UpdatePolicyBinding method.
Generated from protobuf message google.iam.v3.UpdatePolicyBindingRequest
Namespace
Google \ Cloud \ Iam \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ policy_binding |
PolicyBinding
Required. The policy binding to update. The policy binding's |
↳ validate_only |
bool
Optional. If set, validate the request and preview the update, but do not actually post it. |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. The list of fields to update |
getPolicyBinding
Required. The policy binding to update.
The policy binding's name field is used to identify the policy binding to
update.
| Returns | |
|---|---|
| Type | Description |
PolicyBinding|null |
|
hasPolicyBinding
clearPolicyBinding
setPolicyBinding
Required. The policy binding to update.
The policy binding's name field is used to identify the policy binding to
update.
| Parameter | |
|---|---|
| Name | Description |
var |
PolicyBinding
|
| 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 |
|
getUpdateMask
Optional. The list of fields to update
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. The list of fields to update
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
policyBinding |
PolicyBinding
Required. The policy binding to update. The policy binding's |
updateMask |
Google\Protobuf\FieldMask
Optional. The list of fields to update |
| Returns | |
|---|---|
| Type | Description |
UpdatePolicyBindingRequest |
|