messages
Creates, updates, deletes, gets or lists a messages
resource.
Overview
Name | messages |
Type | Resource |
Id | google.dataflow.messages |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_jobs_messages_list
- projects_jobs_messages_list
Successful response
Name | Datatype | Description |
---|---|---|
id | string | Deprecated. |
messageImportance | string | Importance level of the message. |
messageText | string | The text of the message. |
time | string (google-datetime) | The timestamp of the message. |
Successful response
Name | Datatype | Description |
---|---|---|
id | string | Deprecated. |
messageImportance | string | Importance level of the message. |
messageText | string | The text of the message. |
time | string (google-datetime) | The timestamp of the message. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_jobs_messages_list | select | projectId , location , jobId | minimumImportance , pageSize , pageToken , startTime , endTime | 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 . |
projects_jobs_messages_list | select | projectId , jobId | minimumImportance , pageSize , pageToken , startTime , endTime , location | 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 . |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
jobId | string | |
location | string | |
projectId | string | |
endTime | string (google-datetime) | |
location | string | |
minimumImportance | string | |
pageSize | integer (int32) | |
pageToken | string | |
startTime | string (google-datetime) |
SELECT
examples
- projects_locations_jobs_messages_list
- projects_jobs_messages_list
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 projectId = '{{ projectId }}' -- required
AND location = '{{ location }}' -- required
AND jobId = '{{ jobId }}' -- required
AND minimumImportance = '{{ minimumImportance }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND startTime = '{{ startTime }}'
AND endTime = '{{ endTime }}';
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 projectId = '{{ projectId }}' -- required
AND jobId = '{{ jobId }}' -- required
AND minimumImportance = '{{ minimumImportance }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND startTime = '{{ startTime }}'
AND endTime = '{{ endTime }}'
AND location = '{{ location }}';