Google Cloud Secure Source Manager V1 Client - Class UpdateHookRequest (1.6.3)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ update_maskGoogle\Protobuf\FieldMask

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.

↳ hookHook

Required. 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
TypeDescription
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
NameDescription
varGoogle\Protobuf\FieldMask
Returns
TypeDescription
$this

getHook

Required. The hook being updated.

Returns
TypeDescription
Hook|null

hasHook

clearHook

setHook

Required. The hook being updated.

Parameter
NameDescription
varHook
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
hookHook

Required. The hook being updated.

updateMaskGoogle\Protobuf\FieldMask

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
TypeDescription
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.