class ProjectsLocationsJobs extends Resource (View source)

The "jobs" collection of methods.

Typical usage is:

 $transcoderService = new Google\Service\Transcoder(...);
 $jobs = $transcoderService->projects_locations_jobs;

Methods

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

Creates a job in the specified region. (jobs.create)

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

Deletes a job. (jobs.delete)

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

Returns the job data. (jobs.get)

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

Lists jobs in the specified region. (jobs.listProjectsLocationsJobs)

Details

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

Creates a job in the specified region. (jobs.create)

Parameters

string $parent

Required. The parent location to create and process this job. Format: projects/{project}/locations/{location}

Job $postBody
array $optParams

Optional parameters.

Return Value

Job

Exceptions

Exception

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

Deletes a job. (jobs.delete)

Parameters

string $name

Required. The name of the job to delete. Format: projects/{project}/locations/{location}/jobs/{job}

array $optParams

Optional parameters.

Return Value

TranscoderEmpty

Exceptions

Exception

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

Returns the job data. (jobs.get)

Parameters

string $name

Required. The name of the job to retrieve. Format: projects/{project}/locations/{location}/jobs/{job}

array $optParams

Optional parameters.

Return Value

Job

Exceptions

Exception

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

Lists jobs in the specified region. (jobs.listProjectsLocationsJobs)

Parameters

string $parent

Required. Format: projects/{project}/locations/{location}

array $optParams

Optional parameters.

Return Value

ListJobsResponse

Exceptions

Exception