Skip to content

Commit 3f95cd7

Browse files
feat: Automated regeneration of NetworkManagement client (googleapis#12165)
Auto-created at 2024-09-19 13:10:37 +0000 using the toys pull request generator.
1 parent 004fe72 commit 3f95cd7

File tree

5 files changed

+21
-6
lines changed

5 files changed

+21
-6
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.28"}]
14+
[{:google_api_network_management, "~> 0.29"}]
1515
end
1616
```
1717

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

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

23-
@discovery_revision "20240905"
23+
@discovery_revision "20240911"
2424

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

clients/network_management/lib/google_api/network_management/v1/model/network_info.ex

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@
1717

1818
defmodule GoogleApi.NetworkManagement.V1.Model.NetworkInfo do
1919
@moduledoc """
20-
For display only. Metadata associated with a Compute Engine network.
20+
For display only. Metadata associated with a Compute Engine network. Next ID: 7
2121
2222
## Attributes
2323
2424
* `displayName` (*type:* `String.t`, *default:* `nil`) - Name of a Compute Engine network.
25-
* `matchedIpRange` (*type:* `String.t`, *default:* `nil`) - The IP range that matches the test.
25+
* `matchedIpRange` (*type:* `String.t`, *default:* `nil`) - The IP range of the subnet matching the source IP address of the test.
26+
* `matchedSubnetUri` (*type:* `String.t`, *default:* `nil`) - URI of the subnet matching the source IP address of the test.
27+
* `region` (*type:* `String.t`, *default:* `nil`) - The region of the subnet matching the source IP address of the test.
2628
* `uri` (*type:* `String.t`, *default:* `nil`) - URI of a Compute Engine network.
2729
"""
2830

@@ -31,11 +33,15 @@ defmodule GoogleApi.NetworkManagement.V1.Model.NetworkInfo do
3133
@type t :: %__MODULE__{
3234
:displayName => String.t() | nil,
3335
:matchedIpRange => String.t() | nil,
36+
:matchedSubnetUri => String.t() | nil,
37+
:region => String.t() | nil,
3438
:uri => String.t() | nil
3539
}
3640

3741
field(:displayName)
3842
field(:matchedIpRange)
43+
field(:matchedSubnetUri)
44+
field(:region)
3945
field(:uri)
4046
end
4147

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ defmodule GoogleApi.NetworkManagement.V1.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.
2426
* `destIpRange` (*type:* `String.t`, *default:* `nil`) - Destination IP range of the route.
2527
* `destPortRanges` (*type:* `list(String.t)`, *default:* `nil`) - Destination port ranges of the route. Policy based routes only.
2628
* `displayName` (*type:* `String.t`, *default:* `nil`) - Name of a route.
@@ -32,16 +34,19 @@ defmodule GoogleApi.NetworkManagement.V1.Model.RouteInfo do
3234
* `nextHopType` (*type:* `String.t`, *default:* `nil`) - Type of next hop.
3335
* `priority` (*type:* `integer()`, *default:* `nil`) - Priority of the route.
3436
* `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).
3538
* `routeScope` (*type:* `String.t`, *default:* `nil`) - Indicates where route is applicable.
3639
* `routeType` (*type:* `String.t`, *default:* `nil`) - Type of route.
3740
* `srcIpRange` (*type:* `String.t`, *default:* `nil`) - Source IP address range of the route. Policy based routes only.
3841
* `srcPortRanges` (*type:* `list(String.t)`, *default:* `nil`) - Source port ranges of the route. Policy based routes only.
39-
* `uri` (*type:* `String.t`, *default:* `nil`) - URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.
42+
* `uri` (*type:* `String.t`, *default:* `nil`) - URI of a route (if applicable).
4043
"""
4144

4245
use GoogleApi.Gax.ModelBase
4346

4447
@type t :: %__MODULE__{
48+
:advertisedRouteNextHopUri => String.t() | nil,
49+
:advertisedRouteSourceRouterUri => String.t() | nil,
4550
:destIpRange => String.t() | nil,
4651
:destPortRanges => list(String.t()) | nil,
4752
:displayName => String.t() | nil,
@@ -53,13 +58,16 @@ defmodule GoogleApi.NetworkManagement.V1.Model.RouteInfo do
5358
:nextHopType => String.t() | nil,
5459
:priority => integer() | nil,
5560
:protocols => list(String.t()) | nil,
61+
:region => String.t() | nil,
5662
:routeScope => String.t() | nil,
5763
:routeType => String.t() | nil,
5864
:srcIpRange => String.t() | nil,
5965
:srcPortRanges => list(String.t()) | nil,
6066
:uri => String.t() | nil
6167
}
6268

69+
field(:advertisedRouteNextHopUri)
70+
field(:advertisedRouteSourceRouterUri)
6371
field(:destIpRange)
6472
field(:destPortRanges, type: :list)
6573
field(:displayName)
@@ -71,6 +79,7 @@ defmodule GoogleApi.NetworkManagement.V1.Model.RouteInfo do
7179
field(:nextHopType)
7280
field(:priority)
7381
field(:protocols, type: :list)
82+
field(:region)
7483
field(:routeScope)
7584
field(:routeType)
7685
field(:srcIpRange)

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.28.0"
21+
@version "0.29.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)