Class: Google::Apis::MetastoreV1alpha::MaintenanceWindow
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::MaintenanceWindow
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1alpha/classes.rb,
lib/google/apis/metastore_v1alpha/representations.rb,
lib/google/apis/metastore_v1alpha/representations.rb
Overview
Maintenance window. This specifies when Dataproc Metastore may perform system maintenance operation to the service.
Instance Attribute Summary collapse
-
#day_of_week ⇒ String
The day of week, when the window starts.
-
#hour_of_day ⇒ Fixnum
The hour of day (0-23) when the window starts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MaintenanceWindow
constructor
A new instance of MaintenanceWindow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MaintenanceWindow
Returns a new instance of MaintenanceWindow.
1603 1604 1605 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1603 def initialize(**args) update!(**args) end |
Instance Attribute Details
#day_of_week ⇒ String
The day of week, when the window starts.
Corresponds to the JSON property dayOfWeek
1596 1597 1598 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1596 def day_of_week @day_of_week end |
#hour_of_day ⇒ Fixnum
The hour of day (0-23) when the window starts.
Corresponds to the JSON property hourOfDay
1601 1602 1603 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1601 def hour_of_day @hour_of_day end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1608 1609 1610 1611 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1608 def update!(**args) @day_of_week = args[:day_of_week] if args.key?(:day_of_week) @hour_of_day = args[:hour_of_day] if args.key?(:hour_of_day) end |