class ProjectsLocationsEnvironmentsWorkloads extends Resource (View source)

The "workloads" collection of methods.

Typical usage is:

 $composerService = new Google\Service\CloudComposer(...);
 $workloads = $composerService->projects_locations_environments_workloads;

Methods

listProjectsLocationsEnvironmentsWorkloads(string $parent, array $optParams = [])

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.

Details

ListWorkloadsResponse listProjectsLocationsEnvironmentsWorkloads(string $parent, array $optParams = [])

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.

(workloads.listProjectsLocationsEnvironmentsWorkloads)

Parameters

string $parent

Required. The environment name to get workloads for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

array $optParams

Optional parameters.

Return Value

ListWorkloadsResponse

Exceptions

Exception