Class NotificationSpec (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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-29 UTC."],[],[]]