public sealed class OneTimeWindow : IMessage<OneTimeWindow>, IEquatable<OneTimeWindow>, IDeepCloneable<OneTimeWindow>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Deploy v1 API class OneTimeWindow.
One-time window within which actions are restricted. For example, blocking
actions over New Year's Eve from December 31st at 5pm to January 1st at 9am.
[[["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\u003eThe latest version available for the Google Cloud Deploy v1 API class \u003ccode\u003eOneTimeWindow\u003c/code\u003e is 3.4.0, with version 3.2.0 being the current page's focus.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOneTimeWindow\u003c/code\u003e is a class used to define a specific time period during which certain actions are restricted, as seen in the example of blocking actions over New Year's Eve.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOneTimeWindow\u003c/code\u003e class 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\u003eThe class provides constructors for creating a new \u003ccode\u003eOneTimeWindow\u003c/code\u003e object either with default values or by cloning an existing \u003ccode\u003eOneTimeWindow\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOneTimeWindow\u003c/code\u003e contains four properties: \u003ccode\u003eEndDate\u003c/code\u003e, \u003ccode\u003eEndTime\u003c/code\u003e, \u003ccode\u003eStartDate\u003c/code\u003e, and \u003ccode\u003eStartTime\u003c/code\u003e, which are used to define the time frame for the one-time window.\u003c/p\u003e\n"]]],[],null,[]]