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

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