Skip to main content

messages

Creates, updates, deletes, gets or lists a messages resource.

Overview

Namemessages
TypeResource
Idgoogle.dataflow.messages

Fields

NameDatatypeDescription
idstringDeprecated.
messageImportancestringImportance level of the message.
messageTextstringThe text of the message.
timestringThe timestamp of the message.

Methods

NameAccessible byRequired ParamsDescription
projects_jobs_messages_listSELECTjobId, projectIdRequest 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.
projects_locations_jobs_messages_listSELECTjobId, location, projectIdRequest 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.

SELECT examples

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.

SELECT
id,
messageImportance,
messageText,
time
FROM google.dataflow.messages
WHERE jobId = '{{ jobId }}'
AND projectId = '{{ projectId }}';