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.
1848 1849 1850 |
# File 'lib/google/apis/composer_v1/classes.rb', line 1848 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
1846 1847 1848 |
# File 'lib/google/apis/composer_v1/classes.rb', line 1846 def bucket @bucket end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1853 1854 1855 |
# File 'lib/google/apis/composer_v1/classes.rb', line 1853 def update!(**args) @bucket = args[:bucket] if args.key?(:bucket) end |