Class: Google::Apis::HypercomputeclusterV1::DeleteStorageBucket

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 Cloud Storage bucket should be deleted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteStorageBucket

Returns a new instance of DeleteStorageBucket.



624
625
626
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 624

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

Instance Attribute Details

#bucketString

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

Returns:

  • (String)


622
623
624
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 622

def bucket
  @bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



629
630
631
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 629

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