From d4a855b1ad4e4d1ae9b8ca5e1eda2f92198d8962 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 9 Oct 2024 01:36:08 +0000 Subject: [PATCH] fix(workflowexecutions): update the API #### workflowexecutions:v1 The following keys were changed: - resources.projects.resources.locations.resources.workflows.resources.executions.methods.list.parameters.filter.description - schemas.Execution.properties.startTime.description - schemas.StepEntry.properties.state.enum - schemas.StepEntry.properties.state.enumDescriptions --- discovery/workflowexecutions-v1.json | 12 +++++++----- src/apis/workflowexecutions/v1.ts | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/discovery/workflowexecutions-v1.json b/discovery/workflowexecutions-v1.json index 0c8a5e9aa0..b0450bc486 100644 --- a/discovery/workflowexecutions-v1.json +++ b/discovery/workflowexecutions-v1.json @@ -302,7 +302,7 @@ ], "parameters": { "filter": { - "description": "Optional. Filters applied to the `[Executions.ListExecutions]` results. The following fields are supported for filtering: `executionId`, `state`, `createTime`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, `stepName`, and `label`. For details, see AIP-160. For more information, see Filter executions. For example, if you are using the Google APIs Explorer: `state=\"SUCCEEDED\"` or `startTime>\"2023-08-01\" AND state=\"FAILED\"`", + "description": "Optional. Filters applied to the `[Executions.ListExecutions]` results. The following fields are supported for filtering: `executionId`, `state`, `createTime`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, `stepName`, `label`, and `disableConcurrencyQuotaOverflowBuffering`. For details, see AIP-160. For more information, see Filter executions. For example, if you are using the Google APIs Explorer: `state=\"SUCCEEDED\"` or `startTime>\"2023-08-01\" AND state=\"FAILED\"`", "location": "query", "type": "string" }, @@ -517,7 +517,7 @@ } } }, - "revision": "20240813", + "revision": "20240916", "rootUrl": "https://workflowexecutions.googleapis.com/", "schemas": { "Callback": { @@ -682,7 +682,7 @@ "type": "string" }, "startTime": { - "description": "Output only. Marks the beginning of execution.", + "description": "Output only. Marks the beginning of execution. Note that this will be the same as `createTime` for executions that start immediately.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -1009,13 +1009,15 @@ "STATE_UNSPECIFIED", "STATE_IN_PROGRESS", "STATE_SUCCEEDED", - "STATE_FAILED" + "STATE_FAILED", + "STATE_CANCELLED" ], "enumDescriptions": [ "Invalid state.", "The step entry is in progress.", "The step entry finished successfully.", - "The step entry failed with an error." + "The step entry failed with an error.", + "The step entry is cancelled." ], "readOnly": true, "type": "string" diff --git a/src/apis/workflowexecutions/v1.ts b/src/apis/workflowexecutions/v1.ts index 4d43570cb8..9d3e76c010 100644 --- a/src/apis/workflowexecutions/v1.ts +++ b/src/apis/workflowexecutions/v1.ts @@ -232,7 +232,7 @@ export namespace workflowexecutions_v1 { */ result?: string | null; /** - * Output only. Marks the beginning of execution. + * Output only. Marks the beginning of execution. Note that this will be the same as `createTime` for executions that start immediately. */ startTime?: string | null; /** @@ -1283,7 +1283,7 @@ export namespace workflowexecutions_v1 { export interface Params$Resource$Projects$Locations$Workflows$Executions$List extends StandardParameters { /** - * Optional. Filters applied to the `[Executions.ListExecutions]` results. The following fields are supported for filtering: `executionId`, `state`, `createTime`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, `stepName`, and `label`. For details, see AIP-160. For more information, see Filter executions. For example, if you are using the Google APIs Explorer: `state="SUCCEEDED"` or `startTime\>"2023-08-01" AND state="FAILED"` + * Optional. Filters applied to the `[Executions.ListExecutions]` results. The following fields are supported for filtering: `executionId`, `state`, `createTime`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, `stepName`, `label`, and `disableConcurrencyQuotaOverflowBuffering`. For details, see AIP-160. For more information, see Filter executions. For example, if you are using the Google APIs Explorer: `state="SUCCEEDED"` or `startTime\>"2023-08-01" AND state="FAILED"` */ filter?: string; /**