@maxim_mazurok/gapi.client.websecurityscanner-v1beta 0.1.20251207 → 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 +123 -45
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -77,7 +77,12 @@ declare namespace gapi.client {
|
|
|
77
77
|
/** The URL containing human-readable payload that user can leverage to reproduce the vulnerability. */
|
|
78
78
|
reproductionUrl?: string;
|
|
79
79
|
/** The severity level of the reported vulnerability. */
|
|
80
|
-
severity?:
|
|
80
|
+
severity?:
|
|
81
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
82
|
+
| 'CRITICAL'
|
|
83
|
+
| 'HIGH'
|
|
84
|
+
| 'MEDIUM'
|
|
85
|
+
| 'LOW';
|
|
81
86
|
/** The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns. */
|
|
82
87
|
trackingId?: string;
|
|
83
88
|
/** 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
|
/** Latest ScanRun if available. */
|
|
@@ -179,7 +187,7 @@ declare namespace gapi.client {
|
|
|
179
187
|
/** The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system. */
|
|
180
188
|
name?: string;
|
|
181
189
|
/** The risk level selected for the scan */
|
|
182
|
-
riskLevel?:
|
|
190
|
+
riskLevel?: 'RISK_LEVEL_UNSPECIFIED' | 'NORMAL' | 'LOW';
|
|
183
191
|
/** The schedule of the ScanConfig. */
|
|
184
192
|
schedule?: Schedule;
|
|
185
193
|
/** Required. The starting URLs from which the scanner finds site pages. */
|
|
@@ -187,13 +195,65 @@ declare namespace gapi.client {
|
|
|
187
195
|
/** Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses. */
|
|
188
196
|
staticIpScan?: boolean;
|
|
189
197
|
/** Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default. */
|
|
190
|
-
targetPlatforms?:
|
|
198
|
+
targetPlatforms?:
|
|
199
|
+
| 'TARGET_PLATFORM_UNSPECIFIED'
|
|
200
|
+
| 'APP_ENGINE'
|
|
201
|
+
| 'COMPUTE'
|
|
202
|
+
| 'CLOUD_RUN'
|
|
203
|
+
| 'CLOUD_FUNCTIONS'[];
|
|
191
204
|
/** The user agent used during scanning. */
|
|
192
|
-
userAgent?:
|
|
205
|
+
userAgent?:
|
|
206
|
+
| 'USER_AGENT_UNSPECIFIED'
|
|
207
|
+
| 'CHROME_LINUX'
|
|
208
|
+
| 'CHROME_ANDROID'
|
|
209
|
+
| 'SAFARI_IPHONE';
|
|
193
210
|
}
|
|
194
211
|
interface ScanConfigError {
|
|
195
212
|
/** Indicates the reason code for a configuration failure. */
|
|
196
|
-
code?:
|
|
213
|
+
code?:
|
|
214
|
+
| 'CODE_UNSPECIFIED'
|
|
215
|
+
| 'OK'
|
|
216
|
+
| 'INTERNAL_ERROR'
|
|
217
|
+
| 'APPENGINE_API_BACKEND_ERROR'
|
|
218
|
+
| 'APPENGINE_API_NOT_ACCESSIBLE'
|
|
219
|
+
| 'APPENGINE_DEFAULT_HOST_MISSING'
|
|
220
|
+
| 'CANNOT_USE_GOOGLE_COM_ACCOUNT'
|
|
221
|
+
| 'CANNOT_USE_OWNER_ACCOUNT'
|
|
222
|
+
| 'COMPUTE_API_BACKEND_ERROR'
|
|
223
|
+
| 'COMPUTE_API_NOT_ACCESSIBLE'
|
|
224
|
+
| 'CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT'
|
|
225
|
+
| 'CUSTOM_LOGIN_URL_MALFORMED'
|
|
226
|
+
| 'CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS'
|
|
227
|
+
| 'CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS'
|
|
228
|
+
| 'CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS'
|
|
229
|
+
| 'CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS'
|
|
230
|
+
| 'DUPLICATE_SCAN_NAME'
|
|
231
|
+
| 'INVALID_FIELD_VALUE'
|
|
232
|
+
| 'FAILED_TO_AUTHENTICATE_TO_TARGET'
|
|
233
|
+
| 'FINDING_TYPE_UNSPECIFIED'
|
|
234
|
+
| 'FORBIDDEN_TO_SCAN_COMPUTE'
|
|
235
|
+
| 'FORBIDDEN_UPDATE_TO_MANAGED_SCAN'
|
|
236
|
+
| 'MALFORMED_FILTER'
|
|
237
|
+
| 'MALFORMED_RESOURCE_NAME'
|
|
238
|
+
| 'PROJECT_INACTIVE'
|
|
239
|
+
| 'REQUIRED_FIELD'
|
|
240
|
+
| 'RESOURCE_NAME_INCONSISTENT'
|
|
241
|
+
| 'SCAN_ALREADY_RUNNING'
|
|
242
|
+
| 'SCAN_NOT_RUNNING'
|
|
243
|
+
| 'SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT'
|
|
244
|
+
| 'SEED_URL_MALFORMED'
|
|
245
|
+
| 'SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS'
|
|
246
|
+
| 'SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS'
|
|
247
|
+
| 'SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS'
|
|
248
|
+
| 'SEED_URL_HAS_UNRESERVED_IP_ADDRESS'
|
|
249
|
+
| 'SERVICE_ACCOUNT_NOT_CONFIGURED'
|
|
250
|
+
| 'TOO_MANY_SCANS'
|
|
251
|
+
| 'UNABLE_TO_RESOLVE_PROJECT_INFO'
|
|
252
|
+
| 'UNSUPPORTED_BLACKLIST_PATTERN_FORMAT'
|
|
253
|
+
| 'UNSUPPORTED_FILTER'
|
|
254
|
+
| 'UNSUPPORTED_FINDING_TYPE'
|
|
255
|
+
| 'UNSUPPORTED_URL_SCHEME'
|
|
256
|
+
| 'CLOUD_ASSET_INVENTORY_ASSET_NOT_FOUND';
|
|
197
257
|
/** 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. */
|
|
198
258
|
fieldName?: string;
|
|
199
259
|
}
|
|
@@ -203,7 +263,11 @@ declare namespace gapi.client {
|
|
|
203
263
|
/** If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available. */
|
|
204
264
|
errorTrace?: ScanRunErrorTrace;
|
|
205
265
|
/** The execution state of the ScanRun. */
|
|
206
|
-
executionState?:
|
|
266
|
+
executionState?:
|
|
267
|
+
| 'EXECUTION_STATE_UNSPECIFIED'
|
|
268
|
+
| 'QUEUED'
|
|
269
|
+
| 'SCANNING'
|
|
270
|
+
| 'FINISHED';
|
|
207
271
|
/** Whether the scan run has found any vulnerabilities. */
|
|
208
272
|
hasVulnerabilities?: boolean;
|
|
209
273
|
/** 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. */
|
|
@@ -211,7 +275,7 @@ declare namespace gapi.client {
|
|
|
211
275
|
/** 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. */
|
|
212
276
|
progressPercent?: number;
|
|
213
277
|
/** The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED". */
|
|
214
|
-
resultState?:
|
|
278
|
+
resultState?: 'RESULT_STATE_UNSPECIFIED' | 'SUCCESS' | 'ERROR' | 'KILLED';
|
|
215
279
|
/** The time at which the ScanRun started. */
|
|
216
280
|
startTime?: string;
|
|
217
281
|
/** 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. */
|
|
@@ -223,7 +287,15 @@ declare namespace gapi.client {
|
|
|
223
287
|
}
|
|
224
288
|
interface ScanRunErrorTrace {
|
|
225
289
|
/** Indicates the error reason code. */
|
|
226
|
-
code?:
|
|
290
|
+
code?:
|
|
291
|
+
| 'CODE_UNSPECIFIED'
|
|
292
|
+
| 'INTERNAL_ERROR'
|
|
293
|
+
| 'SCAN_CONFIG_ISSUE'
|
|
294
|
+
| 'AUTHENTICATION_CONFIG_ISSUE'
|
|
295
|
+
| 'TIMED_OUT_WHILE_SCANNING'
|
|
296
|
+
| 'TOO_MANY_REDIRECTS'
|
|
297
|
+
| 'TOO_MANY_HTTP_ERRORS'
|
|
298
|
+
| 'STARTING_URLS_CRAWL_HTTP_ERRORS';
|
|
227
299
|
/** 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. */
|
|
228
300
|
mostCommonHttpErrorCode?: number;
|
|
229
301
|
/** 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. */
|
|
@@ -231,7 +303,13 @@ declare namespace gapi.client {
|
|
|
231
303
|
}
|
|
232
304
|
interface ScanRunWarningTrace {
|
|
233
305
|
/** Indicates the warning code. */
|
|
234
|
-
code?:
|
|
306
|
+
code?:
|
|
307
|
+
| 'CODE_UNSPECIFIED'
|
|
308
|
+
| 'INSUFFICIENT_CRAWL_RESULTS'
|
|
309
|
+
| 'TOO_MANY_CRAWL_RESULTS'
|
|
310
|
+
| 'TOO_MANY_FUZZ_TASKS'
|
|
311
|
+
| 'BLOCKED_BY_IAP'
|
|
312
|
+
| 'NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN';
|
|
235
313
|
}
|
|
236
314
|
interface Schedule {
|
|
237
315
|
/** Required. The duration of time between executions in days. */
|
|
@@ -265,7 +343,7 @@ declare namespace gapi.client {
|
|
|
265
343
|
}
|
|
266
344
|
interface Xxe {
|
|
267
345
|
/** Location within the request where the payload was placed. */
|
|
268
|
-
payloadLocation?:
|
|
346
|
+
payloadLocation?: 'LOCATION_UNSPECIFIED' | 'COMPLETE_REQUEST_BODY';
|
|
269
347
|
/** The XML string that triggered the XXE vulnerability. Non-payload values might be redacted. */
|
|
270
348
|
payloadValue?: string;
|
|
271
349
|
}
|
|
@@ -273,11 +351,11 @@ declare namespace gapi.client {
|
|
|
273
351
|
/** List CrawledUrls under a given ScanRun. */
|
|
274
352
|
list(request?: {
|
|
275
353
|
/** V1 error format. */
|
|
276
|
-
'$.xgafv'?:
|
|
354
|
+
'$.xgafv'?: '1' | '2';
|
|
277
355
|
/** OAuth access token. */
|
|
278
356
|
access_token?: string;
|
|
279
357
|
/** Data format for response. */
|
|
280
|
-
alt?:
|
|
358
|
+
alt?: 'json' | 'media' | 'proto';
|
|
281
359
|
/** JSONP */
|
|
282
360
|
callback?: string;
|
|
283
361
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -306,11 +384,11 @@ declare namespace gapi.client {
|
|
|
306
384
|
/** Gets a Finding. */
|
|
307
385
|
get(request?: {
|
|
308
386
|
/** V1 error format. */
|
|
309
|
-
'$.xgafv'?:
|
|
387
|
+
'$.xgafv'?: '1' | '2';
|
|
310
388
|
/** OAuth access token. */
|
|
311
389
|
access_token?: string;
|
|
312
390
|
/** Data format for response. */
|
|
313
|
-
alt?:
|
|
391
|
+
alt?: 'json' | 'media' | 'proto';
|
|
314
392
|
/** JSONP */
|
|
315
393
|
callback?: string;
|
|
316
394
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -333,11 +411,11 @@ declare namespace gapi.client {
|
|
|
333
411
|
/** List Findings under a given ScanRun. */
|
|
334
412
|
list(request?: {
|
|
335
413
|
/** V1 error format. */
|
|
336
|
-
'$.xgafv'?:
|
|
414
|
+
'$.xgafv'?: '1' | '2';
|
|
337
415
|
/** OAuth access token. */
|
|
338
416
|
access_token?: string;
|
|
339
417
|
/** Data format for response. */
|
|
340
|
-
alt?:
|
|
418
|
+
alt?: 'json' | 'media' | 'proto';
|
|
341
419
|
/** JSONP */
|
|
342
420
|
callback?: string;
|
|
343
421
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -368,11 +446,11 @@ declare namespace gapi.client {
|
|
|
368
446
|
/** List all FindingTypeStats under a given ScanRun. */
|
|
369
447
|
list(request?: {
|
|
370
448
|
/** V1 error format. */
|
|
371
|
-
'$.xgafv'?:
|
|
449
|
+
'$.xgafv'?: '1' | '2';
|
|
372
450
|
/** OAuth access token. */
|
|
373
451
|
access_token?: string;
|
|
374
452
|
/** Data format for response. */
|
|
375
|
-
alt?:
|
|
453
|
+
alt?: 'json' | 'media' | 'proto';
|
|
376
454
|
/** JSONP */
|
|
377
455
|
callback?: string;
|
|
378
456
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -397,11 +475,11 @@ declare namespace gapi.client {
|
|
|
397
475
|
/** Gets a ScanRun. */
|
|
398
476
|
get(request?: {
|
|
399
477
|
/** V1 error format. */
|
|
400
|
-
'$.xgafv'?:
|
|
478
|
+
'$.xgafv'?: '1' | '2';
|
|
401
479
|
/** OAuth access token. */
|
|
402
480
|
access_token?: string;
|
|
403
481
|
/** Data format for response. */
|
|
404
|
-
alt?:
|
|
482
|
+
alt?: 'json' | 'media' | 'proto';
|
|
405
483
|
/** JSONP */
|
|
406
484
|
callback?: string;
|
|
407
485
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -424,11 +502,11 @@ declare namespace gapi.client {
|
|
|
424
502
|
/** Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time. */
|
|
425
503
|
list(request?: {
|
|
426
504
|
/** V1 error format. */
|
|
427
|
-
'$.xgafv'?:
|
|
505
|
+
'$.xgafv'?: '1' | '2';
|
|
428
506
|
/** OAuth access token. */
|
|
429
507
|
access_token?: string;
|
|
430
508
|
/** Data format for response. */
|
|
431
|
-
alt?:
|
|
509
|
+
alt?: 'json' | 'media' | 'proto';
|
|
432
510
|
/** JSONP */
|
|
433
511
|
callback?: string;
|
|
434
512
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -455,11 +533,11 @@ declare namespace gapi.client {
|
|
|
455
533
|
/** Stops a ScanRun. The stopped ScanRun is returned. */
|
|
456
534
|
stop(request: {
|
|
457
535
|
/** V1 error format. */
|
|
458
|
-
'$.xgafv'?:
|
|
536
|
+
'$.xgafv'?: '1' | '2';
|
|
459
537
|
/** OAuth access token. */
|
|
460
538
|
access_token?: string;
|
|
461
539
|
/** Data format for response. */
|
|
462
|
-
alt?:
|
|
540
|
+
alt?: 'json' | 'media' | 'proto';
|
|
463
541
|
/** JSONP */
|
|
464
542
|
callback?: string;
|
|
465
543
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -484,11 +562,11 @@ declare namespace gapi.client {
|
|
|
484
562
|
stop(
|
|
485
563
|
request: {
|
|
486
564
|
/** V1 error format. */
|
|
487
|
-
'$.xgafv'?:
|
|
565
|
+
'$.xgafv'?: '1' | '2';
|
|
488
566
|
/** OAuth access token. */
|
|
489
567
|
access_token?: string;
|
|
490
568
|
/** Data format for response. */
|
|
491
|
-
alt?:
|
|
569
|
+
alt?: 'json' | 'media' | 'proto';
|
|
492
570
|
/** JSONP */
|
|
493
571
|
callback?: string;
|
|
494
572
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -518,11 +596,11 @@ declare namespace gapi.client {
|
|
|
518
596
|
/** Creates a new ScanConfig. */
|
|
519
597
|
create(request: {
|
|
520
598
|
/** V1 error format. */
|
|
521
|
-
'$.xgafv'?:
|
|
599
|
+
'$.xgafv'?: '1' | '2';
|
|
522
600
|
/** OAuth access token. */
|
|
523
601
|
access_token?: string;
|
|
524
602
|
/** Data format for response. */
|
|
525
|
-
alt?:
|
|
603
|
+
alt?: 'json' | 'media' | 'proto';
|
|
526
604
|
/** JSONP */
|
|
527
605
|
callback?: string;
|
|
528
606
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -547,11 +625,11 @@ declare namespace gapi.client {
|
|
|
547
625
|
create(
|
|
548
626
|
request: {
|
|
549
627
|
/** V1 error format. */
|
|
550
|
-
'$.xgafv'?:
|
|
628
|
+
'$.xgafv'?: '1' | '2';
|
|
551
629
|
/** OAuth access token. */
|
|
552
630
|
access_token?: string;
|
|
553
631
|
/** Data format for response. */
|
|
554
|
-
alt?:
|
|
632
|
+
alt?: 'json' | 'media' | 'proto';
|
|
555
633
|
/** JSONP */
|
|
556
634
|
callback?: string;
|
|
557
635
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -576,11 +654,11 @@ declare namespace gapi.client {
|
|
|
576
654
|
/** Deletes an existing ScanConfig and its child resources. */
|
|
577
655
|
delete(request?: {
|
|
578
656
|
/** V1 error format. */
|
|
579
|
-
'$.xgafv'?:
|
|
657
|
+
'$.xgafv'?: '1' | '2';
|
|
580
658
|
/** OAuth access token. */
|
|
581
659
|
access_token?: string;
|
|
582
660
|
/** Data format for response. */
|
|
583
|
-
alt?:
|
|
661
|
+
alt?: 'json' | 'media' | 'proto';
|
|
584
662
|
/** JSONP */
|
|
585
663
|
callback?: string;
|
|
586
664
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -603,11 +681,11 @@ declare namespace gapi.client {
|
|
|
603
681
|
/** Gets a ScanConfig. */
|
|
604
682
|
get(request?: {
|
|
605
683
|
/** V1 error format. */
|
|
606
|
-
'$.xgafv'?:
|
|
684
|
+
'$.xgafv'?: '1' | '2';
|
|
607
685
|
/** OAuth access token. */
|
|
608
686
|
access_token?: string;
|
|
609
687
|
/** Data format for response. */
|
|
610
|
-
alt?:
|
|
688
|
+
alt?: 'json' | 'media' | 'proto';
|
|
611
689
|
/** JSONP */
|
|
612
690
|
callback?: string;
|
|
613
691
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -630,11 +708,11 @@ declare namespace gapi.client {
|
|
|
630
708
|
/** Lists ScanConfigs under a given project. */
|
|
631
709
|
list(request?: {
|
|
632
710
|
/** V1 error format. */
|
|
633
|
-
'$.xgafv'?:
|
|
711
|
+
'$.xgafv'?: '1' | '2';
|
|
634
712
|
/** OAuth access token. */
|
|
635
713
|
access_token?: string;
|
|
636
714
|
/** Data format for response. */
|
|
637
|
-
alt?:
|
|
715
|
+
alt?: 'json' | 'media' | 'proto';
|
|
638
716
|
/** JSONP */
|
|
639
717
|
callback?: string;
|
|
640
718
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -661,11 +739,11 @@ declare namespace gapi.client {
|
|
|
661
739
|
/** Updates a ScanConfig. This method support partial update of a ScanConfig. */
|
|
662
740
|
patch(request: {
|
|
663
741
|
/** V1 error format. */
|
|
664
|
-
'$.xgafv'?:
|
|
742
|
+
'$.xgafv'?: '1' | '2';
|
|
665
743
|
/** OAuth access token. */
|
|
666
744
|
access_token?: string;
|
|
667
745
|
/** Data format for response. */
|
|
668
|
-
alt?:
|
|
746
|
+
alt?: 'json' | 'media' | 'proto';
|
|
669
747
|
/** JSONP */
|
|
670
748
|
callback?: string;
|
|
671
749
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -692,11 +770,11 @@ declare namespace gapi.client {
|
|
|
692
770
|
patch(
|
|
693
771
|
request: {
|
|
694
772
|
/** V1 error format. */
|
|
695
|
-
'$.xgafv'?:
|
|
773
|
+
'$.xgafv'?: '1' | '2';
|
|
696
774
|
/** OAuth access token. */
|
|
697
775
|
access_token?: string;
|
|
698
776
|
/** Data format for response. */
|
|
699
|
-
alt?:
|
|
777
|
+
alt?: 'json' | 'media' | 'proto';
|
|
700
778
|
/** JSONP */
|
|
701
779
|
callback?: string;
|
|
702
780
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -723,11 +801,11 @@ declare namespace gapi.client {
|
|
|
723
801
|
/** Start a ScanRun according to the given ScanConfig. */
|
|
724
802
|
start(request: {
|
|
725
803
|
/** V1 error format. */
|
|
726
|
-
'$.xgafv'?:
|
|
804
|
+
'$.xgafv'?: '1' | '2';
|
|
727
805
|
/** OAuth access token. */
|
|
728
806
|
access_token?: string;
|
|
729
807
|
/** Data format for response. */
|
|
730
|
-
alt?:
|
|
808
|
+
alt?: 'json' | 'media' | 'proto';
|
|
731
809
|
/** JSONP */
|
|
732
810
|
callback?: string;
|
|
733
811
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -752,11 +830,11 @@ declare namespace gapi.client {
|
|
|
752
830
|
start(
|
|
753
831
|
request: {
|
|
754
832
|
/** V1 error format. */
|
|
755
|
-
'$.xgafv'?:
|
|
833
|
+
'$.xgafv'?: '1' | '2';
|
|
756
834
|
/** OAuth access token. */
|
|
757
835
|
access_token?: string;
|
|
758
836
|
/** Data format for response. */
|
|
759
|
-
alt?:
|
|
837
|
+
alt?: 'json' | 'media' | 'proto';
|
|
760
838
|
/** JSONP */
|
|
761
839
|
callback?: string;
|
|
762
840
|
/** Selector specifying which fields to include in a partial response. */
|