Google Cloud Chronicle V1 Client - Class UpdateWatchlistRequest (0.1.2)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class UpdateWatchlistRequest.

Request message for updating watchlist.

Generated from protobuf message google.cloud.chronicle.v1.UpdateWatchlistRequest

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ watchlist Watchlist

Required. The watchlist to update. The watchlist's name field is used to identify the watchlist to update. Format: projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update.

getWatchlist

Required. The watchlist to update.

The watchlist's name field is used to identify the watchlist to update. Format: projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}

Returns
Type Description
Watchlist|null

hasWatchlist

clearWatchlist

setWatchlist

Required. The watchlist to update.

The watchlist's name field is used to identify the watchlist to update. Format: projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}

Parameter
Name Description
var Watchlist
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to update.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
watchlist Watchlist

Required. The watchlist to update.

The watchlist's name field is used to identify the watchlist to update. Format: projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update.

Returns
Type Description
UpdateWatchlistRequest