Reference documentation and code samples for the Google Cloud Design Center V1 Client class UpdatePolicyRequest.
Message for updating a policy.
Generated from protobuf message google.cloud.designcenter.v1.UpdatePolicyRequest
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. The fields to overwrite in the policy update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
↳ policy |
Policy
Required. The policy to update. |
getUpdateMask
Optional. The fields to overwrite in the policy update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. The fields to overwrite in the policy update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPolicy
Required. The policy to update.
| Returns | |
|---|---|
| Type | Description |
Policy|null |
|
hasPolicy
clearPolicy
setPolicy
Required. The policy to update.
| Parameter | |
|---|---|
| Name | Description |
var |
Policy
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
policy |
Policy
Required. The policy to update. |
updateMask |
Google\Protobuf\FieldMask
Optional. The fields to overwrite in the policy update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
| Returns | |
|---|---|
| Type | Description |
UpdatePolicyRequest |
|