Class: Google::Apis::HypercomputeclusterV1::CreateStorageBucket
- Inherits:
-
Object
- Object
- Google::Apis::HypercomputeclusterV1::CreateStorageBucket
- 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 new storage bucket should be created.
Instance Attribute Summary collapse
-
#bucket ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateStorageBucket
constructor
A new instance of CreateStorageBucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateStorageBucket
Returns a new instance of CreateStorageBucket.
466 467 468 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 466 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket ⇒ String
Output only. Name of the bucket.
Corresponds to the JSON property bucket
464 465 466 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 464 def bucket @bucket end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
471 472 473 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 471 def update!(**args) @bucket = args[:bucket] if args.key?(:bucket) end |