Google Cloud Deploy v1 API - Class OneTimeWindow (3.3.0)

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.

Inheritance

object > OneTimeWindow

Namespace

Google.Cloud.Deploy.V1

Assembly

Google.Cloud.Deploy.V1.dll

Constructors

OneTimeWindow()

public OneTimeWindow()

OneTimeWindow(OneTimeWindow)

public OneTimeWindow(OneTimeWindow other)
Parameter
Name Description
other OneTimeWindow

Properties

EndDate

public Date EndDate { get; set; }

Required. End date.

Property Value
Type Description
Date

EndTime

public TimeOfDay EndTime { get; set; }

Required. End time (exclusive). You may use 24:00 for the end of the day.

Property Value
Type Description
TimeOfDay

StartDate

public Date StartDate { get; set; }

Required. Start date.

Property Value
Type Description
Date

StartTime

public TimeOfDay StartTime { get; set; }

Required. Start time (inclusive). Use 00:00 for the beginning of the day.

Property Value
Type Description
TimeOfDay