Skip to content

Commit ae68b4f

Browse files
yoshi-automationBenjamin E. Coe
authored andcommitted
feat(workflowexecutions): update the API
#### workflowexecutions:v1beta The following keys were changed: - schemas.Execution.properties.callLogLevel.enumDescriptions - schemas.Execution.properties.status.description - schemas.Status.description #### workflowexecutions:v1 The following keys were added: - schemas.Execution.properties.duration.description - schemas.Execution.properties.duration.format - schemas.Execution.properties.duration.readOnly - schemas.Execution.properties.duration.type The following keys were changed: - resources.projects.resources.locations.resources.workflows.resources.executions.methods.get.parameters.view.enumDescriptions - resources.projects.resources.locations.resources.workflows.resources.executions.methods.list.parameters.view.enumDescriptions - schemas.Execution.properties.callLogLevel.enumDescriptions - schemas.Execution.properties.status.description - schemas.Status.description
1 parent d9d2651 commit ae68b4f

File tree

4 files changed

+29
-14
lines changed

4 files changed

+29
-14
lines changed

discovery/workflowexecutions-v1.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
],
225225
"enumDescriptions": [
226226
"The default / unset value.",
227-
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.",
227+
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.",
228228
"Includes all data."
229229
],
230230
"location": "query",
@@ -275,7 +275,7 @@
275275
],
276276
"enumDescriptions": [
277277
"The default / unset value.",
278-
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.",
278+
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.",
279279
"Includes all data."
280280
],
281281
"location": "query",
@@ -299,7 +299,7 @@
299299
}
300300
}
301301
},
302-
"revision": "20220908",
302+
"revision": "20221206",
303303
"rootUrl": "https://workflowexecutions.googleapis.com/",
304304
"schemas": {
305305
"CancelExecutionRequest": {
@@ -343,12 +343,18 @@
343343
"LOG_ERRORS_ONLY"
344344
],
345345
"enumDescriptions": [
346-
"No call logging specified.",
346+
"No call logging level specified.",
347347
"Log all call steps within workflows, all call returns, and all exceptions raised.",
348348
"Log only exceptions that are raised from call steps within workflows."
349349
],
350350
"type": "string"
351351
},
352+
"duration": {
353+
"description": "Output only. Measures the duration of the execution.",
354+
"format": "google-duration",
355+
"readOnly": true,
356+
"type": "string"
357+
},
352358
"endTime": {
353359
"description": "Output only. Marks the end of execution, successful or not.",
354360
"format": "google-datetime",
@@ -397,7 +403,7 @@
397403
},
398404
"status": {
399405
"$ref": "Status",
400-
"description": "Output only. Status tracks the current steps and progress data of this execution. > **Preview:** This field is covered by the > [Pre-GA Offerings Terms](https://cloud.google.com/terms/service-terms) of > the Google Cloud Terms of Service. Pre-GA features might have limited > support, and changes to pre-GA features might not be compatible with > other pre-GA versions. For more information, see the > [launch stage descriptions](https://cloud.google.com/products#product-launch-stages). > This field is usable only if your project has access. See the > [access request page](https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform).",
406+
"description": "Output only. Status tracks the current steps and progress data of this execution.",
401407
"readOnly": true
402408
},
403409
"workflowRevisionId": {
@@ -514,7 +520,7 @@
514520
"type": "object"
515521
},
516522
"Status": {
517-
"description": "> **Preview:** This field is covered by the > [Pre-GA Offerings Terms](https://cloud.google.com/terms/service-terms) of > the Google Cloud Terms of Service. Pre-GA features might have limited > support, and changes to pre-GA features might not be compatible with > other pre-GA versions. For more information, see the > [launch stage descriptions](https://cloud.google.com/products#product-launch-stages). > This field is usable only if your project has access. See the > [access request page](https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform). Represents the current status of this execution.",
523+
"description": "Represents the current status of this execution.",
518524
"id": "Status",
519525
"properties": {
520526
"currentSteps": {

discovery/workflowexecutions-v1beta.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269
}
270270
}
271271
},
272-
"revision": "20220908",
272+
"revision": "20221206",
273273
"rootUrl": "https://workflowexecutions.googleapis.com/",
274274
"schemas": {
275275
"CancelExecutionRequest": {
@@ -313,7 +313,7 @@
313313
"LOG_ERRORS_ONLY"
314314
],
315315
"enumDescriptions": [
316-
"No call logging specified.",
316+
"No call logging level specified.",
317317
"Log all call steps within workflows, all call returns, and all exceptions raised.",
318318
"Log only exceptions that are raised from call steps within workflows."
319319
],
@@ -367,7 +367,7 @@
367367
},
368368
"status": {
369369
"$ref": "Status",
370-
"description": "Output only. Status tracks the current steps and progress data of this execution. > **Preview:** This field is covered by the > [Pre-GA Offerings Terms](https://cloud.google.com/terms/service-terms) of > the Google Cloud Terms of Service. Pre-GA features might have limited > support, and changes to pre-GA features might not be compatible with > other pre-GA versions. For more information, see the > [launch stage descriptions](https://cloud.google.com/products#product-launch-stages). > This field is usable only if your project has access. See the > [access request page](https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform).",
370+
"description": "Output only. Status tracks the current steps and progress data of this execution.",
371371
"readOnly": true
372372
},
373373
"workflowRevisionId": {
@@ -452,7 +452,7 @@
452452
"type": "object"
453453
},
454454
"Status": {
455-
"description": "> **Preview:** This field is covered by the > [Pre-GA Offerings Terms](https://cloud.google.com/terms/service-terms) of > the Google Cloud Terms of Service. Pre-GA features might have limited > support, and changes to pre-GA features might not be compatible with > other pre-GA versions. For more information, see the > [launch stage descriptions](https://cloud.google.com/products#product-launch-stages). > This field is usable only if your project has access. See the > [access request page](https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform). Represents the current status of this execution.",
455+
"description": "Represents the current status of this execution.",
456456
"id": "Status",
457457
"properties": {
458458
"currentSteps": {

src/apis/workflowexecutions/v1.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ export namespace workflowexecutions_v1 {
157157
* The call logging level associated to this execution.
158158
*/
159159
callLogLevel?: string | null;
160+
/**
161+
* Output only. Measures the duration of the execution.
162+
*/
163+
duration?: string | null;
160164
/**
161165
* Output only. Marks the end of execution, successful or not.
162166
*/
@@ -182,7 +186,7 @@ export namespace workflowexecutions_v1 {
182186
*/
183187
state?: string | null;
184188
/**
185-
* Output only. Status tracks the current steps and progress data of this execution. \> **Preview:** This field is covered by the \> [Pre-GA Offerings Terms](https://cloud.google.com/terms/service-terms) of \> the Google Cloud Terms of Service. Pre-GA features might have limited \> support, and changes to pre-GA features might not be compatible with \> other pre-GA versions. For more information, see the \> [launch stage descriptions](https://cloud.google.com/products#product-launch-stages). \> This field is usable only if your project has access. See the \> [access request page](https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform).
189+
* Output only. Status tracks the current steps and progress data of this execution.
186190
*/
187191
status?: Schema$Status;
188192
/**
@@ -272,7 +276,7 @@ export namespace workflowexecutions_v1 {
272276
step?: string | null;
273277
}
274278
/**
275-
* \> **Preview:** This field is covered by the \> [Pre-GA Offerings Terms](https://cloud.google.com/terms/service-terms) of \> the Google Cloud Terms of Service. Pre-GA features might have limited \> support, and changes to pre-GA features might not be compatible with \> other pre-GA versions. For more information, see the \> [launch stage descriptions](https://cloud.google.com/products#product-launch-stages). \> This field is usable only if your project has access. See the \> [access request page](https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform). Represents the current status of this execution.
279+
* Represents the current status of this execution.
276280
*/
277281
export interface Schema$Status {
278282
/**
@@ -389,6 +393,7 @@ export namespace workflowexecutions_v1 {
389393
* // {
390394
* // "argument": "my_argument",
391395
* // "callLogLevel": "my_callLogLevel",
396+
* // "duration": "my_duration",
392397
* // "endTime": "my_endTime",
393398
* // "error": {},
394399
* // "name": "my_name",
@@ -558,6 +563,7 @@ export namespace workflowexecutions_v1 {
558563
* // {
559564
* // "argument": "my_argument",
560565
* // "callLogLevel": "my_callLogLevel",
566+
* // "duration": "my_duration",
561567
* // "endTime": "my_endTime",
562568
* // "error": {},
563569
* // "name": "my_name",
@@ -696,6 +702,7 @@ export namespace workflowexecutions_v1 {
696702
* // {
697703
* // "argument": "my_argument",
698704
* // "callLogLevel": "my_callLogLevel",
705+
* // "duration": "my_duration",
699706
* // "endTime": "my_endTime",
700707
* // "error": {},
701708
* // "name": "my_name",
@@ -713,6 +720,7 @@ export namespace workflowexecutions_v1 {
713720
* // {
714721
* // "argument": "my_argument",
715722
* // "callLogLevel": "my_callLogLevel",
723+
* // "duration": "my_duration",
716724
* // "endTime": "my_endTime",
717725
* // "error": {},
718726
* // "name": "my_name",
@@ -856,6 +864,7 @@ export namespace workflowexecutions_v1 {
856864
* // {
857865
* // "argument": "my_argument",
858866
* // "callLogLevel": "my_callLogLevel",
867+
* // "duration": "my_duration",
859868
* // "endTime": "my_endTime",
860869
* // "error": {},
861870
* // "name": "my_name",

src/apis/workflowexecutions/v1beta.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export namespace workflowexecutions_v1beta {
182182
*/
183183
state?: string | null;
184184
/**
185-
* Output only. Status tracks the current steps and progress data of this execution. \> **Preview:** This field is covered by the \> [Pre-GA Offerings Terms](https://cloud.google.com/terms/service-terms) of \> the Google Cloud Terms of Service. Pre-GA features might have limited \> support, and changes to pre-GA features might not be compatible with \> other pre-GA versions. For more information, see the \> [launch stage descriptions](https://cloud.google.com/products#product-launch-stages). \> This field is usable only if your project has access. See the \> [access request page](https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform).
185+
* Output only. Status tracks the current steps and progress data of this execution.
186186
*/
187187
status?: Schema$Status;
188188
/**
@@ -247,7 +247,7 @@ export namespace workflowexecutions_v1beta {
247247
step?: string | null;
248248
}
249249
/**
250-
* \> **Preview:** This field is covered by the \> [Pre-GA Offerings Terms](https://cloud.google.com/terms/service-terms) of \> the Google Cloud Terms of Service. Pre-GA features might have limited \> support, and changes to pre-GA features might not be compatible with \> other pre-GA versions. For more information, see the \> [launch stage descriptions](https://cloud.google.com/products#product-launch-stages). \> This field is usable only if your project has access. See the \> [access request page](https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform). Represents the current status of this execution.
250+
* Represents the current status of this execution.
251251
*/
252252
export interface Schema$Status {
253253
/**

0 commit comments

Comments
 (0)