Class: Google::Apis::ComposerV1beta1::TaskLogsRetentionConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1beta1::TaskLogsRetentionConfig
- 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 setting for Task Logs.
Instance Attribute Summary collapse
-
#storage_mode ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TaskLogsRetentionConfig
constructor
A new instance of TaskLogsRetentionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TaskLogsRetentionConfig
Returns a new instance of TaskLogsRetentionConfig.
2246 2247 2248 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 2246 def initialize(**args) update!(**args) end |
Instance Attribute Details
#storage_mode ⇒ String
Optional. The mode of storage for Airflow workers task logs.
Corresponds to the JSON property storageMode
2244 2245 2246 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 2244 def storage_mode @storage_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2251 2252 2253 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 2251 def update!(**args) @storage_mode = args[:storage_mode] if args.key?(:storage_mode) end |