Class: Google::Apis::HypercomputeclusterV1::DeletePartition

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#partitionsArray<String>

Output only. Name of the partition to delete Corresponds to the JSON property partitions

Returns:

  • (Array<String>)


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