@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20230406 → 0.0.20230503

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 +813 -398
  2. package/package.json +1 -1
  3. package/tests.ts +13 -3
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://workloadmanager.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230406
12
+ // Revision: 20230503
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -30,220 +30,305 @@ declare namespace gapi.client {
30
30
  }
31
31
  interface Evaluation {
32
32
  /** Output only. [Output only] Create time stamp */
33
- createTime?: string;
33
+ createTime?:
34
+ string;
34
35
  /** Description of the Evaluation */
35
- description?: string;
36
+ description?:
37
+ string;
36
38
  /** Labels as key value pairs */
37
- labels?: { [P in string]: string };
39
+ labels?:
40
+ { [P in string]: string };
38
41
  /** name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}' */
39
- name?: string;
42
+ name?:
43
+ string;
40
44
  /** annotations as key value pairs */
41
- resourceFilter?: ResourceFilter;
45
+ resourceFilter?:
46
+ ResourceFilter;
42
47
  /** Output only. [Output only] The updated rule ids if exist. */
43
- resourceStatus?: ResourceStatus;
48
+ resourceStatus?:
49
+ ResourceStatus;
44
50
  /** the name of the rule */
45
- ruleNames?: string[];
51
+ ruleNames?:
52
+ string[];
46
53
  /** Output only. [Output only] The updated rule ids if exist. */
47
- ruleVersions?: string[];
54
+ ruleVersions?:
55
+ string[];
48
56
  /** crontab format schedule for scheduled evaluation, example: 0 *‍/3 * * * */
49
- schedule?: string;
57
+ schedule?:
58
+ string;
50
59
  /** Output only. [Output only] Update time stamp */
51
- updateTime?: string;
60
+ updateTime?:
61
+ string;
52
62
  }
53
63
  interface Execution {
54
64
  /** Output only. [Output only] End time stamp */
55
- endTime?: string;
65
+ endTime?:
66
+ string;
56
67
  /** Output only. [Output only] Evaluation ID */
57
- evaluationId?: string;
68
+ evaluationId?:
69
+ string;
58
70
  /** Output only. [Output only] Inventory time stamp */
59
- inventoryTime?: string;
71
+ inventoryTime?:
72
+ string;
60
73
  /** Labels as key value pairs */
61
- labels?: { [P in string]: string };
74
+ labels?:
75
+ { [P in string]: string };
62
76
  /** The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution} */
63
- name?: string;
77
+ name?:
78
+ string;
64
79
  /** type represent whether the execution executed directly by user or scheduled according evaluation.schedule field. */
65
- runType?: string;
80
+ runType?:
81
+ string;
66
82
  /** Output only. [Output only] Start time stamp */
67
- startTime?: string;
83
+ startTime?:
84
+ string;
68
85
  /** Output only. [Output only] State */
69
- state?: string;
86
+ state?:
87
+ string;
70
88
  }
71
89
  interface ExecutionResult {
72
90
  /** the document url of the rule */
73
- documentationUrl?: string;
91
+ documentationUrl?:
92
+ string;
74
93
  /** the violate resource */
75
- resource?: Resource;
94
+ resource?:
95
+ Resource;
76
96
  /** the rule which violate in execution */
77
- rule?: string;
97
+ rule?:
98
+ string;
78
99
  /** severity of violation */
79
- severity?: string;
100
+ severity?:
101
+ string;
80
102
  /** the details of violation in result */
81
- violationDetails?: ViolationDetails;
103
+ violationDetails?:
104
+ ViolationDetails;
82
105
  /** the violation message of an execution */
83
- violationMessage?: string;
106
+ violationMessage?:
107
+ string;
84
108
  }
85
109
  interface GceInstanceFilter {
86
110
  /** Service account of compute engine */
87
- serviceAccounts?: string[];
111
+ serviceAccounts?:
112
+ string[];
88
113
  }
89
114
  interface Insight {
90
115
  /** The insights data for sap system discovery. This is a copy of SAP System proto and should get updated whenever that one changes. */
91
- sapDiscovery?: SapDiscovery;
116
+ sapDiscovery?:
117
+ SapDiscovery;
92
118
  /** The insights data for the sap workload validation. */
93
- sapValidation?: SapValidation;
119
+ sapValidation?:
120
+ SapValidation;
94
121
  /** Output only. [Output only] Create time stamp */
95
- sentTime?: string;
122
+ sentTime?:
123
+ string;
124
+ /** The insights data for the sqlserver workload validation. */
125
+ sqlserverValidation?:
126
+ SqlserverValidation;
96
127
  }
97
128
  interface ListEvaluationsResponse {
98
129
  /** The list of Evaluation */
99
- evaluations?: Evaluation[];
130
+ evaluations?:
131
+ Evaluation[];
100
132
  /** A token identifying a page of results the server should return. */
101
- nextPageToken?: string;
133
+ nextPageToken?:
134
+ string;
102
135
  /** Locations that could not be reached. */
103
- unreachable?: string[];
136
+ unreachable?:
137
+ string[];
104
138
  }
105
139
  interface ListExecutionResultsResponse {
106
140
  /** The versions from the specified publisher. */
107
- executionResults?: ExecutionResult[];
141
+ executionResults?:
142
+ ExecutionResult[];
108
143
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
109
- nextPageToken?: string;
144
+ nextPageToken?:
145
+ string;
110
146
  }
111
147
  interface ListExecutionsResponse {
112
148
  /** The list of Execution */
113
- executions?: Execution[];
149
+ executions?:
150
+ Execution[];
114
151
  /** A token identifying a page of results the server should return. */
115
- nextPageToken?: string;
152
+ nextPageToken?:
153
+ string;
116
154
  /** Locations that could not be reached. */
117
- unreachable?: string[];
155
+ unreachable?:
156
+ string[];
118
157
  }
119
158
  interface ListLocationsResponse {
120
159
  /** A list of locations that matches the specified filter in the request. */
121
- locations?: Location[];
160
+ locations?:
161
+ Location[];
122
162
  /** The standard List next-page token. */
123
- nextPageToken?: string;
163
+ nextPageToken?:
164
+ string;
124
165
  }
125
166
  interface ListOperationsResponse {
126
167
  /** The standard List next-page token. */
127
- nextPageToken?: string;
168
+ nextPageToken?:
169
+ string;
128
170
  /** A list of operations that matches the specified filter in the request. */
129
- operations?: Operation[];
171
+ operations?:
172
+ Operation[];
130
173
  }
131
174
  interface ListRulesResponse {
132
175
  /** A token identifying a page of results the server should return. */
133
- nextPageToken?: string;
176
+ nextPageToken?:
177
+ string;
134
178
  /** all rules in response */
135
- rules?: Rule[];
179
+ rules?:
180
+ Rule[];
136
181
  }
137
182
  interface ListScannedResourcesResponse {
138
183
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
139
- nextPageToken?: string;
184
+ nextPageToken?:
185
+ string;
140
186
  /** All scanned resources in response */
141
- scannedResources?: ScannedResource[];
187
+ scannedResources?:
188
+ ScannedResource[];
142
189
  }
143
190
  interface Location {
144
191
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
145
- displayName?: string;
192
+ displayName?:
193
+ string;
146
194
  /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
147
- labels?: { [P in string]: string };
195
+ labels?:
196
+ { [P in string]: string };
148
197
  /** The canonical id for this location. For example: `"us-east1"`. */
149
- locationId?: string;
198
+ locationId?:
199
+ string;
150
200
  /** Service-specific metadata. For example the available capacity at the given location. */
151
- metadata?: { [P in string]: any };
201
+ metadata?:
202
+ { [P in string]: any };
152
203
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
153
- name?: string;
204
+ name?:
205
+ string;
154
206
  }
155
207
  interface Operation {
156
208
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
157
- done?: boolean;
209
+ done?:
210
+ boolean;
158
211
  /** The error result of the operation in case of failure or cancellation. */
159
- error?: Status;
212
+ error?:
213
+ Status;
160
214
  /**
161
215
  * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
162
216
  * metadata. Any method that returns a long-running operation should document the metadata type, if any.
163
217
  */
164
- metadata?: { [P in string]: any };
218
+ metadata?:
219
+ { [P in string]: any };
165
220
  /**
166
221
  * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
167
222
  * with `operations/{unique_id}`.
168
223
  */
169
- name?: string;
224
+ name?:
225
+ string;
170
226
  /**
171
227
  * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
172
228
  * original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
173
229
  * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
174
230
  */
175
- response?: { [P in string]: any };
231
+ response?:
232
+ { [P in string]: any };
176
233
  }
177
234
  interface OperationMetadata {
178
235
  /** Output only. API version used to start the operation. */
179
- apiVersion?: string;
236
+ apiVersion?:
237
+ string;
180
238
  /** Output only. The time the operation was created. */
181
- createTime?: string;
239
+ createTime?:
240
+ string;
182
241
  /** Output only. The time the operation finished running. */
183
- endTime?: string;
242
+ endTime?:
243
+ string;
184
244
  /**
185
245
  * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a
186
246
  * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
187
247
  */
188
- requestedCancellation?: boolean;
248
+ requestedCancellation?:
249
+ boolean;
189
250
  /** Output only. Human-readable status of the operation, if any. */
190
- statusMessage?: string;
251
+ statusMessage?:
252
+ string;
191
253
  /** Output only. Server-defined resource path for the target of the operation. */
192
- target?: string;
254
+ target?:
255
+ string;
193
256
  /** Output only. Name of the verb executed by the operation. */
194
- verb?: string;
257
+ verb?:
258
+ string;
195
259
  }
196
260
  interface Resource {
197
261
  /** the name of the resource */
198
- name?: string;
262
+ name?:
263
+ string;
199
264
  /** the service account accosiate with resource */
200
- serviceAccount?: string;
265
+ serviceAccount?:
266
+ string;
201
267
  /** the type of reresource */
202
- type?: string;
268
+ type?:
269
+ string;
203
270
  }
204
271
  interface ResourceFilter {
205
272
  /** Filter compute engine resource */
206
- gceInstanceFilter?: GceInstanceFilter;
273
+ gceInstanceFilter?:
274
+ GceInstanceFilter;
207
275
  /** The label used for filter resource */
208
- inclusionLabels?: { [P in string]: string };
276
+ inclusionLabels?:
277
+ { [P in string]: string };
209
278
  /** The id pattern for filter resource */
210
- resourceIdPatterns?: string[];
279
+ resourceIdPatterns?:
280
+ string[];
211
281
  /** The scopes of evaluation resource */
212
- scopes?: string[];
282
+ scopes?:
283
+ string[];
213
284
  }
214
285
  interface ResourceStatus {
215
286
  /** the new version of rule id if exists */
216
- rulesNewerVersions?: string[];
287
+ rulesNewerVersions?:
288
+ string[];
217
289
  /** State of the resource */
218
- state?: string;
290
+ state?:
291
+ string;
219
292
  }
220
293
  interface Rule {
221
294
  /** descrite rule in plain language */
222
- description?: string;
295
+ description?:
296
+ string;
223
297
  /** the name display in UI */
224
- displayName?: string;
298
+ displayName?:
299
+ string;
225
300
  /** the message template for rule */
226
- errorMessage?: string;
301
+ errorMessage?:
302
+ string;
227
303
  /** rule name */
228
- name?: string;
304
+ name?:
305
+ string;
229
306
  /** the primary category */
230
- primaryCategory?: string;
307
+ primaryCategory?:
308
+ string;
231
309
  /** the remediation for the rule */
232
- remediation?: string;
310
+ remediation?:
311
+ string;
233
312
  /** Output only. the version of the rule */
234
- revisionId?: string;
313
+ revisionId?:
314
+ string;
235
315
  /** the secondary category */
236
- secondaryCategory?: string;
316
+ secondaryCategory?:
317
+ string;
237
318
  /** the severity of the rule */
238
- severity?: string;
319
+ severity?:
320
+ string;
239
321
  /** the docuement url for the rule */
240
- uri?: string;
322
+ uri?:
323
+ string;
241
324
  }
242
325
  interface RunEvaluationRequest {
243
326
  /** Required. The resource being created */
244
- execution?: Execution;
327
+ execution?:
328
+ Execution;
245
329
  /** Required. Id of the requesting object If auto-generating Id server-side, remove this field and execution_id from the method_signature of Create RPC */
246
- executionId?: string;
330
+ executionId?:
331
+ string;
247
332
  /**
248
333
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
249
334
  * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
@@ -251,92 +336,140 @@ declare namespace gapi.client {
251
336
  * the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
252
337
  * (00000000-0000-0000-0000-000000000000).
253
338
  */
254
- requestId?: string;
339
+ requestId?:
340
+ string;
255
341
  }
256
342
  interface SapDiscovery {
257
343
  /** An SAP system may run without an application layer. */
258
- applicationLayer?: SapDiscoveryComponent;
344
+ applicationLayer?:
345
+ SapDiscoveryComponent;
259
346
  /** An SAP System must have a database. */
260
- databaseLayer?: SapDiscoveryComponent;
347
+ databaseLayer?:
348
+ SapDiscoveryComponent;
261
349
  /** The metadata for SAP system discovery data. */
262
- metadata?: SapDiscoveryMetadata;
350
+ metadata?:
351
+ SapDiscoveryMetadata;
263
352
  /** A combination of database SID, database instance URI and tenant DB name to make a unique identifier per-system. */
264
- systemId?: string;
353
+ systemId?:
354
+ string;
265
355
  /** Unix timestamp this system has been updated last. */
266
- updateTime?: string;
356
+ updateTime?:
357
+ string;
267
358
  }
268
359
  interface SapDiscoveryComponent {
269
360
  /** The component is a SAP application. */
270
- applicationType?: string;
361
+ applicationType?:
362
+ string;
271
363
  /** The component is a SAP database. */
272
- databaseType?: string;
364
+ databaseType?:
365
+ string;
273
366
  /** Pantheon Project in which the resources reside. */
274
- hostProject?: string;
367
+ hostProject?:
368
+ string;
275
369
  /** The resources in a component. */
276
- resources?: SapDiscoveryResource[];
370
+ resources?:
371
+ SapDiscoveryResource[];
277
372
  /** The sap identifier, used by the SAP software and helps differentiate systems for customers. */
278
- sid?: string;
373
+ sid?:
374
+ string;
279
375
  }
280
376
  interface SapDiscoveryMetadata {
281
377
  /** Customer region string for customer's use. Does not represent GCP region. */
282
- customerRegion?: string;
378
+ customerRegion?:
379
+ string;
283
380
  /** Customer defined, something like "E-commerce pre prod" */
284
- definedSystem?: string;
381
+ definedSystem?:
382
+ string;
285
383
  /** Should be "prod", "QA", "dev", "staging", etc. */
286
- environmentType?: string;
384
+ environmentType?:
385
+ string;
287
386
  /** This sap product name */
288
- sapProduct?: string;
387
+ sapProduct?:
388
+ string;
289
389
  }
290
390
  interface SapDiscoveryResource {
291
391
  /** A list of resource URIs related to this resource. */
292
- relatedResources?: string[];
392
+ relatedResources?:
393
+ string[];
293
394
  /** ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc. */
294
- resourceKind?: string;
295
- /** Indicates whether this is a new, updated, or missing resource. */
296
- resourceState?: string;
395
+ resourceKind?:
396
+ string;
297
397
  /** The type of this resource. */
298
- resourceType?: string;
398
+ resourceType?:
399
+ string;
299
400
  /** URI of the resource, includes project, location, and name. */
300
- resourceUri?: string;
401
+ resourceUri?:
402
+ string;
301
403
  /** Unix timestamp of when this resource last had its discovery data updated. */
302
- updateTime?: string;
404
+ updateTime?:
405
+ string;
303
406
  }
304
407
  interface SapValidation {
305
408
  /** A list of SAP validation metrics data. */
306
- validationDetails?: SapValidationValidationDetail[];
409
+ validationDetails?:
410
+ SapValidationValidationDetail[];
307
411
  }
308
412
  interface SapValidationValidationDetail {
309
413
  /** The pairs of metrics data: field name & field value. */
310
- details?: { [P in string]: string };
414
+ details?:
415
+ { [P in string]: string };
311
416
  /** The SAP system that the validation data is from. */
312
- sapValidationType?: string;
417
+ sapValidationType?:
418
+ string;
313
419
  }
314
420
  interface ScannedResource {
315
421
  /** resource name */
316
- resource?: string;
422
+ resource?:
423
+ string;
424
+ }
425
+ interface SqlserverValidation {
426
+ /** The agent version collected this data point */
427
+ agentVersion?:
428
+ string;
429
+ /** A list of SqlServer validation metrics data. */
430
+ validationDetails?:
431
+ SqlserverValidationValidationDetail[];
432
+ }
433
+ interface SqlserverValidationValidationDetail {
434
+ /** The pairs of metrics data: field name & field value. */
435
+ details?:
436
+ { [P in string]: string };
437
+ /** The instance id where the ValidationDetail is generated from */
438
+ instanceId?:
439
+ string;
440
+ /** The Sqlserver system that the validation data is from. */
441
+ type?:
442
+ string;
317
443
  }
318
444
  interface Status {
319
445
  /** The status code, which should be an enum value of google.rpc.Code. */
320
- code?: number;
446
+ code?:
447
+ number;
321
448
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
322
- details?: Array<{ [P in string]: any }>;
449
+ details?:
450
+ Array<{ [P in string]: any }>;
323
451
  /**
324
452
  * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
325
453
  * client.
326
454
  */
327
- message?: string;
455
+ message?:
456
+ string;
328
457
  }
329
458
  interface ViolationDetails {
330
459
  /** the name of asset */
331
- asset?: string;
460
+ asset?:
461
+ string;
332
462
  /** observed */
333
- observed?: { [P in string]: string };
463
+ observed?:
464
+ { [P in string]: string };
334
465
  /** the service account associate with resource */
335
- serviceAccount?: string;
466
+ serviceAccount?:
467
+ string;
336
468
  }
337
469
  interface WriteInsightRequest {
338
470
  /** Required. The metrics data details. */
339
- insight?: Insight;
471
+ insight?:
472
+ Insight;
340
473
  /**
341
474
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
342
475
  * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
@@ -344,7 +477,8 @@ declare namespace gapi.client {
344
477
  * the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
345
478
  * (00000000-0000-0000-0000-000000000000).
346
479
  */
347
- requestId?: string;
480
+ requestId?:
481
+ string;
348
482
  }
349
483
  // tslint:disable-next-line:no-empty-interface
350
484
  interface WriteInsightResponse {
@@ -353,223 +487,321 @@ declare namespace gapi.client {
353
487
  /** List the running result of a single Execution. */
354
488
  list(request?: {
355
489
  /** V1 error format. */
356
- "$.xgafv"?: string;
490
+ "$.xgafv"?:
491
+ string;
357
492
  /** OAuth access token. */
358
- access_token?: string;
493
+ access_token?:
494
+ string;
359
495
  /** Data format for response. */
360
- alt?: string;
496
+ alt?:
497
+ string;
361
498
  /** JSONP */
362
- callback?: string;
499
+ callback?:
500
+ string;
363
501
  /** Selector specifying which fields to include in a partial response. */
364
- fields?: string;
502
+ fields?:
503
+ string;
365
504
  /** Filtering results */
366
- filter?: string;
505
+ filter?:
506
+ string;
367
507
  /** 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. */
368
- key?: string;
508
+ key?:
509
+ string;
369
510
  /** OAuth 2.0 token for the current user. */
370
- oauth_token?: string;
511
+ oauth_token?:
512
+ string;
371
513
  /** Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
372
- pageSize?: number;
514
+ pageSize?:
515
+ number;
373
516
  /** A token identifying a page of results the server should return. */
374
- pageToken?: string;
517
+ pageToken?:
518
+ string;
375
519
  /** Required. The execution results. Format: {parent}/evaluations/*‍/executions/*‍/results */
376
- parent: string;
520
+ parent:
521
+ string;
377
522
  /** Returns response with indentations and line breaks. */
378
- prettyPrint?: boolean;
523
+ prettyPrint?:
524
+ boolean;
379
525
  /** 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. */
380
- quotaUser?: string;
526
+ quotaUser?:
527
+ string;
381
528
  /** Upload protocol for media (e.g. "raw", "multipart"). */
382
- upload_protocol?: string;
529
+ upload_protocol?:
530
+ string;
383
531
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
384
- uploadType?: string;
532
+ uploadType?:
533
+ string;
385
534
  }): Request<ListExecutionResultsResponse>;
386
535
  }
387
536
  interface ScannedResourcesResource {
388
537
  /** List all scanned resources for a single Execution. */
389
538
  list(request?: {
390
539
  /** V1 error format. */
391
- "$.xgafv"?: string;
540
+ "$.xgafv"?:
541
+ string;
392
542
  /** OAuth access token. */
393
- access_token?: string;
543
+ access_token?:
544
+ string;
394
545
  /** Data format for response. */
395
- alt?: string;
546
+ alt?:
547
+ string;
396
548
  /** JSONP */
397
- callback?: string;
549
+ callback?:
550
+ string;
398
551
  /** Selector specifying which fields to include in a partial response. */
399
- fields?: string;
552
+ fields?:
553
+ string;
400
554
  /** Filtering results */
401
- filter?: string;
555
+ filter?:
556
+ string;
402
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. */
403
- key?: string;
558
+ key?:
559
+ string;
404
560
  /** OAuth 2.0 token for the current user. */
405
- oauth_token?: string;
561
+ oauth_token?:
562
+ string;
406
563
  /** Field to sort by. See https://google.aip.dev/132#ordering for more details. */
407
- orderBy?: string;
564
+ orderBy?:
565
+ string;
408
566
  /** Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
409
- pageSize?: number;
567
+ pageSize?:
568
+ number;
410
569
  /** A token identifying a page of results the server should return. */
411
- pageToken?: string;
570
+ pageToken?:
571
+ string;
412
572
  /** Required. parent for ListScannedResourcesRequest */
413
- parent: string;
573
+ parent:
574
+ string;
414
575
  /** Returns response with indentations and line breaks. */
415
- prettyPrint?: boolean;
576
+ prettyPrint?:
577
+ boolean;
416
578
  /** 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. */
417
- quotaUser?: string;
579
+ quotaUser?:
580
+ string;
418
581
  /** rule name */
419
- rule?: string;
582
+ rule?:
583
+ string;
420
584
  /** Upload protocol for media (e.g. "raw", "multipart"). */
421
- upload_protocol?: string;
585
+ upload_protocol?:
586
+ string;
422
587
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
423
- uploadType?: string;
588
+ uploadType?:
589
+ string;
424
590
  }): Request<ListScannedResourcesResponse>;
425
591
  }
426
592
  interface ExecutionsResource {
427
593
  /** Gets details of a single Execution. */
428
594
  get(request?: {
429
595
  /** V1 error format. */
430
- "$.xgafv"?: string;
596
+ "$.xgafv"?:
597
+ string;
431
598
  /** OAuth access token. */
432
- access_token?: string;
599
+ access_token?:
600
+ string;
433
601
  /** Data format for response. */
434
- alt?: string;
602
+ alt?:
603
+ string;
435
604
  /** JSONP */
436
- callback?: string;
605
+ callback?:
606
+ string;
437
607
  /** Selector specifying which fields to include in a partial response. */
438
- fields?: string;
608
+ fields?:
609
+ string;
439
610
  /** 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. */
440
- key?: string;
611
+ key?:
612
+ string;
441
613
  /** Required. Name of the resource */
442
- name: string;
614
+ name:
615
+ string;
443
616
  /** OAuth 2.0 token for the current user. */
444
- oauth_token?: string;
617
+ oauth_token?:
618
+ string;
445
619
  /** Returns response with indentations and line breaks. */
446
- prettyPrint?: boolean;
620
+ prettyPrint?:
621
+ boolean;
447
622
  /** 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. */
448
- quotaUser?: string;
623
+ quotaUser?:
624
+ string;
449
625
  /** Upload protocol for media (e.g. "raw", "multipart"). */
450
- upload_protocol?: string;
626
+ upload_protocol?:
627
+ string;
451
628
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
452
- uploadType?: string;
629
+ uploadType?:
630
+ string;
453
631
  }): Request<Execution>;
454
632
  /** Lists Executions in a given project and location. */
455
633
  list(request?: {
456
634
  /** V1 error format. */
457
- "$.xgafv"?: string;
635
+ "$.xgafv"?:
636
+ string;
458
637
  /** OAuth access token. */
459
- access_token?: string;
638
+ access_token?:
639
+ string;
460
640
  /** Data format for response. */
461
- alt?: string;
641
+ alt?:
642
+ string;
462
643
  /** JSONP */
463
- callback?: string;
644
+ callback?:
645
+ string;
464
646
  /** Selector specifying which fields to include in a partial response. */
465
- fields?: string;
647
+ fields?:
648
+ string;
466
649
  /** Filtering results */
467
- filter?: string;
650
+ filter?:
651
+ string;
468
652
  /** 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. */
469
- key?: string;
653
+ key?:
654
+ string;
470
655
  /** OAuth 2.0 token for the current user. */
471
- oauth_token?: string;
656
+ oauth_token?:
657
+ string;
472
658
  /** Field to sort by. See https://google.aip.dev/132#ordering for more details. */
473
- orderBy?: string;
659
+ orderBy?:
660
+ string;
474
661
  /** Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
475
- pageSize?: number;
662
+ pageSize?:
663
+ number;
476
664
  /** A token identifying a page of results the server should return. */
477
- pageToken?: string;
665
+ pageToken?:
666
+ string;
478
667
  /** Required. The resource prefix of the Execution using the form: 'projects/{project}/locations/{location}/evaluations/{evaluation}' */
479
- parent: string;
668
+ parent:
669
+ string;
480
670
  /** Returns response with indentations and line breaks. */
481
- prettyPrint?: boolean;
671
+ prettyPrint?:
672
+ boolean;
482
673
  /** 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. */
483
- quotaUser?: string;
674
+ quotaUser?:
675
+ string;
484
676
  /** Upload protocol for media (e.g. "raw", "multipart"). */
485
- upload_protocol?: string;
677
+ upload_protocol?:
678
+ string;
486
679
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
487
- uploadType?: string;
680
+ uploadType?:
681
+ string;
488
682
  }): Request<ListExecutionsResponse>;
489
683
  /** Creates a new Execution in a given project and location. */
490
684
  run(request: {
491
685
  /** V1 error format. */
492
- "$.xgafv"?: string;
686
+ "$.xgafv"?:
687
+ string;
493
688
  /** OAuth access token. */
494
- access_token?: string;
689
+ access_token?:
690
+ string;
495
691
  /** Data format for response. */
496
- alt?: string;
692
+ alt?:
693
+ string;
497
694
  /** JSONP */
498
- callback?: string;
695
+ callback?:
696
+ string;
499
697
  /** Selector specifying which fields to include in a partial response. */
500
- fields?: string;
698
+ fields?:
699
+ string;
501
700
  /** 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. */
502
- key?: string;
701
+ key?:
702
+ string;
503
703
  /** Required. The resource name of the Execution using the form: 'projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}' */
504
- name: string;
704
+ name:
705
+ string;
505
706
  /** OAuth 2.0 token for the current user. */
506
- oauth_token?: string;
707
+ oauth_token?:
708
+ string;
507
709
  /** Returns response with indentations and line breaks. */
508
- prettyPrint?: boolean;
710
+ prettyPrint?:
711
+ boolean;
509
712
  /** 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. */
510
- quotaUser?: string;
713
+ quotaUser?:
714
+ string;
511
715
  /** Upload protocol for media (e.g. "raw", "multipart"). */
512
- upload_protocol?: string;
716
+ upload_protocol?:
717
+ string;
513
718
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
514
- uploadType?: string;
719
+ uploadType?:
720
+ string;
515
721
  /** Request body */
516
- resource: RunEvaluationRequest;
722
+ resource:
723
+ RunEvaluationRequest;
517
724
  }): Request<Operation>;
518
725
  run(request: {
519
726
  /** V1 error format. */
520
- "$.xgafv"?: string;
727
+ "$.xgafv"?:
728
+ string;
521
729
  /** OAuth access token. */
522
- access_token?: string;
730
+ access_token?:
731
+ string;
523
732
  /** Data format for response. */
524
- alt?: string;
733
+ alt?:
734
+ string;
525
735
  /** JSONP */
526
- callback?: string;
736
+ callback?:
737
+ string;
527
738
  /** Selector specifying which fields to include in a partial response. */
528
- fields?: string;
739
+ fields?:
740
+ string;
529
741
  /** 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. */
530
- key?: string;
742
+ key?:
743
+ string;
531
744
  /** Required. The resource name of the Execution using the form: 'projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}' */
532
- name: string;
745
+ name:
746
+ string;
533
747
  /** OAuth 2.0 token for the current user. */
534
- oauth_token?: string;
748
+ oauth_token?:
749
+ string;
535
750
  /** Returns response with indentations and line breaks. */
536
- prettyPrint?: boolean;
751
+ prettyPrint?:
752
+ boolean;
537
753
  /** 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;
754
+ quotaUser?:
755
+ string;
539
756
  /** Upload protocol for media (e.g. "raw", "multipart"). */
540
- upload_protocol?: string;
757
+ upload_protocol?:
758
+ string;
541
759
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
542
- uploadType?: string;
760
+ uploadType?:
761
+ string;
543
762
  },
544
763
  body: RunEvaluationRequest): Request<Operation>;
545
- results: ResultsResource;
546
- scannedResources: ScannedResourcesResource;
764
+ results:
765
+ ResultsResource;
766
+ scannedResources:
767
+ ScannedResourcesResource;
547
768
  }
548
769
  interface EvaluationsResource {
549
770
  /** Creates a new Evaluation in a given project and location. */
550
771
  create(request: {
551
772
  /** V1 error format. */
552
- "$.xgafv"?: string;
773
+ "$.xgafv"?:
774
+ string;
553
775
  /** OAuth access token. */
554
- access_token?: string;
776
+ access_token?:
777
+ string;
555
778
  /** Data format for response. */
556
- alt?: string;
779
+ alt?:
780
+ string;
557
781
  /** JSONP */
558
- callback?: string;
782
+ callback?:
783
+ string;
559
784
  /** Required. Id of the requesting object */
560
- evaluationId?: string;
785
+ evaluationId?:
786
+ string;
561
787
  /** Selector specifying which fields to include in a partial response. */
562
- fields?: string;
788
+ fields?:
789
+ string;
563
790
  /** 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. */
564
- key?: string;
791
+ key?:
792
+ string;
565
793
  /** OAuth 2.0 token for the current user. */
566
- oauth_token?: string;
794
+ oauth_token?:
795
+ string;
567
796
  /** Required. The resource prefix of the evaluation location using the form: `projects/{project_id}/locations/{location_id}` */
568
- parent: string;
797
+ parent:
798
+ string;
569
799
  /** Returns response with indentations and line breaks. */
570
- prettyPrint?: boolean;
800
+ prettyPrint?:
801
+ boolean;
571
802
  /** 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. */
572
- quotaUser?: string;
803
+ quotaUser?:
804
+ string;
573
805
  /**
574
806
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
575
807
  * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
@@ -577,37 +809,52 @@ declare namespace gapi.client {
577
809
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
578
810
  * supported (00000000-0000-0000-0000-000000000000).
579
811
  */
580
- requestId?: string;
812
+ requestId?:
813
+ string;
581
814
  /** Upload protocol for media (e.g. "raw", "multipart"). */
582
- upload_protocol?: string;
815
+ upload_protocol?:
816
+ string;
583
817
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
584
- uploadType?: string;
818
+ uploadType?:
819
+ string;
585
820
  /** Request body */
586
- resource: Evaluation;
821
+ resource:
822
+ Evaluation;
587
823
  }): Request<Operation>;
588
824
  create(request: {
589
825
  /** V1 error format. */
590
- "$.xgafv"?: string;
826
+ "$.xgafv"?:
827
+ string;
591
828
  /** OAuth access token. */
592
- access_token?: string;
829
+ access_token?:
830
+ string;
593
831
  /** Data format for response. */
594
- alt?: string;
832
+ alt?:
833
+ string;
595
834
  /** JSONP */
596
- callback?: string;
835
+ callback?:
836
+ string;
597
837
  /** Required. Id of the requesting object */
598
- evaluationId?: string;
838
+ evaluationId?:
839
+ string;
599
840
  /** Selector specifying which fields to include in a partial response. */
600
- fields?: string;
841
+ fields?:
842
+ string;
601
843
  /** 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?: string;
844
+ key?:
845
+ string;
603
846
  /** OAuth 2.0 token for the current user. */
604
- oauth_token?: string;
847
+ oauth_token?:
848
+ string;
605
849
  /** Required. The resource prefix of the evaluation location using the form: `projects/{project_id}/locations/{location_id}` */
606
- parent: string;
850
+ parent:
851
+ string;
607
852
  /** Returns response with indentations and line breaks. */
608
- prettyPrint?: boolean;
853
+ prettyPrint?:
854
+ boolean;
609
855
  /** 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. */
610
- quotaUser?: string;
856
+ quotaUser?:
857
+ string;
611
858
  /**
612
859
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
613
860
  * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
@@ -615,132 +862,189 @@ declare namespace gapi.client {
615
862
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
616
863
  * supported (00000000-0000-0000-0000-000000000000).
617
864
  */
618
- requestId?: string;
865
+ requestId?:
866
+ string;
619
867
  /** Upload protocol for media (e.g. "raw", "multipart"). */
620
- upload_protocol?: string;
868
+ upload_protocol?:
869
+ string;
621
870
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
622
- uploadType?: string;
871
+ uploadType?:
872
+ string;
623
873
  },
624
874
  body: Evaluation): Request<Operation>;
625
875
  /** Gets details of a single Evaluation. */
626
876
  get(request?: {
627
877
  /** V1 error format. */
628
- "$.xgafv"?: string;
878
+ "$.xgafv"?:
879
+ string;
629
880
  /** OAuth access token. */
630
- access_token?: string;
881
+ access_token?:
882
+ string;
631
883
  /** Data format for response. */
632
- alt?: string;
884
+ alt?:
885
+ string;
633
886
  /** JSONP */
634
- callback?: string;
887
+ callback?:
888
+ string;
635
889
  /** Selector specifying which fields to include in a partial response. */
636
- fields?: string;
890
+ fields?:
891
+ string;
637
892
  /** 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. */
638
- key?: string;
893
+ key?:
894
+ string;
639
895
  /** Required. Name of the resource */
640
- name: string;
896
+ name:
897
+ string;
641
898
  /** OAuth 2.0 token for the current user. */
642
- oauth_token?: string;
899
+ oauth_token?:
900
+ string;
643
901
  /** Returns response with indentations and line breaks. */
644
- prettyPrint?: boolean;
902
+ prettyPrint?:
903
+ boolean;
645
904
  /** 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. */
646
- quotaUser?: string;
905
+ quotaUser?:
906
+ string;
647
907
  /** Upload protocol for media (e.g. "raw", "multipart"). */
648
- upload_protocol?: string;
908
+ upload_protocol?:
909
+ string;
649
910
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
650
- uploadType?: string;
911
+ uploadType?:
912
+ string;
651
913
  }): Request<Evaluation>;
652
914
  /** Lists Evaluations in a given project and location. */
653
915
  list(request?: {
654
916
  /** V1 error format. */
655
- "$.xgafv"?: string;
917
+ "$.xgafv"?:
918
+ string;
656
919
  /** OAuth access token. */
657
- access_token?: string;
920
+ access_token?:
921
+ string;
658
922
  /** Data format for response. */
659
- alt?: string;
923
+ alt?:
924
+ string;
660
925
  /** JSONP */
661
- callback?: string;
926
+ callback?:
927
+ string;
662
928
  /** Selector specifying which fields to include in a partial response. */
663
- fields?: string;
929
+ fields?:
930
+ string;
664
931
  /** Filtering results */
665
- filter?: string;
932
+ filter?:
933
+ string;
666
934
  /** 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. */
667
- key?: string;
935
+ key?:
936
+ string;
668
937
  /** OAuth 2.0 token for the current user. */
669
- oauth_token?: string;
938
+ oauth_token?:
939
+ string;
670
940
  /** Hint for how to order the results */
671
- orderBy?: string;
941
+ orderBy?:
942
+ string;
672
943
  /** Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
673
- pageSize?: number;
944
+ pageSize?:
945
+ number;
674
946
  /** A token identifying a page of results the server should return. */
675
- pageToken?: string;
947
+ pageToken?:
948
+ string;
676
949
  /** Required. Parent value for ListEvaluationsRequest */
677
- parent: string;
950
+ parent:
951
+ string;
678
952
  /** Returns response with indentations and line breaks. */
679
- prettyPrint?: boolean;
953
+ prettyPrint?:
954
+ boolean;
680
955
  /** 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. */
681
- quotaUser?: string;
956
+ quotaUser?:
957
+ string;
682
958
  /** Upload protocol for media (e.g. "raw", "multipart"). */
683
- upload_protocol?: string;
959
+ upload_protocol?:
960
+ string;
684
961
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
685
- uploadType?: string;
962
+ uploadType?:
963
+ string;
686
964
  }): Request<ListEvaluationsResponse>;
687
- executions: ExecutionsResource;
965
+ executions:
966
+ ExecutionsResource;
688
967
  }
689
968
  interface InsightsResource {
690
969
  /** Write the data insights to workload manager data warehouse. */
691
970
  writeInsight(request: {
692
971
  /** V1 error format. */
693
- "$.xgafv"?: string;
972
+ "$.xgafv"?:
973
+ string;
694
974
  /** OAuth access token. */
695
- access_token?: string;
975
+ access_token?:
976
+ string;
696
977
  /** Data format for response. */
697
- alt?: string;
978
+ alt?:
979
+ string;
698
980
  /** JSONP */
699
- callback?: string;
981
+ callback?:
982
+ string;
700
983
  /** Selector specifying which fields to include in a partial response. */
701
- fields?: string;
984
+ fields?:
985
+ string;
702
986
  /** 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. */
703
- key?: string;
987
+ key?:
988
+ string;
704
989
  /** Required. The GCP location. The format is: projects/{project}/locations/{location}. */
705
- location: string;
990
+ location:
991
+ string;
706
992
  /** OAuth 2.0 token for the current user. */
707
- oauth_token?: string;
993
+ oauth_token?:
994
+ string;
708
995
  /** Returns response with indentations and line breaks. */
709
- prettyPrint?: boolean;
996
+ prettyPrint?:
997
+ boolean;
710
998
  /** 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. */
711
- quotaUser?: string;
999
+ quotaUser?:
1000
+ string;
712
1001
  /** Upload protocol for media (e.g. "raw", "multipart"). */
713
- upload_protocol?: string;
1002
+ upload_protocol?:
1003
+ string;
714
1004
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
715
- uploadType?: string;
1005
+ uploadType?:
1006
+ string;
716
1007
  /** Request body */
717
- resource: WriteInsightRequest;
1008
+ resource:
1009
+ WriteInsightRequest;
718
1010
  }): Request<{}>;
719
1011
  writeInsight(request: {
720
1012
  /** V1 error format. */
721
- "$.xgafv"?: string;
1013
+ "$.xgafv"?:
1014
+ string;
722
1015
  /** OAuth access token. */
723
- access_token?: string;
1016
+ access_token?:
1017
+ string;
724
1018
  /** Data format for response. */
725
- alt?: string;
1019
+ alt?:
1020
+ string;
726
1021
  /** JSONP */
727
- callback?: string;
1022
+ callback?:
1023
+ string;
728
1024
  /** Selector specifying which fields to include in a partial response. */
729
- fields?: string;
1025
+ fields?:
1026
+ string;
730
1027
  /** 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. */
731
- key?: string;
1028
+ key?:
1029
+ string;
732
1030
  /** Required. The GCP location. The format is: projects/{project}/locations/{location}. */
733
- location: string;
1031
+ location:
1032
+ string;
734
1033
  /** OAuth 2.0 token for the current user. */
735
- oauth_token?: string;
1034
+ oauth_token?:
1035
+ string;
736
1036
  /** Returns response with indentations and line breaks. */
737
- prettyPrint?: boolean;
1037
+ prettyPrint?:
1038
+ boolean;
738
1039
  /** 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. */
739
- quotaUser?: string;
1040
+ quotaUser?:
1041
+ string;
740
1042
  /** Upload protocol for media (e.g. "raw", "multipart"). */
741
- upload_protocol?: string;
1043
+ upload_protocol?:
1044
+ string;
742
1045
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
743
- uploadType?: string;
1046
+ uploadType?:
1047
+ string;
744
1048
  },
745
1049
  body: WriteInsightRequest): Request<{}>;
746
1050
  }
@@ -753,57 +1057,82 @@ declare namespace gapi.client {
753
1057
  */
754
1058
  cancel(request: {
755
1059
  /** V1 error format. */
756
- "$.xgafv"?: string;
1060
+ "$.xgafv"?:
1061
+ string;
757
1062
  /** OAuth access token. */
758
- access_token?: string;
1063
+ access_token?:
1064
+ string;
759
1065
  /** Data format for response. */
760
- alt?: string;
1066
+ alt?:
1067
+ string;
761
1068
  /** JSONP */
762
- callback?: string;
1069
+ callback?:
1070
+ string;
763
1071
  /** Selector specifying which fields to include in a partial response. */
764
- fields?: string;
1072
+ fields?:
1073
+ string;
765
1074
  /** 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. */
766
- key?: string;
1075
+ key?:
1076
+ string;
767
1077
  /** The name of the operation resource to be cancelled. */
768
- name: string;
1078
+ name:
1079
+ string;
769
1080
  /** OAuth 2.0 token for the current user. */
770
- oauth_token?: string;
1081
+ oauth_token?:
1082
+ string;
771
1083
  /** Returns response with indentations and line breaks. */
772
- prettyPrint?: boolean;
1084
+ prettyPrint?:
1085
+ boolean;
773
1086
  /** 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. */
774
- quotaUser?: string;
1087
+ quotaUser?:
1088
+ string;
775
1089
  /** Upload protocol for media (e.g. "raw", "multipart"). */
776
- upload_protocol?: string;
1090
+ upload_protocol?:
1091
+ string;
777
1092
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
778
- uploadType?: string;
1093
+ uploadType?:
1094
+ string;
779
1095
  /** Request body */
780
- resource: CancelOperationRequest;
1096
+ resource:
1097
+ CancelOperationRequest;
781
1098
  }): Request<{}>;
782
1099
  cancel(request: {
783
1100
  /** V1 error format. */
784
- "$.xgafv"?: string;
1101
+ "$.xgafv"?:
1102
+ string;
785
1103
  /** OAuth access token. */
786
- access_token?: string;
1104
+ access_token?:
1105
+ string;
787
1106
  /** Data format for response. */
788
- alt?: string;
1107
+ alt?:
1108
+ string;
789
1109
  /** JSONP */
790
- callback?: string;
1110
+ callback?:
1111
+ string;
791
1112
  /** Selector specifying which fields to include in a partial response. */
792
- fields?: string;
1113
+ fields?:
1114
+ string;
793
1115
  /** 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. */
794
- key?: string;
1116
+ key?:
1117
+ string;
795
1118
  /** The name of the operation resource to be cancelled. */
796
- name: string;
1119
+ name:
1120
+ string;
797
1121
  /** OAuth 2.0 token for the current user. */
798
- oauth_token?: string;
1122
+ oauth_token?:
1123
+ string;
799
1124
  /** Returns response with indentations and line breaks. */
800
- prettyPrint?: boolean;
1125
+ prettyPrint?:
1126
+ boolean;
801
1127
  /** 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. */
802
- quotaUser?: string;
1128
+ quotaUser?:
1129
+ string;
803
1130
  /** Upload protocol for media (e.g. "raw", "multipart"). */
804
- upload_protocol?: string;
1131
+ upload_protocol?:
1132
+ string;
805
1133
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
806
- uploadType?: string;
1134
+ uploadType?:
1135
+ string;
807
1136
  },
808
1137
  body: CancelOperationRequest): Request<{}>;
809
1138
  /**
@@ -812,200 +1141,286 @@ declare namespace gapi.client {
812
1141
  */
813
1142
  delete(request?: {
814
1143
  /** V1 error format. */
815
- "$.xgafv"?: string;
1144
+ "$.xgafv"?:
1145
+ string;
816
1146
  /** OAuth access token. */
817
- access_token?: string;
1147
+ access_token?:
1148
+ string;
818
1149
  /** Data format for response. */
819
- alt?: string;
1150
+ alt?:
1151
+ string;
820
1152
  /** JSONP */
821
- callback?: string;
1153
+ callback?:
1154
+ string;
822
1155
  /** Selector specifying which fields to include in a partial response. */
823
- fields?: string;
1156
+ fields?:
1157
+ string;
824
1158
  /** 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. */
825
- key?: string;
1159
+ key?:
1160
+ string;
826
1161
  /** The name of the operation resource to be deleted. */
827
- name: string;
1162
+ name:
1163
+ string;
828
1164
  /** OAuth 2.0 token for the current user. */
829
- oauth_token?: string;
1165
+ oauth_token?:
1166
+ string;
830
1167
  /** Returns response with indentations and line breaks. */
831
- prettyPrint?: boolean;
1168
+ prettyPrint?:
1169
+ boolean;
832
1170
  /** 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. */
833
- quotaUser?: string;
1171
+ quotaUser?:
1172
+ string;
834
1173
  /** Upload protocol for media (e.g. "raw", "multipart"). */
835
- upload_protocol?: string;
1174
+ upload_protocol?:
1175
+ string;
836
1176
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
837
- uploadType?: string;
1177
+ uploadType?:
1178
+ string;
838
1179
  }): Request<{}>;
839
1180
  /** 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. */
840
1181
  get(request?: {
841
1182
  /** V1 error format. */
842
- "$.xgafv"?: string;
1183
+ "$.xgafv"?:
1184
+ string;
843
1185
  /** OAuth access token. */
844
- access_token?: string;
1186
+ access_token?:
1187
+ string;
845
1188
  /** Data format for response. */
846
- alt?: string;
1189
+ alt?:
1190
+ string;
847
1191
  /** JSONP */
848
- callback?: string;
1192
+ callback?:
1193
+ string;
849
1194
  /** Selector specifying which fields to include in a partial response. */
850
- fields?: string;
1195
+ fields?:
1196
+ string;
851
1197
  /** 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. */
852
- key?: string;
1198
+ key?:
1199
+ string;
853
1200
  /** The name of the operation resource. */
854
- name: string;
1201
+ name:
1202
+ string;
855
1203
  /** OAuth 2.0 token for the current user. */
856
- oauth_token?: string;
1204
+ oauth_token?:
1205
+ string;
857
1206
  /** Returns response with indentations and line breaks. */
858
- prettyPrint?: boolean;
1207
+ prettyPrint?:
1208
+ boolean;
859
1209
  /** 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. */
860
- quotaUser?: string;
1210
+ quotaUser?:
1211
+ string;
861
1212
  /** Upload protocol for media (e.g. "raw", "multipart"). */
862
- upload_protocol?: string;
1213
+ upload_protocol?:
1214
+ string;
863
1215
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
864
- uploadType?: string;
1216
+ uploadType?:
1217
+ string;
865
1218
  }): Request<Operation>;
866
1219
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
867
1220
  list(request?: {
868
1221
  /** V1 error format. */
869
- "$.xgafv"?: string;
1222
+ "$.xgafv"?:
1223
+ string;
870
1224
  /** OAuth access token. */
871
- access_token?: string;
1225
+ access_token?:
1226
+ string;
872
1227
  /** Data format for response. */
873
- alt?: string;
1228
+ alt?:
1229
+ string;
874
1230
  /** JSONP */
875
- callback?: string;
1231
+ callback?:
1232
+ string;
876
1233
  /** Selector specifying which fields to include in a partial response. */
877
- fields?: string;
1234
+ fields?:
1235
+ string;
878
1236
  /** The standard list filter. */
879
- filter?: string;
1237
+ filter?:
1238
+ string;
880
1239
  /** 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. */
881
- key?: string;
1240
+ key?:
1241
+ string;
882
1242
  /** The name of the operation's parent resource. */
883
- name: string;
1243
+ name:
1244
+ string;
884
1245
  /** OAuth 2.0 token for the current user. */
885
- oauth_token?: string;
1246
+ oauth_token?:
1247
+ string;
886
1248
  /** The standard list page size. */
887
- pageSize?: number;
1249
+ pageSize?:
1250
+ number;
888
1251
  /** The standard list page token. */
889
- pageToken?: string;
1252
+ pageToken?:
1253
+ string;
890
1254
  /** Returns response with indentations and line breaks. */
891
- prettyPrint?: boolean;
1255
+ prettyPrint?:
1256
+ boolean;
892
1257
  /** 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. */
893
- quotaUser?: string;
1258
+ quotaUser?:
1259
+ string;
894
1260
  /** Upload protocol for media (e.g. "raw", "multipart"). */
895
- upload_protocol?: string;
1261
+ upload_protocol?:
1262
+ string;
896
1263
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
897
- uploadType?: string;
1264
+ uploadType?:
1265
+ string;
898
1266
  }): Request<ListOperationsResponse>;
899
1267
  }
900
1268
  interface RulesResource {
901
1269
  /** Lists rules in a given project. */
902
1270
  list(request?: {
903
1271
  /** V1 error format. */
904
- "$.xgafv"?: string;
1272
+ "$.xgafv"?:
1273
+ string;
905
1274
  /** OAuth access token. */
906
- access_token?: string;
1275
+ access_token?:
1276
+ string;
907
1277
  /** Data format for response. */
908
- alt?: string;
1278
+ alt?:
1279
+ string;
909
1280
  /** JSONP */
910
- callback?: string;
1281
+ callback?:
1282
+ string;
911
1283
  /** Selector specifying which fields to include in a partial response. */
912
- fields?: string;
1284
+ fields?:
1285
+ string;
913
1286
  /** Filter based on primary_category, secondary_category */
914
- filter?: string;
1287
+ filter?:
1288
+ string;
915
1289
  /** 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. */
916
- key?: string;
1290
+ key?:
1291
+ string;
917
1292
  /** OAuth 2.0 token for the current user. */
918
- oauth_token?: string;
1293
+ oauth_token?:
1294
+ string;
919
1295
  /** Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
920
- pageSize?: number;
1296
+ pageSize?:
1297
+ number;
921
1298
  /** A token identifying a page of results the server should return. */
922
- pageToken?: string;
1299
+ pageToken?:
1300
+ string;
923
1301
  /**
924
1302
  * Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all
925
1303
  * projects and all regions
926
1304
  */
927
- parent: string;
1305
+ parent:
1306
+ string;
928
1307
  /** Returns response with indentations and line breaks. */
929
- prettyPrint?: boolean;
1308
+ prettyPrint?:
1309
+ boolean;
930
1310
  /** 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. */
931
- quotaUser?: string;
1311
+ quotaUser?:
1312
+ string;
932
1313
  /** Upload protocol for media (e.g. "raw", "multipart"). */
933
- upload_protocol?: string;
1314
+ upload_protocol?:
1315
+ string;
934
1316
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
935
- uploadType?: string;
1317
+ uploadType?:
1318
+ string;
936
1319
  }): Request<ListRulesResponse>;
937
1320
  }
938
1321
  interface LocationsResource {
939
1322
  /** Gets information about a location. */
940
1323
  get(request?: {
941
1324
  /** V1 error format. */
942
- "$.xgafv"?: string;
1325
+ "$.xgafv"?:
1326
+ string;
943
1327
  /** OAuth access token. */
944
- access_token?: string;
1328
+ access_token?:
1329
+ string;
945
1330
  /** Data format for response. */
946
- alt?: string;
1331
+ alt?:
1332
+ string;
947
1333
  /** JSONP */
948
- callback?: string;
1334
+ callback?:
1335
+ string;
949
1336
  /** Selector specifying which fields to include in a partial response. */
950
- fields?: string;
1337
+ fields?:
1338
+ string;
951
1339
  /** 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. */
952
- key?: string;
1340
+ key?:
1341
+ string;
953
1342
  /** Resource name for the location. */
954
- name: string;
1343
+ name:
1344
+ string;
955
1345
  /** OAuth 2.0 token for the current user. */
956
- oauth_token?: string;
1346
+ oauth_token?:
1347
+ string;
957
1348
  /** Returns response with indentations and line breaks. */
958
- prettyPrint?: boolean;
1349
+ prettyPrint?:
1350
+ boolean;
959
1351
  /** 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. */
960
- quotaUser?: string;
1352
+ quotaUser?:
1353
+ string;
961
1354
  /** Upload protocol for media (e.g. "raw", "multipart"). */
962
- upload_protocol?: string;
1355
+ upload_protocol?:
1356
+ string;
963
1357
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
964
- uploadType?: string;
1358
+ uploadType?:
1359
+ string;
965
1360
  }): Request<Location>;
966
1361
  /** Lists information about the supported locations for this service. */
967
1362
  list(request?: {
968
1363
  /** V1 error format. */
969
- "$.xgafv"?: string;
1364
+ "$.xgafv"?:
1365
+ string;
970
1366
  /** OAuth access token. */
971
- access_token?: string;
1367
+ access_token?:
1368
+ string;
972
1369
  /** Data format for response. */
973
- alt?: string;
1370
+ alt?:
1371
+ string;
974
1372
  /** JSONP */
975
- callback?: string;
1373
+ callback?:
1374
+ string;
976
1375
  /** Selector specifying which fields to include in a partial response. */
977
- fields?: string;
1376
+ fields?:
1377
+ string;
978
1378
  /**
979
1379
  * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in
980
1380
  * [AIP-160](https://google.aip.dev/160).
981
1381
  */
982
- filter?: string;
1382
+ filter?:
1383
+ string;
983
1384
  /** 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. */
984
- key?: string;
1385
+ key?:
1386
+ string;
985
1387
  /** The resource that owns the locations collection, if applicable. */
986
- name: string;
1388
+ name:
1389
+ string;
987
1390
  /** OAuth 2.0 token for the current user. */
988
- oauth_token?: string;
1391
+ oauth_token?:
1392
+ string;
989
1393
  /** The maximum number of results to return. If not set, the service selects a default. */
990
- pageSize?: number;
1394
+ pageSize?:
1395
+ number;
991
1396
  /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
992
- pageToken?: string;
1397
+ pageToken?:
1398
+ string;
993
1399
  /** Returns response with indentations and line breaks. */
994
- prettyPrint?: boolean;
1400
+ prettyPrint?:
1401
+ boolean;
995
1402
  /** 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. */
996
- quotaUser?: string;
1403
+ quotaUser?:
1404
+ string;
997
1405
  /** Upload protocol for media (e.g. "raw", "multipart"). */
998
- upload_protocol?: string;
1406
+ upload_protocol?:
1407
+ string;
999
1408
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1000
- uploadType?: string;
1409
+ uploadType?:
1410
+ string;
1001
1411
  }): Request<ListLocationsResponse>;
1002
- evaluations: EvaluationsResource;
1003
- insights: InsightsResource;
1004
- operations: OperationsResource;
1005
- rules: RulesResource;
1412
+ evaluations:
1413
+ EvaluationsResource;
1414
+ insights:
1415
+ InsightsResource;
1416
+ operations:
1417
+ OperationsResource;
1418
+ rules:
1419
+ RulesResource;
1006
1420
  }
1007
1421
  interface ProjectsResource {
1008
- locations: LocationsResource;
1422
+ locations:
1423
+ LocationsResource;
1009
1424
  }
1010
1425
 
1011
1426
  const projects: ProjectsResource;