Skip to content

Commit a9253cd

Browse files
feat(servicecontrol): update the API
#### servicecontrol:v1 The following keys were added: - schemas.Request.properties.origin.description - schemas.Request.properties.origin.type #### servicecontrol:v2 The following keys were added: - schemas.Request.properties.origin.description - schemas.Request.properties.origin.type
1 parent eb5d9a1 commit a9253cd

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

discovery/servicecontrol-v1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
}
198198
}
199199
},
200-
"revision": "20250117",
200+
"revision": "20250124",
201201
"rootUrl": "https://servicecontrol.googleapis.com/",
202202
"schemas": {
203203
"AllocateInfo": {
@@ -1592,6 +1592,10 @@
15921592
"description": "The HTTP request method, such as `GET`, `POST`.",
15931593
"type": "string"
15941594
},
1595+
"origin": {
1596+
"description": "The values from Origin header from the HTTP request, such as \"https://console.cloud.google.com\". Modern browsers can only have one origin. Special browsers and/or HTTP clients may require multiple origins.",
1597+
"type": "string"
1598+
},
15951599
"path": {
15961600
"description": "The HTTP URL path, excluding the query parameters.",
15971601
"type": "string"

discovery/servicecontrol-v2.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
}
170170
}
171171
},
172-
"revision": "20250103",
172+
"revision": "20250124",
173173
"rootUrl": "https://servicecontrol.googleapis.com/",
174174
"schemas": {
175175
"Api": {
@@ -661,6 +661,10 @@
661661
"description": "The HTTP request method, such as `GET`, `POST`.",
662662
"type": "string"
663663
},
664+
"origin": {
665+
"description": "The values from Origin header from the HTTP request, such as \"https://console.cloud.google.com\". Modern browsers can only have one origin. Special browsers and/or HTTP clients may require multiple origins.",
666+
"type": "string"
667+
},
664668
"path": {
665669
"description": "The HTTP URL path, excluding the query parameters.",
666670
"type": "string"

src/apis/servicecontrol/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,6 +1051,10 @@ export namespace servicecontrol_v1 {
10511051
* The HTTP request method, such as `GET`, `POST`.
10521052
*/
10531053
method?: string | null;
1054+
/**
1055+
* The values from Origin header from the HTTP request, such as "https://console.cloud.google.com". Modern browsers can only have one origin. Special browsers and/or HTTP clients may require multiple origins.
1056+
*/
1057+
origin?: string | null;
10541058
/**
10551059
* The HTTP URL path, excluding the query parameters.
10561060
*/

src/apis/servicecontrol/v2.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,10 @@ export namespace servicecontrol_v2 {
482482
* The HTTP request method, such as `GET`, `POST`.
483483
*/
484484
method?: string | null;
485+
/**
486+
* The values from Origin header from the HTTP request, such as "https://console.cloud.google.com". Modern browsers can only have one origin. Special browsers and/or HTTP clients may require multiple origins.
487+
*/
488+
origin?: string | null;
485489
/**
486490
* The HTTP URL path, excluding the query parameters.
487491
*/

0 commit comments

Comments
 (0)