Stackdriver Monitoring V3 Client - Class UpdateNotificationChannelRequest (1.7.1)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class UpdateNotificationChannelRequest.

The UpdateNotificationChannel request.

Generated from protobuf message google.monitoring.v3.UpdateNotificationChannelRequest

Namespace

Google \ Cloud \ Monitoring \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

The fields to update.

↳ notification_channel Google\Cloud\Monitoring\V3\NotificationChannel

Required. A description of the changes to be applied to the specified notification channel. The description must provide a definition for fields to be updated; the names of these fields should also be included in the update_mask.

getUpdateMask

The fields to update.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The fields to update.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getNotificationChannel

Required. A description of the changes to be applied to the specified notification channel. The description must provide a definition for fields to be updated; the names of these fields should also be included in the update_mask.

Returns
TypeDescription
Google\Cloud\Monitoring\V3\NotificationChannel|null

hasNotificationChannel

clearNotificationChannel

setNotificationChannel

Required. A description of the changes to be applied to the specified notification channel. The description must provide a definition for fields to be updated; the names of these fields should also be included in the update_mask.

Parameter
NameDescription
var Google\Cloud\Monitoring\V3\NotificationChannel
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
updateMask Google\Protobuf\FieldMask

The fields to update.

notificationChannel Google\Cloud\Monitoring\V3\NotificationChannel

Required. A description of the changes to be applied to the specified notification channel. The description must provide a definition for fields to be updated; the names of these fields should also be included in the update_mask.

Returns
TypeDescription
Google\Cloud\Monitoring\V3\UpdateNotificationChannelRequest