Class: Google::Apis::HypercomputeclusterV1::DeletePartition
- Inherits:
-
Object
- Object
- Google::Apis::HypercomputeclusterV1::DeletePartition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/hypercomputecluster_v1/classes.rb,
lib/google/apis/hypercomputecluster_v1/representations.rb,
lib/google/apis/hypercomputecluster_v1/representations.rb
Overview
When set in OperationStep, indicates that a partition should be deleted.
Instance Attribute Summary collapse
-
#partitions ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeletePartition
constructor
A new instance of DeletePartition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeletePartition
Returns a new instance of DeletePartition.
591 592 593 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 591 def initialize(**args) update!(**args) end |
Instance Attribute Details
#partitions ⇒ Array<String>
Output only. Name of the partition to delete
Corresponds to the JSON property partitions
589 590 591 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 589 def partitions @partitions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
596 597 598 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 596 def update!(**args) @partitions = args[:partitions] if args.key?(:partitions) end |