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.
1100 1101 1102 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1100 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
1098 1099 1100 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1098 def days_of_week @days_of_week end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1105 1106 1107 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1105 def update!(**args) @days_of_week = args[:days_of_week] if args.key?(:days_of_week) end |