Class: Google::Apis::DatafusionV1::MaintenancePolicy
- Inherits:
-
Object
- Object
- Google::Apis::DatafusionV1::MaintenancePolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datafusion_v1/classes.rb,
lib/google/apis/datafusion_v1/representations.rb,
lib/google/apis/datafusion_v1/representations.rb
Overview
Maintenance policy of the instance.
Instance Attribute Summary collapse
-
#maintenance_exclusion_window ⇒ Google::Apis::DatafusionV1::TimeWindow
Represents an arbitrary window of time.
-
#maintenance_window ⇒ Google::Apis::DatafusionV1::MaintenanceWindow
Maintenance window of the instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MaintenancePolicy
constructor
A new instance of MaintenancePolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MaintenancePolicy
Returns a new instance of MaintenancePolicy.
1121 1122 1123 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 1121 def initialize(**args) update!(**args) end |
Instance Attribute Details
#maintenance_exclusion_window ⇒ Google::Apis::DatafusionV1::TimeWindow
Represents an arbitrary window of time.
Corresponds to the JSON property maintenanceExclusionWindow
1114 1115 1116 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 1114 def maintenance_exclusion_window @maintenance_exclusion_window end |
#maintenance_window ⇒ Google::Apis::DatafusionV1::MaintenanceWindow
Maintenance window of the instance.
Corresponds to the JSON property maintenanceWindow
1119 1120 1121 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 1119 def maintenance_window @maintenance_window end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1126 1127 1128 1129 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 1126 def update!(**args) @maintenance_exclusion_window = args[:maintenance_exclusion_window] if args.key?(:maintenance_exclusion_window) @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window) end |