public sealed class Snooze : IMessage<Snooze>, IEquatable<Snooze>, IDeepCloneable<Snooze>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API 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.
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.
[[["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 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eSnooze\u003c/code\u003e class within the Google Cloud Monitoring v3 API for .NET, detailing its purpose in preventing and closing alerts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSnooze\u003c/code\u003e class has a list of versioned documentation, with version 3.15.0 being the latest, and version 3.2.0 being the current context for this specific documentation page.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSnooze\u003c/code\u003e class, found within the \u003ccode\u003eGoogle.Cloud.Monitoring.V3\u003c/code\u003e namespace, is used to manage alerts, it implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSnooze\u003c/code\u003e class include \u003ccode\u003eCriteria\u003c/code\u003e, which defines the application of a snooze, \u003ccode\u003eDisplayName\u003c/code\u003e, for user identification, \u003ccode\u003eInterval\u003c/code\u003e, which controls the active time of a snooze, and \u003ccode\u003eName\u003c/code\u003e and \u003ccode\u003eSnoozeName\u003c/code\u003e for identification within the system.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default \u003ccode\u003eSnooze()\u003c/code\u003e and \u003ccode\u003eSnooze(Snooze other)\u003c/code\u003e for creating new instances and a list of inherited members from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]