Class DataRetentionConfig (1.13.0)

DataRetentionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration setting for Airflow database data retention mechanism.

Attributes

Name Description
airflow_database_retention_days int
Optional. The number of days describing for how long to store event-based records in airflow database. If the retention mechanism is enabled this value must be a positive integer otherwise, value should be set to 0.
task_logs_retention_config google.cloud.orchestration.airflow.service_v1beta1.types.TaskLogsRetentionConfig
Optional. The configuration settings for task logs retention
airflow_metadata_retention_config google.cloud.orchestration.airflow.service_v1beta1.types.AirflowMetadataRetentionPolicyConfig
Optional. The retention policy for airflow metadata database.