Class: Google::Apis::ComposerV1beta1::StorageConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/composer_v1beta1/classes.rb,
lib/google/apis/composer_v1beta1/representations.rb,
lib/google/apis/composer_v1beta1/representations.rb

Overview

The configuration for data storage in the environment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageConfig

Returns a new instance of StorageConfig.



2178
2179
2180
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 2178

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

Instance Attribute Details

#bucketString

Optional. The name of the Cloud Storage bucket used by the environment. No gs: // prefix. Corresponds to the JSON property bucket

Returns:

  • (String)


2176
2177
2178
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 2176

def bucket
  @bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2183
2184
2185
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 2183

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