Class WeekDayOfMonth (2.0.0)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class WeekDayOfMonth : IMessage<WeekDayOfMonth>, IEquatable<WeekDayOfMonth>, IDeepCloneable<WeekDayOfMonth>, IBufferMessage, IMessage

Represents one week day in a month. An example is "the 4th Sunday".

Inheritance

Object > WeekDayOfMonth

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

WeekDayOfMonth()

public WeekDayOfMonth()

WeekDayOfMonth(WeekDayOfMonth)

public WeekDayOfMonth(WeekDayOfMonth other)
Parameter
NameDescription
otherWeekDayOfMonth

Properties

DayOffset

public int DayOffset { get; set; }

Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if week_ordinal and day_of_week values point to the second day of the month and this day_offset value is set to 3, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range [-30, 30].

Property Value
TypeDescription
Int32

DayOfWeek

public DayOfWeek DayOfWeek { get; set; }

Required. A day of the week.

Property Value
TypeDescription
DayOfWeek

WeekOrdinal

public int WeekOrdinal { get; set; }

Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.

Property Value
TypeDescription
Int32