Class: Google::Apis::OsconfigV1beta::WeeklySchedule
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1beta::WeeklySchedule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/osconfig_v1beta/classes.rb,
generated/google/apis/osconfig_v1beta/representations.rb,
generated/google/apis/osconfig_v1beta/representations.rb
Overview
Represents a weekly schedule.
Instance Attribute Summary collapse
-
#day_of_week ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WeeklySchedule
constructor
A new instance of WeeklySchedule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WeeklySchedule
Returns a new instance of WeeklySchedule.
2545 2546 2547 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 2545 def initialize(**args) update!(**args) end |
Instance Attribute Details
#day_of_week ⇒ String
Required. Day of the week.
Corresponds to the JSON property dayOfWeek
2543 2544 2545 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 2543 def day_of_week @day_of_week end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2550 2551 2552 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 2550 def update!(**args) @day_of_week = args[:day_of_week] if args.key?(:day_of_week) end |