Reference documentation and code samples for the Stackdriver Monitoring V3 Client class NotificationPrompt.
Control when notifications will be sent out.
Protobuf type google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt
Namespace
Google \ Cloud \ Monitoring \ V3 \ AlertPolicy \ AlertStrategyMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
NOTIFICATION_PROMPT_UNSPECIFIED
Value: 0
No strategy specified. Treated as error.
Generated from protobuf enum NOTIFICATION_PROMPT_UNSPECIFIED = 0;
OPENED
Value: 1
Notify when an incident is opened.
Generated from protobuf enum OPENED = 1;
CLOSED
Value: 3
Notify when an incident is closed.
Generated from protobuf enum CLOSED = 3;