Class: Google::Apis::ComposerV1::StorageConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1::StorageConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1/classes.rb,
lib/google/apis/composer_v1/representations.rb,
lib/google/apis/composer_v1/representations.rb
Overview
The configuration for data storage in the environment.
Instance Attribute Summary collapse
-
#bucket ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageConfig
constructor
A new instance of StorageConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StorageConfig
Returns a new instance of StorageConfig.
2147 2148 2149 |
# File 'lib/google/apis/composer_v1/classes.rb', line 2147 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket ⇒ String
Optional. The name of the Cloud Storage bucket used by the environment. No gs:
//
prefix.
Corresponds to the JSON property bucket
2145 2146 2147 |
# File 'lib/google/apis/composer_v1/classes.rb', line 2145 def bucket @bucket end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2152 2153 2154 |
# File 'lib/google/apis/composer_v1/classes.rb', line 2152 def update!(**args) @bucket = args[:bucket] if args.key?(:bucket) end |