Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class UpdateHookRequest.
UpdateHookRequest is the request to update a hook.
Generated from protobuf message google.cloud.securesourcemanager.v1.UpdateHookRequest
Namespace
Google \ Cloud \ SecureSourceManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ update_mask | Google\Protobuf\FieldMaskRequired. Field mask is used to specify the fields to be overwritten in the hook resource by the 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. The special value "*" means full replacement. | 
| ↳ hook | HookRequired. The hook being updated. | 
getUpdateMask
Required. Field mask is used to specify the fields to be overwritten in the hook resource by the 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. The special value "*" means full replacement.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\FieldMask|null | |
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. Field mask is used to specify the fields to be overwritten in the hook resource by the 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. The special value "*" means full replacement.
| Parameter | |
|---|---|
| Name | Description | 
| var | Google\Protobuf\FieldMask | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getHook
Required. The hook being updated.
| Returns | |
|---|---|
| Type | Description | 
| Hook|null | |
hasHook
clearHook
setHook
Required. The hook being updated.
| Parameter | |
|---|---|
| Name | Description | 
| var | Hook | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
static::build
| Parameters | |
|---|---|
| Name | Description | 
| hook | HookRequired. The hook being updated. | 
| updateMask | Google\Protobuf\FieldMaskRequired. Field mask is used to specify the fields to be overwritten in the hook resource by the 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. The special value "*" means full replacement. | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateHookRequest | |