Google Cloud Deploy v1 API - Class WeeklyWindow (3.3.0)

public sealed class WeeklyWindow : IMessage<WeeklyWindow>, IEquatable<WeeklyWindow>, IDeepCloneable<WeeklyWindow>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Deploy v1 API class WeeklyWindow.

Weekly windows. For example, blocking actions every Saturday and Sunday. Another example would be blocking actions every weekday from 5pm to midnight.

Inheritance

object > WeeklyWindow

Namespace

Google.Cloud.Deploy.V1

Assembly

Google.Cloud.Deploy.V1.dll

Constructors

WeeklyWindow()

public WeeklyWindow()

WeeklyWindow(WeeklyWindow)

public WeeklyWindow(WeeklyWindow other)
Parameter
Name Description
other WeeklyWindow

Properties

DaysOfWeek

public RepeatedField<DayOfWeek> DaysOfWeek { get; }

Optional. Days of week. If left empty, all days of the week will be included.

Property Value
Type Description
RepeatedFieldDayOfWeek

EndTime

public TimeOfDay EndTime { get; set; }

Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.

Property Value
Type Description
TimeOfDay

StartTime

public TimeOfDay StartTime { get; set; }

Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.

Property Value
Type Description
TimeOfDay