class ProjectsLocationsLakesTasksJobs extends Resource (View source)

The "jobs" collection of methods.

Typical usage is:

 $dataplexService = new Google\Service\CloudDataplex(...);
 $jobs = $dataplexService->projects_locations_lakes_tasks_jobs;

Methods

cancel(string $name, GoogleCloudDataplexV1CancelJobRequest $postBody, array $optParams = [])

Cancel jobs running for the task resource. (jobs.cancel)

get(string $name, array $optParams = [])

Get job resource. (jobs.get)

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

Lists Jobs under the given task. (jobs.listProjectsLocationsLakesTasksJobs)

Details

DataplexEmpty cancel(string $name, GoogleCloudDataplexV1CancelJobRequest $postBody, array $optParams = [])

Cancel jobs running for the task resource. (jobs.cancel)

Parameters

string $name

Required. The resource name of the job: projects/{project _number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}.

GoogleCloudDataplexV1CancelJobRequest $postBody
array $optParams

Optional parameters.

Return Value

DataplexEmpty

Exceptions

Exception

GoogleCloudDataplexV1Job get(string $name, array $optParams = [])

Get job resource. (jobs.get)

Parameters

string $name

Required. The resource name of the job: projects/{project _number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id }.

array $optParams

Optional parameters.

Return Value

GoogleCloudDataplexV1Job

Exceptions

Exception

GoogleCloudDataplexV1ListJobsResponse listProjectsLocationsLakesTasksJobs(string $parent, array $optParams = [])

Lists Jobs under the given task. (jobs.listProjectsLocationsLakesTasksJobs)

Parameters

string $parent

Required. The resource name of the parent environment: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task _id}.

array $optParams

Optional parameters.

Return Value

GoogleCloudDataplexV1ListJobsResponse

Exceptions

Exception