Class: Google::Cloud::BackupDR::V1::WeekDayOfMonth

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#day_of_week::Google::Type::DayOfWeek

Returns Required. Specifies the day of the week.

Returns:



251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
# File 'proto_docs/google/cloud/backupdr/v1/backupplan.rb', line 251

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.

Returns:



251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
# File 'proto_docs/google/cloud/backupdr/v1/backupplan.rb', line 251

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