Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::WeekDayOfMonth.
WeekDayOfMonth
defines the week day of the month on which the backups will
run. The message combines a WeekOfMonth
and DayOfWeek
to produce values
like FIRST
/MONDAY
or LAST
/FRIDAY
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#day_of_week
def day_of_week() -> ::Google::Type::DayOfWeek
Returns
- (::Google::Type::DayOfWeek) — Required. Specifies the day of the week.
#day_of_week=
def day_of_week=(value) -> ::Google::Type::DayOfWeek
Parameter
- value (::Google::Type::DayOfWeek) — Required. Specifies the day of the week.
Returns
- (::Google::Type::DayOfWeek) — Required. Specifies the day of the week.
#week_of_month
def week_of_month() -> ::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth
Returns
- (::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth) — Required. Specifies the week of the month.
#week_of_month=
def week_of_month=(value) -> ::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth
Parameter
- value (::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth) — Required. Specifies the week of the month.
Returns
- (::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth) — Required. Specifies the week of the month.