class ProjectsLocationsJobsMessages extends Resource (View source)

The "messages" collection of methods.

Typical usage is:

 $dataflowService = new Google\Service\Dataflow(...);
 $messages = $dataflowService->projects_locations_jobs_messages;

Methods

listProjectsLocationsJobsMessages(string $projectId, string $location, string $jobId, array $optParams = [])

Request the job status. To request the status of a job, we recommend using projects.locations.jobs.messages.list with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using projects.jobs.messages.list is not recommended, as you can only request the status of jobs that are running in us-central1.

Details

ListJobMessagesResponse listProjectsLocationsJobsMessages(string $projectId, string $location, string $jobId, array $optParams = [])

Request the job status. To request the status of a job, we recommend using projects.locations.jobs.messages.list with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using projects.jobs.messages.list is not recommended, as you can only request the status of jobs that are running in us-central1.

(messages.listProjectsLocationsJobsMessages)

Parameters

string $projectId

A project id.

string $location

The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.

string $jobId

The job to get messages about.

array $optParams

Optional parameters.

Return Value

ListJobMessagesResponse

Exceptions

Exception