ListWorkloadsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Response to ListWorkloadsRequest.
Attributes | |
---|---|
Name | Description |
workloads |
MutableSequence[google.cloud.orchestration.airflow.service_v1.types.ListWorkloadsResponse.ComposerWorkload]
The list of environment workloads. |
next_page_token |
str
The page token used to query for the next page if one exists. |
Classes
ComposerWorkload
ComposerWorkload(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Information about a single workload.
ComposerWorkloadState
ComposerWorkloadState(value)
Workload states.
Values: COMPOSER_WORKLOAD_STATE_UNSPECIFIED (0): Not able to determine the status of the workload. PENDING (1): Workload is in pending state and has not yet started. OK (2): Workload is running fine. WARNING (3): Workload is running but there are some non-critical problems. ERROR (4): Workload is not running due to an error. SUCCEEDED (5): Workload has finished execution with success. FAILED (6): Workload has finished execution with failure.
ComposerWorkloadStatus
ComposerWorkloadStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Workload status.
ComposerWorkloadType
ComposerWorkloadType(value)
Supported workload types.
Values: COMPOSER_WORKLOAD_TYPE_UNSPECIFIED (0): Not able to determine the type of the workload. CELERY_WORKER (1): Celery worker. KUBERNETES_WORKER (2): Kubernetes worker. KUBERNETES_OPERATOR_POD (3): Workload created by Kubernetes Pod Operator. SCHEDULER (4): Airflow scheduler. DAG_PROCESSOR (5): Airflow Dag processor. TRIGGERER (6): Airflow triggerer. WEB_SERVER (7): Airflow web server UI. REDIS (8): Redis.