Skip to content

Commit 1d4c410

Browse files
fix(websecurityscanner): update the API
1 parent 9d0a851 commit 1d4c410

File tree

3 files changed

+39
-78
lines changed

3 files changed

+39
-78
lines changed

src/apis/websecurityscanner/v1.ts

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,8 +1588,7 @@ export namespace websecurityscanner_v1 {
15881588
}
15891589
}
15901590

1591-
export interface Params$Resource$Projects$Scanconfigs$Create
1592-
extends StandardParameters {
1591+
export interface Params$Resource$Projects$Scanconfigs$Create extends StandardParameters {
15931592
/**
15941593
* Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId\}'.
15951594
*/
@@ -1600,22 +1599,19 @@ export namespace websecurityscanner_v1 {
16001599
*/
16011600
requestBody?: Schema$ScanConfig;
16021601
}
1603-
export interface Params$Resource$Projects$Scanconfigs$Delete
1604-
extends StandardParameters {
1602+
export interface Params$Resource$Projects$Scanconfigs$Delete extends StandardParameters {
16051603
/**
16061604
* Required. The resource name of the ScanConfig to be deleted. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}'.
16071605
*/
16081606
name?: string;
16091607
}
1610-
export interface Params$Resource$Projects$Scanconfigs$Get
1611-
extends StandardParameters {
1608+
export interface Params$Resource$Projects$Scanconfigs$Get extends StandardParameters {
16121609
/**
16131610
* Required. The resource name of the ScanConfig to be returned. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}'.
16141611
*/
16151612
name?: string;
16161613
}
1617-
export interface Params$Resource$Projects$Scanconfigs$List
1618-
extends StandardParameters {
1614+
export interface Params$Resource$Projects$Scanconfigs$List extends StandardParameters {
16191615
/**
16201616
* 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.
16211617
*/
@@ -1629,8 +1625,7 @@ export namespace websecurityscanner_v1 {
16291625
*/
16301626
parent?: string;
16311627
}
1632-
export interface Params$Resource$Projects$Scanconfigs$Patch
1633-
extends StandardParameters {
1628+
export interface Params$Resource$Projects$Scanconfigs$Patch extends StandardParameters {
16341629
/**
16351630
* 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.
16361631
*/
@@ -1645,8 +1640,7 @@ export namespace websecurityscanner_v1 {
16451640
*/
16461641
requestBody?: Schema$ScanConfig;
16471642
}
1648-
export interface Params$Resource$Projects$Scanconfigs$Start
1649-
extends StandardParameters {
1643+
export interface Params$Resource$Projects$Scanconfigs$Start extends StandardParameters {
16501644
/**
16511645
* Required. The resource name of the ScanConfig to be used. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}'.
16521646
*/
@@ -2119,15 +2113,13 @@ export namespace websecurityscanner_v1 {
21192113
}
21202114
}
21212115

2122-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Get
2123-
extends StandardParameters {
2116+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Get extends StandardParameters {
21242117
/**
21252118
* Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}/scanRuns/{scanRunId\}'.
21262119
*/
21272120
name?: string;
21282121
}
2129-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$List
2130-
extends StandardParameters {
2122+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$List extends StandardParameters {
21312123
/**
21322124
* 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.
21332125
*/
@@ -2141,8 +2133,7 @@ export namespace websecurityscanner_v1 {
21412133
*/
21422134
parent?: string;
21432135
}
2144-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Stop
2145-
extends StandardParameters {
2136+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Stop extends StandardParameters {
21462137
/**
21472138
* Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}/scanRuns/{scanRunId\}'.
21482139
*/
@@ -2309,8 +2300,7 @@ export namespace websecurityscanner_v1 {
23092300
}
23102301
}
23112302

2312-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List
2313-
extends StandardParameters {
2303+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List extends StandardParameters {
23142304
/**
23152305
* 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.
23162306
*/
@@ -2636,15 +2626,13 @@ export namespace websecurityscanner_v1 {
26362626
}
26372627
}
26382628

2639-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get
2640-
extends StandardParameters {
2629+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get extends StandardParameters {
26412630
/**
26422631
* Required. The resource name of the Finding to be returned. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}/scanRuns/{scanRunId\}/findings/{findingId\}'.
26432632
*/
26442633
name?: string;
26452634
}
2646-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List
2647-
extends StandardParameters {
2635+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List extends StandardParameters {
26482636
/**
26492637
* The filter expression. The expression must be in the format: . Supported field: 'finding_type'. Supported operator: '='.
26502638
*/
@@ -2819,8 +2807,7 @@ export namespace websecurityscanner_v1 {
28192807
}
28202808
}
28212809

2822-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List
2823-
extends StandardParameters {
2810+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List extends StandardParameters {
28242811
/**
28252812
* Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId\}/scanConfigs/{scanConfigId\}/scanRuns/{scanRunId\}'.
28262813
*/

src/apis/websecurityscanner/v1alpha.ts

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,8 +1432,7 @@ export namespace websecurityscanner_v1alpha {
14321432
}
14331433
}
14341434

1435-
export interface Params$Resource$Projects$Scanconfigs$Create
1436-
extends StandardParameters {
1435+
export interface Params$Resource$Projects$Scanconfigs$Create extends StandardParameters {
14371436
/**
14381437
* Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId\}'.
14391438
*/
@@ -1444,22 +1443,19 @@ export namespace websecurityscanner_v1alpha {
14441443
*/
14451444
requestBody?: Schema$ScanConfig;
14461445
}
1447-
export interface Params$Resource$Projects$Scanconfigs$Delete
1448-
extends StandardParameters {
1446+
export interface Params$Resource$Projects$Scanconfigs$Delete extends StandardParameters {
14491447
/**
14501448
* Required. The resource name of the ScanConfig to be deleted. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}'.
14511449
*/
14521450
name?: string;
14531451
}
1454-
export interface Params$Resource$Projects$Scanconfigs$Get
1455-
extends StandardParameters {
1452+
export interface Params$Resource$Projects$Scanconfigs$Get extends StandardParameters {
14561453
/**
14571454
* Required. The resource name of the ScanConfig to be returned. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}'.
14581455
*/
14591456
name?: string;
14601457
}
1461-
export interface Params$Resource$Projects$Scanconfigs$List
1462-
extends StandardParameters {
1458+
export interface Params$Resource$Projects$Scanconfigs$List extends StandardParameters {
14631459
/**
14641460
* 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.
14651461
*/
@@ -1473,8 +1469,7 @@ export namespace websecurityscanner_v1alpha {
14731469
*/
14741470
parent?: string;
14751471
}
1476-
export interface Params$Resource$Projects$Scanconfigs$Patch
1477-
extends StandardParameters {
1472+
export interface Params$Resource$Projects$Scanconfigs$Patch extends StandardParameters {
14781473
/**
14791474
* The resource name of the ScanConfig. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}'. The ScanConfig IDs are generated by the system.
14801475
*/
@@ -1489,8 +1484,7 @@ export namespace websecurityscanner_v1alpha {
14891484
*/
14901485
requestBody?: Schema$ScanConfig;
14911486
}
1492-
export interface Params$Resource$Projects$Scanconfigs$Start
1493-
extends StandardParameters {
1487+
export interface Params$Resource$Projects$Scanconfigs$Start extends StandardParameters {
14941488
/**
14951489
* Required. The resource name of the ScanConfig to be used. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}'.
14961490
*/
@@ -1962,15 +1956,13 @@ export namespace websecurityscanner_v1alpha {
19621956
}
19631957
}
19641958

1965-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Get
1966-
extends StandardParameters {
1959+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Get extends StandardParameters {
19671960
/**
19681961
* Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}/scanRuns/{scanRunId\}'.
19691962
*/
19701963
name?: string;
19711964
}
1972-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$List
1973-
extends StandardParameters {
1965+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$List extends StandardParameters {
19741966
/**
19751967
* 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.
19761968
*/
@@ -1984,8 +1976,7 @@ export namespace websecurityscanner_v1alpha {
19841976
*/
19851977
parent?: string;
19861978
}
1987-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Stop
1988-
extends StandardParameters {
1979+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Stop extends StandardParameters {
19891980
/**
19901981
* Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}/scanRuns/{scanRunId\}'.
19911982
*/
@@ -2152,8 +2143,7 @@ export namespace websecurityscanner_v1alpha {
21522143
}
21532144
}
21542145

2155-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List
2156-
extends StandardParameters {
2146+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List extends StandardParameters {
21572147
/**
21582148
* 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.
21592149
*/
@@ -2476,15 +2466,13 @@ export namespace websecurityscanner_v1alpha {
24762466
}
24772467
}
24782468

2479-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get
2480-
extends StandardParameters {
2469+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get extends StandardParameters {
24812470
/**
24822471
* Required. The resource name of the Finding to be returned. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}/scanRuns/{scanRunId\}/findings/{findingId\}'.
24832472
*/
24842473
name?: string;
24852474
}
2486-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List
2487-
extends StandardParameters {
2475+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List extends StandardParameters {
24882476
/**
24892477
* Required. The filter expression. The expression must be in the format: . Supported field: 'finding_type'. Supported operator: '='.
24902478
*/
@@ -2659,8 +2647,7 @@ export namespace websecurityscanner_v1alpha {
26592647
}
26602648
}
26612649

2662-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List
2663-
extends StandardParameters {
2650+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List extends StandardParameters {
26642651
/**
26652652
* Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId\}/scanConfigs/{scanConfigId\}/scanRuns/{scanRunId\}'.
26662653
*/

src/apis/websecurityscanner/v1beta.ts

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,8 +1586,7 @@ export namespace websecurityscanner_v1beta {
15861586
}
15871587
}
15881588

1589-
export interface Params$Resource$Projects$Scanconfigs$Create
1590-
extends StandardParameters {
1589+
export interface Params$Resource$Projects$Scanconfigs$Create extends StandardParameters {
15911590
/**
15921591
* Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId\}'.
15931592
*/
@@ -1598,22 +1597,19 @@ export namespace websecurityscanner_v1beta {
15981597
*/
15991598
requestBody?: Schema$ScanConfig;
16001599
}
1601-
export interface Params$Resource$Projects$Scanconfigs$Delete
1602-
extends StandardParameters {
1600+
export interface Params$Resource$Projects$Scanconfigs$Delete extends StandardParameters {
16031601
/**
16041602
* Required. The resource name of the ScanConfig to be deleted. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}'.
16051603
*/
16061604
name?: string;
16071605
}
1608-
export interface Params$Resource$Projects$Scanconfigs$Get
1609-
extends StandardParameters {
1606+
export interface Params$Resource$Projects$Scanconfigs$Get extends StandardParameters {
16101607
/**
16111608
* Required. The resource name of the ScanConfig to be returned. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}'.
16121609
*/
16131610
name?: string;
16141611
}
1615-
export interface Params$Resource$Projects$Scanconfigs$List
1616-
extends StandardParameters {
1612+
export interface Params$Resource$Projects$Scanconfigs$List extends StandardParameters {
16171613
/**
16181614
* 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.
16191615
*/
@@ -1627,8 +1623,7 @@ export namespace websecurityscanner_v1beta {
16271623
*/
16281624
parent?: string;
16291625
}
1630-
export interface Params$Resource$Projects$Scanconfigs$Patch
1631-
extends StandardParameters {
1626+
export interface Params$Resource$Projects$Scanconfigs$Patch extends StandardParameters {
16321627
/**
16331628
* The resource name of the ScanConfig. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}'. The ScanConfig IDs are generated by the system.
16341629
*/
@@ -1643,8 +1638,7 @@ export namespace websecurityscanner_v1beta {
16431638
*/
16441639
requestBody?: Schema$ScanConfig;
16451640
}
1646-
export interface Params$Resource$Projects$Scanconfigs$Start
1647-
extends StandardParameters {
1641+
export interface Params$Resource$Projects$Scanconfigs$Start extends StandardParameters {
16481642
/**
16491643
* Required. The resource name of the ScanConfig to be used. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}'.
16501644
*/
@@ -2120,15 +2114,13 @@ export namespace websecurityscanner_v1beta {
21202114
}
21212115
}
21222116

2123-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Get
2124-
extends StandardParameters {
2117+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Get extends StandardParameters {
21252118
/**
21262119
* Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}/scanRuns/{scanRunId\}'.
21272120
*/
21282121
name?: string;
21292122
}
2130-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$List
2131-
extends StandardParameters {
2123+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$List extends StandardParameters {
21322124
/**
21332125
* 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.
21342126
*/
@@ -2142,8 +2134,7 @@ export namespace websecurityscanner_v1beta {
21422134
*/
21432135
parent?: string;
21442136
}
2145-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Stop
2146-
extends StandardParameters {
2137+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Stop extends StandardParameters {
21472138
/**
21482139
* Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}/scanRuns/{scanRunId\}'.
21492140
*/
@@ -2310,8 +2301,7 @@ export namespace websecurityscanner_v1beta {
23102301
}
23112302
}
23122303

2313-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List
2314-
extends StandardParameters {
2304+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Crawledurls$List extends StandardParameters {
23152305
/**
23162306
* 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.
23172307
*/
@@ -2637,15 +2627,13 @@ export namespace websecurityscanner_v1beta {
26372627
}
26382628
}
26392629

2640-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get
2641-
extends StandardParameters {
2630+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findings$Get extends StandardParameters {
26422631
/**
26432632
* Required. The resource name of the Finding to be returned. The name follows the format of 'projects/{projectId\}/scanConfigs/{scanConfigId\}/scanRuns/{scanRunId\}/findings/{findingId\}'.
26442633
*/
26452634
name?: string;
26462635
}
2647-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List
2648-
extends StandardParameters {
2636+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findings$List extends StandardParameters {
26492637
/**
26502638
* Required. The filter expression. The expression must be in the format: . Supported field: 'finding_type'. Supported operator: '='.
26512639
*/
@@ -2820,8 +2808,7 @@ export namespace websecurityscanner_v1beta {
28202808
}
28212809
}
28222810

2823-
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List
2824-
extends StandardParameters {
2811+
export interface Params$Resource$Projects$Scanconfigs$Scanruns$Findingtypestats$List extends StandardParameters {
28252812
/**
28262813
* Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId\}/scanConfigs/{scanConfigId\}/scanRuns/{scanRunId\}'.
28272814
*/

0 commit comments

Comments
 (0)