Class: Google::Apis::DataprocV1::ClusterToRepair
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ClusterToRepair
- 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
-
#cluster_repair_action ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterToRepair
constructor
A new instance of ClusterToRepair.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterToRepair
Returns a new instance of ClusterToRepair.
1769 1770 1771 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1769 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_repair_action ⇒ String
Required. Repair action to take on the cluster resource.
Corresponds to the JSON property clusterRepairAction
1767 1768 1769 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1767 def cluster_repair_action @cluster_repair_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1774 1775 1776 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1774 def update!(**args) @cluster_repair_action = args[:cluster_repair_action] if args.key?(:cluster_repair_action) end |