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