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.



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

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

Instance Attribute Details

#bucketString

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

Returns:

  • (String)


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

def bucket
  @bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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