Google Cloud Secure Source Manager V1 Client - Class UpdateHookRequest (1.6.3) Stay organized with collections Save and categorize content based on your preferences.
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 messagegoogle.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 thehook resource by the update.
The fields specified in the update_mask are relative to the resource, notthe 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 thehook resource by the update.
The fields specified in the update_mask are relative to the resource, notthe 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 thehook resource by the update.The fields specified in the update_mask are relative to the resource, notthe full request. A field will be overwritten if it is in the mask.The special value "*" means full replacement. |
| Returns | |
|---|---|
| Type | Description |
UpdateHookRequest | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-24 UTC.