Skip to content

Commit a9a45c4

Browse files
feat(all): auto-regenerate discovery clients (#2309)
1 parent 8c26aa7 commit a9a45c4

File tree

6 files changed

+463
-29
lines changed

6 files changed

+463
-29
lines changed

gkehub/v1alpha/gkehub-api.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,7 @@
20982098
}
20992099
}
21002100
},
2101-
"revision": "20231201",
2101+
"revision": "20231206",
21022102
"rootUrl": "https://gkehub.googleapis.com/",
21032103
"schemas": {
21042104
"AnthosObservabilityFeatureSpec": {
@@ -5632,7 +5632,8 @@
56325632
"type": "string"
56335633
},
56345634
"podAntiAffinity": {
5635-
"description": "Pod anti-affinity enablement.",
5635+
"deprecated": true,
5636+
"description": "Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.",
56365637
"type": "boolean"
56375638
},
56385639
"podTolerations": {

gkehub/v1alpha/gkehub-gen.go

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

networkservices/v1/networkservices-api.json

+87-1
Original file line numberDiff line numberDiff line change
@@ -2148,7 +2148,7 @@
21482148
}
21492149
}
21502150
},
2151-
"revision": "20231129",
2151+
"revision": "20231211",
21522152
"rootUrl": "https://networkservices.googleapis.com/",
21532153
"schemas": {
21542154
"AuditConfig": {
@@ -2406,6 +2406,20 @@
24062406
"description": "Optional. A free-text description of the resource. Max length 1024 characters.",
24072407
"type": "string"
24082408
},
2409+
"envoyHeaders": {
2410+
"description": "Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers may still be injected. By default, envoy will not insert any debug headers.",
2411+
"enum": [
2412+
"ENVOY_HEADERS_UNSPECIFIED",
2413+
"NONE",
2414+
"DEBUG_HEADERS"
2415+
],
2416+
"enumDescriptions": [
2417+
"Defaults to NONE.",
2418+
"Suppress envoy debug headers.",
2419+
"Envoy will insert default internal debug headers into upstream requests: x-envoy-attempt-count x-envoy-is-timeout-retry x-envoy-expected-rq-timeout-ms x-envoy-original-path x-envoy-upstream-stream-duration-ms"
2420+
],
2421+
"type": "string"
2422+
},
24092423
"gatewaySecurityPolicy": {
24102424
"description": "Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security policy to inbound (VM to Proxy) initiated connections. For example: `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`. This policy is specific to gateways of type 'SECURE_WEB_GATEWAY'.",
24112425
"type": "string"
@@ -2715,6 +2729,11 @@
27152729
"$ref": "GrpcRouteFaultInjectionPolicy",
27162730
"description": "Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy"
27172731
},
2732+
"idleTimeout": {
2733+
"description": "Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, the default idle timeout is 1 hour. If set to 0s, the timeout will be disabled.",
2734+
"format": "google-duration",
2735+
"type": "string"
2736+
},
27182737
"retryPolicy": {
27192738
"$ref": "GrpcRouteRetryPolicy",
27202739
"description": "Optional. Specifies the retry policy associated with this route."
@@ -2904,6 +2923,14 @@
29042923
"description": "Specifications of a destination to which the request should be routed to.",
29052924
"id": "HttpRouteDestination",
29062925
"properties": {
2926+
"requestHeaderModifier": {
2927+
"$ref": "HttpRouteHeaderModifier",
2928+
"description": "Optional. The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration."
2929+
},
2930+
"responseHeaderModifier": {
2931+
"$ref": "HttpRouteHeaderModifier",
2932+
"description": "Optional. The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration."
2933+
},
29072934
"serviceName": {
29082935
"description": "The URL of a BackendService to route traffic to.",
29092936
"type": "string"
@@ -3049,6 +3076,27 @@
30493076
},
30503077
"type": "object"
30513078
},
3079+
"HttpRouteHttpDirectResponse": {
3080+
"description": "Static HTTP response object to be returned.",
3081+
"id": "HttpRouteHttpDirectResponse",
3082+
"properties": {
3083+
"bytesBody": {
3084+
"description": "Optional. Response body as bytes. Maximum body size is 4096B.",
3085+
"format": "byte",
3086+
"type": "string"
3087+
},
3088+
"status": {
3089+
"description": "Required. Status to return as part of HTTP Response. Must be a positive integer.",
3090+
"format": "int32",
3091+
"type": "integer"
3092+
},
3093+
"stringBody": {
3094+
"description": "Optional. Response body as a string. Maximum body length is 1024 characters.",
3095+
"type": "string"
3096+
}
3097+
},
3098+
"type": "object"
3099+
},
30523100
"HttpRouteQueryParameterMatch": {
30533101
"description": "Specifications to match a query parameter in the request.",
30543102
"id": "HttpRouteQueryParameterMatch",
@@ -3131,6 +3179,11 @@
31313179
"destination": {
31323180
"$ref": "HttpRouteDestination",
31333181
"description": "The destination the requests will be mirrored to. The weight of the destination will be ignored."
3182+
},
3183+
"mirrorPercent": {
3184+
"description": "Optional. The percentage of requests to get mirrored to the desired destination.",
3185+
"format": "float",
3186+
"type": "number"
31343187
}
31353188
},
31363189
"type": "object"
@@ -3174,10 +3227,19 @@
31743227
},
31753228
"type": "array"
31763229
},
3230+
"directResponse": {
3231+
"$ref": "HttpRouteHttpDirectResponse",
3232+
"description": "Optional. Static HTTP Response object to be returned regardless of the request."
3233+
},
31773234
"faultInjectionPolicy": {
31783235
"$ref": "HttpRouteFaultInjectionPolicy",
31793236
"description": "The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy"
31803237
},
3238+
"idleTimeout": {
3239+
"description": "Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, the default idle timeout is 1 hour. If set to 0s, the timeout will be disabled.",
3240+
"format": "google-duration",
3241+
"type": "string"
3242+
},
31813243
"redirect": {
31823244
"$ref": "HttpRouteRedirect",
31833245
"description": "If set, the request is directed as configured by this field."
@@ -3531,6 +3593,20 @@
35313593
"description": "Optional. A free-text description of the resource. Max length 1024 characters.",
35323594
"type": "string"
35333595
},
3596+
"envoyHeaders": {
3597+
"description": "Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers may still be injected. By default, envoy will not insert any debug headers.",
3598+
"enum": [
3599+
"ENVOY_HEADERS_UNSPECIFIED",
3600+
"NONE",
3601+
"DEBUG_HEADERS"
3602+
],
3603+
"enumDescriptions": [
3604+
"Defaults to NONE.",
3605+
"Suppress envoy debug headers.",
3606+
"Envoy will insert default internal debug headers into upstream requests: x-envoy-attempt-count x-envoy-is-timeout-retry x-envoy-expected-rq-timeout-ms x-envoy-original-path x-envoy-upstream-stream-duration-ms"
3607+
],
3608+
"type": "string"
3609+
},
35343610
"interceptionPort": {
35353611
"description": "Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen on the specified port of localhost (127.0.0.1) address. The SIDECAR proxy will expect all traffic to be redirected to this port regardless of its actual ip:port destination. If unset, a port '15001' is used as the interception port. This is applicable only for sidecar proxy deployments.",
35363612
"format": "int32",
@@ -3828,6 +3904,11 @@
38283904
},
38293905
"type": "array"
38303906
},
3907+
"idleTimeout": {
3908+
"description": "Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, the default idle timeout is 30 seconds. If set to 0s, the timeout will be disabled.",
3909+
"format": "google-duration",
3910+
"type": "string"
3911+
},
38313912
"originalDestination": {
38323913
"description": "Optional. If true, Router will use the destination IP and port of the original connection as the destination of the request. Default is false. Only one of route destinations or original destination can be set.",
38333914
"type": "boolean"
@@ -3982,6 +4063,11 @@
39824063
"$ref": "TlsRouteRouteDestination"
39834064
},
39844065
"type": "array"
4066+
},
4067+
"idleTimeout": {
4068+
"description": "Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, the default idle timeout is 1 hour. If set to 0s, the timeout will be disabled.",
4069+
"format": "google-duration",
4070+
"type": "string"
39854071
}
39864072
},
39874073
"type": "object"

0 commit comments

Comments
 (0)