Cloud Composer v1 API - Class AirflowMetadataRetentionPolicyConfig (2.9.0)

public sealed class AirflowMetadataRetentionPolicyConfig : IMessage<AirflowMetadataRetentionPolicyConfig>, IEquatable<AirflowMetadataRetentionPolicyConfig>, IDeepCloneable<AirflowMetadataRetentionPolicyConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Composer v1 API class AirflowMetadataRetentionPolicyConfig.

The policy for airflow metadata database retention.

Inheritance

object > AirflowMetadataRetentionPolicyConfig

Namespace

Google.Cloud.Orchestration.Airflow.Service.V1

Assembly

Google.Cloud.Orchestration.Airflow.Service.V1.dll

Constructors

AirflowMetadataRetentionPolicyConfig()

public AirflowMetadataRetentionPolicyConfig()

AirflowMetadataRetentionPolicyConfig(AirflowMetadataRetentionPolicyConfig)

public AirflowMetadataRetentionPolicyConfig(AirflowMetadataRetentionPolicyConfig other)
Parameter
Name Description
other AirflowMetadataRetentionPolicyConfig

Properties

RetentionDays

public int RetentionDays { get; set; }

Optional. How many days data should be retained for.

Property Value
Type Description
int

RetentionMode

public AirflowMetadataRetentionPolicyConfig.Types.RetentionMode RetentionMode { get; set; }

Optional. Retention can be either enabled or disabled.

Property Value
Type Description
AirflowMetadataRetentionPolicyConfigTypesRetentionMode