Stackdriver Monitoring V3 Client - Class UpdateNotificationChannelRequest (1.2.2)

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

The UpdateNotificationChannel request.

Generated from protobuf message google.monitoring.v3.UpdateNotificationChannelRequest

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.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The fields to update.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;

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.

Generated from protobuf field .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];

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.

Generated from protobuf field .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED];

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