Skip to content

Commit

Permalink
feat: Automated regeneration of NetworkManagement client (#12181)
Browse files Browse the repository at this point in the history
Auto-created at 2024-09-20 13:14:12 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot committed Sep 20, 2024
1 parent 9686ff4 commit 538b966
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 6 deletions.
2 changes: 1 addition & 1 deletion clients/network_management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding

```elixir
def deps do
[{:google_api_network_management, "~> 0.29"}]
[{:google_api_network_management, "~> 0.30"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.NetworkManagement.V1beta1 do
API client metadata for GoogleApi.NetworkManagement.V1beta1.
"""

@discovery_revision "20240905"
@discovery_revision "20240911"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@

defmodule GoogleApi.NetworkManagement.V1beta1.Model.NetworkInfo do
@moduledoc """
For display only. Metadata associated with a Compute Engine network.
For display only. Metadata associated with a Compute Engine network. Next ID: 7
## Attributes
* `displayName` (*type:* `String.t`, *default:* `nil`) - Name of a Compute Engine network.
* `matchedIpRange` (*type:* `String.t`, *default:* `nil`) - The IP range that matches the test.
* `matchedIpRange` (*type:* `String.t`, *default:* `nil`) - The IP range of the subnet matching the source IP address of the test.
* `matchedSubnetUri` (*type:* `String.t`, *default:* `nil`) - URI of the subnet matching the source IP address of the test.
* `region` (*type:* `String.t`, *default:* `nil`) - The region of the subnet matching the source IP address of the test.
* `uri` (*type:* `String.t`, *default:* `nil`) - URI of a Compute Engine network.
"""

Expand All @@ -31,11 +33,15 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.NetworkInfo do
@type t :: %__MODULE__{
:displayName => String.t() | nil,
:matchedIpRange => String.t() | nil,
:matchedSubnetUri => String.t() | nil,
:region => String.t() | nil,
:uri => String.t() | nil
}

field(:displayName)
field(:matchedIpRange)
field(:matchedSubnetUri)
field(:region)
field(:uri)
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.RouteInfo do
## Attributes
* `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.
* `advertisedRouteSourceRouterUri` (*type:* `String.t`, *default:* `nil`) - For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
* `destIpRange` (*type:* `String.t`, *default:* `nil`) - Destination IP range of the route.
* `destPortRanges` (*type:* `list(String.t)`, *default:* `nil`) - Destination port ranges of the route. Policy based routes only.
* `displayName` (*type:* `String.t`, *default:* `nil`) - Name of a route.
Expand All @@ -32,16 +34,19 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.RouteInfo do
* `nextHopType` (*type:* `String.t`, *default:* `nil`) - Type of next hop.
* `priority` (*type:* `integer()`, *default:* `nil`) - Priority of the route.
* `protocols` (*type:* `list(String.t)`, *default:* `nil`) - Protocols of the route. Policy based routes only.
* `region` (*type:* `String.t`, *default:* `nil`) - Region of the route (if applicable).
* `routeScope` (*type:* `String.t`, *default:* `nil`) - Indicates where route is applicable.
* `routeType` (*type:* `String.t`, *default:* `nil`) - Type of route.
* `srcIpRange` (*type:* `String.t`, *default:* `nil`) - Source IP address range of the route. Policy based routes only.
* `srcPortRanges` (*type:* `list(String.t)`, *default:* `nil`) - Source port ranges of the route. Policy based routes only.
* `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.
* `uri` (*type:* `String.t`, *default:* `nil`) - URI of a route (if applicable).
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:advertisedRouteNextHopUri => String.t() | nil,
:advertisedRouteSourceRouterUri => String.t() | nil,
:destIpRange => String.t() | nil,
:destPortRanges => list(String.t()) | nil,
:displayName => String.t() | nil,
Expand All @@ -53,13 +58,16 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.RouteInfo do
:nextHopType => String.t() | nil,
:priority => integer() | nil,
:protocols => list(String.t()) | nil,
:region => String.t() | nil,
:routeScope => String.t() | nil,
:routeType => String.t() | nil,
:srcIpRange => String.t() | nil,
:srcPortRanges => list(String.t()) | nil,
:uri => String.t() | nil
}

field(:advertisedRouteNextHopUri)
field(:advertisedRouteSourceRouterUri)
field(:destIpRange)
field(:destPortRanges, type: :list)
field(:displayName)
Expand All @@ -71,6 +79,7 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.RouteInfo do
field(:nextHopType)
field(:priority)
field(:protocols, type: :list)
field(:region)
field(:routeScope)
field(:routeType)
field(:srcIpRange)
Expand Down
2 changes: 1 addition & 1 deletion clients/network_management/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.NetworkManagement.Mixfile do
use Mix.Project

@version "0.29.0"
@version "0.30.0"

def project() do
[
Expand Down

0 comments on commit 538b966

Please sign in to comment.