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.
769 770 771 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 769 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
767 768 769 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 767 def days_of_week @days_of_week end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
774 775 776 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 774 def update!(**args) @days_of_week = args[:days_of_week] if args.key?(:days_of_week) end |