@maxim_mazurok/gapi.client.websecurityscanner-v1 0.1.20251109 → 0.2.20251207
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 +141 -47
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://websecurityscanner.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251207
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -77,7 +77,12 @@ declare namespace gapi.client {
|
|
|
77
77
|
/** Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability. */
|
|
78
78
|
reproductionUrl?: string;
|
|
79
79
|
/** Output only. The severity level of the reported vulnerability. */
|
|
80
|
-
severity?:
|
|
80
|
+
severity?:
|
|
81
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
82
|
+
| 'CRITICAL'
|
|
83
|
+
| 'HIGH'
|
|
84
|
+
| 'MEDIUM'
|
|
85
|
+
| 'LOW';
|
|
81
86
|
/** Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns. */
|
|
82
87
|
trackingId?: string;
|
|
83
88
|
/** Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc. */
|
|
@@ -167,7 +172,10 @@ declare namespace gapi.client {
|
|
|
167
172
|
/** Required. The user provided display name of the ScanConfig. */
|
|
168
173
|
displayName?: string;
|
|
169
174
|
/** Controls export of scan configurations and results to Security Command Center. */
|
|
170
|
-
exportToSecurityCommandCenter?:
|
|
175
|
+
exportToSecurityCommandCenter?:
|
|
176
|
+
| 'EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED'
|
|
177
|
+
| 'ENABLED'
|
|
178
|
+
| 'DISABLED';
|
|
171
179
|
/** Whether to keep scanning even if most requests return HTTP error codes. */
|
|
172
180
|
ignoreHttpStatusErrors?: boolean;
|
|
173
181
|
latestRun?: ScanRun;
|
|
@@ -178,7 +186,7 @@ declare namespace gapi.client {
|
|
|
178
186
|
/** Identifier. The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system. */
|
|
179
187
|
name?: string;
|
|
180
188
|
/** The risk level selected for the scan */
|
|
181
|
-
riskLevel?:
|
|
189
|
+
riskLevel?: 'RISK_LEVEL_UNSPECIFIED' | 'NORMAL' | 'LOW';
|
|
182
190
|
/** The schedule of the ScanConfig. */
|
|
183
191
|
schedule?: Schedule;
|
|
184
192
|
/** Required. The starting URLs from which the scanner finds site pages. */
|
|
@@ -186,13 +194,65 @@ declare namespace gapi.client {
|
|
|
186
194
|
/** Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses. */
|
|
187
195
|
staticIpScan?: boolean;
|
|
188
196
|
/** Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default. */
|
|
189
|
-
targetPlatforms?:
|
|
197
|
+
targetPlatforms?:
|
|
198
|
+
| 'TARGET_PLATFORM_UNSPECIFIED'
|
|
199
|
+
| 'APP_ENGINE'
|
|
200
|
+
| 'COMPUTE'
|
|
201
|
+
| 'CLOUD_RUN'
|
|
202
|
+
| 'CLOUD_FUNCTIONS'[];
|
|
190
203
|
/** The user agent used during scanning. */
|
|
191
|
-
userAgent?:
|
|
204
|
+
userAgent?:
|
|
205
|
+
| 'USER_AGENT_UNSPECIFIED'
|
|
206
|
+
| 'CHROME_LINUX'
|
|
207
|
+
| 'CHROME_ANDROID'
|
|
208
|
+
| 'SAFARI_IPHONE';
|
|
192
209
|
}
|
|
193
210
|
interface ScanConfigError {
|
|
194
211
|
/** Output only. Indicates the reason code for a configuration failure. */
|
|
195
|
-
code?:
|
|
212
|
+
code?:
|
|
213
|
+
| 'CODE_UNSPECIFIED'
|
|
214
|
+
| 'OK'
|
|
215
|
+
| 'INTERNAL_ERROR'
|
|
216
|
+
| 'APPENGINE_API_BACKEND_ERROR'
|
|
217
|
+
| 'APPENGINE_API_NOT_ACCESSIBLE'
|
|
218
|
+
| 'APPENGINE_DEFAULT_HOST_MISSING'
|
|
219
|
+
| 'CANNOT_USE_GOOGLE_COM_ACCOUNT'
|
|
220
|
+
| 'CANNOT_USE_OWNER_ACCOUNT'
|
|
221
|
+
| 'COMPUTE_API_BACKEND_ERROR'
|
|
222
|
+
| 'COMPUTE_API_NOT_ACCESSIBLE'
|
|
223
|
+
| 'CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT'
|
|
224
|
+
| 'CUSTOM_LOGIN_URL_MALFORMED'
|
|
225
|
+
| 'CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS'
|
|
226
|
+
| 'CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS'
|
|
227
|
+
| 'CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS'
|
|
228
|
+
| 'CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS'
|
|
229
|
+
| 'DUPLICATE_SCAN_NAME'
|
|
230
|
+
| 'INVALID_FIELD_VALUE'
|
|
231
|
+
| 'FAILED_TO_AUTHENTICATE_TO_TARGET'
|
|
232
|
+
| 'FINDING_TYPE_UNSPECIFIED'
|
|
233
|
+
| 'FORBIDDEN_TO_SCAN_COMPUTE'
|
|
234
|
+
| 'FORBIDDEN_UPDATE_TO_MANAGED_SCAN'
|
|
235
|
+
| 'MALFORMED_FILTER'
|
|
236
|
+
| 'MALFORMED_RESOURCE_NAME'
|
|
237
|
+
| 'PROJECT_INACTIVE'
|
|
238
|
+
| 'REQUIRED_FIELD'
|
|
239
|
+
| 'RESOURCE_NAME_INCONSISTENT'
|
|
240
|
+
| 'SCAN_ALREADY_RUNNING'
|
|
241
|
+
| 'SCAN_NOT_RUNNING'
|
|
242
|
+
| 'SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT'
|
|
243
|
+
| 'SEED_URL_MALFORMED'
|
|
244
|
+
| 'SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS'
|
|
245
|
+
| 'SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS'
|
|
246
|
+
| 'SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS'
|
|
247
|
+
| 'SEED_URL_HAS_UNRESERVED_IP_ADDRESS'
|
|
248
|
+
| 'SERVICE_ACCOUNT_NOT_CONFIGURED'
|
|
249
|
+
| 'TOO_MANY_SCANS'
|
|
250
|
+
| 'UNABLE_TO_RESOLVE_PROJECT_INFO'
|
|
251
|
+
| 'UNSUPPORTED_BLACKLIST_PATTERN_FORMAT'
|
|
252
|
+
| 'UNSUPPORTED_FILTER'
|
|
253
|
+
| 'UNSUPPORTED_FINDING_TYPE'
|
|
254
|
+
| 'UNSUPPORTED_URL_SCHEME'
|
|
255
|
+
| 'CLOUD_ASSET_INVENTORY_ASSET_NOT_FOUND';
|
|
196
256
|
/** Output only. Indicates the full name of the ScanConfig field that triggers this error, for example "scan_config.max_qps". This field is provided for troubleshooting purposes only and its actual value can change in the future. */
|
|
197
257
|
fieldName?: string;
|
|
198
258
|
}
|
|
@@ -202,7 +262,11 @@ declare namespace gapi.client {
|
|
|
202
262
|
/** Output only. If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available. */
|
|
203
263
|
errorTrace?: ScanRunErrorTrace;
|
|
204
264
|
/** Output only. The execution state of the ScanRun. */
|
|
205
|
-
executionState?:
|
|
265
|
+
executionState?:
|
|
266
|
+
| 'EXECUTION_STATE_UNSPECIFIED'
|
|
267
|
+
| 'QUEUED'
|
|
268
|
+
| 'SCANNING'
|
|
269
|
+
| 'FINISHED';
|
|
206
270
|
/** Output only. Whether the scan run has found any vulnerabilities. */
|
|
207
271
|
hasVulnerabilities?: boolean;
|
|
208
272
|
/** Output only. The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system. */
|
|
@@ -210,7 +274,7 @@ declare namespace gapi.client {
|
|
|
210
274
|
/** Output only. The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100. */
|
|
211
275
|
progressPercent?: number;
|
|
212
276
|
/** Output only. The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED". */
|
|
213
|
-
resultState?:
|
|
277
|
+
resultState?: 'RESULT_STATE_UNSPECIFIED' | 'SUCCESS' | 'ERROR' | 'KILLED';
|
|
214
278
|
/** Output only. The time at which the ScanRun started. */
|
|
215
279
|
startTime?: string;
|
|
216
280
|
/** Output only. The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now. */
|
|
@@ -222,7 +286,15 @@ declare namespace gapi.client {
|
|
|
222
286
|
}
|
|
223
287
|
interface ScanRunErrorTrace {
|
|
224
288
|
/** Output only. Indicates the error reason code. */
|
|
225
|
-
code?:
|
|
289
|
+
code?:
|
|
290
|
+
| 'CODE_UNSPECIFIED'
|
|
291
|
+
| 'INTERNAL_ERROR'
|
|
292
|
+
| 'SCAN_CONFIG_ISSUE'
|
|
293
|
+
| 'AUTHENTICATION_CONFIG_ISSUE'
|
|
294
|
+
| 'TIMED_OUT_WHILE_SCANNING'
|
|
295
|
+
| 'TOO_MANY_REDIRECTS'
|
|
296
|
+
| 'TOO_MANY_HTTP_ERRORS'
|
|
297
|
+
| 'STARTING_URLS_CRAWL_HTTP_ERRORS';
|
|
226
298
|
/** Output only. If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses. */
|
|
227
299
|
mostCommonHttpErrorCode?: number;
|
|
228
300
|
/** Output only. If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run. */
|
|
@@ -230,7 +302,13 @@ declare namespace gapi.client {
|
|
|
230
302
|
}
|
|
231
303
|
interface ScanRunWarningTrace {
|
|
232
304
|
/** Output only. Indicates the warning code. */
|
|
233
|
-
code?:
|
|
305
|
+
code?:
|
|
306
|
+
| 'CODE_UNSPECIFIED'
|
|
307
|
+
| 'INSUFFICIENT_CRAWL_RESULTS'
|
|
308
|
+
| 'TOO_MANY_CRAWL_RESULTS'
|
|
309
|
+
| 'TOO_MANY_FUZZ_TASKS'
|
|
310
|
+
| 'BLOCKED_BY_IAP'
|
|
311
|
+
| 'NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN';
|
|
234
312
|
}
|
|
235
313
|
interface Schedule {
|
|
236
314
|
/** Required. The duration of time between executions in days. */
|
|
@@ -258,7 +336,23 @@ declare namespace gapi.client {
|
|
|
258
336
|
}
|
|
259
337
|
interface Xss {
|
|
260
338
|
/** The attack vector of the payload triggering this XSS. */
|
|
261
|
-
attackVector?:
|
|
339
|
+
attackVector?:
|
|
340
|
+
| 'ATTACK_VECTOR_UNSPECIFIED'
|
|
341
|
+
| 'LOCAL_STORAGE'
|
|
342
|
+
| 'SESSION_STORAGE'
|
|
343
|
+
| 'WINDOW_NAME'
|
|
344
|
+
| 'REFERRER'
|
|
345
|
+
| 'FORM_INPUT'
|
|
346
|
+
| 'COOKIE'
|
|
347
|
+
| 'POST_MESSAGE'
|
|
348
|
+
| 'GET_PARAMETERS'
|
|
349
|
+
| 'URL_FRAGMENT'
|
|
350
|
+
| 'HTML_COMMENT'
|
|
351
|
+
| 'POST_PARAMETERS'
|
|
352
|
+
| 'PROTOCOL'
|
|
353
|
+
| 'STORED_XSS'
|
|
354
|
+
| 'SAME_ORIGIN'
|
|
355
|
+
| 'USER_CONTROLLABLE_URL';
|
|
262
356
|
/** An error message generated by a javascript breakage. */
|
|
263
357
|
errorMessage?: string;
|
|
264
358
|
/** Stack traces leading to the point where the XSS occurred. */
|
|
@@ -268,7 +362,7 @@ declare namespace gapi.client {
|
|
|
268
362
|
}
|
|
269
363
|
interface Xxe {
|
|
270
364
|
/** Location within the request where the payload was placed. */
|
|
271
|
-
payloadLocation?:
|
|
365
|
+
payloadLocation?: 'LOCATION_UNSPECIFIED' | 'COMPLETE_REQUEST_BODY';
|
|
272
366
|
/** The XML string that triggered the XXE vulnerability. Non-payload values might be redacted. */
|
|
273
367
|
payloadValue?: string;
|
|
274
368
|
}
|
|
@@ -276,11 +370,11 @@ declare namespace gapi.client {
|
|
|
276
370
|
/** List CrawledUrls under a given ScanRun. */
|
|
277
371
|
list(request?: {
|
|
278
372
|
/** V1 error format. */
|
|
279
|
-
'$.xgafv'?:
|
|
373
|
+
'$.xgafv'?: '1' | '2';
|
|
280
374
|
/** OAuth access token. */
|
|
281
375
|
access_token?: string;
|
|
282
376
|
/** Data format for response. */
|
|
283
|
-
alt?:
|
|
377
|
+
alt?: 'json' | 'media' | 'proto';
|
|
284
378
|
/** JSONP */
|
|
285
379
|
callback?: string;
|
|
286
380
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -309,11 +403,11 @@ declare namespace gapi.client {
|
|
|
309
403
|
/** Gets a Finding. */
|
|
310
404
|
get(request?: {
|
|
311
405
|
/** V1 error format. */
|
|
312
|
-
'$.xgafv'?:
|
|
406
|
+
'$.xgafv'?: '1' | '2';
|
|
313
407
|
/** OAuth access token. */
|
|
314
408
|
access_token?: string;
|
|
315
409
|
/** Data format for response. */
|
|
316
|
-
alt?:
|
|
410
|
+
alt?: 'json' | 'media' | 'proto';
|
|
317
411
|
/** JSONP */
|
|
318
412
|
callback?: string;
|
|
319
413
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -336,11 +430,11 @@ declare namespace gapi.client {
|
|
|
336
430
|
/** List Findings under a given ScanRun. */
|
|
337
431
|
list(request?: {
|
|
338
432
|
/** V1 error format. */
|
|
339
|
-
'$.xgafv'?:
|
|
433
|
+
'$.xgafv'?: '1' | '2';
|
|
340
434
|
/** OAuth access token. */
|
|
341
435
|
access_token?: string;
|
|
342
436
|
/** Data format for response. */
|
|
343
|
-
alt?:
|
|
437
|
+
alt?: 'json' | 'media' | 'proto';
|
|
344
438
|
/** JSONP */
|
|
345
439
|
callback?: string;
|
|
346
440
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -371,11 +465,11 @@ declare namespace gapi.client {
|
|
|
371
465
|
/** List all FindingTypeStats under a given ScanRun. */
|
|
372
466
|
list(request?: {
|
|
373
467
|
/** V1 error format. */
|
|
374
|
-
'$.xgafv'?:
|
|
468
|
+
'$.xgafv'?: '1' | '2';
|
|
375
469
|
/** OAuth access token. */
|
|
376
470
|
access_token?: string;
|
|
377
471
|
/** Data format for response. */
|
|
378
|
-
alt?:
|
|
472
|
+
alt?: 'json' | 'media' | 'proto';
|
|
379
473
|
/** JSONP */
|
|
380
474
|
callback?: string;
|
|
381
475
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -400,11 +494,11 @@ declare namespace gapi.client {
|
|
|
400
494
|
/** Gets a ScanRun. */
|
|
401
495
|
get(request?: {
|
|
402
496
|
/** V1 error format. */
|
|
403
|
-
'$.xgafv'?:
|
|
497
|
+
'$.xgafv'?: '1' | '2';
|
|
404
498
|
/** OAuth access token. */
|
|
405
499
|
access_token?: string;
|
|
406
500
|
/** Data format for response. */
|
|
407
|
-
alt?:
|
|
501
|
+
alt?: 'json' | 'media' | 'proto';
|
|
408
502
|
/** JSONP */
|
|
409
503
|
callback?: string;
|
|
410
504
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -427,11 +521,11 @@ declare namespace gapi.client {
|
|
|
427
521
|
/** Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time. */
|
|
428
522
|
list(request?: {
|
|
429
523
|
/** V1 error format. */
|
|
430
|
-
'$.xgafv'?:
|
|
524
|
+
'$.xgafv'?: '1' | '2';
|
|
431
525
|
/** OAuth access token. */
|
|
432
526
|
access_token?: string;
|
|
433
527
|
/** Data format for response. */
|
|
434
|
-
alt?:
|
|
528
|
+
alt?: 'json' | 'media' | 'proto';
|
|
435
529
|
/** JSONP */
|
|
436
530
|
callback?: string;
|
|
437
531
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -458,11 +552,11 @@ declare namespace gapi.client {
|
|
|
458
552
|
/** Stops a ScanRun. The stopped ScanRun is returned. */
|
|
459
553
|
stop(request: {
|
|
460
554
|
/** V1 error format. */
|
|
461
|
-
'$.xgafv'?:
|
|
555
|
+
'$.xgafv'?: '1' | '2';
|
|
462
556
|
/** OAuth access token. */
|
|
463
557
|
access_token?: string;
|
|
464
558
|
/** Data format for response. */
|
|
465
|
-
alt?:
|
|
559
|
+
alt?: 'json' | 'media' | 'proto';
|
|
466
560
|
/** JSONP */
|
|
467
561
|
callback?: string;
|
|
468
562
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -487,11 +581,11 @@ declare namespace gapi.client {
|
|
|
487
581
|
stop(
|
|
488
582
|
request: {
|
|
489
583
|
/** V1 error format. */
|
|
490
|
-
'$.xgafv'?:
|
|
584
|
+
'$.xgafv'?: '1' | '2';
|
|
491
585
|
/** OAuth access token. */
|
|
492
586
|
access_token?: string;
|
|
493
587
|
/** Data format for response. */
|
|
494
|
-
alt?:
|
|
588
|
+
alt?: 'json' | 'media' | 'proto';
|
|
495
589
|
/** JSONP */
|
|
496
590
|
callback?: string;
|
|
497
591
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -521,11 +615,11 @@ declare namespace gapi.client {
|
|
|
521
615
|
/** Creates a new ScanConfig. */
|
|
522
616
|
create(request: {
|
|
523
617
|
/** V1 error format. */
|
|
524
|
-
'$.xgafv'?:
|
|
618
|
+
'$.xgafv'?: '1' | '2';
|
|
525
619
|
/** OAuth access token. */
|
|
526
620
|
access_token?: string;
|
|
527
621
|
/** Data format for response. */
|
|
528
|
-
alt?:
|
|
622
|
+
alt?: 'json' | 'media' | 'proto';
|
|
529
623
|
/** JSONP */
|
|
530
624
|
callback?: string;
|
|
531
625
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -550,11 +644,11 @@ declare namespace gapi.client {
|
|
|
550
644
|
create(
|
|
551
645
|
request: {
|
|
552
646
|
/** V1 error format. */
|
|
553
|
-
'$.xgafv'?:
|
|
647
|
+
'$.xgafv'?: '1' | '2';
|
|
554
648
|
/** OAuth access token. */
|
|
555
649
|
access_token?: string;
|
|
556
650
|
/** Data format for response. */
|
|
557
|
-
alt?:
|
|
651
|
+
alt?: 'json' | 'media' | 'proto';
|
|
558
652
|
/** JSONP */
|
|
559
653
|
callback?: string;
|
|
560
654
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -579,11 +673,11 @@ declare namespace gapi.client {
|
|
|
579
673
|
/** Deletes an existing ScanConfig and its child resources. */
|
|
580
674
|
delete(request?: {
|
|
581
675
|
/** V1 error format. */
|
|
582
|
-
'$.xgafv'?:
|
|
676
|
+
'$.xgafv'?: '1' | '2';
|
|
583
677
|
/** OAuth access token. */
|
|
584
678
|
access_token?: string;
|
|
585
679
|
/** Data format for response. */
|
|
586
|
-
alt?:
|
|
680
|
+
alt?: 'json' | 'media' | 'proto';
|
|
587
681
|
/** JSONP */
|
|
588
682
|
callback?: string;
|
|
589
683
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -606,11 +700,11 @@ declare namespace gapi.client {
|
|
|
606
700
|
/** Gets a ScanConfig. */
|
|
607
701
|
get(request?: {
|
|
608
702
|
/** V1 error format. */
|
|
609
|
-
'$.xgafv'?:
|
|
703
|
+
'$.xgafv'?: '1' | '2';
|
|
610
704
|
/** OAuth access token. */
|
|
611
705
|
access_token?: string;
|
|
612
706
|
/** Data format for response. */
|
|
613
|
-
alt?:
|
|
707
|
+
alt?: 'json' | 'media' | 'proto';
|
|
614
708
|
/** JSONP */
|
|
615
709
|
callback?: string;
|
|
616
710
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -633,11 +727,11 @@ declare namespace gapi.client {
|
|
|
633
727
|
/** Lists ScanConfigs under a given project. */
|
|
634
728
|
list(request?: {
|
|
635
729
|
/** V1 error format. */
|
|
636
|
-
'$.xgafv'?:
|
|
730
|
+
'$.xgafv'?: '1' | '2';
|
|
637
731
|
/** OAuth access token. */
|
|
638
732
|
access_token?: string;
|
|
639
733
|
/** Data format for response. */
|
|
640
|
-
alt?:
|
|
734
|
+
alt?: 'json' | 'media' | 'proto';
|
|
641
735
|
/** JSONP */
|
|
642
736
|
callback?: string;
|
|
643
737
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -664,11 +758,11 @@ declare namespace gapi.client {
|
|
|
664
758
|
/** Updates a ScanConfig. This method support partial update of a ScanConfig. */
|
|
665
759
|
patch(request: {
|
|
666
760
|
/** V1 error format. */
|
|
667
|
-
'$.xgafv'?:
|
|
761
|
+
'$.xgafv'?: '1' | '2';
|
|
668
762
|
/** OAuth access token. */
|
|
669
763
|
access_token?: string;
|
|
670
764
|
/** Data format for response. */
|
|
671
|
-
alt?:
|
|
765
|
+
alt?: 'json' | 'media' | 'proto';
|
|
672
766
|
/** JSONP */
|
|
673
767
|
callback?: string;
|
|
674
768
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -695,11 +789,11 @@ declare namespace gapi.client {
|
|
|
695
789
|
patch(
|
|
696
790
|
request: {
|
|
697
791
|
/** V1 error format. */
|
|
698
|
-
'$.xgafv'?:
|
|
792
|
+
'$.xgafv'?: '1' | '2';
|
|
699
793
|
/** OAuth access token. */
|
|
700
794
|
access_token?: string;
|
|
701
795
|
/** Data format for response. */
|
|
702
|
-
alt?:
|
|
796
|
+
alt?: 'json' | 'media' | 'proto';
|
|
703
797
|
/** JSONP */
|
|
704
798
|
callback?: string;
|
|
705
799
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -726,11 +820,11 @@ declare namespace gapi.client {
|
|
|
726
820
|
/** Start a ScanRun according to the given ScanConfig. */
|
|
727
821
|
start(request: {
|
|
728
822
|
/** V1 error format. */
|
|
729
|
-
'$.xgafv'?:
|
|
823
|
+
'$.xgafv'?: '1' | '2';
|
|
730
824
|
/** OAuth access token. */
|
|
731
825
|
access_token?: string;
|
|
732
826
|
/** Data format for response. */
|
|
733
|
-
alt?:
|
|
827
|
+
alt?: 'json' | 'media' | 'proto';
|
|
734
828
|
/** JSONP */
|
|
735
829
|
callback?: string;
|
|
736
830
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -755,11 +849,11 @@ declare namespace gapi.client {
|
|
|
755
849
|
start(
|
|
756
850
|
request: {
|
|
757
851
|
/** V1 error format. */
|
|
758
|
-
'$.xgafv'?:
|
|
852
|
+
'$.xgafv'?: '1' | '2';
|
|
759
853
|
/** OAuth access token. */
|
|
760
854
|
access_token?: string;
|
|
761
855
|
/** Data format for response. */
|
|
762
|
-
alt?:
|
|
856
|
+
alt?: 'json' | 'media' | 'proto';
|
|
763
857
|
/** JSONP */
|
|
764
858
|
callback?: string;
|
|
765
859
|
/** Selector specifying which fields to include in a partial response. */
|