Stackdriver Monitoring V3 Client - Class UpdateNotificationChannelRequest (1.11.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
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

The fields to update.

↳ notification_channel 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
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The fields to update.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$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
Type Description
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
Name Description
var NotificationChannel
Returns
Type Description
$this

static::build

Parameters
Name Description
updateMask Google\Protobuf\FieldMask

The fields to update.

notificationChannel 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
Type Description
UpdateNotificationChannelRequest