Skip to content

Commit de9dded

Browse files
feat: Automated regeneration of NetworkServices client (#13070)
Auto-created at 2025-03-02 13:14:03 +0000 using the toys pull request generator.
1 parent bfeed4d commit de9dded

File tree

6 files changed

+33
-28
lines changed

6 files changed

+33
-28
lines changed

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

Lines changed: 22 additions & 20 deletions
Large diffs are not rendered by default.

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 "20250212"
23+
@discovery_revision "20250224"
2424

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ defmodule GoogleApi.NetworkServices.V1.Model.AuthzExtension do
3333
* `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}`.
3434
* `timeout` (*type:* `String.t`, *default:* `nil`) - Required. Specifies the timeout for each individual message on the stream. The timeout must be between 10-10000 milliseconds.
3535
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The timestamp when the resource was updated.
36-
* `wireFormat` (*type:* `String.t`, *default:* `nil`) - Optional. The format of communication supported by the callout extension. If not specified, the default is `EXT_PROC_GRPC`.
36+
* `wireFormat` (*type:* `String.t`, *default:* `nil`) - Optional. The format of communication supported by the callout extension. If not specified, the default value `EXT_PROC_GRPC` is used.
3737
"""
3838

3939
use GoogleApi.Gax.ModelBase

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ defmodule GoogleApi.NetworkServices.V1.Model.LbTrafficExtension do
2626
* `extensionChains` (*type:* `list(GoogleApi.NetworkServices.V1.Model.ExtensionChain.t)`, *default:* `nil`) - Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
2727
* `forwardingRules` (*type:* `list(String.t)`, *default:* `nil`) - Optional. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. There can be only one `LBTrafficExtension` resource per forwarding rule.
2828
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Set of labels associated with the `LbTrafficExtension` resource. The format must comply with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google Cloud resources.
29-
* `loadBalancingScheme` (*type:* `String.t`, *default:* `nil`) - Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
29+
* `loadBalancingScheme` (*type:* `String.t`, *default:* `nil`) - Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
3030
* `metadata` (*type:* `map()`, *default:* `nil`) - Optional. The metadata provided here is included in the `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata is available under the key `com.google.lb_traffic_extension.`. 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.
3131
* `name` (*type:* `String.t`, *default:* `nil`) - Required. Identifier. Name of the `LbTrafficExtension` resource in the following format: `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`.
3232
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The timestamp when the resource was updated.

clients/network_services/lib/google_api/network_services/v1/model/list_meshes_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.ListMeshesResponse do
2323
2424
* `meshes` (*type:* `list(GoogleApi.NetworkServices.V1.Model.Mesh.t)`, *default:* `nil`) - List of Mesh 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
:meshes => list(GoogleApi.NetworkServices.V1.Model.Mesh.t()) | nil,
32-
:nextPageToken => String.t() | nil
33+
:nextPageToken => String.t() | nil,
34+
:unreachable => list(String.t()) | nil
3335
}
3436

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

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

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717

1818
defmodule GoogleApi.NetworkServices.V1.Model.ServiceBinding do
1919
@moduledoc """
20-
ServiceBinding is the resource that defines a Service Directory Service to be used in a BackendService resource.
20+
ServiceBinding can be used to: - Bind a Service Directory Service to be used in a BackendService resource. - Bind a Private Service Connect producer service to be used in consumer Cloud Service Mesh or Application Load Balancers.
2121
2222
## Attributes
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.
2626
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Set of label tags associated with the ServiceBinding resource.
27-
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. Name of the ServiceBinding resource. It matches pattern `projects/*/locations/global/serviceBindings/service_binding_name`.
28-
* `service` (*type:* `String.t`, *default:* `nil`) - Required. The full Service Directory Service name of the format projects/*/locations/*/namespaces/*/services/*
29-
* `serviceId` (*type:* `String.t`, *default:* `nil`) - Output only. The unique identifier of the Service Directory Service against which the Service Binding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format.
27+
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. Name of the ServiceBinding resource. It matches pattern `projects/*/locations/*/serviceBindings/`.
28+
* `service` (*type:* `String.t`, *default:* `nil`) - Optional. The full Service Directory Service name of the format `projects/*/locations/*/namespaces/*/services/*`. This field must be set.
29+
* `serviceId` (*type:* `String.t`, *default:* `nil`) - Output only. The unique identifier of the Service Directory Service against which the ServiceBinding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format.
3030
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The timestamp when the resource was updated.
3131
"""
3232

0 commit comments

Comments
 (0)