@maxim_mazurok/gapi.client.websecurityscanner-v1beta 0.0.20230424 → 0.0.20230503

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +633 -317
  2. package/package.json +1 -1
  3. package/tests.ts +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=v1beta
12
- // Revision: 20230424
12
+ // Revision: 20230503
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,240 +24,323 @@ declare namespace gapi.client {
24
24
  namespace websecurityscanner {
25
25
  interface Authentication {
26
26
  /** Authentication using a custom account. */
27
- customAccount?: CustomAccount;
27
+ customAccount?:
28
+ CustomAccount;
28
29
  /** Authentication using a Google account. */
29
- googleAccount?: GoogleAccount;
30
+ googleAccount?:
31
+ GoogleAccount;
30
32
  /** Authentication using Identity-Aware-Proxy (IAP). */
31
- iapCredential?: IapCredential;
33
+ iapCredential?:
34
+ IapCredential;
32
35
  }
33
36
  interface CrawledUrl {
34
37
  /** The body of the request that was used to visit the URL. */
35
- body?: string;
38
+ body?:
39
+ string;
36
40
  /** The http method of the request that was used to visit the URL, in uppercase. */
37
- httpMethod?: string;
41
+ httpMethod?:
42
+ string;
38
43
  /** The URL that was crawled. */
39
- url?: string;
44
+ url?:
45
+ string;
40
46
  }
41
47
  interface CustomAccount {
42
48
  /** Required. The login form URL of the website. */
43
- loginUrl?: string;
49
+ loginUrl?:
50
+ string;
44
51
  /** Required. Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs. */
45
- password?: string;
52
+ password?:
53
+ string;
46
54
  /** Required. The user name of the custom account. */
47
- username?: string;
55
+ username?:
56
+ string;
48
57
  }
49
58
  // tslint:disable-next-line:no-empty-interface
50
59
  interface Empty {
51
60
  }
52
61
  interface Finding {
53
62
  /** The body of the request that triggered the vulnerability. */
54
- body?: string;
63
+ body?:
64
+ string;
55
65
  /** The description of the vulnerability. */
56
- description?: string;
66
+ description?:
67
+ string;
57
68
  /** The URL where the browser lands when the vulnerability is detected. */
58
- finalUrl?: string;
69
+ finalUrl?:
70
+ string;
59
71
  /**
60
72
  * The type of the Finding. Detailed and up-to-date information on findings can be found here:
61
73
  * https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner
62
74
  */
63
- findingType?: string;
75
+ findingType?:
76
+ string;
64
77
  /** An addon containing information reported for a vulnerability with an HTML form, if any. */
65
- form?: Form;
78
+ form?:
79
+ Form;
66
80
  /** If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported. */
67
- frameUrl?: string;
81
+ frameUrl?:
82
+ string;
68
83
  /** The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability. */
69
- fuzzedUrl?: string;
84
+ fuzzedUrl?:
85
+ string;
70
86
  /** The http method of the request that triggered the vulnerability, in uppercase. */
71
- httpMethod?: string;
87
+ httpMethod?:
88
+ string;
72
89
  /**
73
90
  * The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are
74
91
  * generated by the system.
75
92
  */
76
- name?: string;
93
+ name?:
94
+ string;
77
95
  /** An addon containing information about outdated libraries. */
78
- outdatedLibrary?: OutdatedLibrary;
96
+ outdatedLibrary?:
97
+ OutdatedLibrary;
79
98
  /** The URL containing human-readable payload that user can leverage to reproduce the vulnerability. */
80
- reproductionUrl?: string;
99
+ reproductionUrl?:
100
+ string;
81
101
  /** The severity level of the reported vulnerability. */
82
- severity?: string;
102
+ severity?:
103
+ string;
83
104
  /** The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns. */
84
- trackingId?: string;
105
+ trackingId?:
106
+ string;
85
107
  /** An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc. */
86
- violatingResource?: ViolatingResource;
108
+ violatingResource?:
109
+ ViolatingResource;
87
110
  /** An addon containing information about vulnerable or missing HTTP headers. */
88
- vulnerableHeaders?: VulnerableHeaders;
111
+ vulnerableHeaders?:
112
+ VulnerableHeaders;
89
113
  /** An addon containing information about request parameters which were found to be vulnerable. */
90
- vulnerableParameters?: VulnerableParameters;
114
+ vulnerableParameters?:
115
+ VulnerableParameters;
91
116
  /** An addon containing information reported for an XSS, if any. */
92
- xss?: Xss;
117
+ xss?:
118
+ Xss;
93
119
  /** An addon containing information reported for an XXE, if any. */
94
- xxe?: Xxe;
120
+ xxe?:
121
+ Xxe;
95
122
  }
96
123
  interface FindingTypeStats {
97
124
  /** The count of findings belonging to this finding type. */
98
- findingCount?: number;
125
+ findingCount?:
126
+ number;
99
127
  /** The finding type associated with the stats. */
100
- findingType?: string;
128
+ findingType?:
129
+ string;
101
130
  }
102
131
  interface Form {
103
132
  /** ! The URI where to send the form when it's submitted. */
104
- actionUri?: string;
133
+ actionUri?:
134
+ string;
105
135
  /** ! The names of form fields related to the vulnerability. */
106
- fields?: string[];
136
+ fields?:
137
+ string[];
107
138
  }
108
139
  interface GoogleAccount {
109
140
  /** Required. Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs. */
110
- password?: string;
141
+ password?:
142
+ string;
111
143
  /** Required. The user name of the Google account. */
112
- username?: string;
144
+ username?:
145
+ string;
113
146
  }
114
147
  interface Header {
115
148
  /** Header name. */
116
- name?: string;
149
+ name?:
150
+ string;
117
151
  /** Header value. */
118
- value?: string;
152
+ value?:
153
+ string;
119
154
  }
120
155
  interface IapCredential {
121
156
  /** Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies. */
122
- iapTestServiceAccountInfo?: IapTestServiceAccountInfo;
157
+ iapTestServiceAccountInfo?:
158
+ IapTestServiceAccountInfo;
123
159
  }
124
160
  interface IapTestServiceAccountInfo {
125
161
  /** Required. Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP). */
126
- targetAudienceClientId?: string;
162
+ targetAudienceClientId?:
163
+ string;
127
164
  }
128
165
  interface ListCrawledUrlsResponse {
129
166
  /** The list of CrawledUrls returned. */
130
- crawledUrls?: CrawledUrl[];
167
+ crawledUrls?:
168
+ CrawledUrl[];
131
169
  /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
132
- nextPageToken?: string;
170
+ nextPageToken?:
171
+ string;
133
172
  }
134
173
  interface ListFindingsResponse {
135
174
  /** The list of Findings returned. */
136
- findings?: Finding[];
175
+ findings?:
176
+ Finding[];
137
177
  /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
138
- nextPageToken?: string;
178
+ nextPageToken?:
179
+ string;
139
180
  }
140
181
  interface ListFindingTypeStatsResponse {
141
182
  /** The list of FindingTypeStats returned. */
142
- findingTypeStats?: FindingTypeStats[];
183
+ findingTypeStats?:
184
+ FindingTypeStats[];
143
185
  }
144
186
  interface ListScanConfigsResponse {
145
187
  /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
146
- nextPageToken?: string;
188
+ nextPageToken?:
189
+ string;
147
190
  /** The list of ScanConfigs returned. */
148
- scanConfigs?: ScanConfig[];
191
+ scanConfigs?:
192
+ ScanConfig[];
149
193
  }
150
194
  interface ListScanRunsResponse {
151
195
  /** Token to retrieve the next page of results, or empty if there are no more results in the list. */
152
- nextPageToken?: string;
196
+ nextPageToken?:
197
+ string;
153
198
  /** The list of ScanRuns returned. */
154
- scanRuns?: ScanRun[];
199
+ scanRuns?:
200
+ ScanRun[];
155
201
  }
156
202
  interface OutdatedLibrary {
157
203
  /** URLs to learn more information about the vulnerabilities in the library. */
158
- learnMoreUrls?: string[];
204
+ learnMoreUrls?:
205
+ string[];
159
206
  /** The name of the outdated library. */
160
- libraryName?: string;
207
+ libraryName?:
208
+ string;
161
209
  /** The version number. */
162
- version?: string;
210
+ version?:
211
+ string;
163
212
  }
164
213
  interface ScanConfig {
165
214
  /** The authentication configuration. If specified, service will use the authentication configuration during scanning. */
166
- authentication?: Authentication;
215
+ authentication?:
216
+ Authentication;
167
217
  /** The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls */
168
- blacklistPatterns?: string[];
218
+ blacklistPatterns?:
219
+ string[];
169
220
  /** Required. The user provided display name of the ScanConfig. */
170
- displayName?: string;
221
+ displayName?:
222
+ string;
171
223
  /** Controls export of scan configurations and results to Security Command Center. */
172
- exportToSecurityCommandCenter?: string;
224
+ exportToSecurityCommandCenter?:
225
+ string;
173
226
  /** Whether to keep scanning even if most requests return HTTP error codes. */
174
- ignoreHttpStatusErrors?: boolean;
227
+ ignoreHttpStatusErrors?:
228
+ boolean;
175
229
  /** Latest ScanRun if available. */
176
- latestRun?: ScanRun;
230
+ latestRun?:
231
+ ScanRun;
177
232
  /** Whether the scan config is managed by Web Security Scanner, output only. */
178
- managedScan?: boolean;
233
+ managedScan?:
234
+ boolean;
179
235
  /**
180
236
  * The maximum QPS during scanning. A valid value ranges from 5 to 20 inclusively. If the field is unspecified or its value is set 0, server will default to 15. Other values outside of
181
237
  * [5, 20] range will be rejected with INVALID_ARGUMENT error.
182
238
  */
183
- maxQps?: number;
239
+ maxQps?:
240
+ number;
184
241
  /** The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system. */
185
- name?: string;
242
+ name?:
243
+ string;
186
244
  /** The risk level selected for the scan */
187
- riskLevel?: string;
245
+ riskLevel?:
246
+ string;
188
247
  /** The schedule of the ScanConfig. */
189
- schedule?: Schedule;
248
+ schedule?:
249
+ Schedule;
190
250
  /** Required. The starting URLs from which the scanner finds site pages. */
191
- startingUrls?: string[];
251
+ startingUrls?:
252
+ string[];
192
253
  /** Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses. */
193
- staticIpScan?: boolean;
254
+ staticIpScan?:
255
+ boolean;
194
256
  /** Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default. */
195
- targetPlatforms?: string[];
257
+ targetPlatforms?:
258
+ string[];
196
259
  /** The user agent used during scanning. */
197
- userAgent?: string;
260
+ userAgent?:
261
+ string;
198
262
  }
199
263
  interface ScanConfigError {
200
264
  /** Indicates the reason code for a configuration failure. */
201
- code?: string;
265
+ code?:
266
+ string;
202
267
  /**
203
268
  * 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
204
269
  * value can change in the future.
205
270
  */
206
- fieldName?: string;
271
+ fieldName?:
272
+ string;
207
273
  }
208
274
  interface ScanRun {
209
275
  /** The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user. */
210
- endTime?: string;
276
+ endTime?:
277
+ string;
211
278
  /** If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available. */
212
- errorTrace?: ScanRunErrorTrace;
279
+ errorTrace?:
280
+ ScanRunErrorTrace;
213
281
  /** The execution state of the ScanRun. */
214
- executionState?: string;
282
+ executionState?:
283
+ string;
215
284
  /** Whether the scan run has found any vulnerabilities. */
216
- hasVulnerabilities?: boolean;
285
+ hasVulnerabilities?:
286
+ boolean;
217
287
  /** 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. */
218
- name?: string;
288
+ name?:
289
+ string;
219
290
  /**
220
291
  * 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,
221
292
  * the value is 100.
222
293
  */
223
- progressPercent?: number;
294
+ progressPercent?:
295
+ number;
224
296
  /** The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED". */
225
- resultState?: string;
297
+ resultState?:
298
+ string;
226
299
  /** The time at which the ScanRun started. */
227
- startTime?: string;
300
+ startTime?:
301
+ string;
228
302
  /** 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. */
229
- urlsCrawledCount?: string;
303
+ urlsCrawledCount?:
304
+ string;
230
305
  /**
231
306
  * The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than
232
307
  * the number URLS crawled because typically a crawled URL is tested with multiple test payloads.
233
308
  */
234
- urlsTestedCount?: string;
309
+ urlsTestedCount?:
310
+ string;
235
311
  /** A list of warnings, if such are encountered during this scan run. */
236
- warningTraces?: ScanRunWarningTrace[];
312
+ warningTraces?:
313
+ ScanRunWarningTrace[];
237
314
  }
238
315
  interface ScanRunErrorTrace {
239
316
  /** Indicates the error reason code. */
240
- code?: string;
317
+ code?:
318
+ string;
241
319
  /**
242
320
  * 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
243
321
  * too many NOT_FOUND responses.
244
322
  */
245
- mostCommonHttpErrorCode?: number;
323
+ mostCommonHttpErrorCode?:
324
+ number;
246
325
  /** 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. */
247
- scanConfigError?: ScanConfigError;
326
+ scanConfigError?:
327
+ ScanConfigError;
248
328
  }
249
329
  interface ScanRunWarningTrace {
250
330
  /** Indicates the warning code. */
251
- code?: string;
331
+ code?:
332
+ string;
252
333
  }
253
334
  interface Schedule {
254
335
  /** Required. The duration of time between executions in days. */
255
- intervalDurationDays?: number;
336
+ intervalDurationDays?:
337
+ number;
256
338
  /**
257
339
  * A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means
258
340
  * the scan will be scheduled to start immediately.
259
341
  */
260
- scheduleTime?: string;
342
+ scheduleTime?:
343
+ string;
261
344
  }
262
345
  // tslint:disable-next-line:no-empty-interface
263
346
  interface StartScanRunRequest {
@@ -267,552 +350,785 @@ declare namespace gapi.client {
267
350
  }
268
351
  interface ViolatingResource {
269
352
  /** The MIME type of this resource. */
270
- contentType?: string;
353
+ contentType?:
354
+ string;
271
355
  /** URL of this violating resource. */
272
- resourceUrl?: string;
356
+ resourceUrl?:
357
+ string;
273
358
  }
274
359
  interface VulnerableHeaders {
275
360
  /** List of vulnerable headers. */
276
- headers?: Header[];
361
+ headers?:
362
+ Header[];
277
363
  /** List of missing headers. */
278
- missingHeaders?: Header[];
364
+ missingHeaders?:
365
+ Header[];
279
366
  }
280
367
  interface VulnerableParameters {
281
368
  /** The vulnerable parameter names. */
282
- parameterNames?: string[];
369
+ parameterNames?:
370
+ string[];
283
371
  }
284
372
  interface Xss {
285
373
  /** An error message generated by a javascript breakage. */
286
- errorMessage?: string;
374
+ errorMessage?:
375
+ string;
287
376
  /** Stack traces leading to the point where the XSS occurred. */
288
- stackTraces?: string[];
377
+ stackTraces?:
378
+ string[];
289
379
  }
290
380
  interface Xxe {
291
381
  /** Location within the request where the payload was placed. */
292
- payloadLocation?: string;
382
+ payloadLocation?:
383
+ string;
293
384
  /** The XML string that triggered the XXE vulnerability. Non-payload values might be redacted. */
294
- payloadValue?: string;
385
+ payloadValue?:
386
+ string;
295
387
  }
296
388
  interface CrawledUrlsResource {
297
389
  /** List CrawledUrls under a given ScanRun. */
298
390
  list(request?: {
299
391
  /** V1 error format. */
300
- "$.xgafv"?: string;
392
+ "$.xgafv"?:
393
+ string;
301
394
  /** OAuth access token. */
302
- access_token?: string;
395
+ access_token?:
396
+ string;
303
397
  /** Data format for response. */
304
- alt?: string;
398
+ alt?:
399
+ string;
305
400
  /** JSONP */
306
- callback?: string;
401
+ callback?:
402
+ string;
307
403
  /** Selector specifying which fields to include in a partial response. */
308
- fields?: string;
404
+ fields?:
405
+ string;
309
406
  /** 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. */
310
- key?: string;
407
+ key?:
408
+ string;
311
409
  /** OAuth 2.0 token for the current user. */
312
- oauth_token?: string;
410
+ oauth_token?:
411
+ string;
313
412
  /** The maximum number of CrawledUrls to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value. */
314
- pageSize?: number;
413
+ pageSize?:
414
+ number;
315
415
  /**
316
416
  * A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results
317
417
  * is returned.
318
418
  */
319
- pageToken?: string;
419
+ pageToken?:
420
+ string;
320
421
  /** Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. */
321
- parent: string;
422
+ parent:
423
+ string;
322
424
  /** Returns response with indentations and line breaks. */
323
- prettyPrint?: boolean;
425
+ prettyPrint?:
426
+ boolean;
324
427
  /** 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. */
325
- quotaUser?: string;
428
+ quotaUser?:
429
+ string;
326
430
  /** Upload protocol for media (e.g. "raw", "multipart"). */
327
- upload_protocol?: string;
431
+ upload_protocol?:
432
+ string;
328
433
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
329
- uploadType?: string;
434
+ uploadType?:
435
+ string;
330
436
  }): Request<ListCrawledUrlsResponse>;
331
437
  }
332
438
  interface FindingsResource {
333
439
  /** Gets a Finding. */
334
440
  get(request?: {
335
441
  /** V1 error format. */
336
- "$.xgafv"?: string;
442
+ "$.xgafv"?:
443
+ string;
337
444
  /** OAuth access token. */
338
- access_token?: string;
445
+ access_token?:
446
+ string;
339
447
  /** Data format for response. */
340
- alt?: string;
448
+ alt?:
449
+ string;
341
450
  /** JSONP */
342
- callback?: string;
451
+ callback?:
452
+ string;
343
453
  /** Selector specifying which fields to include in a partial response. */
344
- fields?: string;
454
+ fields?:
455
+ string;
345
456
  /** 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. */
346
- key?: string;
457
+ key?:
458
+ string;
347
459
  /**
348
460
  * Required. The resource name of the Finding to be returned. The name follows the format of
349
461
  * 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'.
350
462
  */
351
- name: string;
463
+ name:
464
+ string;
352
465
  /** OAuth 2.0 token for the current user. */
353
- oauth_token?: string;
466
+ oauth_token?:
467
+ string;
354
468
  /** Returns response with indentations and line breaks. */
355
- prettyPrint?: boolean;
469
+ prettyPrint?:
470
+ boolean;
356
471
  /** 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. */
357
- quotaUser?: string;
472
+ quotaUser?:
473
+ string;
358
474
  /** Upload protocol for media (e.g. "raw", "multipart"). */
359
- upload_protocol?: string;
475
+ upload_protocol?:
476
+ string;
360
477
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
361
- uploadType?: string;
478
+ uploadType?:
479
+ string;
362
480
  }): Request<Finding>;
363
481
  /** List Findings under a given ScanRun. */
364
482
  list(request?: {
365
483
  /** V1 error format. */
366
- "$.xgafv"?: string;
484
+ "$.xgafv"?:
485
+ string;
367
486
  /** OAuth access token. */
368
- access_token?: string;
487
+ access_token?:
488
+ string;
369
489
  /** Data format for response. */
370
- alt?: string;
490
+ alt?:
491
+ string;
371
492
  /** JSONP */
372
- callback?: string;
493
+ callback?:
494
+ string;
373
495
  /** Selector specifying which fields to include in a partial response. */
374
- fields?: string;
496
+ fields?:
497
+ string;
375
498
  /** Required. The filter expression. The expression must be in the format: . Supported field: 'finding_type'. Supported operator: '='. */
376
- filter?: string;
499
+ filter?:
500
+ string;
377
501
  /** 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. */
378
- key?: string;
502
+ key?:
503
+ string;
379
504
  /** OAuth 2.0 token for the current user. */
380
- oauth_token?: string;
505
+ oauth_token?:
506
+ string;
381
507
  /** The maximum number of Findings to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value. */
382
- pageSize?: number;
508
+ pageSize?:
509
+ number;
383
510
  /**
384
511
  * A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results
385
512
  * is returned.
386
513
  */
387
- pageToken?: string;
514
+ pageToken?:
515
+ string;
388
516
  /** Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. */
389
- parent: string;
517
+ parent:
518
+ string;
390
519
  /** Returns response with indentations and line breaks. */
391
- prettyPrint?: boolean;
520
+ prettyPrint?:
521
+ boolean;
392
522
  /** 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. */
393
- quotaUser?: string;
523
+ quotaUser?:
524
+ string;
394
525
  /** Upload protocol for media (e.g. "raw", "multipart"). */
395
- upload_protocol?: string;
526
+ upload_protocol?:
527
+ string;
396
528
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
397
- uploadType?: string;
529
+ uploadType?:
530
+ string;
398
531
  }): Request<ListFindingsResponse>;
399
532
  }
400
533
  interface FindingTypeStatsResource {
401
534
  /** List all FindingTypeStats under a given ScanRun. */
402
535
  list(request?: {
403
536
  /** V1 error format. */
404
- "$.xgafv"?: string;
537
+ "$.xgafv"?:
538
+ string;
405
539
  /** OAuth access token. */
406
- access_token?: string;
540
+ access_token?:
541
+ string;
407
542
  /** Data format for response. */
408
- alt?: string;
543
+ alt?:
544
+ string;
409
545
  /** JSONP */
410
- callback?: string;
546
+ callback?:
547
+ string;
411
548
  /** Selector specifying which fields to include in a partial response. */
412
- fields?: string;
549
+ fields?:
550
+ string;
413
551
  /** 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;
552
+ key?:
553
+ string;
415
554
  /** OAuth 2.0 token for the current user. */
416
- oauth_token?: string;
555
+ oauth_token?:
556
+ string;
417
557
  /** Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. */
418
- parent: string;
558
+ parent:
559
+ string;
419
560
  /** Returns response with indentations and line breaks. */
420
- prettyPrint?: boolean;
561
+ prettyPrint?:
562
+ boolean;
421
563
  /** 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. */
422
- quotaUser?: string;
564
+ quotaUser?:
565
+ string;
423
566
  /** Upload protocol for media (e.g. "raw", "multipart"). */
424
- upload_protocol?: string;
567
+ upload_protocol?:
568
+ string;
425
569
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
426
- uploadType?: string;
570
+ uploadType?:
571
+ string;
427
572
  }): Request<ListFindingTypeStatsResponse>;
428
573
  }
429
574
  interface ScanRunsResource {
430
575
  /** Gets a ScanRun. */
431
576
  get(request?: {
432
577
  /** V1 error format. */
433
- "$.xgafv"?: string;
578
+ "$.xgafv"?:
579
+ string;
434
580
  /** OAuth access token. */
435
- access_token?: string;
581
+ access_token?:
582
+ string;
436
583
  /** Data format for response. */
437
- alt?: string;
584
+ alt?:
585
+ string;
438
586
  /** JSONP */
439
- callback?: string;
587
+ callback?:
588
+ string;
440
589
  /** Selector specifying which fields to include in a partial response. */
441
- fields?: string;
590
+ fields?:
591
+ string;
442
592
  /** 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. */
443
- key?: string;
593
+ key?:
594
+ string;
444
595
  /** Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. */
445
- name: string;
596
+ name:
597
+ string;
446
598
  /** OAuth 2.0 token for the current user. */
447
- oauth_token?: string;
599
+ oauth_token?:
600
+ string;
448
601
  /** Returns response with indentations and line breaks. */
449
- prettyPrint?: boolean;
602
+ prettyPrint?:
603
+ boolean;
450
604
  /** 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. */
451
- quotaUser?: string;
605
+ quotaUser?:
606
+ string;
452
607
  /** Upload protocol for media (e.g. "raw", "multipart"). */
453
- upload_protocol?: string;
608
+ upload_protocol?:
609
+ string;
454
610
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
455
- uploadType?: string;
611
+ uploadType?:
612
+ string;
456
613
  }): Request<ScanRun>;
457
614
  /** Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time. */
458
615
  list(request?: {
459
616
  /** V1 error format. */
460
- "$.xgafv"?: string;
617
+ "$.xgafv"?:
618
+ string;
461
619
  /** OAuth access token. */
462
- access_token?: string;
620
+ access_token?:
621
+ string;
463
622
  /** Data format for response. */
464
- alt?: string;
623
+ alt?:
624
+ string;
465
625
  /** JSONP */
466
- callback?: string;
626
+ callback?:
627
+ string;
467
628
  /** Selector specifying which fields to include in a partial response. */
468
- fields?: string;
629
+ fields?:
630
+ string;
469
631
  /** 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. */
470
- key?: string;
632
+ key?:
633
+ string;
471
634
  /** OAuth 2.0 token for the current user. */
472
- oauth_token?: string;
635
+ oauth_token?:
636
+ string;
473
637
  /** The maximum number of ScanRuns to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value. */
474
- pageSize?: number;
638
+ pageSize?:
639
+ number;
475
640
  /**
476
641
  * A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results
477
642
  * is returned.
478
643
  */
479
- pageToken?: string;
644
+ pageToken?:
645
+ string;
480
646
  /** Required. The parent resource name, which should be a scan resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}'. */
481
- parent: string;
647
+ parent:
648
+ string;
482
649
  /** Returns response with indentations and line breaks. */
483
- prettyPrint?: boolean;
650
+ prettyPrint?:
651
+ boolean;
484
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. */
485
- quotaUser?: string;
653
+ quotaUser?:
654
+ string;
486
655
  /** Upload protocol for media (e.g. "raw", "multipart"). */
487
- upload_protocol?: string;
656
+ upload_protocol?:
657
+ string;
488
658
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
489
- uploadType?: string;
659
+ uploadType?:
660
+ string;
490
661
  }): Request<ListScanRunsResponse>;
491
662
  /** Stops a ScanRun. The stopped ScanRun is returned. */
492
663
  stop(request: {
493
664
  /** V1 error format. */
494
- "$.xgafv"?: string;
665
+ "$.xgafv"?:
666
+ string;
495
667
  /** OAuth access token. */
496
- access_token?: string;
668
+ access_token?:
669
+ string;
497
670
  /** Data format for response. */
498
- alt?: string;
671
+ alt?:
672
+ string;
499
673
  /** JSONP */
500
- callback?: string;
674
+ callback?:
675
+ string;
501
676
  /** Selector specifying which fields to include in a partial response. */
502
- fields?: string;
677
+ fields?:
678
+ string;
503
679
  /** 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. */
504
- key?: string;
680
+ key?:
681
+ string;
505
682
  /** Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. */
506
- name: string;
683
+ name:
684
+ string;
507
685
  /** OAuth 2.0 token for the current user. */
508
- oauth_token?: string;
686
+ oauth_token?:
687
+ string;
509
688
  /** Returns response with indentations and line breaks. */
510
- prettyPrint?: boolean;
689
+ prettyPrint?:
690
+ boolean;
511
691
  /** 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. */
512
- quotaUser?: string;
692
+ quotaUser?:
693
+ string;
513
694
  /** Upload protocol for media (e.g. "raw", "multipart"). */
514
- upload_protocol?: string;
695
+ upload_protocol?:
696
+ string;
515
697
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
516
- uploadType?: string;
698
+ uploadType?:
699
+ string;
517
700
  /** Request body */
518
- resource: StopScanRunRequest;
701
+ resource:
702
+ StopScanRunRequest;
519
703
  }): Request<ScanRun>;
520
704
  stop(request: {
521
705
  /** V1 error format. */
522
- "$.xgafv"?: string;
706
+ "$.xgafv"?:
707
+ string;
523
708
  /** OAuth access token. */
524
- access_token?: string;
709
+ access_token?:
710
+ string;
525
711
  /** Data format for response. */
526
- alt?: string;
712
+ alt?:
713
+ string;
527
714
  /** JSONP */
528
- callback?: string;
715
+ callback?:
716
+ string;
529
717
  /** Selector specifying which fields to include in a partial response. */
530
- fields?: string;
718
+ fields?:
719
+ string;
531
720
  /** 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. */
532
- key?: string;
721
+ key?:
722
+ string;
533
723
  /** Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. */
534
- name: string;
724
+ name:
725
+ string;
535
726
  /** OAuth 2.0 token for the current user. */
536
- oauth_token?: string;
727
+ oauth_token?:
728
+ string;
537
729
  /** Returns response with indentations and line breaks. */
538
- prettyPrint?: boolean;
730
+ prettyPrint?:
731
+ boolean;
539
732
  /** 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. */
540
- quotaUser?: string;
733
+ quotaUser?:
734
+ string;
541
735
  /** Upload protocol for media (e.g. "raw", "multipart"). */
542
- upload_protocol?: string;
736
+ upload_protocol?:
737
+ string;
543
738
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
544
- uploadType?: string;
739
+ uploadType?:
740
+ string;
545
741
  },
546
742
  body: StopScanRunRequest): Request<ScanRun>;
547
- crawledUrls: CrawledUrlsResource;
548
- findings: FindingsResource;
549
- findingTypeStats: FindingTypeStatsResource;
743
+ crawledUrls:
744
+ CrawledUrlsResource;
745
+ findings:
746
+ FindingsResource;
747
+ findingTypeStats:
748
+ FindingTypeStatsResource;
550
749
  }
551
750
  interface ScanConfigsResource {
552
751
  /** Creates a new ScanConfig. */
553
752
  create(request: {
554
753
  /** V1 error format. */
555
- "$.xgafv"?: string;
754
+ "$.xgafv"?:
755
+ string;
556
756
  /** OAuth access token. */
557
- access_token?: string;
757
+ access_token?:
758
+ string;
558
759
  /** Data format for response. */
559
- alt?: string;
760
+ alt?:
761
+ string;
560
762
  /** JSONP */
561
- callback?: string;
763
+ callback?:
764
+ string;
562
765
  /** Selector specifying which fields to include in a partial response. */
563
- fields?: string;
766
+ fields?:
767
+ string;
564
768
  /** 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. */
565
- key?: string;
769
+ key?:
770
+ string;
566
771
  /** OAuth 2.0 token for the current user. */
567
- oauth_token?: string;
772
+ oauth_token?:
773
+ string;
568
774
  /** Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'. */
569
- parent: string;
775
+ parent:
776
+ string;
570
777
  /** Returns response with indentations and line breaks. */
571
- prettyPrint?: boolean;
778
+ prettyPrint?:
779
+ boolean;
572
780
  /** 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. */
573
- quotaUser?: string;
781
+ quotaUser?:
782
+ string;
574
783
  /** Upload protocol for media (e.g. "raw", "multipart"). */
575
- upload_protocol?: string;
784
+ upload_protocol?:
785
+ string;
576
786
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
577
- uploadType?: string;
787
+ uploadType?:
788
+ string;
578
789
  /** Request body */
579
- resource: ScanConfig;
790
+ resource:
791
+ ScanConfig;
580
792
  }): Request<ScanConfig>;
581
793
  create(request: {
582
794
  /** V1 error format. */
583
- "$.xgafv"?: string;
795
+ "$.xgafv"?:
796
+ string;
584
797
  /** OAuth access token. */
585
- access_token?: string;
798
+ access_token?:
799
+ string;
586
800
  /** Data format for response. */
587
- alt?: string;
801
+ alt?:
802
+ string;
588
803
  /** JSONP */
589
- callback?: string;
804
+ callback?:
805
+ string;
590
806
  /** Selector specifying which fields to include in a partial response. */
591
- fields?: string;
807
+ fields?:
808
+ string;
592
809
  /** 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. */
593
- key?: string;
810
+ key?:
811
+ string;
594
812
  /** OAuth 2.0 token for the current user. */
595
- oauth_token?: string;
813
+ oauth_token?:
814
+ string;
596
815
  /** Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'. */
597
- parent: string;
816
+ parent:
817
+ string;
598
818
  /** Returns response with indentations and line breaks. */
599
- prettyPrint?: boolean;
819
+ prettyPrint?:
820
+ boolean;
600
821
  /** 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. */
601
- quotaUser?: string;
822
+ quotaUser?:
823
+ string;
602
824
  /** Upload protocol for media (e.g. "raw", "multipart"). */
603
- upload_protocol?: string;
825
+ upload_protocol?:
826
+ string;
604
827
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
605
- uploadType?: string;
828
+ uploadType?:
829
+ string;
606
830
  },
607
831
  body: ScanConfig): Request<ScanConfig>;
608
832
  /** Deletes an existing ScanConfig and its child resources. */
609
833
  delete(request?: {
610
834
  /** V1 error format. */
611
- "$.xgafv"?: string;
835
+ "$.xgafv"?:
836
+ string;
612
837
  /** OAuth access token. */
613
- access_token?: string;
838
+ access_token?:
839
+ string;
614
840
  /** Data format for response. */
615
- alt?: string;
841
+ alt?:
842
+ string;
616
843
  /** JSONP */
617
- callback?: string;
844
+ callback?:
845
+ string;
618
846
  /** Selector specifying which fields to include in a partial response. */
619
- fields?: string;
847
+ fields?:
848
+ string;
620
849
  /** 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. */
621
- key?: string;
850
+ key?:
851
+ string;
622
852
  /** Required. The resource name of the ScanConfig to be deleted. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. */
623
- name: string;
853
+ name:
854
+ string;
624
855
  /** OAuth 2.0 token for the current user. */
625
- oauth_token?: string;
856
+ oauth_token?:
857
+ string;
626
858
  /** Returns response with indentations and line breaks. */
627
- prettyPrint?: boolean;
859
+ prettyPrint?:
860
+ boolean;
628
861
  /** 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. */
629
- quotaUser?: string;
862
+ quotaUser?:
863
+ string;
630
864
  /** Upload protocol for media (e.g. "raw", "multipart"). */
631
- upload_protocol?: string;
865
+ upload_protocol?:
866
+ string;
632
867
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
633
- uploadType?: string;
868
+ uploadType?:
869
+ string;
634
870
  }): Request<{}>;
635
871
  /** Gets a ScanConfig. */
636
872
  get(request?: {
637
873
  /** V1 error format. */
638
- "$.xgafv"?: string;
874
+ "$.xgafv"?:
875
+ string;
639
876
  /** OAuth access token. */
640
- access_token?: string;
877
+ access_token?:
878
+ string;
641
879
  /** Data format for response. */
642
- alt?: string;
880
+ alt?:
881
+ string;
643
882
  /** JSONP */
644
- callback?: string;
883
+ callback?:
884
+ string;
645
885
  /** Selector specifying which fields to include in a partial response. */
646
- fields?: string;
886
+ fields?:
887
+ string;
647
888
  /** 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. */
648
- key?: string;
889
+ key?:
890
+ string;
649
891
  /** Required. The resource name of the ScanConfig to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. */
650
- name: string;
892
+ name:
893
+ string;
651
894
  /** OAuth 2.0 token for the current user. */
652
- oauth_token?: string;
895
+ oauth_token?:
896
+ string;
653
897
  /** Returns response with indentations and line breaks. */
654
- prettyPrint?: boolean;
898
+ prettyPrint?:
899
+ boolean;
655
900
  /** 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. */
656
- quotaUser?: string;
901
+ quotaUser?:
902
+ string;
657
903
  /** Upload protocol for media (e.g. "raw", "multipart"). */
658
- upload_protocol?: string;
904
+ upload_protocol?:
905
+ string;
659
906
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
660
- uploadType?: string;
907
+ uploadType?:
908
+ string;
661
909
  }): Request<ScanConfig>;
662
910
  /** Lists ScanConfigs under a given project. */
663
911
  list(request?: {
664
912
  /** V1 error format. */
665
- "$.xgafv"?: string;
913
+ "$.xgafv"?:
914
+ string;
666
915
  /** OAuth access token. */
667
- access_token?: string;
916
+ access_token?:
917
+ string;
668
918
  /** Data format for response. */
669
- alt?: string;
919
+ alt?:
920
+ string;
670
921
  /** JSONP */
671
- callback?: string;
922
+ callback?:
923
+ string;
672
924
  /** Selector specifying which fields to include in a partial response. */
673
- fields?: string;
925
+ fields?:
926
+ string;
674
927
  /** 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. */
675
- key?: string;
928
+ key?:
929
+ string;
676
930
  /** OAuth 2.0 token for the current user. */
677
- oauth_token?: string;
931
+ oauth_token?:
932
+ string;
678
933
  /** The maximum number of ScanConfigs to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value. */
679
- pageSize?: number;
934
+ pageSize?:
935
+ number;
680
936
  /**
681
937
  * A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results
682
938
  * is returned.
683
939
  */
684
- pageToken?: string;
940
+ pageToken?:
941
+ string;
685
942
  /** Required. The parent resource name, which should be a project resource name in the format 'projects/{projectId}'. */
686
- parent: string;
943
+ parent:
944
+ string;
687
945
  /** Returns response with indentations and line breaks. */
688
- prettyPrint?: boolean;
946
+ prettyPrint?:
947
+ boolean;
689
948
  /** 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. */
690
- quotaUser?: string;
949
+ quotaUser?:
950
+ string;
691
951
  /** Upload protocol for media (e.g. "raw", "multipart"). */
692
- upload_protocol?: string;
952
+ upload_protocol?:
953
+ string;
693
954
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
694
- uploadType?: string;
955
+ uploadType?:
956
+ string;
695
957
  }): Request<ListScanConfigsResponse>;
696
958
  /** Updates a ScanConfig. This method support partial update of a ScanConfig. */
697
959
  patch(request: {
698
960
  /** V1 error format. */
699
- "$.xgafv"?: string;
961
+ "$.xgafv"?:
962
+ string;
700
963
  /** OAuth access token. */
701
- access_token?: string;
964
+ access_token?:
965
+ string;
702
966
  /** Data format for response. */
703
- alt?: string;
967
+ alt?:
968
+ string;
704
969
  /** JSONP */
705
- callback?: string;
970
+ callback?:
971
+ string;
706
972
  /** Selector specifying which fields to include in a partial response. */
707
- fields?: string;
973
+ fields?:
974
+ string;
708
975
  /** 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. */
709
- key?: string;
976
+ key?:
977
+ string;
710
978
  /** The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system. */
711
- name: string;
979
+ name:
980
+ string;
712
981
  /** OAuth 2.0 token for the current user. */
713
- oauth_token?: string;
982
+ oauth_token?:
983
+ string;
714
984
  /** Returns response with indentations and line breaks. */
715
- prettyPrint?: boolean;
985
+ prettyPrint?:
986
+ boolean;
716
987
  /** 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. */
717
- quotaUser?: string;
988
+ quotaUser?:
989
+ string;
718
990
  /** Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask */
719
- updateMask?: string;
991
+ updateMask?:
992
+ string;
720
993
  /** Upload protocol for media (e.g. "raw", "multipart"). */
721
- upload_protocol?: string;
994
+ upload_protocol?:
995
+ string;
722
996
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
723
- uploadType?: string;
997
+ uploadType?:
998
+ string;
724
999
  /** Request body */
725
- resource: ScanConfig;
1000
+ resource:
1001
+ ScanConfig;
726
1002
  }): Request<ScanConfig>;
727
1003
  patch(request: {
728
1004
  /** V1 error format. */
729
- "$.xgafv"?: string;
1005
+ "$.xgafv"?:
1006
+ string;
730
1007
  /** OAuth access token. */
731
- access_token?: string;
1008
+ access_token?:
1009
+ string;
732
1010
  /** Data format for response. */
733
- alt?: string;
1011
+ alt?:
1012
+ string;
734
1013
  /** JSONP */
735
- callback?: string;
1014
+ callback?:
1015
+ string;
736
1016
  /** Selector specifying which fields to include in a partial response. */
737
- fields?: string;
1017
+ fields?:
1018
+ string;
738
1019
  /** 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. */
739
- key?: string;
1020
+ key?:
1021
+ string;
740
1022
  /** The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system. */
741
- name: string;
1023
+ name:
1024
+ string;
742
1025
  /** OAuth 2.0 token for the current user. */
743
- oauth_token?: string;
1026
+ oauth_token?:
1027
+ string;
744
1028
  /** Returns response with indentations and line breaks. */
745
- prettyPrint?: boolean;
1029
+ prettyPrint?:
1030
+ boolean;
746
1031
  /** 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. */
747
- quotaUser?: string;
1032
+ quotaUser?:
1033
+ string;
748
1034
  /** Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask */
749
- updateMask?: string;
1035
+ updateMask?:
1036
+ string;
750
1037
  /** Upload protocol for media (e.g. "raw", "multipart"). */
751
- upload_protocol?: string;
1038
+ upload_protocol?:
1039
+ string;
752
1040
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
753
- uploadType?: string;
1041
+ uploadType?:
1042
+ string;
754
1043
  },
755
1044
  body: ScanConfig): Request<ScanConfig>;
756
1045
  /** Start a ScanRun according to the given ScanConfig. */
757
1046
  start(request: {
758
1047
  /** V1 error format. */
759
- "$.xgafv"?: string;
1048
+ "$.xgafv"?:
1049
+ string;
760
1050
  /** OAuth access token. */
761
- access_token?: string;
1051
+ access_token?:
1052
+ string;
762
1053
  /** Data format for response. */
763
- alt?: string;
1054
+ alt?:
1055
+ string;
764
1056
  /** JSONP */
765
- callback?: string;
1057
+ callback?:
1058
+ string;
766
1059
  /** Selector specifying which fields to include in a partial response. */
767
- fields?: string;
1060
+ fields?:
1061
+ string;
768
1062
  /** 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. */
769
- key?: string;
1063
+ key?:
1064
+ string;
770
1065
  /** Required. The resource name of the ScanConfig to be used. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. */
771
- name: string;
1066
+ name:
1067
+ string;
772
1068
  /** OAuth 2.0 token for the current user. */
773
- oauth_token?: string;
1069
+ oauth_token?:
1070
+ string;
774
1071
  /** Returns response with indentations and line breaks. */
775
- prettyPrint?: boolean;
1072
+ prettyPrint?:
1073
+ boolean;
776
1074
  /** 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. */
777
- quotaUser?: string;
1075
+ quotaUser?:
1076
+ string;
778
1077
  /** Upload protocol for media (e.g. "raw", "multipart"). */
779
- upload_protocol?: string;
1078
+ upload_protocol?:
1079
+ string;
780
1080
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
781
- uploadType?: string;
1081
+ uploadType?:
1082
+ string;
782
1083
  /** Request body */
783
- resource: StartScanRunRequest;
1084
+ resource:
1085
+ StartScanRunRequest;
784
1086
  }): Request<ScanRun>;
785
1087
  start(request: {
786
1088
  /** V1 error format. */
787
- "$.xgafv"?: string;
1089
+ "$.xgafv"?:
1090
+ string;
788
1091
  /** OAuth access token. */
789
- access_token?: string;
1092
+ access_token?:
1093
+ string;
790
1094
  /** Data format for response. */
791
- alt?: string;
1095
+ alt?:
1096
+ string;
792
1097
  /** JSONP */
793
- callback?: string;
1098
+ callback?:
1099
+ string;
794
1100
  /** Selector specifying which fields to include in a partial response. */
795
- fields?: string;
1101
+ fields?:
1102
+ string;
796
1103
  /** 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. */
797
- key?: string;
1104
+ key?:
1105
+ string;
798
1106
  /** Required. The resource name of the ScanConfig to be used. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. */
799
- name: string;
1107
+ name:
1108
+ string;
800
1109
  /** OAuth 2.0 token for the current user. */
801
- oauth_token?: string;
1110
+ oauth_token?:
1111
+ string;
802
1112
  /** Returns response with indentations and line breaks. */
803
- prettyPrint?: boolean;
1113
+ prettyPrint?:
1114
+ boolean;
804
1115
  /** 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. */
805
- quotaUser?: string;
1116
+ quotaUser?:
1117
+ string;
806
1118
  /** Upload protocol for media (e.g. "raw", "multipart"). */
807
- upload_protocol?: string;
1119
+ upload_protocol?:
1120
+ string;
808
1121
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
809
- uploadType?: string;
1122
+ uploadType?:
1123
+ string;
810
1124
  },
811
1125
  body: StartScanRunRequest): Request<ScanRun>;
812
- scanRuns: ScanRunsResource;
1126
+ scanRuns:
1127
+ ScanRunsResource;
813
1128
  }
814
1129
  interface ProjectsResource {
815
- scanConfigs: ScanConfigsResource;
1130
+ scanConfigs:
1131
+ ScanConfigsResource;
816
1132
  }
817
1133
 
818
1134
  const projects: ProjectsResource;