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

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 configuration setting for Task Logs.

Defined Under Namespace

Modules: TaskLogsStorageMode

Instance Attribute Summary collapse

Instance Attribute Details

#storage_mode::Google::Cloud::Orchestration::Airflow::Service::V1::TaskLogsRetentionConfig::TaskLogsStorageMode

Returns Optional. The mode of storage for Airflow workers task logs.

Returns:



1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1895

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

  # The definition of task_logs_storage_mode.
  module TaskLogsStorageMode
    # This configuration is not specified by the user.
    TASK_LOGS_STORAGE_MODE_UNSPECIFIED = 0

    # Store task logs in Cloud Logging and in the environment's Cloud Storage
    # bucket.
    CLOUD_LOGGING_AND_CLOUD_STORAGE = 1

    # Store task logs in Cloud Logging only.
    CLOUD_LOGGING_ONLY = 2
  end
end