Google Cloud OS Config v1 API - Class MonthlySchedule (2.2.0)

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

Reference documentation and code samples for the Google Cloud OS Config v1 API class MonthlySchedule.

Represents a monthly schedule. An example of a valid monthly schedule is "on the third Tuesday of the month" or "on the 15th of the month".

Inheritance

object > MonthlySchedule

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

MonthlySchedule()

public MonthlySchedule()

MonthlySchedule(MonthlySchedule)

public MonthlySchedule(MonthlySchedule other)
Parameter
NameDescription
otherMonthlySchedule

Properties

DayOfMonthCase

public MonthlySchedule.DayOfMonthOneofCase DayOfMonthCase { get; }
Property Value
TypeDescription
MonthlyScheduleDayOfMonthOneofCase

HasMonthDay

public bool HasMonthDay { get; }

Gets whether the "month_day" field is set

Property Value
TypeDescription
bool

MonthDay

public int MonthDay { get; set; }

Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run "every month on the 31st" will not run in February, April, June, etc.

Property Value
TypeDescription
int

WeekDayOfMonth

public WeekDayOfMonth WeekDayOfMonth { get; set; }

Required. Week day in a month.

Property Value
TypeDescription
WeekDayOfMonth