Class: Google::Apis::DatafusionV1beta1::MaintenancePolicy

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datafusion_v1beta1/classes.rb,
lib/google/apis/datafusion_v1beta1/representations.rb,
lib/google/apis/datafusion_v1beta1/representations.rb

Overview

Maintenance policy of the instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MaintenancePolicy

Returns a new instance of MaintenancePolicy.



935
936
937
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 935

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#maintenance_exclusion_windowGoogle::Apis::DatafusionV1beta1::TimeWindow

Represents an arbitrary window of time. Corresponds to the JSON property maintenanceExclusionWindow



928
929
930
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 928

def maintenance_exclusion_window
  @maintenance_exclusion_window
end

#maintenance_windowGoogle::Apis::DatafusionV1beta1::MaintenanceWindow

Maintenance window of the instance. Corresponds to the JSON property maintenanceWindow



933
934
935
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 933

def maintenance_window
  @maintenance_window
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



940
941
942
943
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 940

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