Class NotificationSpec (1.52.0)

NotificationSpec(
    user_emails: typing.Optional[typing.List[str]] = None,
    notification_channels: typing.Optional[typing.List[str]] = None,
    enable_cloud_logging: typing.Optional[bool] = False,
)

Initializer for NotificationSpec.

Parameters

NameDescription
user_emailsList[str]

Optional. The email addresses to send the alert to.

notification_channelsList[str]

Optional. The notification channels to send the alert to. Format: projects/{project}/notificationChannels/{channel}

enable_cloud_loggingbool

Optional. If dump the anomalies to Cloud Logging. The anomalies will be put to json payload. This can be further sinked to Pub/Sub or any other services supported by Cloud Logging.