Class: Google::Apis::ComposerV1::DataRetentionConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1::DataRetentionConfig
- 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 setting for Airflow database data retention mechanism.
Instance Attribute Summary collapse
-
#task_logs_retention_config ⇒ Google::Apis::ComposerV1::TaskLogsRetentionConfig
The configuration setting for Task Logs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataRetentionConfig
constructor
A new instance of DataRetentionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataRetentionConfig
Returns a new instance of DataRetentionConfig.
153 154 155 |
# File 'lib/google/apis/composer_v1/classes.rb', line 153 def initialize(**args) update!(**args) end |
Instance Attribute Details
#task_logs_retention_config ⇒ Google::Apis::ComposerV1::TaskLogsRetentionConfig
The configuration setting for Task Logs.
Corresponds to the JSON property taskLogsRetentionConfig
151 152 153 |
# File 'lib/google/apis/composer_v1/classes.rb', line 151 def task_logs_retention_config @task_logs_retention_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
158 159 160 |
# File 'lib/google/apis/composer_v1/classes.rb', line 158 def update!(**args) @task_logs_retention_config = args[:task_logs_retention_config] if args.key?(:task_logs_retention_config) end |