Class: Google::Cloud::OsConfig::V1::WeekDayOfMonth

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1/patch_deployments.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#day_of_week::Google::Type::DayOfWeek

Returns Required. A day of the week.

Returns:



169
170
171
172
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 169

class WeekDayOfMonth
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#week_ordinal::Integer

Returns 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.

Returns:

  • (::Integer)

    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.



169
170
171
172
# File 'proto_docs/google/cloud/osconfig/v1/patch_deployments.rb', line 169

class WeekDayOfMonth
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end