Class: Google::Apis::OsconfigV1beta::WeeklySchedule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/osconfig_v1beta/classes.rb,
lib/google/apis/osconfig_v1beta/representations.rb,
lib/google/apis/osconfig_v1beta/representations.rb

Overview

Represents a weekly schedule.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WeeklySchedule

Returns a new instance of WeeklySchedule.



2126
2127
2128
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 2126

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#day_of_weekString

Required. Day of the week. Corresponds to the JSON property dayOfWeek

Returns:

  • (String)


2124
2125
2126
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 2124

def day_of_week
  @day_of_week
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2131
2132
2133
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 2131

def update!(**args)
  @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
end