Class: Google::Apis::ComposerV1beta1::DataRetentionConfig

Inherits:
Object
  • Object
show all
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 Airflow database data retention mechanism.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataRetentionConfig

Returns a new instance of DataRetentionConfig.



291
292
293
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 291

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#task_logs_retention_configGoogle::Apis::ComposerV1beta1::TaskLogsRetentionConfig

The configuration setting for Task Logs. Corresponds to the JSON property taskLogsRetentionConfig



289
290
291
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 289

def task_logs_retention_config
  @task_logs_retention_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



296
297
298
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 296

def update!(**args)
  @task_logs_retention_config = args[:task_logs_retention_config] if args.key?(:task_logs_retention_config)
end