Class: Google::Cloud::BackupDR::V1::WeekDayOfMonth
- Inherits:
-
Object
- Object
- Google::Cloud::BackupDR::V1::WeekDayOfMonth
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/backupdr/v1/backupplan.rb
Overview
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.
Defined Under Namespace
Modules: WeekOfMonth
Instance Attribute Summary collapse
-
#day_of_week ⇒ ::Google::Type::DayOfWeek
Required.
-
#week_of_month ⇒ ::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth
Required.
Instance Attribute Details
#day_of_week ⇒ ::Google::Type::DayOfWeek
Returns Required. Specifies the day of the week.
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 |
# File 'proto_docs/google/cloud/backupdr/v1/backupplan.rb', line 280 class WeekDayOfMonth include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # `WeekOfMonth` enumerates possible weeks in the month, e.g. the first, # third, or last week of the month. module WeekOfMonth # The zero value. Do not use. WEEK_OF_MONTH_UNSPECIFIED = 0 # The first week of the month. FIRST = 1 # The second week of the month. SECOND = 2 # The third week of the month. THIRD = 3 # The fourth week of the month. FOURTH = 4 # The last week of the month. LAST = 5 end end |
#week_of_month ⇒ ::Google::Cloud::BackupDR::V1::WeekDayOfMonth::WeekOfMonth
Returns Required. Specifies the week of the month.
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 |
# File 'proto_docs/google/cloud/backupdr/v1/backupplan.rb', line 280 class WeekDayOfMonth include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # `WeekOfMonth` enumerates possible weeks in the month, e.g. the first, # third, or last week of the month. module WeekOfMonth # The zero value. Do not use. WEEK_OF_MONTH_UNSPECIFIED = 0 # The first week of the month. FIRST = 1 # The second week of the month. SECOND = 2 # The third week of the month. THIRD = 3 # The fourth week of the month. FOURTH = 4 # The last week of the month. LAST = 5 end end |