Class NotificationSpec (1.69.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

Name Description
user_emails List[str]

Optional. The email addresses to send the alert to.

notification_channels List[str]

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

enable_cloud_logging bool

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.