2.0.0 (latest) 1.159.0 1.158.0 1.157.0 1.156.0 1.155.0 1.154.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. |