Class: Google::Apis::HypercomputeclusterV1::CreateStorageBucket

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 OperationStep, indicates that a new storage bucket should be created.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateStorageBucket

Returns a new instance of CreateStorageBucket.



466
467
468
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 466

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

Instance Attribute Details

#bucketString

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

Returns:

  • (String)


464
465
466
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 464

def bucket
  @bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



471
472
473
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 471

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