Skip to content

Commit 45a4f81

Browse files
feat: Automated regeneration of NetworkManagement client (#12727)
Auto-created at 2024-12-16 13:15:48 +0000 using the toys pull request generator.
1 parent 001a7dd commit 45a4f81

File tree

4 files changed

+31
-16
lines changed

4 files changed

+31
-16
lines changed

clients/network_management/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_management, "~> 0.37"}]
14+
[{:google_api_network_management, "~> 0.38"}]
1515
end
1616
```
1717

clients/network_management/lib/google_api/network_management/v1beta1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.NetworkManagement.V1beta1 do
2020
API client metadata for GoogleApi.NetworkManagement.V1beta1.
2121
"""
2222

23-
@discovery_revision "20241202"
23+
@discovery_revision "20241210"
2424

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

clients/network_management/lib/google_api/network_management/v1beta1/model/route_info.ex

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,30 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.RouteInfo do
2121
2222
## Attributes
2323
24-
* `advertisedRouteNextHopUri` (*type:* `String.t`, *default:* `nil`) - For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.
25-
* `advertisedRouteSourceRouterUri` (*type:* `String.t`, *default:* `nil`) - For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
24+
* `advertisedRouteNextHopUri` (*type:* `String.t`, *default:* `nil`) - For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests.
25+
* `advertisedRouteSourceRouterUri` (*type:* `String.t`, *default:* `nil`) - For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
2626
* `destIpRange` (*type:* `String.t`, *default:* `nil`) - Destination IP range of the route.
27-
* `destPortRanges` (*type:* `list(String.t)`, *default:* `nil`) - Destination port ranges of the route. Policy based routes only.
27+
* `destPortRanges` (*type:* `list(String.t)`, *default:* `nil`) - Destination port ranges of the route. POLICY_BASED routes only.
2828
* `displayName` (*type:* `String.t`, *default:* `nil`) - Name of a route.
2929
* `instanceTags` (*type:* `list(String.t)`, *default:* `nil`) - Instance tags of the route.
30-
* `nccHubUri` (*type:* `String.t`, *default:* `nil`) - URI of a NCC Hub. NCC_HUB routes only.
31-
* `nccSpokeUri` (*type:* `String.t`, *default:* `nil`) - URI of a NCC Spoke. NCC_HUB routes only.
32-
* `networkUri` (*type:* `String.t`, *default:* `nil`) - URI of a Compute Engine network. NETWORK routes only.
33-
* `nextHop` (*type:* `String.t`, *default:* `nil`) - Next hop of the route.
30+
* `nccHubRouteUri` (*type:* `String.t`, *default:* `nil`) - For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.
31+
* `nccHubUri` (*type:* `String.t`, *default:* `nil`) - URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
32+
* `nccSpokeUri` (*type:* `String.t`, *default:* `nil`) - URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
33+
* `networkUri` (*type:* `String.t`, *default:* `nil`) - URI of a VPC network where route is located.
34+
* `nextHop` (*type:* `String.t`, *default:* `nil`) - String type of the next hop of the route (for example, "VPN tunnel"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.
35+
* `nextHopNetworkUri` (*type:* `String.t`, *default:* `nil`) - URI of a VPC network where the next hop resource is located.
3436
* `nextHopType` (*type:* `String.t`, *default:* `nil`) - Type of next hop.
37+
* `nextHopUri` (*type:* `String.t`, *default:* `nil`) - URI of the next hop resource.
38+
* `originatingRouteDisplayName` (*type:* `String.t`, *default:* `nil`) - For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.
39+
* `originatingRouteUri` (*type:* `String.t`, *default:* `nil`) - For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.
3540
* `priority` (*type:* `integer()`, *default:* `nil`) - Priority of the route.
36-
* `protocols` (*type:* `list(String.t)`, *default:* `nil`) - Protocols of the route. Policy based routes only.
37-
* `region` (*type:* `String.t`, *default:* `nil`) - Region of the route (if applicable).
38-
* `routeScope` (*type:* `String.t`, *default:* `nil`) - Indicates where route is applicable.
41+
* `protocols` (*type:* `list(String.t)`, *default:* `nil`) - Protocols of the route. POLICY_BASED routes only.
42+
* `region` (*type:* `String.t`, *default:* `nil`) - Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to.
43+
* `routeScope` (*type:* `String.t`, *default:* `nil`) - Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.
3944
* `routeType` (*type:* `String.t`, *default:* `nil`) - Type of route.
40-
* `srcIpRange` (*type:* `String.t`, *default:* `nil`) - Source IP address range of the route. Policy based routes only.
41-
* `srcPortRanges` (*type:* `list(String.t)`, *default:* `nil`) - Source port ranges of the route. Policy based routes only.
42-
* `uri` (*type:* `String.t`, *default:* `nil`) - URI of a route (if applicable).
45+
* `srcIpRange` (*type:* `String.t`, *default:* `nil`) - Source IP address range of the route. POLICY_BASED routes only.
46+
* `srcPortRanges` (*type:* `list(String.t)`, *default:* `nil`) - Source port ranges of the route. POLICY_BASED routes only.
47+
* `uri` (*type:* `String.t`, *default:* `nil`) - URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.
4348
"""
4449

4550
use GoogleApi.Gax.ModelBase
@@ -51,11 +56,16 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.RouteInfo do
5156
:destPortRanges => list(String.t()) | nil,
5257
:displayName => String.t() | nil,
5358
:instanceTags => list(String.t()) | nil,
59+
:nccHubRouteUri => String.t() | nil,
5460
:nccHubUri => String.t() | nil,
5561
:nccSpokeUri => String.t() | nil,
5662
:networkUri => String.t() | nil,
5763
:nextHop => String.t() | nil,
64+
:nextHopNetworkUri => String.t() | nil,
5865
:nextHopType => String.t() | nil,
66+
:nextHopUri => String.t() | nil,
67+
:originatingRouteDisplayName => String.t() | nil,
68+
:originatingRouteUri => String.t() | nil,
5969
:priority => integer() | nil,
6070
:protocols => list(String.t()) | nil,
6171
:region => String.t() | nil,
@@ -72,11 +82,16 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.RouteInfo do
7282
field(:destPortRanges, type: :list)
7383
field(:displayName)
7484
field(:instanceTags, type: :list)
85+
field(:nccHubRouteUri)
7586
field(:nccHubUri)
7687
field(:nccSpokeUri)
7788
field(:networkUri)
7889
field(:nextHop)
90+
field(:nextHopNetworkUri)
7991
field(:nextHopType)
92+
field(:nextHopUri)
93+
field(:originatingRouteDisplayName)
94+
field(:originatingRouteUri)
8095
field(:priority)
8196
field(:protocols, type: :list)
8297
field(:region)

clients/network_management/mix.exs

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

21-
@version "0.37.0"
21+
@version "0.38.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)