Class: Google::Apis::GkebackupV1::DayOfWeekList
- Inherits:
-
Object
- Object
- Google::Apis::GkebackupV1::DayOfWeekList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkebackup_v1/classes.rb,
lib/google/apis/gkebackup_v1/representations.rb,
lib/google/apis/gkebackup_v1/representations.rb
Overview
Holds repeated DaysOfWeek values as a container.
Instance Attribute Summary collapse
-
#days_of_week ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DayOfWeekList
constructor
A new instance of DayOfWeekList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DayOfWeekList
Returns a new instance of DayOfWeekList.
766 767 768 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 766 def initialize(**args) update!(**args) end |
Instance Attribute Details
#days_of_week ⇒ Array<String>
Optional. A list of days of week.
Corresponds to the JSON property daysOfWeek
764 765 766 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 764 def days_of_week @days_of_week end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
771 772 773 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 771 def update!(**args) @days_of_week = args[:days_of_week] if args.key?(:days_of_week) end |