Reference documentation and code samples for the Cloud Composer V1 API class Google::Cloud::Orchestration::Airflow::Service::V1::AirflowMetadataRetentionPolicyConfig.
The policy for airflow metadata database retention.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#retention_days
def retention_days() -> ::Integer
Returns
- (::Integer) — Optional. How many days data should be retained for.
#retention_days=
def retention_days=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. How many days data should be retained for.
Returns
- (::Integer) — Optional. How many days data should be retained for.
#retention_mode
def retention_mode() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::AirflowMetadataRetentionPolicyConfig::RetentionMode
Returns
- (::Google::Cloud::Orchestration::Airflow::Service::V1::AirflowMetadataRetentionPolicyConfig::RetentionMode) — Optional. Retention can be either enabled or disabled.
#retention_mode=
def retention_mode=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::AirflowMetadataRetentionPolicyConfig::RetentionMode
Parameter
- value (::Google::Cloud::Orchestration::Airflow::Service::V1::AirflowMetadataRetentionPolicyConfig::RetentionMode) — Optional. Retention can be either enabled or disabled.
Returns
- (::Google::Cloud::Orchestration::Airflow::Service::V1::AirflowMetadataRetentionPolicyConfig::RetentionMode) — Optional. Retention can be either enabled or disabled.