Class: Google::Cloud::Orchestration::Airflow::Service::V1::AirflowMetadataRetentionPolicyConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb

Overview

The policy for airflow metadata database retention.

Defined Under Namespace

Modules: RetentionMode

Instance Attribute Summary collapse

Instance Attribute Details

#retention_days::Integer

Returns Optional. How many days data should be retained for.

Returns:

  • (::Integer)

    Optional. How many days data should be retained for.



1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1943

class AirflowMetadataRetentionPolicyConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Describes retention policy.
  module RetentionMode
    # Default mode doesn't change environment parameters.
    RETENTION_MODE_UNSPECIFIED = 0

    # Retention policy is enabled.
    RETENTION_MODE_ENABLED = 1

    # Retention policy is disabled.
    RETENTION_MODE_DISABLED = 2
  end
end

#retention_mode::Google::Cloud::Orchestration::Airflow::Service::V1::AirflowMetadataRetentionPolicyConfig::RetentionMode

Returns Optional. Retention can be either enabled or disabled.

Returns:



1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1943

class AirflowMetadataRetentionPolicyConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Describes retention policy.
  module RetentionMode
    # Default mode doesn't change environment parameters.
    RETENTION_MODE_UNSPECIFIED = 0

    # Retention policy is enabled.
    RETENTION_MODE_ENABLED = 1

    # Retention policy is disabled.
    RETENTION_MODE_DISABLED = 2
  end
end