Google Cloud Advisory Notifications V1 Client - Class NotificationSettings (0.8.3)

Reference documentation and code samples for the Google Cloud Advisory Notifications V1 Client class NotificationSettings.

Settings for each NotificationType.

Generated from protobuf message google.cloud.advisorynotifications.v1.NotificationSettings

Namespace

Google \ Cloud \ AdvisoryNotifications \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Whether the associated NotificationType is enabled.

getEnabled

Whether the associated NotificationType is enabled.

Returns
Type Description
bool

setEnabled

Whether the associated NotificationType is enabled.

Parameter
Name Description
var bool
Returns
Type Description
$this