Skip to content

Commit

Permalink
feat(workflowexecutions): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and bcoe committed Dec 22, 2022
1 parent d9d2651 commit ae68b4f
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 14 deletions.
18 changes: 12 additions & 6 deletions discovery/workflowexecutions-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
],
"enumDescriptions": [
"The default / unset value.",
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.",
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.",
"Includes all data."
],
"location": "query",
Expand Down Expand Up @@ -275,7 +275,7 @@
],
"enumDescriptions": [
"The default / unset value.",
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.",
"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.",
"Includes all data."
],
"location": "query",
Expand All @@ -299,7 +299,7 @@
}
}
},
"revision": "20220908",
"revision": "20221206",
"rootUrl": "https://workflowexecutions.googleapis.com/",
"schemas": {
"CancelExecutionRequest": {
Expand Down Expand Up @@ -343,12 +343,18 @@
"LOG_ERRORS_ONLY"
],
"enumDescriptions": [
"No call logging specified.",
"No call logging level specified.",
"Log all call steps within workflows, all call returns, and all exceptions raised.",
"Log only exceptions that are raised from call steps within workflows."
],
"type": "string"
},
"duration": {
"description": "Output only. Measures the duration of the execution.",
"format": "google-duration",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. Marks the end of execution, successful or not.",
"format": "google-datetime",
Expand Down Expand Up @@ -397,7 +403,7 @@
},
"status": {
"$ref": "Status",
"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).",
"description": "Output only. Status tracks the current steps and progress data of this execution.",
"readOnly": true
},
"workflowRevisionId": {
Expand Down Expand Up @@ -514,7 +520,7 @@
"type": "object"
},
"Status": {
"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.",
"description": "Represents the current status of this execution.",
"id": "Status",
"properties": {
"currentSteps": {
Expand Down
8 changes: 4 additions & 4 deletions discovery/workflowexecutions-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
}
}
},
"revision": "20220908",
"revision": "20221206",
"rootUrl": "https://workflowexecutions.googleapis.com/",
"schemas": {
"CancelExecutionRequest": {
Expand Down Expand Up @@ -313,7 +313,7 @@
"LOG_ERRORS_ONLY"
],
"enumDescriptions": [
"No call logging specified.",
"No call logging level specified.",
"Log all call steps within workflows, all call returns, and all exceptions raised.",
"Log only exceptions that are raised from call steps within workflows."
],
Expand Down Expand Up @@ -367,7 +367,7 @@
},
"status": {
"$ref": "Status",
"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).",
"description": "Output only. Status tracks the current steps and progress data of this execution.",
"readOnly": true
},
"workflowRevisionId": {
Expand Down Expand Up @@ -452,7 +452,7 @@
"type": "object"
},
"Status": {
"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.",
"description": "Represents the current status of this execution.",
"id": "Status",
"properties": {
"currentSteps": {
Expand Down
13 changes: 11 additions & 2 deletions src/apis/workflowexecutions/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ export namespace workflowexecutions_v1 {
* The call logging level associated to this execution.
*/
callLogLevel?: string | null;
/**
* Output only. Measures the duration of the execution.
*/
duration?: string | null;
/**
* Output only. Marks the end of execution, successful or not.
*/
Expand All @@ -182,7 +186,7 @@ export namespace workflowexecutions_v1 {
*/
state?: string | null;
/**
* 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).
* Output only. Status tracks the current steps and progress data of this execution.
*/
status?: Schema$Status;
/**
Expand Down Expand Up @@ -272,7 +276,7 @@ export namespace workflowexecutions_v1 {
step?: string | null;
}
/**
* \> **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.
* Represents the current status of this execution.
*/
export interface Schema$Status {
/**
Expand Down Expand Up @@ -389,6 +393,7 @@ export namespace workflowexecutions_v1 {
* // {
* // "argument": "my_argument",
* // "callLogLevel": "my_callLogLevel",
* // "duration": "my_duration",
* // "endTime": "my_endTime",
* // "error": {},
* // "name": "my_name",
Expand Down Expand Up @@ -558,6 +563,7 @@ export namespace workflowexecutions_v1 {
* // {
* // "argument": "my_argument",
* // "callLogLevel": "my_callLogLevel",
* // "duration": "my_duration",
* // "endTime": "my_endTime",
* // "error": {},
* // "name": "my_name",
Expand Down Expand Up @@ -696,6 +702,7 @@ export namespace workflowexecutions_v1 {
* // {
* // "argument": "my_argument",
* // "callLogLevel": "my_callLogLevel",
* // "duration": "my_duration",
* // "endTime": "my_endTime",
* // "error": {},
* // "name": "my_name",
Expand All @@ -713,6 +720,7 @@ export namespace workflowexecutions_v1 {
* // {
* // "argument": "my_argument",
* // "callLogLevel": "my_callLogLevel",
* // "duration": "my_duration",
* // "endTime": "my_endTime",
* // "error": {},
* // "name": "my_name",
Expand Down Expand Up @@ -856,6 +864,7 @@ export namespace workflowexecutions_v1 {
* // {
* // "argument": "my_argument",
* // "callLogLevel": "my_callLogLevel",
* // "duration": "my_duration",
* // "endTime": "my_endTime",
* // "error": {},
* // "name": "my_name",
Expand Down
4 changes: 2 additions & 2 deletions src/apis/workflowexecutions/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export namespace workflowexecutions_v1beta {
*/
state?: string | null;
/**
* 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).
* Output only. Status tracks the current steps and progress data of this execution.
*/
status?: Schema$Status;
/**
Expand Down Expand Up @@ -247,7 +247,7 @@ export namespace workflowexecutions_v1beta {
step?: string | null;
}
/**
* \> **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.
* Represents the current status of this execution.
*/
export interface Schema$Status {
/**
Expand Down

0 comments on commit ae68b4f

Please sign in to comment.