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

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
NameDescription
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
TypeDescription
bool

setEnabled

Whether the associated NotificationType is enabled.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this