Skip to content

Commit 04f2413

Browse files
feat: Automated regeneration of NetworkServices client (#13139)
Auto-created at 2025-03-13 13:14:30 +0000 using the toys pull request generator.
1 parent d87814a commit 04f2413

File tree

6 files changed

+19
-6
lines changed

6 files changed

+19
-6
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 "20250224"
23+
@discovery_revision "20250310"
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
@@ -27,7 +27,7 @@ defmodule GoogleApi.NetworkServices.V1.Model.ExtensionChainExtension do
2727
* `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.
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.
30-
* `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 must not be set for the `LbRouteExtension` resource, otherwise a validation error is returned.
30+
* `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.
3131
* `timeout` (*type:* `String.t`, *default:* `nil`) - Optional. Specifies the timeout for each individual message on the stream. The timeout must be between `10`-`1000` milliseconds. Required for callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error.
3232
"""
3333

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,21 @@ defmodule GoogleApi.NetworkServices.V1.Model.ListGatewayRouteViewsResponse do
2323
2424
* `gatewayRouteViews` (*type:* `list(GoogleApi.NetworkServices.V1.Model.GatewayRouteView.t)`, *default:* `nil`) - List of GatewayRouteView resources.
2525
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
26+
* `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.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:gatewayRouteViews =>
3233
list(GoogleApi.NetworkServices.V1.Model.GatewayRouteView.t()) | nil,
33-
:nextPageToken => String.t() | nil
34+
:nextPageToken => String.t() | nil,
35+
:unreachable => list(String.t()) | nil
3436
}
3537

3638
field(:gatewayRouteViews, as: GoogleApi.NetworkServices.V1.Model.GatewayRouteView, type: :list)
3739
field(:nextPageToken)
40+
field(:unreachable, type: :list)
3841
end
3942

4043
defimpl Poison.Decoder, for: GoogleApi.NetworkServices.V1.Model.ListGatewayRouteViewsResponse do

clients/network_services/lib/google_api/network_services/v1/model/list_mesh_route_views_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.ListMeshRouteViewsResponse do
2323
2424
* `meshRouteViews` (*type:* `list(GoogleApi.NetworkServices.V1.Model.MeshRouteView.t)`, *default:* `nil`) - List of MeshRouteView resources.
2525
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
26+
* `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.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

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

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

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

clients/network_services/lib/google_api/network_services/v1/model/list_service_bindings_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.ListServiceBindingsResponse 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
* `serviceBindings` (*type:* `list(GoogleApi.NetworkServices.V1.Model.ServiceBinding.t)`, *default:* `nil`) - List of ServiceBinding resources.
26+
* `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.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

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

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

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

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,21 @@ defmodule GoogleApi.NetworkServices.V1.Model.ListServiceLbPoliciesResponse 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
* `serviceLbPolicies` (*type:* `list(GoogleApi.NetworkServices.V1.Model.ServiceLbPolicy.t)`, *default:* `nil`) - List of ServiceLbPolicy resources.
26+
* `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.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:nextPageToken => String.t() | nil,
32-
:serviceLbPolicies => list(GoogleApi.NetworkServices.V1.Model.ServiceLbPolicy.t()) | nil
33+
:serviceLbPolicies =>
34+
list(GoogleApi.NetworkServices.V1.Model.ServiceLbPolicy.t()) | nil,
35+
:unreachable => list(String.t()) | nil
3336
}
3437

3538
field(:nextPageToken)
3639
field(:serviceLbPolicies, as: GoogleApi.NetworkServices.V1.Model.ServiceLbPolicy, type: :list)
40+
field(:unreachable, type: :list)
3741
end
3842

3943
defimpl Poison.Decoder, for: GoogleApi.NetworkServices.V1.Model.ListServiceLbPoliciesResponse do

0 commit comments

Comments
 (0)