Class: Google::Apis::DataprocV1::RepairNodeGroupRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::RepairNodeGroupRequest
- 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
Instance Attribute Summary collapse
-
#instance_names ⇒ Array<String>
Required.
-
#repair_action ⇒ String
Required.
-
#request_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RepairNodeGroupRequest
constructor
A new instance of RepairNodeGroupRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RepairNodeGroupRequest
Returns a new instance of RepairNodeGroupRequest.
4639 4640 4641 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4639 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_names ⇒ Array<String>
Required. Name of instances to be repaired. These instances must belong to
specified node pool.
Corresponds to the JSON property instanceNames
4621 4622 4623 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4621 def instance_names @instance_names end |
#repair_action ⇒ String
Required. Repair action to take on specified resources of the node pool.
Corresponds to the JSON property repairAction
4626 4627 4628 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4626 def repair_action @repair_action end |
#request_id ⇒ String
Optional. A unique ID used to identify the request. If the server receives two
RepairNodeGroupRequest with the same ID, the second request is ignored and the
first google.longrunning.Operation created and stored in the backend is
returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/
wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z)
, numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
characters.
Corresponds to the JSON property requestId
4637 4638 4639 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4637 def request_id @request_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4644 4645 4646 4647 4648 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4644 def update!(**args) @instance_names = args[:instance_names] if args.key?(:instance_names) @repair_action = args[:repair_action] if args.key?(:repair_action) @request_id = args[:request_id] if args.key?(:request_id) end |