- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- WorkflowInvocationAction
- BigQueryAction
- NotebookAction
- State
Returns WorkflowInvocationActions in a given WorkflowInvocation.
HTTP request
GET https://dataform.googleapis.com/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}:query
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The workflow invocation's name. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
Optional. Maximum number of workflow invocations to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. |
pageToken |
Optional. Page token received from a previous When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
workflowInvocations.query
response message.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"workflowInvocationActions": [
{
object ( |
Fields | |
---|---|
workflowInvocationActions[] |
List of workflow invocation actions. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
dataform.workflowInvocations.query
For more information, see the IAM documentation.
WorkflowInvocationAction
Represents a single action in a workflow invocation.
JSON representation |
---|
{ "target": { object ( |
Fields | |
---|---|
target |
Output only. This action's identifier. Unique within the workflow invocation. |
canonicalTarget |
Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. |
state |
Output only. This action's current state. |
failureReason |
Output only. If and only if action's state is FAILED a failure reason is set. |
invocationTiming |
Output only. This action's timing details. |
Union field
|
|
bigqueryAction |
Output only. The workflow action's bigquery action details. |
notebookAction |
Output only. The workflow action's notebook action details. |
BigQueryAction
Represents a workflow action that will run against BigQuery.
JSON representation |
---|
{ "sqlScript": string, "jobId": string } |
Fields | |
---|---|
sqlScript |
Output only. The generated BigQuery SQL script that will be executed. |
jobId |
Output only. The ID of the BigQuery job that executed the SQL in sqlScript. Only set once the job has started to run. |
NotebookAction
Represents a workflow action that will run against a Notebook runtime.
JSON representation |
---|
{ "contents": string, "jobId": string } |
Fields | |
---|---|
contents |
Output only. The code contents of a Notebook to be run. |
jobId |
Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in GCS buckets. Only set once the job has started to run. |
State
Represents the current state of a workflow invocation action.
Enums | |
---|---|
PENDING |
The action has not yet been considered for invocation. |
RUNNING |
The action is currently running. |
SKIPPED |
Execution of the action was skipped because upstream dependencies did not all complete successfully. A terminal state. |
DISABLED |
Execution of the action was disabled as per the configuration of the corresponding compilation result action. A terminal state. |
SUCCEEDED |
The action succeeded. A terminal state. |
CANCELLED |
The action was cancelled. A terminal state. |
FAILED |
The action failed. A terminal state. |