@maxim_mazurok/gapi.client.workflowexecutions-v1 0.0.20231107 → 0.0.20231128
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 +570 -861
- package/package.json +6 -6
- package/readme.md +17 -12
- package/tests.ts +0 -141
- package/tsconfig.json +0 -18
- package/tslint.json +0 -6
package/index.d.ts
CHANGED
|
@@ -9,871 +9,580 @@
|
|
|
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: 20231128
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
/** Load Workflow Executions API v1 */
|
|
18
|
+
function load(
|
|
19
|
+
urlOrObject: 'https://workflowexecutions.googleapis.com/$discovery/rest?version=v1'
|
|
20
|
+
): Promise<void>;
|
|
21
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
22
|
+
function load(name: 'workflowexecutions', version: 'v1'): Promise<void>;
|
|
23
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
24
|
+
function load(
|
|
25
|
+
name: 'workflowexecutions',
|
|
26
|
+
version: 'v1',
|
|
27
|
+
callback: () => any
|
|
28
|
+
): void;
|
|
23
29
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
totalSize?:
|
|
142
|
-
number;
|
|
143
|
-
}
|
|
144
|
-
interface NavigationInfo {
|
|
145
|
-
/** Step entries that can be reached by "stepping into" e.g. a subworkflow call. */
|
|
146
|
-
children?:
|
|
147
|
-
string[];
|
|
148
|
-
/** The index of the next step in the current workflow, if any. */
|
|
149
|
-
next?:
|
|
150
|
-
string;
|
|
151
|
-
/** The step entry, if any, that can be reached by "stepping out" of the current workflow being executed. */
|
|
152
|
-
parent?:
|
|
153
|
-
string;
|
|
154
|
-
/** The index of the previous step in the current workflow, if any. */
|
|
155
|
-
previous?:
|
|
156
|
-
string;
|
|
157
|
-
}
|
|
158
|
-
interface Position {
|
|
159
|
-
/** The source code column position (of the line) the current instruction was generated from. */
|
|
160
|
-
column?:
|
|
161
|
-
string;
|
|
162
|
-
/** The number of bytes of source code making up this stack trace element. */
|
|
163
|
-
length?:
|
|
164
|
-
string;
|
|
165
|
-
/** The source code line number the current instruction was generated from. */
|
|
166
|
-
line?:
|
|
167
|
-
string;
|
|
168
|
-
}
|
|
169
|
-
interface PubsubMessage {
|
|
170
|
-
/** Optional. Attributes for this message. If this field is empty, the message must contain non-empty data. This can be used to filter messages on the subscription. */
|
|
171
|
-
attributes?:
|
|
172
|
-
{ [P in string]: string };
|
|
173
|
-
/** Optional. The message data field. If this field is empty, the message must contain at least one attribute. */
|
|
174
|
-
data?:
|
|
175
|
-
string;
|
|
176
|
-
/**
|
|
177
|
-
* Optional. ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a
|
|
178
|
-
* `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.
|
|
179
|
-
*/
|
|
180
|
-
messageId?:
|
|
181
|
-
string;
|
|
182
|
-
/**
|
|
183
|
-
* Optional. If non-empty, identifies related messages for which publish order should be respected. If a `Subscription` has `enable_message_ordering` set to `true`, messages published
|
|
184
|
-
* with the same non-empty `ordering_key` value will be delivered to subscribers in the order in which they are received by the Pub/Sub system. All `PubsubMessage`s published in a
|
|
185
|
-
* given `PublishRequest` must specify the same `ordering_key` value. For more information, see [ordering messages](https://cloud.google.com/pubsub/docs/ordering).
|
|
186
|
-
*/
|
|
187
|
-
orderingKey?:
|
|
188
|
-
string;
|
|
189
|
-
/** Optional. The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call. */
|
|
190
|
-
publishTime?:
|
|
191
|
-
string;
|
|
192
|
-
}
|
|
193
|
-
interface StackTrace {
|
|
194
|
-
/** An array of stack elements. */
|
|
195
|
-
elements?:
|
|
196
|
-
StackTraceElement[];
|
|
197
|
-
}
|
|
198
|
-
interface StackTraceElement {
|
|
199
|
-
/** The source position information of the stack trace element. */
|
|
200
|
-
position?:
|
|
201
|
-
Position;
|
|
202
|
-
/** The routine where the error occurred. */
|
|
203
|
-
routine?:
|
|
204
|
-
string;
|
|
205
|
-
/** The step the error occurred at. */
|
|
206
|
-
step?:
|
|
207
|
-
string;
|
|
208
|
-
}
|
|
209
|
-
interface StateError {
|
|
210
|
-
/** Provides specifics about the error. */
|
|
211
|
-
details?:
|
|
212
|
-
string;
|
|
213
|
-
/** The type of this state error. */
|
|
214
|
-
type?:
|
|
215
|
-
string;
|
|
216
|
-
}
|
|
217
|
-
interface Status {
|
|
218
|
-
/**
|
|
219
|
-
* 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
|
|
220
|
-
* 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,
|
|
221
|
-
* starting with the outermost step in the `main` subworkflow, and ending with the most deeply nested step.
|
|
222
|
-
*/
|
|
223
|
-
currentSteps?:
|
|
224
|
-
Step[];
|
|
225
|
-
}
|
|
226
|
-
interface Step {
|
|
227
|
-
/** Name of a routine within the workflow. */
|
|
228
|
-
routine?:
|
|
229
|
-
string;
|
|
230
|
-
/** Name of a step within the routine. */
|
|
231
|
-
step?:
|
|
232
|
-
string;
|
|
233
|
-
}
|
|
234
|
-
interface StepEntry {
|
|
235
|
-
/** Output only. The creation time of the step entry. */
|
|
236
|
-
createTime?:
|
|
237
|
-
string;
|
|
238
|
-
/** Output only. The numeric ID of this step entry, used for navigation. */
|
|
239
|
-
entryId?:
|
|
240
|
-
string;
|
|
241
|
-
/** Output only. The exception thrown by the step entry. */
|
|
242
|
-
exception?:
|
|
243
|
-
Exception;
|
|
244
|
-
/**
|
|
245
|
-
* Output only. The full resource name of the step entry. Each step entry has a unique entry ID, which is a monotonically increasing counter. Step entry names have the format:
|
|
246
|
-
* `projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/{step_entry}`.
|
|
247
|
-
*/
|
|
248
|
-
name?:
|
|
249
|
-
string;
|
|
250
|
-
/** Output only. The NavigationInfo associated to this step. */
|
|
251
|
-
navigationInfo?:
|
|
252
|
-
NavigationInfo;
|
|
253
|
-
/** Output only. The name of the routine this step entry belongs to. A routine name is the subworkflow name defined in the YAML source code. The top level routine name is `main`. */
|
|
254
|
-
routine?:
|
|
255
|
-
string;
|
|
256
|
-
/** Output only. The state of the step entry. */
|
|
257
|
-
state?:
|
|
258
|
-
string;
|
|
259
|
-
/** Output only. The name of the step this step entry belongs to. */
|
|
260
|
-
step?:
|
|
261
|
-
string;
|
|
262
|
-
/** Output only. The StepEntryMetadata associated to this step. */
|
|
263
|
-
stepEntryMetadata?:
|
|
264
|
-
StepEntryMetadata;
|
|
265
|
-
/** Output only. The type of the step this step entry belongs to. */
|
|
266
|
-
stepType?:
|
|
267
|
-
string;
|
|
268
|
-
/** Output only. The most recently updated time of the step entry. */
|
|
269
|
-
updateTime?:
|
|
270
|
-
string;
|
|
271
|
-
}
|
|
272
|
-
interface StepEntryMetadata {
|
|
273
|
-
/** Progress number represents the current state of the current progress. eg: A step entry represents the 4th iteration in a progress of PROGRESS_TYPE_FOR. */
|
|
274
|
-
progressNumber?:
|
|
275
|
-
string;
|
|
276
|
-
/** Progress type of this step entry. */
|
|
277
|
-
progressType?:
|
|
278
|
-
string;
|
|
279
|
-
/** Child thread id that this step entry belongs to. */
|
|
280
|
-
threadId?:
|
|
281
|
-
string;
|
|
282
|
-
}
|
|
283
|
-
interface TriggerPubsubExecutionRequest {
|
|
284
|
-
/**
|
|
285
|
-
* The number of attempts that have been made to deliver this message. This is set by Pub/Sub for subscriptions that have the "dead letter" feature enabled, and hence provided here for
|
|
286
|
-
* compatibility, but is ignored by Workflows.
|
|
287
|
-
*/
|
|
288
|
-
deliveryAttempt?:
|
|
289
|
-
number;
|
|
290
|
-
/** Required. LINT: LEGACY_NAMES The query parameter value for __GCP_CloudEventsMode, set by the Eventarc service when configuring triggers. */
|
|
291
|
-
GCPCloudEventsMode?:
|
|
292
|
-
string;
|
|
293
|
-
/** Required. The message of the Pub/Sub push notification. */
|
|
294
|
-
message?:
|
|
295
|
-
PubsubMessage;
|
|
296
|
-
/** Required. The subscription of the Pub/Sub push notification. Format: projects/{project}/subscriptions/{sub} */
|
|
297
|
-
subscription?:
|
|
298
|
-
string;
|
|
299
|
-
}
|
|
300
|
-
interface CallbacksResource {
|
|
301
|
-
/** Returns a list of active callbacks that belong to the execution with the given name. The returned callbacks are ordered by callback ID. */
|
|
302
|
-
list(request?: {
|
|
303
|
-
/** V1 error format. */
|
|
304
|
-
"$.xgafv"?:
|
|
305
|
-
string;
|
|
306
|
-
/** OAuth access token. */
|
|
307
|
-
access_token?:
|
|
308
|
-
string;
|
|
309
|
-
/** Data format for response. */
|
|
310
|
-
alt?:
|
|
311
|
-
string;
|
|
312
|
-
/** JSONP */
|
|
313
|
-
callback?:
|
|
314
|
-
string;
|
|
315
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
316
|
-
fields?:
|
|
317
|
-
string;
|
|
318
|
-
/** 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. */
|
|
319
|
-
key?:
|
|
320
|
-
string;
|
|
321
|
-
/** OAuth 2.0 token for the current user. */
|
|
322
|
-
oauth_token?:
|
|
323
|
-
string;
|
|
324
|
-
/** Maximum number of callbacks to return per call. The default value is 100 and is also the maximum value. */
|
|
325
|
-
pageSize?:
|
|
326
|
-
number;
|
|
327
|
-
/**
|
|
328
|
-
* A page token, received from a previous `ListCallbacks` call. Provide this to retrieve the subsequent page. Note that pagination is applied to dynamic data. The list of callbacks
|
|
329
|
-
* returned can change between page requests if callbacks are created or deleted.
|
|
330
|
-
*/
|
|
331
|
-
pageToken?:
|
|
332
|
-
string;
|
|
333
|
-
/** Required. Name of the execution for which the callbacks should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
|
|
334
|
-
parent:
|
|
335
|
-
string;
|
|
336
|
-
/** Returns response with indentations and line breaks. */
|
|
337
|
-
prettyPrint?:
|
|
338
|
-
boolean;
|
|
339
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
340
|
-
quotaUser?:
|
|
341
|
-
string;
|
|
342
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
343
|
-
upload_protocol?:
|
|
344
|
-
string;
|
|
345
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
346
|
-
uploadType?:
|
|
347
|
-
string;
|
|
348
|
-
}): Request<ListCallbacksResponse>;
|
|
349
|
-
}
|
|
350
|
-
interface StepEntriesResource {
|
|
351
|
-
/** Gets a step entry. */
|
|
352
|
-
get(request?: {
|
|
353
|
-
/** V1 error format. */
|
|
354
|
-
"$.xgafv"?:
|
|
355
|
-
string;
|
|
356
|
-
/** OAuth access token. */
|
|
357
|
-
access_token?:
|
|
358
|
-
string;
|
|
359
|
-
/** Data format for response. */
|
|
360
|
-
alt?:
|
|
361
|
-
string;
|
|
362
|
-
/** JSONP */
|
|
363
|
-
callback?:
|
|
364
|
-
string;
|
|
365
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
366
|
-
fields?:
|
|
367
|
-
string;
|
|
368
|
-
/** 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. */
|
|
369
|
-
key?:
|
|
370
|
-
string;
|
|
371
|
-
/** Required. The name of the step entry to retrieve. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/{step_entry} */
|
|
372
|
-
name:
|
|
373
|
-
string;
|
|
374
|
-
/** OAuth 2.0 token for the current user. */
|
|
375
|
-
oauth_token?:
|
|
376
|
-
string;
|
|
377
|
-
/** Returns response with indentations and line breaks. */
|
|
378
|
-
prettyPrint?:
|
|
379
|
-
boolean;
|
|
380
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
381
|
-
quotaUser?:
|
|
382
|
-
string;
|
|
383
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
384
|
-
upload_protocol?:
|
|
385
|
-
string;
|
|
386
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
387
|
-
uploadType?:
|
|
388
|
-
string;
|
|
389
|
-
}): Request<StepEntry>;
|
|
390
|
-
/** Lists step entries for the corresponding workflow execution. Returned entries are ordered by their create_time. */
|
|
391
|
-
list(request?: {
|
|
392
|
-
/** V1 error format. */
|
|
393
|
-
"$.xgafv"?:
|
|
394
|
-
string;
|
|
395
|
-
/** OAuth access token. */
|
|
396
|
-
access_token?:
|
|
397
|
-
string;
|
|
398
|
-
/** Data format for response. */
|
|
399
|
-
alt?:
|
|
400
|
-
string;
|
|
401
|
-
/** JSONP */
|
|
402
|
-
callback?:
|
|
403
|
-
string;
|
|
404
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
405
|
-
fields?:
|
|
406
|
-
string;
|
|
407
|
-
/**
|
|
408
|
-
* Optional. Filters applied to the `[StepEntries.ListStepEntries]` results. The following fields are supported for filtering: `entryId`, `createTime`, `updateTime`, `routine`,
|
|
409
|
-
* `step`, `stepType`, `state`. For details, see AIP-160. For example, if you are using the Google APIs Explorer: `state="SUCCEEDED"` or `createTime>"2023-08-01" AND
|
|
410
|
-
* state="FAILED"`
|
|
411
|
-
*/
|
|
412
|
-
filter?:
|
|
413
|
-
string;
|
|
414
|
-
/** 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. */
|
|
415
|
-
key?:
|
|
416
|
-
string;
|
|
417
|
-
/** OAuth 2.0 token for the current user. */
|
|
418
|
-
oauth_token?:
|
|
419
|
-
string;
|
|
420
|
-
/**
|
|
421
|
-
* Optional. Comma-separated list of fields that specify the ordering applied to the `[StepEntries.ListStepEntries]` results. By default the ordering is based on ascending
|
|
422
|
-
* `entryId`. The following fields are supported for ordering: `entryId`, `createTime`, `updateTime`, `routine`, `step`, `stepType`, `state`. For details, see AIP-132.
|
|
423
|
-
*/
|
|
424
|
-
orderBy?:
|
|
425
|
-
string;
|
|
426
|
-
/** Optional. Number of step entries to return per call. The default max is 1000. */
|
|
427
|
-
pageSize?:
|
|
428
|
-
number;
|
|
429
|
-
/**
|
|
430
|
-
* Optional. A page token, received from a previous `ListStepEntries` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
431
|
-
* `ListStepEntries` must match the call that provided the page token.
|
|
432
|
-
*/
|
|
433
|
-
pageToken?:
|
|
434
|
-
string;
|
|
435
|
-
/** Required. Name of the workflow execution to list entries for. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/ */
|
|
436
|
-
parent:
|
|
437
|
-
string;
|
|
438
|
-
/** Returns response with indentations and line breaks. */
|
|
439
|
-
prettyPrint?:
|
|
440
|
-
boolean;
|
|
441
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
442
|
-
quotaUser?:
|
|
443
|
-
string;
|
|
444
|
-
/**
|
|
445
|
-
* Optional. The number of step entries to skip. It can be used with or without a pageToken. If used with a pageToken, then it indicates the number of step entries to skip starting
|
|
446
|
-
* from the requested page.
|
|
447
|
-
*/
|
|
448
|
-
skip?:
|
|
449
|
-
number;
|
|
450
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
451
|
-
upload_protocol?:
|
|
452
|
-
string;
|
|
453
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
454
|
-
uploadType?:
|
|
455
|
-
string;
|
|
456
|
-
}): Request<ListStepEntriesResponse>;
|
|
457
|
-
}
|
|
458
|
-
interface ExecutionsResource {
|
|
459
|
-
/** Cancels an execution of the given name. */
|
|
460
|
-
cancel(request: {
|
|
461
|
-
/** V1 error format. */
|
|
462
|
-
"$.xgafv"?:
|
|
463
|
-
string;
|
|
464
|
-
/** OAuth access token. */
|
|
465
|
-
access_token?:
|
|
466
|
-
string;
|
|
467
|
-
/** Data format for response. */
|
|
468
|
-
alt?:
|
|
469
|
-
string;
|
|
470
|
-
/** JSONP */
|
|
471
|
-
callback?:
|
|
472
|
-
string;
|
|
473
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
474
|
-
fields?:
|
|
475
|
-
string;
|
|
476
|
-
/** 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. */
|
|
477
|
-
key?:
|
|
478
|
-
string;
|
|
479
|
-
/** Required. Name of the execution to be cancelled. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
|
|
480
|
-
name:
|
|
481
|
-
string;
|
|
482
|
-
/** OAuth 2.0 token for the current user. */
|
|
483
|
-
oauth_token?:
|
|
484
|
-
string;
|
|
485
|
-
/** Returns response with indentations and line breaks. */
|
|
486
|
-
prettyPrint?:
|
|
487
|
-
boolean;
|
|
488
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
489
|
-
quotaUser?:
|
|
490
|
-
string;
|
|
491
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
492
|
-
upload_protocol?:
|
|
493
|
-
string;
|
|
494
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
495
|
-
uploadType?:
|
|
496
|
-
string;
|
|
497
|
-
/** Request body */
|
|
498
|
-
resource:
|
|
499
|
-
CancelExecutionRequest;
|
|
500
|
-
}): Request<Execution>;
|
|
501
|
-
cancel(request: {
|
|
502
|
-
/** V1 error format. */
|
|
503
|
-
"$.xgafv"?:
|
|
504
|
-
string;
|
|
505
|
-
/** OAuth access token. */
|
|
506
|
-
access_token?:
|
|
507
|
-
string;
|
|
508
|
-
/** Data format for response. */
|
|
509
|
-
alt?:
|
|
510
|
-
string;
|
|
511
|
-
/** JSONP */
|
|
512
|
-
callback?:
|
|
513
|
-
string;
|
|
514
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
515
|
-
fields?:
|
|
516
|
-
string;
|
|
517
|
-
/** 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. */
|
|
518
|
-
key?:
|
|
519
|
-
string;
|
|
520
|
-
/** Required. Name of the execution to be cancelled. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
|
|
521
|
-
name:
|
|
522
|
-
string;
|
|
523
|
-
/** OAuth 2.0 token for the current user. */
|
|
524
|
-
oauth_token?:
|
|
525
|
-
string;
|
|
526
|
-
/** Returns response with indentations and line breaks. */
|
|
527
|
-
prettyPrint?:
|
|
528
|
-
boolean;
|
|
529
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
530
|
-
quotaUser?:
|
|
531
|
-
string;
|
|
532
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
533
|
-
upload_protocol?:
|
|
534
|
-
string;
|
|
535
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
536
|
-
uploadType?:
|
|
537
|
-
string;
|
|
538
|
-
},
|
|
539
|
-
body: CancelExecutionRequest): Request<Execution>;
|
|
540
|
-
/** Creates a new execution using the latest revision of the given workflow. */
|
|
541
|
-
create(request: {
|
|
542
|
-
/** V1 error format. */
|
|
543
|
-
"$.xgafv"?:
|
|
544
|
-
string;
|
|
545
|
-
/** OAuth access token. */
|
|
546
|
-
access_token?:
|
|
547
|
-
string;
|
|
548
|
-
/** Data format for response. */
|
|
549
|
-
alt?:
|
|
550
|
-
string;
|
|
551
|
-
/** JSONP */
|
|
552
|
-
callback?:
|
|
553
|
-
string;
|
|
554
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
555
|
-
fields?:
|
|
556
|
-
string;
|
|
557
|
-
/** 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. */
|
|
558
|
-
key?:
|
|
559
|
-
string;
|
|
560
|
-
/** OAuth 2.0 token for the current user. */
|
|
561
|
-
oauth_token?:
|
|
562
|
-
string;
|
|
563
|
-
/**
|
|
564
|
-
* Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow
|
|
565
|
-
* will be used.
|
|
566
|
-
*/
|
|
567
|
-
parent:
|
|
568
|
-
string;
|
|
569
|
-
/** Returns response with indentations and line breaks. */
|
|
570
|
-
prettyPrint?:
|
|
571
|
-
boolean;
|
|
572
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
573
|
-
quotaUser?:
|
|
574
|
-
string;
|
|
575
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
576
|
-
upload_protocol?:
|
|
577
|
-
string;
|
|
578
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
579
|
-
uploadType?:
|
|
580
|
-
string;
|
|
581
|
-
/** Request body */
|
|
582
|
-
resource:
|
|
583
|
-
Execution;
|
|
584
|
-
}): Request<Execution>;
|
|
585
|
-
create(request: {
|
|
586
|
-
/** V1 error format. */
|
|
587
|
-
"$.xgafv"?:
|
|
588
|
-
string;
|
|
589
|
-
/** OAuth access token. */
|
|
590
|
-
access_token?:
|
|
591
|
-
string;
|
|
592
|
-
/** Data format for response. */
|
|
593
|
-
alt?:
|
|
594
|
-
string;
|
|
595
|
-
/** JSONP */
|
|
596
|
-
callback?:
|
|
597
|
-
string;
|
|
598
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
599
|
-
fields?:
|
|
600
|
-
string;
|
|
601
|
-
/** 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. */
|
|
602
|
-
key?:
|
|
603
|
-
string;
|
|
604
|
-
/** OAuth 2.0 token for the current user. */
|
|
605
|
-
oauth_token?:
|
|
606
|
-
string;
|
|
607
|
-
/**
|
|
608
|
-
* Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow
|
|
609
|
-
* will be used.
|
|
610
|
-
*/
|
|
611
|
-
parent:
|
|
612
|
-
string;
|
|
613
|
-
/** Returns response with indentations and line breaks. */
|
|
614
|
-
prettyPrint?:
|
|
615
|
-
boolean;
|
|
616
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
617
|
-
quotaUser?:
|
|
618
|
-
string;
|
|
619
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
620
|
-
upload_protocol?:
|
|
621
|
-
string;
|
|
622
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
623
|
-
uploadType?:
|
|
624
|
-
string;
|
|
625
|
-
},
|
|
626
|
-
body: Execution): Request<Execution>;
|
|
627
|
-
/** Returns all metadata stored about an execution, excluding most data that is already accessible using other API methods. */
|
|
628
|
-
exportData(request?: {
|
|
629
|
-
/** V1 error format. */
|
|
630
|
-
"$.xgafv"?:
|
|
631
|
-
string;
|
|
632
|
-
/** OAuth access token. */
|
|
633
|
-
access_token?:
|
|
634
|
-
string;
|
|
635
|
-
/** Data format for response. */
|
|
636
|
-
alt?:
|
|
637
|
-
string;
|
|
638
|
-
/** JSONP */
|
|
639
|
-
callback?:
|
|
640
|
-
string;
|
|
641
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
642
|
-
fields?:
|
|
643
|
-
string;
|
|
644
|
-
/** 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. */
|
|
645
|
-
key?:
|
|
646
|
-
string;
|
|
647
|
-
/** Required. Name of the execution for which data is to be exported. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
|
|
648
|
-
name:
|
|
649
|
-
string;
|
|
650
|
-
/** OAuth 2.0 token for the current user. */
|
|
651
|
-
oauth_token?:
|
|
652
|
-
string;
|
|
653
|
-
/** Returns response with indentations and line breaks. */
|
|
654
|
-
prettyPrint?:
|
|
655
|
-
boolean;
|
|
656
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
657
|
-
quotaUser?:
|
|
658
|
-
string;
|
|
659
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
660
|
-
upload_protocol?:
|
|
661
|
-
string;
|
|
662
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
663
|
-
uploadType?:
|
|
664
|
-
string;
|
|
665
|
-
}): Request<ExportDataResponse>;
|
|
666
|
-
/** Returns an execution of the given name. */
|
|
667
|
-
get(request?: {
|
|
668
|
-
/** V1 error format. */
|
|
669
|
-
"$.xgafv"?:
|
|
670
|
-
string;
|
|
671
|
-
/** OAuth access token. */
|
|
672
|
-
access_token?:
|
|
673
|
-
string;
|
|
674
|
-
/** Data format for response. */
|
|
675
|
-
alt?:
|
|
676
|
-
string;
|
|
677
|
-
/** JSONP */
|
|
678
|
-
callback?:
|
|
679
|
-
string;
|
|
680
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
681
|
-
fields?:
|
|
682
|
-
string;
|
|
683
|
-
/** 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. */
|
|
684
|
-
key?:
|
|
685
|
-
string;
|
|
686
|
-
/** Required. Name of the execution to be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
|
|
687
|
-
name:
|
|
688
|
-
string;
|
|
689
|
-
/** OAuth 2.0 token for the current user. */
|
|
690
|
-
oauth_token?:
|
|
691
|
-
string;
|
|
692
|
-
/** Returns response with indentations and line breaks. */
|
|
693
|
-
prettyPrint?:
|
|
694
|
-
boolean;
|
|
695
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
696
|
-
quotaUser?:
|
|
697
|
-
string;
|
|
698
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
699
|
-
upload_protocol?:
|
|
700
|
-
string;
|
|
701
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
702
|
-
uploadType?:
|
|
703
|
-
string;
|
|
704
|
-
/** Optional. A view defining which fields should be filled in the returned execution. The API will default to the FULL view. */
|
|
705
|
-
view?:
|
|
706
|
-
string;
|
|
707
|
-
}): Request<Execution>;
|
|
708
|
-
/**
|
|
709
|
-
* Returns a list of executions which belong to the workflow with the given name. The method returns executions of all workflow revisions. Returned executions are ordered by their
|
|
710
|
-
* start time (newest first).
|
|
711
|
-
*/
|
|
712
|
-
list(request?: {
|
|
713
|
-
/** V1 error format. */
|
|
714
|
-
"$.xgafv"?:
|
|
715
|
-
string;
|
|
716
|
-
/** OAuth access token. */
|
|
717
|
-
access_token?:
|
|
718
|
-
string;
|
|
719
|
-
/** Data format for response. */
|
|
720
|
-
alt?:
|
|
721
|
-
string;
|
|
722
|
-
/** JSONP */
|
|
723
|
-
callback?:
|
|
724
|
-
string;
|
|
725
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
726
|
-
fields?:
|
|
727
|
-
string;
|
|
728
|
-
/**
|
|
729
|
-
* Optional. Filters applied to the `[Executions.ListExecutions]` results. The following fields are supported for filtering: `executionId`, `state`, `startTime`, `endTime`,
|
|
730
|
-
* `duration`, `workflowRevisionId`, `stepName`, and `label`. For details, see AIP-160. For example, if you are using the Google APIs Explorer: `state="SUCCEEDED"` or
|
|
731
|
-
* `startTime>"2023-08-01" AND state="FAILED"`
|
|
732
|
-
*/
|
|
733
|
-
filter?:
|
|
734
|
-
string;
|
|
735
|
-
/** 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. */
|
|
736
|
-
key?:
|
|
737
|
-
string;
|
|
738
|
-
/** OAuth 2.0 token for the current user. */
|
|
739
|
-
oauth_token?:
|
|
740
|
-
string;
|
|
741
|
-
/**
|
|
742
|
-
* Optional. Comma-separated list of fields that specify the ordering applied to the `[Executions.ListExecutions]` results. By default the ordering is based on descending
|
|
743
|
-
* `startTime`. The following fields are supported for ordering: `executionId`, `state`, `startTime`, `endTime`, `duration`, and `workflowRevisionId`. For details, see AIP-132.
|
|
744
|
-
*/
|
|
745
|
-
orderBy?:
|
|
746
|
-
string;
|
|
747
|
-
/**
|
|
748
|
-
* 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
|
|
749
|
-
* field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it.
|
|
750
|
-
*/
|
|
751
|
-
pageSize?:
|
|
752
|
-
number;
|
|
753
|
-
/**
|
|
754
|
-
* A page token, received from a previous `ListExecutions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListExecutions`
|
|
755
|
-
* must match the call that provided the page token. Note that pagination is applied to dynamic data. The list of executions returned can change between page requests.
|
|
756
|
-
*/
|
|
757
|
-
pageToken?:
|
|
758
|
-
string;
|
|
759
|
-
/** Required. Name of the workflow for which the executions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow} */
|
|
760
|
-
parent:
|
|
761
|
-
string;
|
|
762
|
-
/** Returns response with indentations and line breaks. */
|
|
763
|
-
prettyPrint?:
|
|
764
|
-
boolean;
|
|
765
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
766
|
-
quotaUser?:
|
|
767
|
-
string;
|
|
768
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
769
|
-
upload_protocol?:
|
|
770
|
-
string;
|
|
771
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
772
|
-
uploadType?:
|
|
773
|
-
string;
|
|
774
|
-
/** Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view. */
|
|
775
|
-
view?:
|
|
776
|
-
string;
|
|
777
|
-
}): Request<ListExecutionsResponse>;
|
|
778
|
-
callbacks:
|
|
779
|
-
CallbacksResource;
|
|
780
|
-
stepEntries:
|
|
781
|
-
StepEntriesResource;
|
|
782
|
-
}
|
|
783
|
-
interface WorkflowsResource {
|
|
784
|
-
/** Triggers a new execution using the latest revision of the given workflow by a Pub/Sub push notification. */
|
|
785
|
-
triggerPubsubExecution(request: {
|
|
786
|
-
/** V1 error format. */
|
|
787
|
-
"$.xgafv"?:
|
|
788
|
-
string;
|
|
789
|
-
/** OAuth access token. */
|
|
790
|
-
access_token?:
|
|
791
|
-
string;
|
|
792
|
-
/** Data format for response. */
|
|
793
|
-
alt?:
|
|
794
|
-
string;
|
|
795
|
-
/** JSONP */
|
|
796
|
-
callback?:
|
|
797
|
-
string;
|
|
798
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
799
|
-
fields?:
|
|
800
|
-
string;
|
|
801
|
-
/** 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. */
|
|
802
|
-
key?:
|
|
803
|
-
string;
|
|
804
|
-
/** OAuth 2.0 token for the current user. */
|
|
805
|
-
oauth_token?:
|
|
806
|
-
string;
|
|
807
|
-
/** Returns response with indentations and line breaks. */
|
|
808
|
-
prettyPrint?:
|
|
809
|
-
boolean;
|
|
810
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
811
|
-
quotaUser?:
|
|
812
|
-
string;
|
|
813
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
814
|
-
upload_protocol?:
|
|
815
|
-
string;
|
|
816
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
817
|
-
uploadType?:
|
|
818
|
-
string;
|
|
819
|
-
/** Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} */
|
|
820
|
-
workflow:
|
|
821
|
-
string;
|
|
822
|
-
/** Request body */
|
|
823
|
-
resource:
|
|
824
|
-
TriggerPubsubExecutionRequest;
|
|
825
|
-
}): Request<Execution>;
|
|
826
|
-
triggerPubsubExecution(request: {
|
|
827
|
-
/** V1 error format. */
|
|
828
|
-
"$.xgafv"?:
|
|
829
|
-
string;
|
|
830
|
-
/** OAuth access token. */
|
|
831
|
-
access_token?:
|
|
832
|
-
string;
|
|
833
|
-
/** Data format for response. */
|
|
834
|
-
alt?:
|
|
835
|
-
string;
|
|
836
|
-
/** JSONP */
|
|
837
|
-
callback?:
|
|
838
|
-
string;
|
|
839
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
840
|
-
fields?:
|
|
841
|
-
string;
|
|
842
|
-
/** 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. */
|
|
843
|
-
key?:
|
|
844
|
-
string;
|
|
845
|
-
/** OAuth 2.0 token for the current user. */
|
|
846
|
-
oauth_token?:
|
|
847
|
-
string;
|
|
848
|
-
/** Returns response with indentations and line breaks. */
|
|
849
|
-
prettyPrint?:
|
|
850
|
-
boolean;
|
|
851
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
852
|
-
quotaUser?:
|
|
853
|
-
string;
|
|
854
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
855
|
-
upload_protocol?:
|
|
856
|
-
string;
|
|
857
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
858
|
-
uploadType?:
|
|
859
|
-
string;
|
|
860
|
-
/** Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} */
|
|
861
|
-
workflow:
|
|
862
|
-
string;
|
|
863
|
-
},
|
|
864
|
-
body: TriggerPubsubExecutionRequest): Request<Execution>;
|
|
865
|
-
executions:
|
|
866
|
-
ExecutionsResource;
|
|
867
|
-
}
|
|
868
|
-
interface LocationsResource {
|
|
869
|
-
workflows:
|
|
870
|
-
WorkflowsResource;
|
|
871
|
-
}
|
|
872
|
-
interface ProjectsResource {
|
|
873
|
-
locations:
|
|
874
|
-
LocationsResource;
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
const projects: ProjectsResource;
|
|
30
|
+
namespace workflowexecutions {
|
|
31
|
+
interface Callback {
|
|
32
|
+
/** Output only. The payloads received by the callback that have not been processed by a waiting execution step. */
|
|
33
|
+
availablePayloads?: string[];
|
|
34
|
+
/** Output only. The method accepted by the callback. For example: GET, POST, PUT. */
|
|
35
|
+
method?: string;
|
|
36
|
+
/** Output only. The resource name of the callback. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/callback/{callback} */
|
|
37
|
+
name?: string;
|
|
38
|
+
/** Output only. Number of execution steps waiting on this callback. */
|
|
39
|
+
waiters?: string;
|
|
40
|
+
}
|
|
41
|
+
interface CancelExecutionRequest {}
|
|
42
|
+
interface Error {
|
|
43
|
+
/** Human-readable stack trace string. */
|
|
44
|
+
context?: string;
|
|
45
|
+
/** Error message and data returned represented as a JSON string. */
|
|
46
|
+
payload?: string;
|
|
47
|
+
/** Stack trace with detailed information of where error was generated. */
|
|
48
|
+
stackTrace?: StackTrace;
|
|
49
|
+
}
|
|
50
|
+
interface Exception {
|
|
51
|
+
/** Error message represented as a JSON string. */
|
|
52
|
+
payload?: string;
|
|
53
|
+
}
|
|
54
|
+
interface Execution {
|
|
55
|
+
/** Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'` */
|
|
56
|
+
argument?: string;
|
|
57
|
+
/** The call logging level associated to this execution. */
|
|
58
|
+
callLogLevel?: string;
|
|
59
|
+
/** Output only. Measures the duration of the execution. */
|
|
60
|
+
duration?: string;
|
|
61
|
+
/** Output only. Marks the end of execution, successful or not. */
|
|
62
|
+
endTime?: string;
|
|
63
|
+
/** 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`. */
|
|
64
|
+
error?: Error;
|
|
65
|
+
/** 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. */
|
|
66
|
+
labels?: {[P in string]: string};
|
|
67
|
+
/** Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
|
|
68
|
+
name?: string;
|
|
69
|
+
/** Output only. Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`. */
|
|
70
|
+
result?: string;
|
|
71
|
+
/** Output only. Marks the beginning of execution. */
|
|
72
|
+
startTime?: string;
|
|
73
|
+
/** Output only. Current state of the execution. */
|
|
74
|
+
state?: string;
|
|
75
|
+
/** Output only. Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions. */
|
|
76
|
+
stateError?: StateError;
|
|
77
|
+
/** Output only. Status tracks the current steps and progress data of this execution. */
|
|
78
|
+
status?: Status;
|
|
79
|
+
/** Output only. Revision of the workflow this execution is using. */
|
|
80
|
+
workflowRevisionId?: string;
|
|
81
|
+
}
|
|
82
|
+
interface ExportDataResponse {
|
|
83
|
+
/** The JSON string with customer data and metadata for an execution with the given name */
|
|
84
|
+
data?: string;
|
|
85
|
+
}
|
|
86
|
+
interface ListCallbacksResponse {
|
|
87
|
+
/** The callbacks which match the request. */
|
|
88
|
+
callbacks?: Callback[];
|
|
89
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
90
|
+
nextPageToken?: string;
|
|
91
|
+
}
|
|
92
|
+
interface ListExecutionsResponse {
|
|
93
|
+
/** The executions which match the request. */
|
|
94
|
+
executions?: Execution[];
|
|
95
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
96
|
+
nextPageToken?: string;
|
|
97
|
+
}
|
|
98
|
+
interface ListStepEntriesResponse {
|
|
99
|
+
/** A token to retrieve next page of results. Pass this value in the ListStepEntriesRequest.page_token field in the subsequent call to `ListStepEntries` method to retrieve the next page of results. */
|
|
100
|
+
nextPageToken?: string;
|
|
101
|
+
/** The list of entries. */
|
|
102
|
+
stepEntries?: StepEntry[];
|
|
103
|
+
/** Indicates the total number of StepEntries that matched the request filter. For running executions, this number shows the number of StepEntries that are executed thus far. */
|
|
104
|
+
totalSize?: number;
|
|
105
|
+
}
|
|
106
|
+
interface NavigationInfo {
|
|
107
|
+
/** Step entries that can be reached by "stepping into" e.g. a subworkflow call. */
|
|
108
|
+
children?: string[];
|
|
109
|
+
/** The index of the next step in the current workflow, if any. */
|
|
110
|
+
next?: string;
|
|
111
|
+
/** The step entry, if any, that can be reached by "stepping out" of the current workflow being executed. */
|
|
112
|
+
parent?: string;
|
|
113
|
+
/** The index of the previous step in the current workflow, if any. */
|
|
114
|
+
previous?: string;
|
|
115
|
+
}
|
|
116
|
+
interface Position {
|
|
117
|
+
/** The source code column position (of the line) the current instruction was generated from. */
|
|
118
|
+
column?: string;
|
|
119
|
+
/** The number of bytes of source code making up this stack trace element. */
|
|
120
|
+
length?: string;
|
|
121
|
+
/** The source code line number the current instruction was generated from. */
|
|
122
|
+
line?: string;
|
|
123
|
+
}
|
|
124
|
+
interface PubsubMessage {
|
|
125
|
+
/** Optional. Attributes for this message. If this field is empty, the message must contain non-empty data. This can be used to filter messages on the subscription. */
|
|
126
|
+
attributes?: {[P in string]: string};
|
|
127
|
+
/** Optional. The message data field. If this field is empty, the message must contain at least one attribute. */
|
|
128
|
+
data?: string;
|
|
129
|
+
/** Optional. ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call. */
|
|
130
|
+
messageId?: string;
|
|
131
|
+
/** Optional. If non-empty, identifies related messages for which publish order should be respected. If a `Subscription` has `enable_message_ordering` set to `true`, messages published with the same non-empty `ordering_key` value will be delivered to subscribers in the order in which they are received by the Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` must specify the same `ordering_key` value. For more information, see [ordering messages](https://cloud.google.com/pubsub/docs/ordering). */
|
|
132
|
+
orderingKey?: string;
|
|
133
|
+
/** Optional. The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call. */
|
|
134
|
+
publishTime?: string;
|
|
135
|
+
}
|
|
136
|
+
interface StackTrace {
|
|
137
|
+
/** An array of stack elements. */
|
|
138
|
+
elements?: StackTraceElement[];
|
|
139
|
+
}
|
|
140
|
+
interface StackTraceElement {
|
|
141
|
+
/** The source position information of the stack trace element. */
|
|
142
|
+
position?: Position;
|
|
143
|
+
/** The routine where the error occurred. */
|
|
144
|
+
routine?: string;
|
|
145
|
+
/** The step the error occurred at. */
|
|
146
|
+
step?: string;
|
|
878
147
|
}
|
|
148
|
+
interface StateError {
|
|
149
|
+
/** Provides specifics about the error. */
|
|
150
|
+
details?: string;
|
|
151
|
+
/** The type of this state error. */
|
|
152
|
+
type?: string;
|
|
153
|
+
}
|
|
154
|
+
interface Status {
|
|
155
|
+
/** 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 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, starting with the outermost step in the `main` subworkflow, and ending with the most deeply nested step. */
|
|
156
|
+
currentSteps?: Step[];
|
|
157
|
+
}
|
|
158
|
+
interface Step {
|
|
159
|
+
/** Name of a routine within the workflow. */
|
|
160
|
+
routine?: string;
|
|
161
|
+
/** Name of a step within the routine. */
|
|
162
|
+
step?: string;
|
|
163
|
+
}
|
|
164
|
+
interface StepEntry {
|
|
165
|
+
/** Output only. The creation time of the step entry. */
|
|
166
|
+
createTime?: string;
|
|
167
|
+
/** Output only. The numeric ID of this step entry, used for navigation. */
|
|
168
|
+
entryId?: string;
|
|
169
|
+
/** Output only. The exception thrown by the step entry. */
|
|
170
|
+
exception?: Exception;
|
|
171
|
+
/** Output only. The full resource name of the step entry. Each step entry has a unique entry ID, which is a monotonically increasing counter. Step entry names have the format: `projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/{step_entry}`. */
|
|
172
|
+
name?: string;
|
|
173
|
+
/** Output only. The NavigationInfo associated to this step. */
|
|
174
|
+
navigationInfo?: NavigationInfo;
|
|
175
|
+
/** Output only. The name of the routine this step entry belongs to. A routine name is the subworkflow name defined in the YAML source code. The top level routine name is `main`. */
|
|
176
|
+
routine?: string;
|
|
177
|
+
/** Output only. The state of the step entry. */
|
|
178
|
+
state?: string;
|
|
179
|
+
/** Output only. The name of the step this step entry belongs to. */
|
|
180
|
+
step?: string;
|
|
181
|
+
/** Output only. The StepEntryMetadata associated to this step. */
|
|
182
|
+
stepEntryMetadata?: StepEntryMetadata;
|
|
183
|
+
/** Output only. The type of the step this step entry belongs to. */
|
|
184
|
+
stepType?: string;
|
|
185
|
+
/** Output only. The most recently updated time of the step entry. */
|
|
186
|
+
updateTime?: string;
|
|
187
|
+
}
|
|
188
|
+
interface StepEntryMetadata {
|
|
189
|
+
/** Progress number represents the current state of the current progress. eg: A step entry represents the 4th iteration in a progress of PROGRESS_TYPE_FOR. */
|
|
190
|
+
progressNumber?: string;
|
|
191
|
+
/** Progress type of this step entry. */
|
|
192
|
+
progressType?: string;
|
|
193
|
+
/** Child thread id that this step entry belongs to. */
|
|
194
|
+
threadId?: string;
|
|
195
|
+
}
|
|
196
|
+
interface TriggerPubsubExecutionRequest {
|
|
197
|
+
/** The number of attempts that have been made to deliver this message. This is set by Pub/Sub for subscriptions that have the "dead letter" feature enabled, and hence provided here for compatibility, but is ignored by Workflows. */
|
|
198
|
+
deliveryAttempt?: number;
|
|
199
|
+
/** Required. LINT: LEGACY_NAMES The query parameter value for __GCP_CloudEventsMode, set by the Eventarc service when configuring triggers. */
|
|
200
|
+
GCPCloudEventsMode?: string;
|
|
201
|
+
/** Required. The message of the Pub/Sub push notification. */
|
|
202
|
+
message?: PubsubMessage;
|
|
203
|
+
/** Required. The subscription of the Pub/Sub push notification. Format: projects/{project}/subscriptions/{sub} */
|
|
204
|
+
subscription?: string;
|
|
205
|
+
}
|
|
206
|
+
interface CallbacksResource {
|
|
207
|
+
/** Returns a list of active callbacks that belong to the execution with the given name. The returned callbacks are ordered by callback ID. */
|
|
208
|
+
list(request?: {
|
|
209
|
+
/** V1 error format. */
|
|
210
|
+
'$.xgafv'?: string;
|
|
211
|
+
/** OAuth access token. */
|
|
212
|
+
access_token?: string;
|
|
213
|
+
/** Data format for response. */
|
|
214
|
+
alt?: string;
|
|
215
|
+
/** JSONP */
|
|
216
|
+
callback?: string;
|
|
217
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
218
|
+
fields?: string;
|
|
219
|
+
/** 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. */
|
|
220
|
+
key?: string;
|
|
221
|
+
/** OAuth 2.0 token for the current user. */
|
|
222
|
+
oauth_token?: string;
|
|
223
|
+
/** Maximum number of callbacks to return per call. The default value is 100 and is also the maximum value. */
|
|
224
|
+
pageSize?: number;
|
|
225
|
+
/** A page token, received from a previous `ListCallbacks` call. Provide this to retrieve the subsequent page. Note that pagination is applied to dynamic data. The list of callbacks returned can change between page requests if callbacks are created or deleted. */
|
|
226
|
+
pageToken?: string;
|
|
227
|
+
/** Required. Name of the execution for which the callbacks should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
|
|
228
|
+
parent: string;
|
|
229
|
+
/** Returns response with indentations and line breaks. */
|
|
230
|
+
prettyPrint?: boolean;
|
|
231
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
232
|
+
quotaUser?: string;
|
|
233
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
234
|
+
upload_protocol?: string;
|
|
235
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
236
|
+
uploadType?: string;
|
|
237
|
+
}): Request<ListCallbacksResponse>;
|
|
238
|
+
}
|
|
239
|
+
interface StepEntriesResource {
|
|
240
|
+
/** Gets a step entry. */
|
|
241
|
+
get(request?: {
|
|
242
|
+
/** V1 error format. */
|
|
243
|
+
'$.xgafv'?: string;
|
|
244
|
+
/** OAuth access token. */
|
|
245
|
+
access_token?: string;
|
|
246
|
+
/** Data format for response. */
|
|
247
|
+
alt?: string;
|
|
248
|
+
/** JSONP */
|
|
249
|
+
callback?: string;
|
|
250
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
251
|
+
fields?: string;
|
|
252
|
+
/** 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. */
|
|
253
|
+
key?: string;
|
|
254
|
+
/** Required. The name of the step entry to retrieve. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/{step_entry} */
|
|
255
|
+
name: string;
|
|
256
|
+
/** OAuth 2.0 token for the current user. */
|
|
257
|
+
oauth_token?: string;
|
|
258
|
+
/** Returns response with indentations and line breaks. */
|
|
259
|
+
prettyPrint?: boolean;
|
|
260
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
261
|
+
quotaUser?: string;
|
|
262
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
263
|
+
upload_protocol?: string;
|
|
264
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
265
|
+
uploadType?: string;
|
|
266
|
+
}): Request<StepEntry>;
|
|
267
|
+
/** Lists step entries for the corresponding workflow execution. Returned entries are ordered by their create_time. */
|
|
268
|
+
list(request?: {
|
|
269
|
+
/** V1 error format. */
|
|
270
|
+
'$.xgafv'?: string;
|
|
271
|
+
/** OAuth access token. */
|
|
272
|
+
access_token?: string;
|
|
273
|
+
/** Data format for response. */
|
|
274
|
+
alt?: string;
|
|
275
|
+
/** JSONP */
|
|
276
|
+
callback?: string;
|
|
277
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
278
|
+
fields?: string;
|
|
279
|
+
/** Optional. Filters applied to the `[StepEntries.ListStepEntries]` results. The following fields are supported for filtering: `entryId`, `createTime`, `updateTime`, `routine`, `step`, `stepType`, `state`. For details, see AIP-160. For example, if you are using the Google APIs Explorer: `state="SUCCEEDED"` or `createTime>"2023-08-01" AND state="FAILED"` */
|
|
280
|
+
filter?: string;
|
|
281
|
+
/** 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. */
|
|
282
|
+
key?: string;
|
|
283
|
+
/** OAuth 2.0 token for the current user. */
|
|
284
|
+
oauth_token?: string;
|
|
285
|
+
/** Optional. Comma-separated list of fields that specify the ordering applied to the `[StepEntries.ListStepEntries]` results. By default the ordering is based on ascending `entryId`. The following fields are supported for ordering: `entryId`, `createTime`, `updateTime`, `routine`, `step`, `stepType`, `state`. For details, see AIP-132. */
|
|
286
|
+
orderBy?: string;
|
|
287
|
+
/** Optional. Number of step entries to return per call. The default max is 1000. */
|
|
288
|
+
pageSize?: number;
|
|
289
|
+
/** Optional. A page token, received from a previous `ListStepEntries` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListStepEntries` must match the call that provided the page token. */
|
|
290
|
+
pageToken?: string;
|
|
291
|
+
/** Required. Name of the workflow execution to list entries for. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/ */
|
|
292
|
+
parent: string;
|
|
293
|
+
/** Returns response with indentations and line breaks. */
|
|
294
|
+
prettyPrint?: boolean;
|
|
295
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
296
|
+
quotaUser?: string;
|
|
297
|
+
/** Optional. The number of step entries to skip. It can be used with or without a pageToken. If used with a pageToken, then it indicates the number of step entries to skip starting from the requested page. */
|
|
298
|
+
skip?: number;
|
|
299
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
300
|
+
upload_protocol?: string;
|
|
301
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
302
|
+
uploadType?: string;
|
|
303
|
+
}): Request<ListStepEntriesResponse>;
|
|
304
|
+
}
|
|
305
|
+
interface ExecutionsResource {
|
|
306
|
+
/** Cancels an execution of the given name. */
|
|
307
|
+
cancel(request: {
|
|
308
|
+
/** V1 error format. */
|
|
309
|
+
'$.xgafv'?: string;
|
|
310
|
+
/** OAuth access token. */
|
|
311
|
+
access_token?: string;
|
|
312
|
+
/** Data format for response. */
|
|
313
|
+
alt?: string;
|
|
314
|
+
/** JSONP */
|
|
315
|
+
callback?: string;
|
|
316
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
317
|
+
fields?: string;
|
|
318
|
+
/** 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. */
|
|
319
|
+
key?: string;
|
|
320
|
+
/** Required. Name of the execution to be cancelled. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
|
|
321
|
+
name: string;
|
|
322
|
+
/** OAuth 2.0 token for the current user. */
|
|
323
|
+
oauth_token?: string;
|
|
324
|
+
/** Returns response with indentations and line breaks. */
|
|
325
|
+
prettyPrint?: boolean;
|
|
326
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
327
|
+
quotaUser?: string;
|
|
328
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
329
|
+
upload_protocol?: string;
|
|
330
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
331
|
+
uploadType?: string;
|
|
332
|
+
/** Request body */
|
|
333
|
+
resource: CancelExecutionRequest;
|
|
334
|
+
}): Request<Execution>;
|
|
335
|
+
cancel(
|
|
336
|
+
request: {
|
|
337
|
+
/** V1 error format. */
|
|
338
|
+
'$.xgafv'?: string;
|
|
339
|
+
/** OAuth access token. */
|
|
340
|
+
access_token?: string;
|
|
341
|
+
/** Data format for response. */
|
|
342
|
+
alt?: string;
|
|
343
|
+
/** JSONP */
|
|
344
|
+
callback?: string;
|
|
345
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
346
|
+
fields?: string;
|
|
347
|
+
/** 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. */
|
|
348
|
+
key?: string;
|
|
349
|
+
/** Required. Name of the execution to be cancelled. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
|
|
350
|
+
name: string;
|
|
351
|
+
/** OAuth 2.0 token for the current user. */
|
|
352
|
+
oauth_token?: string;
|
|
353
|
+
/** Returns response with indentations and line breaks. */
|
|
354
|
+
prettyPrint?: boolean;
|
|
355
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
356
|
+
quotaUser?: string;
|
|
357
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
358
|
+
upload_protocol?: string;
|
|
359
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
360
|
+
uploadType?: string;
|
|
361
|
+
},
|
|
362
|
+
body: CancelExecutionRequest
|
|
363
|
+
): Request<Execution>;
|
|
364
|
+
/** Creates a new execution using the latest revision of the given workflow. For more information, see Execute a workflow. */
|
|
365
|
+
create(request: {
|
|
366
|
+
/** V1 error format. */
|
|
367
|
+
'$.xgafv'?: string;
|
|
368
|
+
/** OAuth access token. */
|
|
369
|
+
access_token?: string;
|
|
370
|
+
/** Data format for response. */
|
|
371
|
+
alt?: string;
|
|
372
|
+
/** JSONP */
|
|
373
|
+
callback?: string;
|
|
374
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
375
|
+
fields?: string;
|
|
376
|
+
/** 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. */
|
|
377
|
+
key?: string;
|
|
378
|
+
/** OAuth 2.0 token for the current user. */
|
|
379
|
+
oauth_token?: string;
|
|
380
|
+
/** Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used. */
|
|
381
|
+
parent: string;
|
|
382
|
+
/** Returns response with indentations and line breaks. */
|
|
383
|
+
prettyPrint?: boolean;
|
|
384
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
385
|
+
quotaUser?: string;
|
|
386
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
387
|
+
upload_protocol?: string;
|
|
388
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
389
|
+
uploadType?: string;
|
|
390
|
+
/** Request body */
|
|
391
|
+
resource: Execution;
|
|
392
|
+
}): Request<Execution>;
|
|
393
|
+
create(
|
|
394
|
+
request: {
|
|
395
|
+
/** V1 error format. */
|
|
396
|
+
'$.xgafv'?: string;
|
|
397
|
+
/** OAuth access token. */
|
|
398
|
+
access_token?: string;
|
|
399
|
+
/** Data format for response. */
|
|
400
|
+
alt?: string;
|
|
401
|
+
/** JSONP */
|
|
402
|
+
callback?: string;
|
|
403
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
404
|
+
fields?: string;
|
|
405
|
+
/** 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. */
|
|
406
|
+
key?: string;
|
|
407
|
+
/** OAuth 2.0 token for the current user. */
|
|
408
|
+
oauth_token?: string;
|
|
409
|
+
/** Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used. */
|
|
410
|
+
parent: string;
|
|
411
|
+
/** Returns response with indentations and line breaks. */
|
|
412
|
+
prettyPrint?: boolean;
|
|
413
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
414
|
+
quotaUser?: string;
|
|
415
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
416
|
+
upload_protocol?: string;
|
|
417
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
418
|
+
uploadType?: string;
|
|
419
|
+
},
|
|
420
|
+
body: Execution
|
|
421
|
+
): Request<Execution>;
|
|
422
|
+
/** Returns all metadata stored about an execution, excluding most data that is already accessible using other API methods. */
|
|
423
|
+
exportData(request?: {
|
|
424
|
+
/** V1 error format. */
|
|
425
|
+
'$.xgafv'?: string;
|
|
426
|
+
/** OAuth access token. */
|
|
427
|
+
access_token?: string;
|
|
428
|
+
/** Data format for response. */
|
|
429
|
+
alt?: string;
|
|
430
|
+
/** JSONP */
|
|
431
|
+
callback?: string;
|
|
432
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
433
|
+
fields?: string;
|
|
434
|
+
/** 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. */
|
|
435
|
+
key?: string;
|
|
436
|
+
/** Required. Name of the execution for which data is to be exported. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
|
|
437
|
+
name: string;
|
|
438
|
+
/** OAuth 2.0 token for the current user. */
|
|
439
|
+
oauth_token?: string;
|
|
440
|
+
/** Returns response with indentations and line breaks. */
|
|
441
|
+
prettyPrint?: boolean;
|
|
442
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
443
|
+
quotaUser?: string;
|
|
444
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
445
|
+
upload_protocol?: string;
|
|
446
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
447
|
+
uploadType?: string;
|
|
448
|
+
}): Request<ExportDataResponse>;
|
|
449
|
+
/** Returns an execution of the given name. */
|
|
450
|
+
get(request?: {
|
|
451
|
+
/** V1 error format. */
|
|
452
|
+
'$.xgafv'?: string;
|
|
453
|
+
/** OAuth access token. */
|
|
454
|
+
access_token?: string;
|
|
455
|
+
/** Data format for response. */
|
|
456
|
+
alt?: string;
|
|
457
|
+
/** JSONP */
|
|
458
|
+
callback?: string;
|
|
459
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
460
|
+
fields?: string;
|
|
461
|
+
/** 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. */
|
|
462
|
+
key?: string;
|
|
463
|
+
/** Required. Name of the execution to be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
|
|
464
|
+
name: string;
|
|
465
|
+
/** OAuth 2.0 token for the current user. */
|
|
466
|
+
oauth_token?: string;
|
|
467
|
+
/** Returns response with indentations and line breaks. */
|
|
468
|
+
prettyPrint?: boolean;
|
|
469
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
470
|
+
quotaUser?: string;
|
|
471
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
472
|
+
upload_protocol?: string;
|
|
473
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
474
|
+
uploadType?: string;
|
|
475
|
+
/** Optional. A view defining which fields should be filled in the returned execution. The API will default to the FULL view. */
|
|
476
|
+
view?: string;
|
|
477
|
+
}): Request<Execution>;
|
|
478
|
+
/** Returns a list of executions which belong to the workflow with the given name. The method returns executions of all workflow revisions. Returned executions are ordered by their start time (newest first). */
|
|
479
|
+
list(request?: {
|
|
480
|
+
/** V1 error format. */
|
|
481
|
+
'$.xgafv'?: string;
|
|
482
|
+
/** OAuth access token. */
|
|
483
|
+
access_token?: string;
|
|
484
|
+
/** Data format for response. */
|
|
485
|
+
alt?: string;
|
|
486
|
+
/** JSONP */
|
|
487
|
+
callback?: string;
|
|
488
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
489
|
+
fields?: string;
|
|
490
|
+
/** Optional. Filters applied to the `[Executions.ListExecutions]` results. The following fields are supported for filtering: `executionId`, `state`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, `stepName`, and `label`. For details, see AIP-160. For example, if you are using the Google APIs Explorer: `state="SUCCEEDED"` or `startTime>"2023-08-01" AND state="FAILED"` */
|
|
491
|
+
filter?: string;
|
|
492
|
+
/** 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. */
|
|
493
|
+
key?: string;
|
|
494
|
+
/** OAuth 2.0 token for the current user. */
|
|
495
|
+
oauth_token?: string;
|
|
496
|
+
/** Optional. Comma-separated list of fields that specify the ordering applied to the `[Executions.ListExecutions]` results. By default the ordering is based on descending `startTime`. The following fields are supported for ordering: `executionId`, `state`, `startTime`, `endTime`, `duration`, and `workflowRevisionId`. For details, see AIP-132. */
|
|
497
|
+
orderBy?: string;
|
|
498
|
+
/** 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 field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it. */
|
|
499
|
+
pageSize?: number;
|
|
500
|
+
/** A page token, received from a previous `ListExecutions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListExecutions` must match the call that provided the page token. Note that pagination is applied to dynamic data. The list of executions returned can change between page requests. */
|
|
501
|
+
pageToken?: string;
|
|
502
|
+
/** Required. Name of the workflow for which the executions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow} */
|
|
503
|
+
parent: string;
|
|
504
|
+
/** Returns response with indentations and line breaks. */
|
|
505
|
+
prettyPrint?: boolean;
|
|
506
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
507
|
+
quotaUser?: string;
|
|
508
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
509
|
+
upload_protocol?: string;
|
|
510
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
511
|
+
uploadType?: string;
|
|
512
|
+
/** Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view. */
|
|
513
|
+
view?: string;
|
|
514
|
+
}): Request<ListExecutionsResponse>;
|
|
515
|
+
callbacks: CallbacksResource;
|
|
516
|
+
stepEntries: StepEntriesResource;
|
|
517
|
+
}
|
|
518
|
+
interface WorkflowsResource {
|
|
519
|
+
/** Triggers a new execution using the latest revision of the given workflow by a Pub/Sub push notification. */
|
|
520
|
+
triggerPubsubExecution(request: {
|
|
521
|
+
/** V1 error format. */
|
|
522
|
+
'$.xgafv'?: string;
|
|
523
|
+
/** OAuth access token. */
|
|
524
|
+
access_token?: string;
|
|
525
|
+
/** Data format for response. */
|
|
526
|
+
alt?: string;
|
|
527
|
+
/** JSONP */
|
|
528
|
+
callback?: string;
|
|
529
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
530
|
+
fields?: string;
|
|
531
|
+
/** 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. */
|
|
532
|
+
key?: string;
|
|
533
|
+
/** OAuth 2.0 token for the current user. */
|
|
534
|
+
oauth_token?: string;
|
|
535
|
+
/** Returns response with indentations and line breaks. */
|
|
536
|
+
prettyPrint?: boolean;
|
|
537
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
538
|
+
quotaUser?: string;
|
|
539
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
540
|
+
upload_protocol?: string;
|
|
541
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
542
|
+
uploadType?: string;
|
|
543
|
+
/** Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} */
|
|
544
|
+
workflow: string;
|
|
545
|
+
/** Request body */
|
|
546
|
+
resource: TriggerPubsubExecutionRequest;
|
|
547
|
+
}): Request<Execution>;
|
|
548
|
+
triggerPubsubExecution(
|
|
549
|
+
request: {
|
|
550
|
+
/** V1 error format. */
|
|
551
|
+
'$.xgafv'?: string;
|
|
552
|
+
/** OAuth access token. */
|
|
553
|
+
access_token?: string;
|
|
554
|
+
/** Data format for response. */
|
|
555
|
+
alt?: string;
|
|
556
|
+
/** JSONP */
|
|
557
|
+
callback?: string;
|
|
558
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
559
|
+
fields?: string;
|
|
560
|
+
/** 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. */
|
|
561
|
+
key?: string;
|
|
562
|
+
/** OAuth 2.0 token for the current user. */
|
|
563
|
+
oauth_token?: string;
|
|
564
|
+
/** Returns response with indentations and line breaks. */
|
|
565
|
+
prettyPrint?: boolean;
|
|
566
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
567
|
+
quotaUser?: string;
|
|
568
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
569
|
+
upload_protocol?: string;
|
|
570
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
571
|
+
uploadType?: string;
|
|
572
|
+
/** Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} */
|
|
573
|
+
workflow: string;
|
|
574
|
+
},
|
|
575
|
+
body: TriggerPubsubExecutionRequest
|
|
576
|
+
): Request<Execution>;
|
|
577
|
+
executions: ExecutionsResource;
|
|
578
|
+
}
|
|
579
|
+
interface LocationsResource {
|
|
580
|
+
workflows: WorkflowsResource;
|
|
581
|
+
}
|
|
582
|
+
interface ProjectsResource {
|
|
583
|
+
locations: LocationsResource;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
const projects: ProjectsResource;
|
|
587
|
+
}
|
|
879
588
|
}
|