Class: Google::Apis::HypercomputeclusterV1::ExistingBucketConfig
- Inherits:
-
Object
- Object
- Google::Apis::HypercomputeclusterV1::ExistingBucketConfig
- 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 a StorageResourceConfig, indicates that an existing Google Cloud Storage bucket should be imported.
Instance Attribute Summary collapse
-
#bucket ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExistingBucketConfig
constructor
A new instance of ExistingBucketConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExistingBucketConfig
Returns a new instance of ExistingBucketConfig.
660 661 662 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 660 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket ⇒ String
Required. Immutable. Name of the Cloud Storage bucket to import.
Corresponds to the JSON property bucket
658 659 660 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 658 def bucket @bucket end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
665 666 667 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 665 def update!(**args) @bucket = args[:bucket] if args.key?(:bucket) end |