Class: Google::Apis::DataprocV1::ClusterToRepair

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

Overview

Cluster to be repaired

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClusterToRepair

Returns a new instance of ClusterToRepair.



1957
1958
1959
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1957

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

Instance Attribute Details

#cluster_repair_actionString

Required. Repair action to take on the cluster resource. Corresponds to the JSON property clusterRepairAction

Returns:

  • (String)


1955
1956
1957
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1955

def cluster_repair_action
  @cluster_repair_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1962
1963
1964
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1962

def update!(**args)
  @cluster_repair_action = args[:cluster_repair_action] if args.key?(:cluster_repair_action)
end