Class: Google::Apis::ComposerV1::DataRetentionConfig

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 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.



255
256
257
# File 'lib/google/apis/composer_v1/classes.rb', line 255

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

Instance Attribute Details

#task_logs_retention_configGoogle::Apis::ComposerV1::TaskLogsRetentionConfig

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



253
254
255
# File 'lib/google/apis/composer_v1/classes.rb', line 253

def task_logs_retention_config
  @task_logs_retention_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



260
261
262
# File 'lib/google/apis/composer_v1/classes.rb', line 260

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