@maxim_mazurok/gapi.client.workflowexecutions-v1 0.0.20220823 → 0.0.20220830
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +22 -1
- package/package.json +1 -1
- package/tests.ts +9 -1
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
11
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
12
|
// Generated from: https://workflowexecutions.googleapis.com/$discovery/rest?version=v1
|
|
13
|
-
// Revision:
|
|
13
|
+
// Revision: 20220830
|
|
14
14
|
|
|
15
15
|
/// <reference types="gapi.client" />
|
|
16
16
|
|
|
@@ -54,6 +54,13 @@ declare namespace gapi.client {
|
|
|
54
54
|
startTime?: string;
|
|
55
55
|
/** Output only. Current state of the execution. */
|
|
56
56
|
state?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Output only. Status tracks the current steps and progress data of this execution. > **Preview:** This field is covered by the > [Pre-GA Offerings
|
|
59
|
+
* 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
|
|
60
|
+
* 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
|
|
61
|
+
* usable only if your project has access. See the > [access request page](https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform).
|
|
62
|
+
*/
|
|
63
|
+
status?: Status;
|
|
57
64
|
/** Output only. Revision of the workflow this execution is using. */
|
|
58
65
|
workflowRevisionId?: string;
|
|
59
66
|
}
|
|
@@ -102,6 +109,20 @@ declare namespace gapi.client {
|
|
|
102
109
|
/** The step the error occurred at. */
|
|
103
110
|
step?: string;
|
|
104
111
|
}
|
|
112
|
+
interface Status {
|
|
113
|
+
/**
|
|
114
|
+
* A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or
|
|
115
|
+
* executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack,
|
|
116
|
+
* starting with the outermost step in the `main` subworkflow, and ending with the most deeply nested step.
|
|
117
|
+
*/
|
|
118
|
+
currentSteps?: Step[];
|
|
119
|
+
}
|
|
120
|
+
interface Step {
|
|
121
|
+
/** Name of a routine within the workflow. */
|
|
122
|
+
routine?: string;
|
|
123
|
+
/** Name of a step within the routine. */
|
|
124
|
+
step?: string;
|
|
125
|
+
}
|
|
105
126
|
interface TriggerPubsubExecutionRequest {
|
|
106
127
|
/** Required. LINT: LEGACY_NAMES The query parameter value for __GCP_CloudEventsMode, set by the Eventarc service when configuring triggers. */
|
|
107
128
|
GCPCloudEventsMode?: string;
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20220830
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -78,6 +78,14 @@ gapi.load('client', async () => {
|
|
|
78
78
|
result: "Test string",
|
|
79
79
|
startTime: "Test string",
|
|
80
80
|
state: "Test string",
|
|
81
|
+
status: {
|
|
82
|
+
currentSteps: [
|
|
83
|
+
{
|
|
84
|
+
routine: "Test string",
|
|
85
|
+
step: "Test string",
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
},
|
|
81
89
|
workflowRevisionId: "Test string",
|
|
82
90
|
});
|
|
83
91
|
/** Returns an execution of the given name. */
|