Class: Google::Apis::HypercomputeclusterV1::ExistingBucketConfig

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 a StorageResourceConfig, indicates that an existing Google Cloud Storage bucket should be imported.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bucketString

Required. Immutable. Name of the Cloud Storage bucket to import. Corresponds to the JSON property bucket

Returns:

  • (String)


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