TaskLogsRetentionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The configuration setting for Task Logs.
Attribute |
|
---|---|
Name | Description |
storage_mode |
google.cloud.orchestration.airflow.service_v1.types.TaskLogsRetentionConfig.TaskLogsStorageMode
Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc |
Classes
TaskLogsStorageMode
TaskLogsStorageMode(value)
The definition of task_logs_storage_mode.
Values: TASK_LOGS_STORAGE_MODE_UNSPECIFIED (0): This configuration is not specified by the user. CLOUD_LOGGING_AND_CLOUD_STORAGE (1): Store task logs in Cloud Logging and in the environment's Cloud Storage bucket. CLOUD_LOGGING_ONLY (2): Store task logs in Cloud Logging only.