Skip to content

Commit 08c6b8f

Browse files
yoshi-automationsofisl
authored andcommitted
feat(networkservices): update the API
#### networkservices:v1beta1 The following keys were added: - schemas.Gateway.properties.routingMode.description - schemas.Gateway.properties.routingMode.enum - schemas.Gateway.properties.routingMode.enumDescriptions - schemas.Gateway.properties.routingMode.type The following keys were changed: - schemas.GrpcRouteRetryPolicy.description #### networkservices:v1 The following keys were added: - schemas.Gateway.properties.routingMode.description - schemas.Gateway.properties.routingMode.enum - schemas.Gateway.properties.routingMode.enumDescriptions - schemas.Gateway.properties.routingMode.type The following keys were changed: - schemas.GrpcRouteRetryPolicy.description
1 parent 3c4d5be commit 08c6b8f

File tree

4 files changed

+38
-6
lines changed

4 files changed

+38
-6
lines changed

discovery/networkservices-v1.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2408,7 +2408,7 @@
24082408
}
24092409
}
24102410
},
2411-
"revision": "20240721",
2411+
"revision": "20240818",
24122412
"rootUrl": "https://networkservices.googleapis.com/",
24132413
"schemas": {
24142414
"AuditConfig": {
@@ -2814,6 +2814,18 @@
28142814
},
28152815
"type": "array"
28162816
},
2817+
"routingMode": {
2818+
"description": "Optional. The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.",
2819+
"enum": [
2820+
"EXPLICIT_ROUTING_MODE",
2821+
"NEXT_HOP_ROUTING_MODE"
2822+
],
2823+
"enumDescriptions": [
2824+
"The routing mode is explicit; clients are configured to send traffic through the gateway. This is the default routing mode.",
2825+
"The routing mode is next-hop. Clients are unaware of the gateway, and a route (advanced route or other route type) can be configured to direct traffic from client to gateway. The gateway then acts as a next-hop to the destination."
2826+
],
2827+
"type": "string"
2828+
},
28172829
"scope": {
28182830
"description": "Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.",
28192831
"type": "string"
@@ -3049,7 +3061,7 @@
30493061
"type": "object"
30503062
},
30513063
"GrpcRouteRetryPolicy": {
3052-
"description": "The specifications for retries.",
3064+
"description": "The specifications for retries. Specifies one or more conditions for which this retry rule applies. Valid values are:",
30533065
"id": "GrpcRouteRetryPolicy",
30543066
"properties": {
30553067
"numRetries": {

discovery/networkservices-v1beta1.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2317,7 +2317,7 @@
23172317
}
23182318
}
23192319
},
2320-
"revision": "20240721",
2320+
"revision": "20240818",
23212321
"rootUrl": "https://networkservices.googleapis.com/",
23222322
"schemas": {
23232323
"AuditConfig": {
@@ -2772,6 +2772,18 @@
27722772
},
27732773
"type": "array"
27742774
},
2775+
"routingMode": {
2776+
"description": "Optional. The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.",
2777+
"enum": [
2778+
"EXPLICIT_ROUTING_MODE",
2779+
"NEXT_HOP_ROUTING_MODE"
2780+
],
2781+
"enumDescriptions": [
2782+
"The routing mode is explicit; clients are configured to send traffic through the gateway. This is the default routing mode.",
2783+
"The routing mode is next-hop. Clients are unaware of the gateway, and a route (advanced route or other route type) can be configured to direct traffic from client to gateway. The gateway then acts as a next-hop to the destination."
2784+
],
2785+
"type": "string"
2786+
},
27752787
"scope": {
27762788
"description": "Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.",
27772789
"type": "string"
@@ -3007,7 +3019,7 @@
30073019
"type": "object"
30083020
},
30093021
"GrpcRouteRetryPolicy": {
3010-
"description": "The specifications for retries.",
3022+
"description": "The specifications for retries. Specifies one or more conditions for which this retry rule applies. Valid values are:",
30113023
"id": "GrpcRouteRetryPolicy",
30123024
"properties": {
30133025
"numRetries": {

src/apis/networkservices/v1.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,10 @@ export namespace networkservices_v1 {
387387
* Required. One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6 and support multiple ports.
388388
*/
389389
ports?: number[] | null;
390+
/**
391+
* Optional. The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
392+
*/
393+
routingMode?: string | null;
390394
/**
391395
* Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
392396
*/
@@ -548,7 +552,7 @@ export namespace networkservices_v1 {
548552
type?: string | null;
549553
}
550554
/**
551-
* The specifications for retries.
555+
* The specifications for retries. Specifies one or more conditions for which this retry rule applies. Valid values are:
552556
*/
553557
export interface Schema$GrpcRouteRetryPolicy {
554558
/**

src/apis/networkservices/v1beta1.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,10 @@ export namespace networkservices_v1beta1 {
418418
* Required. One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6 and support multiple ports.
419419
*/
420420
ports?: number[] | null;
421+
/**
422+
* Optional. The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
423+
*/
424+
routingMode?: string | null;
421425
/**
422426
* Optional. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
423427
*/
@@ -579,7 +583,7 @@ export namespace networkservices_v1beta1 {
579583
type?: string | null;
580584
}
581585
/**
582-
* The specifications for retries.
586+
* The specifications for retries. Specifies one or more conditions for which this retry rule applies. Valid values are:
583587
*/
584588
export interface Schema$GrpcRouteRetryPolicy {
585589
/**

0 commit comments

Comments
 (0)