Skip to content

Commit c18cfae

Browse files
feat: Automated regeneration of NetworkServices client (googleapis#13209)
Auto-created at 2025-03-21 13:18:17 +0000 using the toys pull request generator.
1 parent 08c48f0 commit c18cfae

12 files changed

+47
-16
lines changed

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

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,6 +1426,7 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
14261426
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
14271427
* `:pageSize` (*type:* `integer()`) - Maximum number of EndpointPolicies to return per call.
14281428
* `:pageToken` (*type:* `String.t`) - The value returned by the last `ListEndpointPoliciesResponse` Indicates that this is a continuation of a prior `ListEndpointPolicies` call, and that the system should return the next page of data.
1429+
* `:returnPartialSuccess` (*type:* `boolean()`) - Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
14291430
* `opts` (*type:* `keyword()`) - Call options
14301431
14311432
## Returns
@@ -1462,7 +1463,8 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
14621463
:uploadType => :query,
14631464
:upload_protocol => :query,
14641465
:pageSize => :query,
1465-
:pageToken => :query
1466+
:pageToken => :query,
1467+
:returnPartialSuccess => :query
14661468
}
14671469

14681470
request =
@@ -2300,6 +2302,7 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
23002302
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
23012303
* `:pageSize` (*type:* `integer()`) - Maximum number of GrpcRoutes to return per call.
23022304
* `:pageToken` (*type:* `String.t`) - The value returned by the last `ListGrpcRoutesResponse` Indicates that this is a continuation of a prior `ListGrpcRoutes` call, and that the system should return the next page of data.
2305+
* `:returnPartialSuccess` (*type:* `boolean()`) - Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
23032306
* `opts` (*type:* `keyword()`) - Call options
23042307
23052308
## Returns
@@ -2336,7 +2339,8 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
23362339
:uploadType => :query,
23372340
:upload_protocol => :query,
23382341
:pageSize => :query,
2339-
:pageToken => :query
2342+
:pageToken => :query,
2343+
:returnPartialSuccess => :query
23402344
}
23412345

23422346
request =
@@ -2664,6 +2668,7 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
26642668
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
26652669
* `:pageSize` (*type:* `integer()`) - Maximum number of HttpRoutes to return per call.
26662670
* `:pageToken` (*type:* `String.t`) - The value returned by the last `ListHttpRoutesResponse` Indicates that this is a continuation of a prior `ListHttpRoutes` call, and that the system should return the next page of data.
2671+
* `:returnPartialSuccess` (*type:* `boolean()`) - Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
26672672
* `opts` (*type:* `keyword()`) - Call options
26682673
26692674
## Returns
@@ -2700,7 +2705,8 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
27002705
:uploadType => :query,
27012706
:upload_protocol => :query,
27022707
:pageSize => :query,
2703-
:pageToken => :query
2708+
:pageToken => :query,
2709+
:returnPartialSuccess => :query
27042710
}
27052711

27062712
request =
@@ -5230,6 +5236,7 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
52305236
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
52315237
* `:pageSize` (*type:* `integer()`) - Maximum number of TcpRoutes to return per call.
52325238
* `:pageToken` (*type:* `String.t`) - The value returned by the last `ListTcpRoutesResponse` Indicates that this is a continuation of a prior `ListTcpRoutes` call, and that the system should return the next page of data.
5239+
* `:returnPartialSuccess` (*type:* `boolean()`) - Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
52335240
* `opts` (*type:* `keyword()`) - Call options
52345241
52355242
## Returns
@@ -5266,7 +5273,8 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
52665273
:uploadType => :query,
52675274
:upload_protocol => :query,
52685275
:pageSize => :query,
5269-
:pageToken => :query
5276+
:pageToken => :query,
5277+
:returnPartialSuccess => :query
52705278
}
52715279

52725280
request =
@@ -5594,6 +5602,7 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
55945602
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
55955603
* `:pageSize` (*type:* `integer()`) - Maximum number of TlsRoutes to return per call.
55965604
* `:pageToken` (*type:* `String.t`) - The value returned by the last `ListTlsRoutesResponse` Indicates that this is a continuation of a prior `ListTlsRoutes` call, and that the system should return the next page of data.
5605+
* `:returnPartialSuccess` (*type:* `boolean()`) - Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
55975606
* `opts` (*type:* `keyword()`) - Call options
55985607
55995608
## Returns
@@ -5630,7 +5639,8 @@ defmodule GoogleApi.NetworkServices.V1.Api.Projects do
56305639
:uploadType => :query,
56315640
:upload_protocol => :query,
56325641
:pageSize => :query,
5633-
:pageToken => :query
5642+
:pageToken => :query,
5643+
:returnPartialSuccess => :query
56345644
}
56355645

56365646
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 "20250310"
23+
@discovery_revision "20250311"
2424

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule GoogleApi.NetworkServices.V1.Model.ExtensionChainExtension do
2424
* `authority` (*type:* `String.t`, *default:* `nil`) - Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error.
2525
* `failOpen` (*type:* `boolean()`, *default:* `nil`) - Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset.
2626
* `forwardHeaders` (*type:* `list(String.t)`, *default:* `nil`) - Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all headers are sent. Each element is a string indicating the header name.
27-
* `metadata` (*type:* `map()`, *default:* `nil`) - Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google....`. For example: `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name. This field is not supported for plugin extensions. Setting it results in a validation error.
27+
* `metadata` (*type:* `map()`, *default:* `nil`) - Optional. The metadata provided here is included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata is available under the namespace `com.google....`. For example: `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name. This field is subject to following limitations: * The total size of the metadata must be less than 1KiB. * The total number of keys in the metadata must be less than 20. * The length of each key must be less than 64 characters. * The length of each value must be less than 1024 characters. * All values must be strings. This field is not supported for plugin extensions. Setting it results in a validation error.
2828
* `name` (*type:* `String.t`, *default:* `nil`) - Required. The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
2929
* `service` (*type:* `String.t`, *default:* `nil`) - Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension` and the `LbRouteExtension` resources.
3030
* `supportedEvents` (*type:* `list(String.t)`, *default:* `nil`) - Optional. A set of events during request or response processing for which this extension is called. This field is required for the `LbTrafficExtension` resource. It is optional for the `LbRouteExtension` resource. If unspecified `REQUEST_HEADERS` event is assumed as supported.

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ defmodule GoogleApi.NetworkServices.V1.Model.ListEndpointPoliciesResponse do
2323
2424
* `endpointPolicies` (*type:* `list(GoogleApi.NetworkServices.V1.Model.EndpointPolicy.t)`, *default:* `nil`) - List of EndpointPolicy resources.
2525
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
26+
* `unreachable` (*type:* `list(String.t)`, *default:* `nil`) - Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:endpointPolicies => list(GoogleApi.NetworkServices.V1.Model.EndpointPolicy.t()) | nil,
32-
:nextPageToken => String.t() | nil
33+
:nextPageToken => String.t() | nil,
34+
:unreachable => list(String.t()) | nil
3335
}
3436

3537
field(:endpointPolicies, as: GoogleApi.NetworkServices.V1.Model.EndpointPolicy, type: :list)
3638
field(:nextPageToken)
39+
field(:unreachable, type: :list)
3740
end
3841

3942
defimpl Poison.Decoder, for: GoogleApi.NetworkServices.V1.Model.ListEndpointPoliciesResponse do

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ defmodule GoogleApi.NetworkServices.V1.Model.ListGrpcRoutesResponse do
2323
2424
* `grpcRoutes` (*type:* `list(GoogleApi.NetworkServices.V1.Model.GrpcRoute.t)`, *default:* `nil`) - List of GrpcRoute resources.
2525
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
26+
* `unreachable` (*type:* `list(String.t)`, *default:* `nil`) - Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:grpcRoutes => list(GoogleApi.NetworkServices.V1.Model.GrpcRoute.t()) | nil,
32-
:nextPageToken => String.t() | nil
33+
:nextPageToken => String.t() | nil,
34+
:unreachable => list(String.t()) | nil
3335
}
3436

3537
field(:grpcRoutes, as: GoogleApi.NetworkServices.V1.Model.GrpcRoute, type: :list)
3638
field(:nextPageToken)
39+
field(:unreachable, type: :list)
3740
end
3841

3942
defimpl Poison.Decoder, for: GoogleApi.NetworkServices.V1.Model.ListGrpcRoutesResponse do

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ defmodule GoogleApi.NetworkServices.V1.Model.ListHttpRoutesResponse do
2323
2424
* `httpRoutes` (*type:* `list(GoogleApi.NetworkServices.V1.Model.HttpRoute.t)`, *default:* `nil`) - List of HttpRoute resources.
2525
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
26+
* `unreachable` (*type:* `list(String.t)`, *default:* `nil`) - Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:httpRoutes => list(GoogleApi.NetworkServices.V1.Model.HttpRoute.t()) | nil,
32-
:nextPageToken => String.t() | nil
33+
:nextPageToken => String.t() | nil,
34+
:unreachable => list(String.t()) | nil
3335
}
3436

3537
field(:httpRoutes, as: GoogleApi.NetworkServices.V1.Model.HttpRoute, type: :list)
3638
field(:nextPageToken)
39+
field(:unreachable, type: :list)
3740
end
3841

3942
defimpl Poison.Decoder, for: GoogleApi.NetworkServices.V1.Model.ListHttpRoutesResponse do

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ defmodule GoogleApi.NetworkServices.V1.Model.ListTcpRoutesResponse do
2323
2424
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
2525
* `tcpRoutes` (*type:* `list(GoogleApi.NetworkServices.V1.Model.TcpRoute.t)`, *default:* `nil`) - List of TcpRoute resources.
26+
* `unreachable` (*type:* `list(String.t)`, *default:* `nil`) - Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:nextPageToken => String.t() | nil,
32-
:tcpRoutes => list(GoogleApi.NetworkServices.V1.Model.TcpRoute.t()) | nil
33+
:tcpRoutes => list(GoogleApi.NetworkServices.V1.Model.TcpRoute.t()) | nil,
34+
:unreachable => list(String.t()) | nil
3335
}
3436

3537
field(:nextPageToken)
3638
field(:tcpRoutes, as: GoogleApi.NetworkServices.V1.Model.TcpRoute, type: :list)
39+
field(:unreachable, type: :list)
3740
end
3841

3942
defimpl Poison.Decoder, for: GoogleApi.NetworkServices.V1.Model.ListTcpRoutesResponse do

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ defmodule GoogleApi.NetworkServices.V1.Model.ListTlsRoutesResponse do
2323
2424
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
2525
* `tlsRoutes` (*type:* `list(GoogleApi.NetworkServices.V1.Model.TlsRoute.t)`, *default:* `nil`) - List of TlsRoute resources.
26+
* `unreachable` (*type:* `list(String.t)`, *default:* `nil`) - Unreachable resources. Populated when the request opts into return_partial_success and reading across collections e.g. when attempting to list all resources across all supported locations.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:nextPageToken => String.t() | nil,
32-
:tlsRoutes => list(GoogleApi.NetworkServices.V1.Model.TlsRoute.t()) | nil
33+
:tlsRoutes => list(GoogleApi.NetworkServices.V1.Model.TlsRoute.t()) | nil,
34+
:unreachable => list(String.t()) | nil
3335
}
3436

3537
field(:nextPageToken)
3638
field(:tlsRoutes, as: GoogleApi.NetworkServices.V1.Model.TlsRoute, type: :list)
39+
field(:unreachable, type: :list)
3740
end
3841

3942
defimpl Poison.Decoder, for: GoogleApi.NetworkServices.V1.Model.ListTlsRoutesResponse do

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,21 @@ defmodule GoogleApi.NetworkServices.V1.Model.ListWasmPluginVersionsResponse do
2222
## Attributes
2323
2424
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
25+
* `unreachable` (*type:* `list(String.t)`, *default:* `nil`) - Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
2526
* `wasmPluginVersions` (*type:* `list(GoogleApi.NetworkServices.V1.Model.WasmPluginVersion.t)`, *default:* `nil`) - List of `WasmPluginVersion` resources.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:nextPageToken => String.t() | nil,
33+
:unreachable => list(String.t()) | nil,
3234
:wasmPluginVersions =>
3335
list(GoogleApi.NetworkServices.V1.Model.WasmPluginVersion.t()) | nil
3436
}
3537

3638
field(:nextPageToken)
39+
field(:unreachable, type: :list)
3740

3841
field(:wasmPluginVersions, as: GoogleApi.NetworkServices.V1.Model.WasmPluginVersion, type: :list)
3942
end

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,20 @@ defmodule GoogleApi.NetworkServices.V1.Model.ListWasmPluginsResponse do
2222
## Attributes
2323
2424
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
25+
* `unreachable` (*type:* `list(String.t)`, *default:* `nil`) - Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
2526
* `wasmPlugins` (*type:* `list(GoogleApi.NetworkServices.V1.Model.WasmPlugin.t)`, *default:* `nil`) - List of `WasmPlugin` resources.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:nextPageToken => String.t() | nil,
33+
:unreachable => list(String.t()) | nil,
3234
:wasmPlugins => list(GoogleApi.NetworkServices.V1.Model.WasmPlugin.t()) | nil
3335
}
3436

3537
field(:nextPageToken)
38+
field(:unreachable, type: :list)
3639
field(:wasmPlugins, as: GoogleApi.NetworkServices.V1.Model.WasmPlugin, type: :list)
3740
end
3841

0 commit comments

Comments
 (0)