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.



1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1920

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:



1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1920

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