Skip to content

Commit

Permalink
feat(workflows): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 27, 2024
1 parent 7e5f42a commit 467b748
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 15 additions & 1 deletion discovery/workflows-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
}
}
},
"revision": "20240710",
"revision": "20240814",
"rootUrl": "https://workflows.googleapis.com/",
"schemas": {
"Empty": {
Expand Down Expand Up @@ -776,6 +776,20 @@
"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.",
"type": "string"
},
"executionHistoryLevel": {
"description": "Optional. Describes the level of the execution history feature to apply to this workflow.",
"enum": [
"EXECUTION_HISTORY_LEVEL_UNSPECIFIED",
"EXECUTION_HISTORY_BASIC",
"EXECUTION_HISTORY_DETAILED"
],
"enumDescriptions": [
"The default/unset value.",
"Enable execution history basic feature.",
"Enable execution history detailed feature."
],
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
Expand Down
4 changes: 4 additions & 0 deletions src/apis/workflows/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@ export namespace workflows_v1 {
* 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.
*/
description?: string | null;
/**
* Optional. Describes the level of the execution history feature to apply to this workflow.
*/
executionHistoryLevel?: string | null;
/**
* 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.
*/
Expand Down

0 comments on commit 467b748

Please sign in to comment.