Skip to content

Commit a5414f2

Browse files
feat: Automated regeneration of NetworkServices client (googleapis#13001)
Auto-created at 2025-02-20 13:15:32 +0000 using the toys pull request generator.
1 parent e3c8fbe commit a5414f2

File tree

6 files changed

+5
-25
lines changed

6 files changed

+5
-25
lines changed

clients/network_services/lib/google_api/network_services/v1/api/projects.ex

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2158,7 +2158,6 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
21582158
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
21592159
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
21602160
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
2161-
* `:etag` (*type:* `String.t`) - 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.
21622161
* `opts` (*type:* `keyword()`) - Call options
21632162
21642163
## Returns
@@ -2193,8 +2192,7 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
21932192
:prettyPrint => :query,
21942193
:quotaUser => :query,
21952194
:uploadType => :query,
2196-
:upload_protocol => :query,
2197-
:etag => :query
2195+
:upload_protocol => :query
21982196
}
21992197

22002198
request =
@@ -2524,7 +2522,6 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
25242522
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
25252523
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
25262524
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
2527-
* `:etag` (*type:* `String.t`) - 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.
25282525
* `opts` (*type:* `keyword()`) - Call options
25292526
25302527
## Returns
@@ -2559,8 +2556,7 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
25592556
:prettyPrint => :query,
25602557
:quotaUser => :query,
25612558
:uploadType => :query,
2562-
:upload_protocol => :query,
2563-
:etag => :query
2559+
:upload_protocol => :query
25642560
}
25652561

25662562
request =
@@ -5090,7 +5086,6 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
50905086
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
50915087
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
50925088
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
5093-
* `:etag` (*type:* `String.t`) - 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.
50945089
* `opts` (*type:* `keyword()`) - Call options
50955090
50965091
## Returns
@@ -5125,8 +5120,7 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
51255120
:prettyPrint => :query,
51265121
:quotaUser => :query,
51275122
:uploadType => :query,
5128-
:upload_protocol => :query,
5129-
:etag => :query
5123+
:upload_protocol => :query
51305124
}
51315125

51325126
request =
@@ -5456,7 +5450,6 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
54565450
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
54575451
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
54585452
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
5459-
* `:etag` (*type:* `String.t`) - 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.
54605453
* `opts` (*type:* `keyword()`) - Call options
54615454
54625455
## Returns
@@ -5491,8 +5484,7 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
54915484
:prettyPrint => :query,
54925485
:quotaUser => :query,
54935486
:uploadType => :query,
5494-
:upload_protocol => :query,
5495-
:etag => :query
5487+
:upload_protocol => :query
54965488
}
54975489

54985490
request =

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 "20250127"
23+
@discovery_revision "20250212"
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: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ 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. 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.
2726
* `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/`
2827
* `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").
2928
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Set of label tags associated with the GrpcRoute resource.
@@ -39,7 +38,6 @@ defmodule GoogleApi.NetworkServices.V1.Model.GrpcRoute do
3938
@type t :: %__MODULE__{
4039
:createTime => DateTime.t() | nil,
4140
:description => String.t() | nil,
42-
:etag => String.t() | nil,
4341
:gateways => list(String.t()) | nil,
4442
:hostnames => list(String.t()) | nil,
4543
:labels => map() | nil,
@@ -52,7 +50,6 @@ defmodule GoogleApi.NetworkServices.V1.Model.GrpcRoute do
5250

5351
field(:createTime, as: DateTime)
5452
field(:description)
55-
field(:etag)
5653
field(:gateways, type: :list)
5754
field(:hostnames, type: :list)
5855
field(:labels, type: :map)

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ 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. 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.
2726
* `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/`
2827
* `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`.
2928
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Set of label tags associated with the HttpRoute resource.
@@ -39,7 +38,6 @@ defmodule GoogleApi.NetworkServices.V1.Model.HttpRoute do
3938
@type t :: %__MODULE__{
4039
:createTime => DateTime.t() | nil,
4140
:description => String.t() | nil,
42-
:etag => String.t() | nil,
4341
:gateways => list(String.t()) | nil,
4442
:hostnames => list(String.t()) | nil,
4543
:labels => map() | nil,
@@ -52,7 +50,6 @@ defmodule GoogleApi.NetworkServices.V1.Model.HttpRoute do
5250

5351
field(:createTime, as: DateTime)
5452
field(:description)
55-
field(:etag)
5653
field(:gateways, type: :list)
5754
field(:hostnames, type: :list)
5855
field(:labels, type: :map)

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ 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. 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.
2726
* `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/`
2827
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Set of label tags associated with the TcpRoute resource.
2928
* `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
@@ -38,7 +37,6 @@ defmodule GoogleApi.NetworkServices.V1.Model.TcpRoute do
3837
@type t :: %__MODULE__{
3938
:createTime => DateTime.t() | nil,
4039
:description => String.t() | nil,
41-
:etag => String.t() | nil,
4240
:gateways => list(String.t()) | nil,
4341
:labels => map() | nil,
4442
:meshes => list(String.t()) | nil,
@@ -50,7 +48,6 @@ defmodule GoogleApi.NetworkServices.V1.Model.TcpRoute do
5048

5149
field(:createTime, as: DateTime)
5250
field(:description)
53-
field(:etag)
5451
field(:gateways, type: :list)
5552
field(:labels, type: :map)
5653
field(:meshes, type: :list)

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ 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. 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.
2726
* `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/`
2827
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Set of label tags associated with the TlsRoute resource.
2928
* `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
@@ -38,7 +37,6 @@ defmodule GoogleApi.NetworkServices.V1.Model.TlsRoute do
3837
@type t :: %__MODULE__{
3938
:createTime => DateTime.t() | nil,
4039
:description => String.t() | nil,
41-
:etag => String.t() | nil,
4240
:gateways => list(String.t()) | nil,
4341
:labels => map() | nil,
4442
:meshes => list(String.t()) | nil,
@@ -50,7 +48,6 @@ defmodule GoogleApi.NetworkServices.V1.Model.TlsRoute do
5048

5149
field(:createTime, as: DateTime)
5250
field(:description)
53-
field(:etag)
5451
field(:gateways, type: :list)
5552
field(:labels, type: :map)
5653
field(:meshes, type: :list)

0 commit comments

Comments
 (0)