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

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ update_mask
Google\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.

↳ hook
Hook

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

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
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
Returns
Type
Description
$this

static::build

Parameters
Name
Description
hook
Hook

Required. The hook being updated.

updateMask
Google\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.

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: