@maxim_mazurok/gapi.client.workflows-v1 0.1.20260303 → 0.2.20260303

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 (2) hide show
  1. package/index.d.ts +37 -30
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -93,7 +93,7 @@ declare namespace gapi.client {
93
93
  /** Provides specifics about the error. */
94
94
  details?: string;
95
95
  /** The type of this state error. */
96
- type?: string;
96
+ type?: 'TYPE_UNSPECIFIED' | 'KMS_ERROR';
97
97
  }
98
98
  interface Status {
99
99
  /** The status code, which should be an enum value of google.rpc.Code. */
@@ -109,7 +109,11 @@ declare namespace gapi.client {
109
109
  /** Output only. A list of all KMS crypto key versions used to encrypt or decrypt the data associated with the workflow. */
110
110
  allKmsKeysVersions?: string[];
111
111
  /** Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence. */
112
- callLogLevel?: string;
112
+ callLogLevel?:
113
+ | 'CALL_LOG_LEVEL_UNSPECIFIED'
114
+ | 'LOG_ALL_CALLS'
115
+ | 'LOG_ERRORS_ONLY'
116
+ | 'LOG_NONE';
113
117
  /** Output only. The timestamp for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision. */
114
118
  createTime?: string;
115
119
  /** Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted. */
@@ -119,7 +123,10 @@ declare namespace gapi.client {
119
123
  /** Description of the workflow provided by the user. Must be at most 1000 Unicode characters long. This is a workflow-wide field and is not tied to a specific revision. */
120
124
  description?: string;
121
125
  /** Optional. Describes the execution history level to apply to this workflow. */
122
- executionHistoryLevel?: string;
126
+ executionHistoryLevel?:
127
+ | 'EXECUTION_HISTORY_LEVEL_UNSPECIFIED'
128
+ | 'EXECUTION_HISTORY_BASIC'
129
+ | 'EXECUTION_HISTORY_DETAILED';
123
130
  /** Labels associated with this workflow. 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. This is a workflow-wide field and is not tied to a specific revision. */
124
131
  labels?: {[P in string]: string};
125
132
  /** The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}. This is a workflow-wide field and is not tied to a specific revision. */
@@ -133,7 +140,7 @@ declare namespace gapi.client {
133
140
  /** Workflow code to be executed. The size limit is 128KB. */
134
141
  sourceContents?: string;
135
142
  /** Output only. State of the workflow deployment. */
136
- state?: string;
143
+ state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'UNAVAILABLE';
137
144
  /** Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions. */
138
145
  stateError?: StateError;
139
146
  /** Optional. Input only. Immutable. Tags associated with this workflow. */
@@ -147,11 +154,11 @@ declare namespace gapi.client {
147
154
  /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
148
155
  delete(request?: {
149
156
  /** V1 error format. */
150
- '$.xgafv'?: string;
157
+ '$.xgafv'?: '1' | '2';
151
158
  /** OAuth access token. */
152
159
  access_token?: string;
153
160
  /** Data format for response. */
154
- alt?: string;
161
+ alt?: 'json' | 'media' | 'proto';
155
162
  /** JSONP */
156
163
  callback?: string;
157
164
  /** Selector specifying which fields to include in a partial response. */
@@ -174,11 +181,11 @@ declare namespace gapi.client {
174
181
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
175
182
  get(request?: {
176
183
  /** V1 error format. */
177
- '$.xgafv'?: string;
184
+ '$.xgafv'?: '1' | '2';
178
185
  /** OAuth access token. */
179
186
  access_token?: string;
180
187
  /** Data format for response. */
181
- alt?: string;
188
+ alt?: 'json' | 'media' | 'proto';
182
189
  /** JSONP */
183
190
  callback?: string;
184
191
  /** Selector specifying which fields to include in a partial response. */
@@ -201,11 +208,11 @@ declare namespace gapi.client {
201
208
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
202
209
  list(request?: {
203
210
  /** V1 error format. */
204
- '$.xgafv'?: string;
211
+ '$.xgafv'?: '1' | '2';
205
212
  /** OAuth access token. */
206
213
  access_token?: string;
207
214
  /** Data format for response. */
208
- alt?: string;
215
+ alt?: 'json' | 'media' | 'proto';
209
216
  /** JSONP */
210
217
  callback?: string;
211
218
  /** Selector specifying which fields to include in a partial response. */
@@ -238,11 +245,11 @@ declare namespace gapi.client {
238
245
  /** Creates a new workflow. If a workflow with the specified name already exists in the specified project and location, the long running operation returns a ALREADY_EXISTS error. */
239
246
  create(request: {
240
247
  /** V1 error format. */
241
- '$.xgafv'?: string;
248
+ '$.xgafv'?: '1' | '2';
242
249
  /** OAuth access token. */
243
250
  access_token?: string;
244
251
  /** Data format for response. */
245
- alt?: string;
252
+ alt?: 'json' | 'media' | 'proto';
246
253
  /** JSONP */
247
254
  callback?: string;
248
255
  /** Selector specifying which fields to include in a partial response. */
@@ -269,11 +276,11 @@ declare namespace gapi.client {
269
276
  create(
270
277
  request: {
271
278
  /** V1 error format. */
272
- '$.xgafv'?: string;
279
+ '$.xgafv'?: '1' | '2';
273
280
  /** OAuth access token. */
274
281
  access_token?: string;
275
282
  /** Data format for response. */
276
- alt?: string;
283
+ alt?: 'json' | 'media' | 'proto';
277
284
  /** JSONP */
278
285
  callback?: string;
279
286
  /** Selector specifying which fields to include in a partial response. */
@@ -300,11 +307,11 @@ declare namespace gapi.client {
300
307
  /** Deletes a workflow with the specified name. This method also cancels and deletes all running executions of the workflow. */
301
308
  delete(request?: {
302
309
  /** V1 error format. */
303
- '$.xgafv'?: string;
310
+ '$.xgafv'?: '1' | '2';
304
311
  /** OAuth access token. */
305
312
  access_token?: string;
306
313
  /** Data format for response. */
307
- alt?: string;
314
+ alt?: 'json' | 'media' | 'proto';
308
315
  /** JSONP */
309
316
  callback?: string;
310
317
  /** Selector specifying which fields to include in a partial response. */
@@ -327,11 +334,11 @@ declare namespace gapi.client {
327
334
  /** Gets details of a single workflow. */
328
335
  get(request?: {
329
336
  /** V1 error format. */
330
- '$.xgafv'?: string;
337
+ '$.xgafv'?: '1' | '2';
331
338
  /** OAuth access token. */
332
339
  access_token?: string;
333
340
  /** Data format for response. */
334
- alt?: string;
341
+ alt?: 'json' | 'media' | 'proto';
335
342
  /** JSONP */
336
343
  callback?: string;
337
344
  /** Selector specifying which fields to include in a partial response. */
@@ -356,11 +363,11 @@ declare namespace gapi.client {
356
363
  /** Lists workflows in a given project and location. The default order is not specified. */
357
364
  list(request?: {
358
365
  /** V1 error format. */
359
- '$.xgafv'?: string;
366
+ '$.xgafv'?: '1' | '2';
360
367
  /** OAuth access token. */
361
368
  access_token?: string;
362
369
  /** Data format for response. */
363
- alt?: string;
370
+ alt?: 'json' | 'media' | 'proto';
364
371
  /** JSONP */
365
372
  callback?: string;
366
373
  /** Selector specifying which fields to include in a partial response. */
@@ -391,11 +398,11 @@ declare namespace gapi.client {
391
398
  /** Lists revisions for a given workflow. */
392
399
  listRevisions(request?: {
393
400
  /** V1 error format. */
394
- '$.xgafv'?: string;
401
+ '$.xgafv'?: '1' | '2';
395
402
  /** OAuth access token. */
396
403
  access_token?: string;
397
404
  /** Data format for response. */
398
- alt?: string;
405
+ alt?: 'json' | 'media' | 'proto';
399
406
  /** JSONP */
400
407
  callback?: string;
401
408
  /** Selector specifying which fields to include in a partial response. */
@@ -422,11 +429,11 @@ declare namespace gapi.client {
422
429
  /** Updates an existing workflow. Running this method has no impact on already running executions of the workflow. A new revision of the workflow might be created as a result of a successful update operation. In that case, the new revision is used in new workflow executions. */
423
430
  patch(request: {
424
431
  /** V1 error format. */
425
- '$.xgafv'?: string;
432
+ '$.xgafv'?: '1' | '2';
426
433
  /** OAuth access token. */
427
434
  access_token?: string;
428
435
  /** Data format for response. */
429
- alt?: string;
436
+ alt?: 'json' | 'media' | 'proto';
430
437
  /** JSONP */
431
438
  callback?: string;
432
439
  /** Selector specifying which fields to include in a partial response. */
@@ -453,11 +460,11 @@ declare namespace gapi.client {
453
460
  patch(
454
461
  request: {
455
462
  /** V1 error format. */
456
- '$.xgafv'?: string;
463
+ '$.xgafv'?: '1' | '2';
457
464
  /** OAuth access token. */
458
465
  access_token?: string;
459
466
  /** Data format for response. */
460
- alt?: string;
467
+ alt?: 'json' | 'media' | 'proto';
461
468
  /** JSONP */
462
469
  callback?: string;
463
470
  /** Selector specifying which fields to include in a partial response. */
@@ -486,11 +493,11 @@ declare namespace gapi.client {
486
493
  /** Gets information about a location. */
487
494
  get(request?: {
488
495
  /** V1 error format. */
489
- '$.xgafv'?: string;
496
+ '$.xgafv'?: '1' | '2';
490
497
  /** OAuth access token. */
491
498
  access_token?: string;
492
499
  /** Data format for response. */
493
- alt?: string;
500
+ alt?: 'json' | 'media' | 'proto';
494
501
  /** JSONP */
495
502
  callback?: string;
496
503
  /** Selector specifying which fields to include in a partial response. */
@@ -513,11 +520,11 @@ declare namespace gapi.client {
513
520
  /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
514
521
  list(request?: {
515
522
  /** V1 error format. */
516
- '$.xgafv'?: string;
523
+ '$.xgafv'?: '1' | '2';
517
524
  /** OAuth access token. */
518
525
  access_token?: string;
519
526
  /** Data format for response. */
520
- alt?: string;
527
+ alt?: 'json' | 'media' | 'proto';
521
528
  /** JSONP */
522
529
  callback?: string;
523
530
  /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workflows-v1",
3
- "version": "0.1.20260303",
3
+ "version": "0.2.20260303",
4
4
  "description": "TypeScript typings for Workflows API v1",
5
5
  "repository": {
6
6
  "type": "git",