Skip to content

Commit 59532a2

Browse files
feat: Automated regeneration of NetworkManagement client (#13059)
Auto-created at 2025-02-28 13:19:01 +0000 using the toys pull request generator.
1 parent 01a12fc commit 59532a2

File tree

4 files changed

+191
-64
lines changed

4 files changed

+191
-64
lines changed

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

2525
def discovery_revision(), do: @discovery_revision
2626
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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.NetworkManagement.V1beta1.Model.DirectVpcEgressConnectionInfo do
19+
@moduledoc """
20+
For display only. Metadata associated with a serverless direct VPC egress connection.
21+
22+
## Attributes
23+
24+
* `networkUri` (*type:* `String.t`, *default:* `nil`) - URI of direct access network.
25+
* `region` (*type:* `String.t`, *default:* `nil`) - Region in which the Direct VPC egress is deployed.
26+
* `selectedIpAddress` (*type:* `String.t`, *default:* `nil`) - Selected starting IP address, from the selected IP range.
27+
* `selectedIpRange` (*type:* `String.t`, *default:* `nil`) - Selected IP range.
28+
* `subnetworkUri` (*type:* `String.t`, *default:* `nil`) - URI of direct access subnetwork.
29+
"""
30+
31+
use GoogleApi.Gax.ModelBase
32+
33+
@type t :: %__MODULE__{
34+
:networkUri => String.t() | nil,
35+
:region => String.t() | nil,
36+
:selectedIpAddress => String.t() | nil,
37+
:selectedIpRange => String.t() | nil,
38+
:subnetworkUri => String.t() | nil
39+
}
40+
41+
field(:networkUri)
42+
field(:region)
43+
field(:selectedIpAddress)
44+
field(:selectedIpRange)
45+
field(:subnetworkUri)
46+
end
47+
48+
defimpl Poison.Decoder,
49+
for: GoogleApi.NetworkManagement.V1beta1.Model.DirectVpcEgressConnectionInfo do
50+
def decode(value, options) do
51+
GoogleApi.NetworkManagement.V1beta1.Model.DirectVpcEgressConnectionInfo.decode(value, options)
52+
end
53+
end
54+
55+
defimpl Poison.Encoder,
56+
for: GoogleApi.NetworkManagement.V1beta1.Model.DirectVpcEgressConnectionInfo do
57+
def encode(value, options) do
58+
GoogleApi.Gax.ModelBase.encode(value, options)
59+
end
60+
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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.NetworkManagement.V1beta1.Model.ServerlessExternalConnectionInfo do
19+
@moduledoc """
20+
For display only. Metadata associated with a serverless public connection.
21+
22+
## Attributes
23+
24+
* `selectedIpAddress` (*type:* `String.t`, *default:* `nil`) - Selected starting IP address, from the Google dynamic address pool.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:selectedIpAddress => String.t() | nil
31+
}
32+
33+
field(:selectedIpAddress)
34+
end
35+
36+
defimpl Poison.Decoder,
37+
for: GoogleApi.NetworkManagement.V1beta1.Model.ServerlessExternalConnectionInfo do
38+
def decode(value, options) do
39+
GoogleApi.NetworkManagement.V1beta1.Model.ServerlessExternalConnectionInfo.decode(
40+
value,
41+
options
42+
)
43+
end
44+
end
45+
46+
defimpl Poison.Encoder,
47+
for: GoogleApi.NetworkManagement.V1beta1.Model.ServerlessExternalConnectionInfo do
48+
def encode(value, options) do
49+
GoogleApi.Gax.ModelBase.encode(value, options)
50+
end
51+
end

0 commit comments

Comments
 (0)