Skip to content

Commit 77e47a7

Browse files
feat: Automated regeneration of NetworkServices client (googleapis#12911)
Auto-created at 2025-02-02 13:10:35 +0000 using the toys pull request generator.
1 parent 00c9703 commit 77e47a7

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

clients/network_services/lib/google_api/network_services/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.NetworkServices.V1 do
2020
API client metadata for GoogleApi.NetworkServices.V1.
2121
"""
2222

23-
@discovery_revision "20250120"
23+
@discovery_revision "20250127"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/network_services/lib/google_api/network_services/v1/model/grpc_route.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.NetworkServices.V1.Model.GrpcRoute do
2323
2424
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The timestamp when the resource was created.
2525
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. A free-text description of the resource. Max length 1024 characters.
26-
* `etag` (*type:* `String.t`, *default:* `nil`) - Optional. Output only. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
26+
* `etag` (*type:* `String.t`, *default:* `nil`) - Optional. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
2727
* `gateways` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Gateways defines a list of gateways this GrpcRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`
2828
* `hostnames` (*type:* `list(String.t)`, *default:* `nil`) - Required. Service hostnames with an optional port for which this route describes traffic. Format: [:] Hostname is the fully qualified domain name of a network host. This matches the RFC 1123 definition of a hostname with 2 notable exceptions: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (`*.`). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g. `foo.example.com`) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. `*.example.com`). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateway must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames `*.foo.bar.com` and `*.bar.com` to be associated with the same route, it is not possible to associate two routes both with `*.bar.com` or both with `bar.com`. If a port is specified, then gRPC clients must use the channel URI with the port to match this rule (i.e. "xds:///service:123"), otherwise they must supply the URI without a port (i.e. "xds:///service").
2929
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Set of label tags associated with the GrpcRoute resource.

clients/network_services/lib/google_api/network_services/v1/model/http_route.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.NetworkServices.V1.Model.HttpRoute do
2323
2424
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The timestamp when the resource was created.
2525
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. A free-text description of the resource. Max length 1024 characters.
26-
* `etag` (*type:* `String.t`, *default:* `nil`) - Optional. Output only. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
26+
* `etag` (*type:* `String.t`, *default:* `nil`) - Optional. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
2727
* `gateways` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`
2828
* `hostnames` (*type:* `list(String.t)`, *default:* `nil`) - Required. Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (`*.`). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g. `foo.example.com`) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. `*.example.com`). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames `*.foo.bar.com` and `*.bar.com` to be associated with the same Mesh (or Gateways under the same scope), it is not possible to associate two routes both with `*.bar.com` or both with `bar.com`.
2929
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Set of label tags associated with the HttpRoute resource.

clients/network_services/lib/google_api/network_services/v1/model/tcp_route.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.NetworkServices.V1.Model.TcpRoute do
2323
2424
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The timestamp when the resource was created.
2525
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. A free-text description of the resource. Max length 1024 characters.
26-
* `etag` (*type:* `String.t`, *default:* `nil`) - Optional. Output only. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
26+
* `etag` (*type:* `String.t`, *default:* `nil`) - Optional. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
2727
* `gateways` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Gateways defines a list of gateways this TcpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`
2828
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Set of label tags associated with the TcpRoute resource.
2929
* `meshes` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Meshes defines a list of meshes this TcpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR

clients/network_services/lib/google_api/network_services/v1/model/tls_route.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.NetworkServices.V1.Model.TlsRoute do
2323
2424
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The timestamp when the resource was created.
2525
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. A free-text description of the resource. Max length 1024 characters.
26-
* `etag` (*type:* `String.t`, *default:* `nil`) - Optional. Output only. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
26+
* `etag` (*type:* `String.t`, *default:* `nil`) - Optional. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
2727
* `gateways` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`
2828
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Set of label tags associated with the TlsRoute resource.
2929
* `meshes` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR

clients/network_services/lib/google_api/network_services/v1/model/tls_route_route_match.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.NetworkServices.V1.Model.TlsRouteRouteMatch do
1919
@moduledoc """
20-
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.
20+
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for evaluation.
2121
2222
## Attributes
2323

clients/network_services/lib/google_api/network_services/v1/model/tls_route_route_rule.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.NetworkServices.V1.Model.TlsRouteRouteRule do
2222
## Attributes
2323
2424
* `action` (*type:* `GoogleApi.NetworkServices.V1.Model.TlsRouteRouteAction.t`, *default:* `nil`) - Required. The detailed rule defining how to route matched traffic.
25-
* `matches` (*type:* `list(GoogleApi.NetworkServices.V1.Model.TlsRouteRouteMatch.t)`, *default:* `nil`) - Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
25+
* `matches` (*type:* `list(GoogleApi.NetworkServices.V1.Model.TlsRouteRouteMatch.t)`, *default:* `nil`) - Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. Atleast one RouteMatch must be supplied.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

0 commit comments

Comments
 (0)