Class: Google::Apis::ComposerV1::StorageConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#bucketString

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

Returns:

  • (String)


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