Skip to content

Commit 467b748

Browse files
yoshi-automationsofisl
authored andcommitted
feat(workflows): update the API
#### workflows:v1 The following keys were added: - schemas.Workflow.properties.executionHistoryLevel.description - schemas.Workflow.properties.executionHistoryLevel.enum - schemas.Workflow.properties.executionHistoryLevel.enumDescriptions - schemas.Workflow.properties.executionHistoryLevel.type
1 parent 7e5f42a commit 467b748

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

discovery/workflows-v1.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@
485485
}
486486
}
487487
},
488-
"revision": "20240710",
488+
"revision": "20240814",
489489
"rootUrl": "https://workflows.googleapis.com/",
490490
"schemas": {
491491
"Empty": {
@@ -776,6 +776,20 @@
776776
"description": "Description of the workflow provided by the user. Must be at most 1000 Unicode characters long. This is a workflow-wide field and is not tied to a specific revision.",
777777
"type": "string"
778778
},
779+
"executionHistoryLevel": {
780+
"description": "Optional. Describes the level of the execution history feature to apply to this workflow.",
781+
"enum": [
782+
"EXECUTION_HISTORY_LEVEL_UNSPECIFIED",
783+
"EXECUTION_HISTORY_BASIC",
784+
"EXECUTION_HISTORY_DETAILED"
785+
],
786+
"enumDescriptions": [
787+
"The default/unset value.",
788+
"Enable execution history basic feature.",
789+
"Enable execution history detailed feature."
790+
],
791+
"type": "string"
792+
},
779793
"labels": {
780794
"additionalProperties": {
781795
"type": "string"

src/apis/workflows/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,10 @@ export namespace workflows_v1 {
321321
* Description of the workflow provided by the user. Must be at most 1000 Unicode characters long. This is a workflow-wide field and is not tied to a specific revision.
322322
*/
323323
description?: string | null;
324+
/**
325+
* Optional. Describes the level of the execution history feature to apply to this workflow.
326+
*/
327+
executionHistoryLevel?: string | null;
324328
/**
325329
* Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. This is a workflow-wide field and is not tied to a specific revision.
326330
*/

0 commit comments

Comments
 (0)