Class Snooze
A Snooze will prevent any alerts from being opened, and close any that are already open. The Snooze will work on alerts that match the criteria defined in the Snooze. The Snooze will be active from interval.start_time through interval.end_time.
Implements
Inherited Members
Namespace: Google.Apis.Monitoring.v3.Data
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class Snooze : IDirectResponseSchema
Properties
Criteria
Required. This defines the criteria for applying the Snooze. See Criteria for more information.
Declaration
[JsonProperty("criteria")]
public virtual Criteria Criteria { get; set; }
Property Value
Type | Description |
---|---|
Criteria |
DisplayName
Required. A display name for the Snooze. This can be, at most, 512 unicode characters.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Interval
Required. The Snooze will be active from interval.start_time through interval.end_time. interval.start_time cannot be in the past. There is a 15 second clock skew to account for the time it takes for a request to reach the API from the UI.
Declaration
[JsonProperty("interval")]
public virtual TimeInterval Interval { get; set; }
Property Value
Type | Description |
---|---|
TimeInterval |
Name
Required. Identifier. The name of the Snooze. The format is: projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID] The ID of the Snooze will be generated by the system.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |