@maxim_mazurok/gapi.client.workflowexecutions-v1 0.0.20230404 → 0.0.20230421

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.
Files changed (3) hide show
  1. package/index.d.ts +293 -147
  2. package/package.json +1 -1
  3. package/tests.ts +1 -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: 20230404
12
+ // Revision: 20230421
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -27,100 +27,132 @@ declare namespace gapi.client {
27
27
  }
28
28
  interface Error {
29
29
  /** Human-readable stack trace string. */
30
- context?: string;
30
+ context?:
31
+ string;
31
32
  /** Error message and data returned represented as a JSON string. */
32
- payload?: string;
33
+ payload?:
34
+ string;
33
35
  /** Stack trace with detailed information of where error was generated. */
34
- stackTrace?: StackTrace;
36
+ stackTrace?:
37
+ StackTrace;
35
38
  }
36
39
  interface Execution {
37
40
  /**
38
41
  * 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
39
42
  * string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
40
43
  */
41
- argument?: string;
44
+ argument?:
45
+ string;
42
46
  /** The call logging level associated to this execution. */
43
- callLogLevel?: string;
47
+ callLogLevel?:
48
+ string;
44
49
  /** Output only. Measures the duration of the execution. */
45
- duration?: string;
50
+ duration?:
51
+ string;
46
52
  /** Output only. Marks the end of execution, successful or not. */
47
- endTime?: string;
53
+ endTime?:
54
+ string;
48
55
  /** 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
- error?: Error;
56
+ error?:
57
+ Error;
50
58
  /**
51
59
  * 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
60
  * 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
53
61
  * by any labels associated with the execution.
54
62
  */
55
- labels?: { [P in string]: string };
63
+ labels?:
64
+ { [P in string]: string };
56
65
  /** Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
57
- name?: string;
66
+ name?:
67
+ string;
58
68
  /** Output only. Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`. */
59
- result?: string;
69
+ result?:
70
+ string;
60
71
  /** Output only. Marks the beginning of execution. */
61
- startTime?: string;
72
+ startTime?:
73
+ string;
62
74
  /** Output only. Current state of the execution. */
63
- state?: string;
75
+ state?:
76
+ string;
64
77
  /**
65
78
  * 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
66
79
  * permissions.
67
80
  */
68
- stateError?: StateError;
81
+ stateError?:
82
+ StateError;
69
83
  /** Output only. Status tracks the current steps and progress data of this execution. */
70
- status?: Status;
84
+ status?:
85
+ Status;
71
86
  /** Output only. Revision of the workflow this execution is using. */
72
- workflowRevisionId?: string;
87
+ workflowRevisionId?:
88
+ string;
73
89
  }
74
90
  interface ListExecutionsResponse {
75
91
  /** The executions which match the request. */
76
- executions?: Execution[];
92
+ executions?:
93
+ Execution[];
77
94
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
78
- nextPageToken?: string;
95
+ nextPageToken?:
96
+ string;
79
97
  }
80
98
  interface Position {
81
99
  /** The source code column position (of the line) the current instruction was generated from. */
82
- column?: string;
100
+ column?:
101
+ string;
83
102
  /** The number of bytes of source code making up this stack trace element. */
84
- length?: string;
103
+ length?:
104
+ string;
85
105
  /** The source code line number the current instruction was generated from. */
86
- line?: string;
106
+ line?:
107
+ string;
87
108
  }
88
109
  interface PubsubMessage {
89
110
  /** 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. */
90
- attributes?: { [P in string]: string };
111
+ attributes?:
112
+ { [P in string]: string };
91
113
  /** The message data field. If this field is empty, the message must contain at least one attribute. */
92
- data?: string;
114
+ data?:
115
+ string;
93
116
  /**
94
117
  * 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
95
118
  * `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.
96
119
  */
97
- messageId?: string;
120
+ messageId?:
121
+ string;
98
122
  /**
99
123
  * 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
100
124
  * 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
101
125
  * `PublishRequest` must specify the same `ordering_key` value. For more information, see [ordering messages](https://cloud.google.com/pubsub/docs/ordering).
102
126
  */
103
- orderingKey?: string;
127
+ orderingKey?:
128
+ string;
104
129
  /** 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. */
105
- publishTime?: string;
130
+ publishTime?:
131
+ string;
106
132
  }
107
133
  interface StackTrace {
108
134
  /** An array of stack elements. */
109
- elements?: StackTraceElement[];
135
+ elements?:
136
+ StackTraceElement[];
110
137
  }
111
138
  interface StackTraceElement {
112
139
  /** The source position information of the stack trace element. */
113
- position?: Position;
140
+ position?:
141
+ Position;
114
142
  /** The routine where the error occurred. */
115
- routine?: string;
143
+ routine?:
144
+ string;
116
145
  /** The step the error occurred at. */
117
- step?: string;
146
+ step?:
147
+ string;
118
148
  }
119
149
  interface StateError {
120
150
  /** Provides specifics about the error. */
121
- details?: string;
151
+ details?:
152
+ string;
122
153
  /** The type of this state error. */
123
- type?: string;
154
+ type?:
155
+ string;
124
156
  }
125
157
  interface Status {
126
158
  /**
@@ -128,169 +160,238 @@ declare namespace gapi.client {
128
160
  * 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,
129
161
  * starting with the outermost step in the `main` subworkflow, and ending with the most deeply nested step.
130
162
  */
131
- currentSteps?: Step[];
163
+ currentSteps?:
164
+ Step[];
132
165
  }
133
166
  interface Step {
134
167
  /** Name of a routine within the workflow. */
135
- routine?: string;
168
+ routine?:
169
+ string;
136
170
  /** Name of a step within the routine. */
137
- step?: string;
171
+ step?:
172
+ string;
138
173
  }
139
174
  interface TriggerPubsubExecutionRequest {
140
175
  /** Required. LINT: LEGACY_NAMES The query parameter value for __GCP_CloudEventsMode, set by the Eventarc service when configuring triggers. */
141
- GCPCloudEventsMode?: string;
176
+ GCPCloudEventsMode?:
177
+ string;
142
178
  /** Required. The message of the Pub/Sub push notification. */
143
- message?: PubsubMessage;
179
+ message?:
180
+ PubsubMessage;
144
181
  /** Required. The subscription of the Pub/Sub push notification. Format: projects/{project}/subscriptions/{sub} */
145
- subscription?: string;
182
+ subscription?:
183
+ string;
146
184
  }
147
185
  interface ExecutionsResource {
148
186
  /** Cancels an execution of the given name. */
149
187
  cancel(request: {
150
188
  /** V1 error format. */
151
- "$.xgafv"?: string;
189
+ "$.xgafv"?:
190
+ string;
152
191
  /** OAuth access token. */
153
- access_token?: string;
192
+ access_token?:
193
+ string;
154
194
  /** Data format for response. */
155
- alt?: string;
195
+ alt?:
196
+ string;
156
197
  /** JSONP */
157
- callback?: string;
198
+ callback?:
199
+ string;
158
200
  /** Selector specifying which fields to include in a partial response. */
159
- fields?: string;
201
+ fields?:
202
+ string;
160
203
  /** 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. */
161
- key?: string;
204
+ key?:
205
+ string;
162
206
  /** Required. Name of the execution to be cancelled. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
163
- name: string;
207
+ name:
208
+ string;
164
209
  /** OAuth 2.0 token for the current user. */
165
- oauth_token?: string;
210
+ oauth_token?:
211
+ string;
166
212
  /** Returns response with indentations and line breaks. */
167
- prettyPrint?: boolean;
213
+ prettyPrint?:
214
+ boolean;
168
215
  /** 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. */
169
- quotaUser?: string;
216
+ quotaUser?:
217
+ string;
170
218
  /** Upload protocol for media (e.g. "raw", "multipart"). */
171
- upload_protocol?: string;
219
+ upload_protocol?:
220
+ string;
172
221
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
173
- uploadType?: string;
222
+ uploadType?:
223
+ string;
174
224
  /** Request body */
175
- resource: CancelExecutionRequest;
225
+ resource:
226
+ CancelExecutionRequest;
176
227
  }): Request<Execution>;
177
228
  cancel(request: {
178
229
  /** V1 error format. */
179
- "$.xgafv"?: string;
230
+ "$.xgafv"?:
231
+ string;
180
232
  /** OAuth access token. */
181
- access_token?: string;
233
+ access_token?:
234
+ string;
182
235
  /** Data format for response. */
183
- alt?: string;
236
+ alt?:
237
+ string;
184
238
  /** JSONP */
185
- callback?: string;
239
+ callback?:
240
+ string;
186
241
  /** Selector specifying which fields to include in a partial response. */
187
- fields?: string;
242
+ fields?:
243
+ string;
188
244
  /** 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. */
189
- key?: string;
245
+ key?:
246
+ string;
190
247
  /** Required. Name of the execution to be cancelled. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
191
- name: string;
248
+ name:
249
+ string;
192
250
  /** OAuth 2.0 token for the current user. */
193
- oauth_token?: string;
251
+ oauth_token?:
252
+ string;
194
253
  /** Returns response with indentations and line breaks. */
195
- prettyPrint?: boolean;
254
+ prettyPrint?:
255
+ boolean;
196
256
  /** 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. */
197
- quotaUser?: string;
257
+ quotaUser?:
258
+ string;
198
259
  /** Upload protocol for media (e.g. "raw", "multipart"). */
199
- upload_protocol?: string;
260
+ upload_protocol?:
261
+ string;
200
262
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
201
- uploadType?: string;
263
+ uploadType?:
264
+ string;
202
265
  },
203
266
  body: CancelExecutionRequest): Request<Execution>;
204
267
  /** Creates a new execution using the latest revision of the given workflow. */
205
268
  create(request: {
206
269
  /** V1 error format. */
207
- "$.xgafv"?: string;
270
+ "$.xgafv"?:
271
+ string;
208
272
  /** OAuth access token. */
209
- access_token?: string;
273
+ access_token?:
274
+ string;
210
275
  /** Data format for response. */
211
- alt?: string;
276
+ alt?:
277
+ string;
212
278
  /** JSONP */
213
- callback?: string;
279
+ callback?:
280
+ string;
214
281
  /** Selector specifying which fields to include in a partial response. */
215
- fields?: string;
282
+ fields?:
283
+ string;
216
284
  /** 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. */
217
- key?: string;
285
+ key?:
286
+ string;
218
287
  /** OAuth 2.0 token for the current user. */
219
- oauth_token?: string;
288
+ oauth_token?:
289
+ string;
220
290
  /**
221
291
  * 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
222
292
  * will be used.
223
293
  */
224
- parent: string;
294
+ parent:
295
+ string;
225
296
  /** Returns response with indentations and line breaks. */
226
- prettyPrint?: boolean;
297
+ prettyPrint?:
298
+ boolean;
227
299
  /** 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. */
228
- quotaUser?: string;
300
+ quotaUser?:
301
+ string;
229
302
  /** Upload protocol for media (e.g. "raw", "multipart"). */
230
- upload_protocol?: string;
303
+ upload_protocol?:
304
+ string;
231
305
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
232
- uploadType?: string;
306
+ uploadType?:
307
+ string;
233
308
  /** Request body */
234
- resource: Execution;
309
+ resource:
310
+ Execution;
235
311
  }): Request<Execution>;
236
312
  create(request: {
237
313
  /** V1 error format. */
238
- "$.xgafv"?: string;
314
+ "$.xgafv"?:
315
+ string;
239
316
  /** OAuth access token. */
240
- access_token?: string;
317
+ access_token?:
318
+ string;
241
319
  /** Data format for response. */
242
- alt?: string;
320
+ alt?:
321
+ string;
243
322
  /** JSONP */
244
- callback?: string;
323
+ callback?:
324
+ string;
245
325
  /** Selector specifying which fields to include in a partial response. */
246
- fields?: string;
326
+ fields?:
327
+ string;
247
328
  /** 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. */
248
- key?: string;
329
+ key?:
330
+ string;
249
331
  /** OAuth 2.0 token for the current user. */
250
- oauth_token?: string;
332
+ oauth_token?:
333
+ string;
251
334
  /**
252
335
  * 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
253
336
  * will be used.
254
337
  */
255
- parent: string;
338
+ parent:
339
+ string;
256
340
  /** Returns response with indentations and line breaks. */
257
- prettyPrint?: boolean;
341
+ prettyPrint?:
342
+ boolean;
258
343
  /** 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. */
259
- quotaUser?: string;
344
+ quotaUser?:
345
+ string;
260
346
  /** Upload protocol for media (e.g. "raw", "multipart"). */
261
- upload_protocol?: string;
347
+ upload_protocol?:
348
+ string;
262
349
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
263
- uploadType?: string;
350
+ uploadType?:
351
+ string;
264
352
  },
265
353
  body: Execution): Request<Execution>;
266
354
  /** Returns an execution of the given name. */
267
355
  get(request?: {
268
356
  /** V1 error format. */
269
- "$.xgafv"?: string;
357
+ "$.xgafv"?:
358
+ string;
270
359
  /** OAuth access token. */
271
- access_token?: string;
360
+ access_token?:
361
+ string;
272
362
  /** Data format for response. */
273
- alt?: string;
363
+ alt?:
364
+ string;
274
365
  /** JSONP */
275
- callback?: string;
366
+ callback?:
367
+ string;
276
368
  /** Selector specifying which fields to include in a partial response. */
277
- fields?: string;
369
+ fields?:
370
+ string;
278
371
  /** 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. */
279
- key?: string;
372
+ key?:
373
+ string;
280
374
  /** Required. Name of the execution to be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} */
281
- name: string;
375
+ name:
376
+ string;
282
377
  /** OAuth 2.0 token for the current user. */
283
- oauth_token?: string;
378
+ oauth_token?:
379
+ string;
284
380
  /** Returns response with indentations and line breaks. */
285
- prettyPrint?: boolean;
381
+ prettyPrint?:
382
+ boolean;
286
383
  /** 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. */
287
- quotaUser?: string;
384
+ quotaUser?:
385
+ string;
288
386
  /** Upload protocol for media (e.g. "raw", "multipart"). */
289
- upload_protocol?: string;
387
+ upload_protocol?:
388
+ string;
290
389
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
291
- uploadType?: string;
390
+ uploadType?:
391
+ string;
292
392
  /** Optional. A view defining which fields should be filled in the returned execution. The API will default to the FULL view. */
293
- view?: string;
393
+ view?:
394
+ string;
294
395
  }): Request<Execution>;
295
396
  /**
296
397
  * 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
@@ -298,117 +399,162 @@ declare namespace gapi.client {
298
399
  */
299
400
  list(request?: {
300
401
  /** V1 error format. */
301
- "$.xgafv"?: string;
402
+ "$.xgafv"?:
403
+ string;
302
404
  /** OAuth access token. */
303
- access_token?: string;
405
+ access_token?:
406
+ string;
304
407
  /** Data format for response. */
305
- alt?: string;
408
+ alt?:
409
+ string;
306
410
  /** JSONP */
307
- callback?: string;
411
+ callback?:
412
+ string;
308
413
  /** Selector specifying which fields to include in a partial response. */
309
- fields?: string;
414
+ fields?:
415
+ string;
310
416
  /**
311
417
  * Optional. Filters applied to the [Executions.ListExecutions] results. The following fields are supported for filtering: executionID, state, startTime, endTime, duration,
312
418
  * workflowRevisionID, stepName, and label.
313
419
  */
314
- filter?: string;
420
+ filter?:
421
+ string;
315
422
  /** 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. */
316
- key?: string;
423
+ key?:
424
+ string;
317
425
  /** OAuth 2.0 token for the current user. */
318
- oauth_token?: string;
426
+ oauth_token?:
427
+ string;
319
428
  /**
320
429
  * Optional. The ordering applied to the [Executions.ListExecutions] results. By default the ordering is based on descending start time. The following fields are supported for
321
430
  * order by: executionID, startTime, endTime, duration, state, and workflowRevisionID.
322
431
  */
323
- orderBy?: string;
432
+ orderBy?:
433
+ string;
324
434
  /**
325
435
  * 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
326
436
  * field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it.
327
437
  */
328
- pageSize?: number;
438
+ pageSize?:
439
+ number;
329
440
  /**
330
441
  * A page token, received from a previous `ListExecutions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListExecutions`
331
442
  * 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.
332
443
  */
333
- pageToken?: string;
444
+ pageToken?:
445
+ string;
334
446
  /** Required. Name of the workflow for which the executions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow} */
335
- parent: string;
447
+ parent:
448
+ string;
336
449
  /** Returns response with indentations and line breaks. */
337
- prettyPrint?: boolean;
450
+ prettyPrint?:
451
+ boolean;
338
452
  /** 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. */
339
- quotaUser?: string;
453
+ quotaUser?:
454
+ string;
340
455
  /** Upload protocol for media (e.g. "raw", "multipart"). */
341
- upload_protocol?: string;
456
+ upload_protocol?:
457
+ string;
342
458
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
343
- uploadType?: string;
459
+ uploadType?:
460
+ string;
344
461
  /** Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view. */
345
- view?: string;
462
+ view?:
463
+ string;
346
464
  }): Request<ListExecutionsResponse>;
347
465
  }
348
466
  interface WorkflowsResource {
349
467
  /** Triggers a new execution using the latest revision of the given workflow by a Pub/Sub push notification. */
350
468
  triggerPubsubExecution(request: {
351
469
  /** V1 error format. */
352
- "$.xgafv"?: string;
470
+ "$.xgafv"?:
471
+ string;
353
472
  /** OAuth access token. */
354
- access_token?: string;
473
+ access_token?:
474
+ string;
355
475
  /** Data format for response. */
356
- alt?: string;
476
+ alt?:
477
+ string;
357
478
  /** JSONP */
358
- callback?: string;
479
+ callback?:
480
+ string;
359
481
  /** Selector specifying which fields to include in a partial response. */
360
- fields?: string;
482
+ fields?:
483
+ string;
361
484
  /** 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. */
362
- key?: string;
485
+ key?:
486
+ string;
363
487
  /** OAuth 2.0 token for the current user. */
364
- oauth_token?: string;
488
+ oauth_token?:
489
+ string;
365
490
  /** Returns response with indentations and line breaks. */
366
- prettyPrint?: boolean;
491
+ prettyPrint?:
492
+ boolean;
367
493
  /** 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. */
368
- quotaUser?: string;
494
+ quotaUser?:
495
+ string;
369
496
  /** Upload protocol for media (e.g. "raw", "multipart"). */
370
- upload_protocol?: string;
497
+ upload_protocol?:
498
+ string;
371
499
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
372
- uploadType?: string;
500
+ uploadType?:
501
+ string;
373
502
  /** Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} */
374
- workflow: string;
503
+ workflow:
504
+ string;
375
505
  /** Request body */
376
- resource: TriggerPubsubExecutionRequest;
506
+ resource:
507
+ TriggerPubsubExecutionRequest;
377
508
  }): Request<Execution>;
378
509
  triggerPubsubExecution(request: {
379
510
  /** V1 error format. */
380
- "$.xgafv"?: string;
511
+ "$.xgafv"?:
512
+ string;
381
513
  /** OAuth access token. */
382
- access_token?: string;
514
+ access_token?:
515
+ string;
383
516
  /** Data format for response. */
384
- alt?: string;
517
+ alt?:
518
+ string;
385
519
  /** JSONP */
386
- callback?: string;
520
+ callback?:
521
+ string;
387
522
  /** Selector specifying which fields to include in a partial response. */
388
- fields?: string;
523
+ fields?:
524
+ string;
389
525
  /** 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. */
390
- key?: string;
526
+ key?:
527
+ string;
391
528
  /** OAuth 2.0 token for the current user. */
392
- oauth_token?: string;
529
+ oauth_token?:
530
+ string;
393
531
  /** Returns response with indentations and line breaks. */
394
- prettyPrint?: boolean;
532
+ prettyPrint?:
533
+ boolean;
395
534
  /** 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. */
396
- quotaUser?: string;
535
+ quotaUser?:
536
+ string;
397
537
  /** Upload protocol for media (e.g. "raw", "multipart"). */
398
- upload_protocol?: string;
538
+ upload_protocol?:
539
+ string;
399
540
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
400
- uploadType?: string;
541
+ uploadType?:
542
+ string;
401
543
  /** Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} */
402
- workflow: string;
544
+ workflow:
545
+ string;
403
546
  },
404
547
  body: TriggerPubsubExecutionRequest): Request<Execution>;
405
- executions: ExecutionsResource;
548
+ executions:
549
+ ExecutionsResource;
406
550
  }
407
551
  interface LocationsResource {
408
- workflows: WorkflowsResource;
552
+ workflows:
553
+ WorkflowsResource;
409
554
  }
410
555
  interface ProjectsResource {
411
- locations: LocationsResource;
556
+ locations:
557
+ LocationsResource;
412
558
  }
413
559
 
414
560
  const projects: ProjectsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workflowexecutions-v1",
3
- "version": "0.0.20230404",
3
+ "version": "0.0.20230421",
4
4
  "description": "TypeScript typings for Workflow Executions API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230404
6
+ // Revision: 20230421
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */