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. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc.

Returns:



1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1849

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