workloads
Creates, updates, deletes, gets or lists a workloads
resource.
Overview
Name | workloads |
Type | Resource |
Id | google.composer.workloads |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Name of a workload. |
status | object | Workload status. |
type | string | Type of a workload. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | environmentsId, locationsId, projectsId | Lists workloads in a Cloud Composer environment. Workload is a unit that runs a single Composer component. This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer. |
SELECT
examples
Lists workloads in a Cloud Composer environment. Workload is a unit that runs a single Composer component. This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.
SELECT
name,
status,
type
FROM google.composer.workloads
WHERE environmentsId = '{{ environmentsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';