Class: Google::Apis::MetastoreV1beta::MaintenanceWindow
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1beta::MaintenanceWindow
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1beta/classes.rb,
lib/google/apis/metastore_v1beta/representations.rb,
lib/google/apis/metastore_v1beta/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
Optional.
-
#hour_of_day ⇒ Fixnum
Optional.
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.
1633 1634 1635 |
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 1633 def initialize(**args) update!(**args) end |
Instance Attribute Details
#day_of_week ⇒ String
Optional. The day of week, when the window starts.
Corresponds to the JSON property dayOfWeek
1626 1627 1628 |
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 1626 def day_of_week @day_of_week end |
#hour_of_day ⇒ Fixnum
Optional. The hour of day (0-23) when the window starts.
Corresponds to the JSON property hourOfDay
1631 1632 1633 |
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 1631 def hour_of_day @hour_of_day end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1638 1639 1640 1641 |
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 1638 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 |