GoogleApi.Composer.V1beta1.Model.DataRetentionConfig (google_api_composer v0.36.3)

View Source

The configuration setting for Airflow database data retention mechanism.

Attributes

  • airflowDatabaseRetentionDays (type: integer(), default: nil) - 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.
  • airflowMetadataRetentionConfig (type: GoogleApi.Composer.V1beta1.Model.AirflowMetadataRetentionPolicyConfig.t, default: nil) - Optional. The retention policy for airflow metadata database.
  • taskLogsRetentionConfig (type: GoogleApi.Composer.V1beta1.Model.TaskLogsRetentionConfig.t, default: nil) - Optional. The configuration settings for task logs retention

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Composer.V1beta1.Model.DataRetentionConfig{
  airflowDatabaseRetentionDays: integer() | nil,
  airflowMetadataRetentionConfig:
    GoogleApi.Composer.V1beta1.Model.AirflowMetadataRetentionPolicyConfig.t()
    | nil,
  taskLogsRetentionConfig:
    GoogleApi.Composer.V1beta1.Model.TaskLogsRetentionConfig.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.