Class: Google::Apis::HypercomputeclusterV1::BucketReference

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

A reference to a Google Cloud Storage bucket.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BucketReference

Returns a new instance of BucketReference.



64
65
66
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 64

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bucketString

Output only. Name of the bucket. Corresponds to the JSON property bucket

Returns:

  • (String)


62
63
64
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 62

def bucket
  @bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



69
70
71
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 69

def update!(**args)
  @bucket = args[:bucket] if args.key?(:bucket)
end