class ProjectsLocationsJobs extends Resource (View source)

The "jobs" collection of methods.

Typical usage is:

 $batchService = new Google\Service\Batch(...);
 $jobs = $batchService->projects_locations_jobs;

Methods

Job
create(string $parent, Job $postBody, array $optParams = [])

Create a Job. (jobs.create)

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

Delete a Job. (jobs.delete)

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

Get a Job specified by its resource name. (jobs.get)

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

List all Jobs for a project within a region. (jobs.listProjectsLocationsJobs)

Details

Job create(string $parent, Job $postBody, array $optParams = [])

Create a Job. (jobs.create)

Parameters

string $parent

Required. The parent resource name where the Job will be created. Pattern: "projects/{project}/locations/{location}"

Job $postBody
array $optParams

Optional parameters.

Return Value

Job

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Delete a Job. (jobs.delete)

Parameters

string $name

Job name.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Get a Job specified by its resource name. (jobs.get)

Parameters

string $name

Required. Job name.

array $optParams

Optional parameters.

Return Value

Job

Exceptions

Exception

ListJobsResponse listProjectsLocationsJobs(string $parent, array $optParams = [])

List all Jobs for a project within a region. (jobs.listProjectsLocationsJobs)

Parameters

string $parent

Parent path.

array $optParams

Optional parameters.

Return Value

ListJobsResponse

Exceptions

Exception