Skip to content

Commit 8ec1c54

Browse files
feat: Automated regeneration of NetworkServices client (googleapis#12175)
Auto-created at 2024-09-20 13:10:33 +0000 using the toys pull request generator.
1 parent 1c41bf8 commit 8ec1c54

File tree

7 files changed

+97
-5
lines changed

7 files changed

+97
-5
lines changed

clients/network_services/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_network_services, "~> 0.6"}]
14+
[{:google_api_network_services, "~> 0.7"}]
1515
end
1616
```
1717

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 "20240818"
23+
@discovery_revision "20240913"
2424

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

clients/network_services/lib/google_api/network_services/v1/model/lb_route_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.LbRouteExtension do
2727
* `forwardingRules` (*type:* `list(String.t)`, *default:* `nil`) - Required. A list of references to the forwarding rules to which this service extension is attached to. At least one forwarding rule is required. There can be only one `LbRouteExtension` resource per forwarding rule.
2828
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Set of labels associated with the `LbRouteExtension` resource. The format must comply with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google Cloud resources.
2929
* `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 [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
30-
* `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.lb_route_extension.`. The following variables are supported in the metadata Struct: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name.
30+
* `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.lb_route_extension.`. The following variables are supported in the metadata Struct: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name. Only one of the resource level metadata and extension level metadata can be set.
3131
* `name` (*type:* `String.t`, *default:* `nil`) - Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`.
3232
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The timestamp when the resource was updated.
3333
"""

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
@@ -27,7 +27,7 @@ defmodule GoogleApi.NetworkServices.V1.Model.LbTrafficExtension do
2727
* `forwardingRules` (*type:* `list(String.t)`, *default:* `nil`) - Required. A list of references to the forwarding rules to which this service extension is attached to. 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.
2929
* `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 [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service).
30-
* `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.
30+
* `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. Only one of the resource level metadata and extension level metadata can be set.
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.
3333
"""
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.NetworkServices.V1.Model.LoggingConfig do
19+
@moduledoc """
20+
The configuration for Platform Telemetry logging for Eventarc Avdvanced resources.
21+
22+
## Attributes
23+
24+
* `logSeverity` (*type:* `String.t`, *default:* `nil`) - Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:logSeverity => String.t() | nil
31+
}
32+
33+
field(:logSeverity)
34+
end
35+
36+
defimpl Poison.Decoder, for: GoogleApi.NetworkServices.V1.Model.LoggingConfig do
37+
def decode(value, options) do
38+
GoogleApi.NetworkServices.V1.Model.LoggingConfig.decode(value, options)
39+
end
40+
end
41+
42+
defimpl Poison.Encoder, for: GoogleApi.NetworkServices.V1.Model.LoggingConfig do
43+
def encode(value, options) do
44+
GoogleApi.Gax.ModelBase.encode(value, options)
45+
end
46+
end
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.NetworkServices.V1.Model.RetryFilterPerRouteConfig do
19+
@moduledoc """
20+
21+
22+
## Attributes
23+
24+
* `cryptoKeyName` (*type:* `String.t`, *default:* `nil`) - The name of the crypto key to use for encrypting event data.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:cryptoKeyName => String.t() | nil
31+
}
32+
33+
field(:cryptoKeyName)
34+
end
35+
36+
defimpl Poison.Decoder, for: GoogleApi.NetworkServices.V1.Model.RetryFilterPerRouteConfig do
37+
def decode(value, options) do
38+
GoogleApi.NetworkServices.V1.Model.RetryFilterPerRouteConfig.decode(value, options)
39+
end
40+
end
41+
42+
defimpl Poison.Encoder, for: GoogleApi.NetworkServices.V1.Model.RetryFilterPerRouteConfig do
43+
def encode(value, options) do
44+
GoogleApi.Gax.ModelBase.encode(value, options)
45+
end
46+
end

clients/network_services/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.NetworkServices.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.6.0"
21+
@version "0.7.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)