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.



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

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

Instance Attribute Details

#bucketString

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

Returns:

  • (String)


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

def bucket
  @bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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