Skip to content

Commit 836986a

Browse files
feat: Automated regeneration of NetworkManagement client (googleapis#12657)
Auto-created at 2024-12-07 13:13:55 +0000 using the toys pull request generator.
1 parent 2fd9d62 commit 836986a

File tree

8 files changed

+24
-6
lines changed

8 files changed

+24
-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.35"}]
14+
[{:google_api_network_management, "~> 0.36"}]
1515
end
1616
```
1717

clients/network_management/lib/google_api/network_management/v1/api/projects.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ defmodule GoogleApi.NetworkManagement.V1.Api.Projects do
832832
end
833833

834834
@doc """
835-
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
835+
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
836836
837837
## Parameters
838838

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 "20241106"
23+
@discovery_revision "20241202"
2424

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

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ defmodule GoogleApi.NetworkManagement.V1.Model.ConnectivityTest do
3232
* `protocol` (*type:* `String.t`, *default:* `nil`) - IP Protocol of the test. When not provided, "TCP" is assumed.
3333
* `reachabilityDetails` (*type:* `GoogleApi.NetworkManagement.V1.Model.ReachabilityDetails.t`, *default:* `nil`) - Output only. The reachability details of this test from the latest run. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test.
3434
* `relatedProjects` (*type:* `list(String.t)`, *default:* `nil`) - Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.
35+
* `returnReachabilityDetails` (*type:* `GoogleApi.NetworkManagement.V1.Model.ReachabilityDetails.t`, *default:* `nil`) - Output only. The reachability details of this test from the latest run for the return path. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test.
36+
* `roundTrip` (*type:* `boolean()`, *default:* `nil`) - Whether run analysis for the return path from destination to source. Default value is false.
3537
* `source` (*type:* `GoogleApi.NetworkManagement.V1.Model.Endpoint.t`, *default:* `nil`) - Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test.
3638
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the test's configuration was updated.
3739
"""
@@ -51,6 +53,9 @@ defmodule GoogleApi.NetworkManagement.V1.Model.ConnectivityTest do
5153
:reachabilityDetails =>
5254
GoogleApi.NetworkManagement.V1.Model.ReachabilityDetails.t() | nil,
5355
:relatedProjects => list(String.t()) | nil,
56+
:returnReachabilityDetails =>
57+
GoogleApi.NetworkManagement.V1.Model.ReachabilityDetails.t() | nil,
58+
:roundTrip => boolean() | nil,
5459
:source => GoogleApi.NetworkManagement.V1.Model.Endpoint.t() | nil,
5560
:updateTime => DateTime.t() | nil
5661
}
@@ -66,6 +71,8 @@ defmodule GoogleApi.NetworkManagement.V1.Model.ConnectivityTest do
6671
field(:protocol)
6772
field(:reachabilityDetails, as: GoogleApi.NetworkManagement.V1.Model.ReachabilityDetails)
6873
field(:relatedProjects, type: :list)
74+
field(:returnReachabilityDetails, as: GoogleApi.NetworkManagement.V1.Model.ReachabilityDetails)
75+
field(:roundTrip)
6976
field(:source, as: GoogleApi.NetworkManagement.V1.Model.Endpoint)
7077
field(:updateTime, as: DateTime)
7178
end

clients/network_management/lib/google_api/network_management/v1beta1/api/projects.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Api.Projects do
834834
end
835835

836836
@doc """
837-
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
837+
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
838838
839839
## Parameters
840840

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 "20241106"
23+
@discovery_revision "20241202"
2424

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

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.ConnectivityTest do
3232
* `protocol` (*type:* `String.t`, *default:* `nil`) - IP Protocol of the test. When not provided, "TCP" is assumed.
3333
* `reachabilityDetails` (*type:* `GoogleApi.NetworkManagement.V1beta1.Model.ReachabilityDetails.t`, *default:* `nil`) - Output only. The reachability details of this test from the latest run. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test.
3434
* `relatedProjects` (*type:* `list(String.t)`, *default:* `nil`) - Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.
35+
* `returnReachabilityDetails` (*type:* `GoogleApi.NetworkManagement.V1beta1.Model.ReachabilityDetails.t`, *default:* `nil`) - Output only. The reachability details of this test from the latest run for the return path. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test.
36+
* `roundTrip` (*type:* `boolean()`, *default:* `nil`) - Whether run analysis for the return path from destination to source. Default value is false.
3537
* `source` (*type:* `GoogleApi.NetworkManagement.V1beta1.Model.Endpoint.t`, *default:* `nil`) - Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test.
3638
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the test's configuration was updated.
3739
"""
@@ -51,6 +53,9 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.ConnectivityTest do
5153
:reachabilityDetails =>
5254
GoogleApi.NetworkManagement.V1beta1.Model.ReachabilityDetails.t() | nil,
5355
:relatedProjects => list(String.t()) | nil,
56+
:returnReachabilityDetails =>
57+
GoogleApi.NetworkManagement.V1beta1.Model.ReachabilityDetails.t() | nil,
58+
:roundTrip => boolean() | nil,
5459
:source => GoogleApi.NetworkManagement.V1beta1.Model.Endpoint.t() | nil,
5560
:updateTime => DateTime.t() | nil
5661
}
@@ -66,6 +71,12 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.ConnectivityTest do
6671
field(:protocol)
6772
field(:reachabilityDetails, as: GoogleApi.NetworkManagement.V1beta1.Model.ReachabilityDetails)
6873
field(:relatedProjects, type: :list)
74+
75+
field(:returnReachabilityDetails,
76+
as: GoogleApi.NetworkManagement.V1beta1.Model.ReachabilityDetails
77+
)
78+
79+
field(:roundTrip)
6980
field(:source, as: GoogleApi.NetworkManagement.V1beta1.Model.Endpoint)
7081
field(:updateTime, as: DateTime)
7182
end

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.35.0"
21+
@version "0.36.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)