Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #2309

Merged
merged 1 commit into from
Dec 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions gkehub/v1alpha/gkehub-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2098,7 +2098,7 @@
}
}
},
"revision": "20231201",
"revision": "20231206",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AnthosObservabilityFeatureSpec": {
Expand Down Expand Up @@ -5632,7 +5632,8 @@
"type": "string"
},
"podAntiAffinity": {
"description": "Pod anti-affinity enablement.",
"deprecated": true,
"description": "Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.",
"type": "boolean"
},
"podTolerations": {
Expand Down
3 changes: 2 additions & 1 deletion gkehub/v1alpha/gkehub-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

88 changes: 87 additions & 1 deletion networkservices/v1/networkservices-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2148,7 +2148,7 @@
}
}
},
"revision": "20231129",
"revision": "20231211",
"rootUrl": "https://networkservices.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -2406,6 +2406,20 @@
"description": "Optional. A free-text description of the resource. Max length 1024 characters.",
"type": "string"
},
"envoyHeaders": {
"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.",
"enum": [
"ENVOY_HEADERS_UNSPECIFIED",
"NONE",
"DEBUG_HEADERS"
],
"enumDescriptions": [
"Defaults to NONE.",
"Suppress envoy debug headers.",
"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"
],
"type": "string"
},
"gatewaySecurityPolicy": {
"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'.",
"type": "string"
Expand Down Expand Up @@ -2715,6 +2729,11 @@
"$ref": "GrpcRouteFaultInjectionPolicy",
"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"
},
"idleTimeout": {
"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.",
"format": "google-duration",
"type": "string"
},
"retryPolicy": {
"$ref": "GrpcRouteRetryPolicy",
"description": "Optional. Specifies the retry policy associated with this route."
Expand Down Expand Up @@ -2904,6 +2923,14 @@
"description": "Specifications of a destination to which the request should be routed to.",
"id": "HttpRouteDestination",
"properties": {
"requestHeaderModifier": {
"$ref": "HttpRouteHeaderModifier",
"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."
},
"responseHeaderModifier": {
"$ref": "HttpRouteHeaderModifier",
"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."
},
"serviceName": {
"description": "The URL of a BackendService to route traffic to.",
"type": "string"
Expand Down Expand Up @@ -3049,6 +3076,27 @@
},
"type": "object"
},
"HttpRouteHttpDirectResponse": {
"description": "Static HTTP response object to be returned.",
"id": "HttpRouteHttpDirectResponse",
"properties": {
"bytesBody": {
"description": "Optional. Response body as bytes. Maximum body size is 4096B.",
"format": "byte",
"type": "string"
},
"status": {
"description": "Required. Status to return as part of HTTP Response. Must be a positive integer.",
"format": "int32",
"type": "integer"
},
"stringBody": {
"description": "Optional. Response body as a string. Maximum body length is 1024 characters.",
"type": "string"
}
},
"type": "object"
},
"HttpRouteQueryParameterMatch": {
"description": "Specifications to match a query parameter in the request.",
"id": "HttpRouteQueryParameterMatch",
Expand Down Expand Up @@ -3131,6 +3179,11 @@
"destination": {
"$ref": "HttpRouteDestination",
"description": "The destination the requests will be mirrored to. The weight of the destination will be ignored."
},
"mirrorPercent": {
"description": "Optional. The percentage of requests to get mirrored to the desired destination.",
"format": "float",
"type": "number"
}
},
"type": "object"
Expand Down Expand Up @@ -3174,10 +3227,19 @@
},
"type": "array"
},
"directResponse": {
"$ref": "HttpRouteHttpDirectResponse",
"description": "Optional. Static HTTP Response object to be returned regardless of the request."
},
"faultInjectionPolicy": {
"$ref": "HttpRouteFaultInjectionPolicy",
"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"
},
"idleTimeout": {
"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.",
"format": "google-duration",
"type": "string"
},
"redirect": {
"$ref": "HttpRouteRedirect",
"description": "If set, the request is directed as configured by this field."
Expand Down Expand Up @@ -3531,6 +3593,20 @@
"description": "Optional. A free-text description of the resource. Max length 1024 characters.",
"type": "string"
},
"envoyHeaders": {
"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.",
"enum": [
"ENVOY_HEADERS_UNSPECIFIED",
"NONE",
"DEBUG_HEADERS"
],
"enumDescriptions": [
"Defaults to NONE.",
"Suppress envoy debug headers.",
"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"
],
"type": "string"
},
"interceptionPort": {
"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.",
"format": "int32",
Expand Down Expand Up @@ -3828,6 +3904,11 @@
},
"type": "array"
},
"idleTimeout": {
"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.",
"format": "google-duration",
"type": "string"
},
"originalDestination": {
"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.",
"type": "boolean"
Expand Down Expand Up @@ -3982,6 +4063,11 @@
"$ref": "TlsRouteRouteDestination"
},
"type": "array"
},
"idleTimeout": {
"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.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
Expand Down