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.
465 466 467 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 465 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket ⇒ String
Output only. Name of the bucket.
Corresponds to the JSON property bucket
463 464 465 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 463 def bucket @bucket end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
470 471 472 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 470 def update!(**args) @bucket = args[:bucket] if args.key?(:bucket) end |