Class: Google::Apis::OsconfigV1::WeeklySchedule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/osconfig_v1/classes.rb,
lib/google/apis/osconfig_v1/representations.rb,
lib/google/apis/osconfig_v1/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.



1922
1923
1924
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1922

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)


1920
1921
1922
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1920

def day_of_week
  @day_of_week
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1927
1928
1929
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1927

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