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.
Implements
IMessageAirflowMetadataRetentionPolicyConfig, IEquatableAirflowMetadataRetentionPolicyConfig, IDeepCloneableAirflowMetadataRetentionPolicyConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Orchestration.Airflow.Service.V1Assembly
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 |