Class: Google::Apis::HypercomputeclusterV1::CreatePartition
- Inherits:
-
Object
- Object
- Google::Apis::HypercomputeclusterV1::CreatePartition
- 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 created.
Instance Attribute Summary collapse
-
#partitions ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreatePartition
constructor
A new instance of CreatePartition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreatePartition
Returns a new instance of CreatePartition.
432 433 434 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 432 def initialize(**args) update!(**args) end |
Instance Attribute Details
#partitions ⇒ Array<String>
Output only. Name of the partition to create
Corresponds to the JSON property partitions
430 431 432 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 430 def partitions @partitions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
437 438 439 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 437 def update!(**args) @partitions = args[:partitions] if args.key?(:partitions) end |