Skip to content

Commit 9afdb50

Browse files
feat: Automated regeneration of NetworkManagement client (#13039)
Auto-created at 2025-02-27 13:11:34 +0000 using the toys pull request generator.
1 parent f30e580 commit 9afdb50

File tree

5 files changed

+184
-64
lines changed

5 files changed

+184
-64
lines changed

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 "20250101"
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,58 @@
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.V1.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, for: GoogleApi.NetworkManagement.V1.Model.DirectVpcEgressConnectionInfo do
49+
def decode(value, options) do
50+
GoogleApi.NetworkManagement.V1.Model.DirectVpcEgressConnectionInfo.decode(value, options)
51+
end
52+
end
53+
54+
defimpl Poison.Encoder, for: GoogleApi.NetworkManagement.V1.Model.DirectVpcEgressConnectionInfo do
55+
def encode(value, options) do
56+
GoogleApi.Gax.ModelBase.encode(value, options)
57+
end
58+
end
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.NetworkManagement.V1.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, for: GoogleApi.NetworkManagement.V1.Model.ServerlessExternalConnectionInfo do
37+
def decode(value, options) do
38+
GoogleApi.NetworkManagement.V1.Model.ServerlessExternalConnectionInfo.decode(value, options)
39+
end
40+
end
41+
42+
defimpl Poison.Encoder, for: GoogleApi.NetworkManagement.V1.Model.ServerlessExternalConnectionInfo do
43+
def encode(value, options) do
44+
GoogleApi.Gax.ModelBase.encode(value, options)
45+
end
46+
end

0 commit comments

Comments
 (0)