Skip to content

Commit a436bad

Browse files
yoshi-automationsofisl
authored andcommitted
feat(workflowexecutions): update the API
#### workflowexecutions:v1 The following keys were added: - schemas.Execution.properties.executionHistoryLevel.description - schemas.Execution.properties.executionHistoryLevel.enum - schemas.Execution.properties.executionHistoryLevel.enumDescriptions - schemas.Execution.properties.executionHistoryLevel.type
1 parent 9378da2 commit a436bad

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

discovery/workflowexecutions-v1.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@
457457
}
458458
}
459459
},
460-
"revision": "20240617",
460+
"revision": "20240715",
461461
"rootUrl": "https://workflowexecutions.googleapis.com/",
462462
"schemas": {
463463
"Callback": {
@@ -578,6 +578,20 @@
578578
"description": "Output only. The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`.",
579579
"readOnly": true
580580
},
581+
"executionHistoryLevel": {
582+
"description": "Optional. Describes the level of the execution history feature to apply to this execution. If not specified, the level of the execution history feature will be determined by its workflow's execution history level. If the value is different from its workflow's value, it will override the workflow's execution history level for this exeuction.",
583+
"enum": [
584+
"EXECUTION_HISTORY_LEVEL_UNSPECIFIED",
585+
"EXECUTION_HISTORY_BASIC",
586+
"EXECUTION_HISTORY_DETAILED"
587+
],
588+
"enumDescriptions": [
589+
"The default/unset value.",
590+
"Enable execution history basic feature for this execution.",
591+
"Enable execution history detailed feature for this execution."
592+
],
593+
"type": "string"
594+
},
581595
"labels": {
582596
"additionalProperties": {
583597
"type": "string"

src/apis/workflowexecutions/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,10 @@ export namespace workflowexecutions_v1 {
207207
* Output only. The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`.
208208
*/
209209
error?: Schema$Error;
210+
/**
211+
* Optional. Describes the level of the execution history feature to apply to this execution. If not specified, the level of the execution history feature will be determined by its workflow's execution history level. If the value is different from its workflow's value, it will override the workflow's execution history level for this exeuction.
212+
*/
213+
executionHistoryLevel?: string | null;
210214
/**
211215
* Labels associated with this execution. 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. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
212216
*/

0 commit comments

Comments
 (0)