@maxim_mazurok/gapi.client.workflowexecutions-v1 0.0.20230110 → 0.0.20230117
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 +16 -1
- package/package.json +1 -1
- package/tests.ts +6 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://workflowexecutions.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230117
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -47,6 +47,11 @@ declare namespace gapi.client {
|
|
|
47
47
|
endTime?: string;
|
|
48
48
|
/** 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`. */
|
|
49
49
|
error?: Error;
|
|
50
|
+
/**
|
|
51
|
+
* 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
|
|
52
|
+
* characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.
|
|
53
|
+
*/
|
|
54
|
+
labels?: { [P in string]: string };
|
|
50
55
|
/** Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
|
|
51
56
|
name?: string;
|
|
52
57
|
/** Output only. Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`. */
|
|
@@ -290,10 +295,20 @@ declare namespace gapi.client {
|
|
|
290
295
|
callback?: string;
|
|
291
296
|
/** Selector specifying which fields to include in a partial response. */
|
|
292
297
|
fields?: string;
|
|
298
|
+
/**
|
|
299
|
+
* Optional. Filters applied to the [Executions.ListExecutions] results. The following fields are supported for filtering: executionID, state, startTime, endTime, duration,
|
|
300
|
+
* workflowRevisionID, stepName, and label.
|
|
301
|
+
*/
|
|
302
|
+
filter?: string;
|
|
293
303
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
294
304
|
key?: string;
|
|
295
305
|
/** OAuth 2.0 token for the current user. */
|
|
296
306
|
oauth_token?: string;
|
|
307
|
+
/**
|
|
308
|
+
* Optional. The orderding applied to the [Executions.ListExecutions] results. By default the ordering is based on descending start time. The following fields are supported for
|
|
309
|
+
* order by: executionID, startTime, endTime, duration, state, and workflowRevisionID.
|
|
310
|
+
*/
|
|
311
|
+
orderBy?: string;
|
|
297
312
|
/**
|
|
298
313
|
* Maximum number of executions to return per call. Max supported value depends on the selected Execution view: it's 1000 for BASIC and 100 for FULL. The default value used if the
|
|
299
314
|
* field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it.
|
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: 20230117
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -75,6 +75,9 @@ gapi.load('client', async () => {
|
|
|
75
75
|
],
|
|
76
76
|
},
|
|
77
77
|
},
|
|
78
|
+
labels: {
|
|
79
|
+
A: "Test string"
|
|
80
|
+
},
|
|
78
81
|
name: "Test string",
|
|
79
82
|
result: "Test string",
|
|
80
83
|
startTime: "Test string",
|
|
@@ -99,6 +102,8 @@ gapi.load('client', async () => {
|
|
|
99
102
|
* time (newest first).
|
|
100
103
|
*/
|
|
101
104
|
await gapi.client.workflowexecutions.projects.locations.workflows.executions.list({
|
|
105
|
+
filter: "Test string",
|
|
106
|
+
orderBy: "Test string",
|
|
102
107
|
pageSize: 42,
|
|
103
108
|
pageToken: "Test string",
|
|
104
109
|
parent: "Test string",
|