diff --git a/clients/network_management/README.md b/clients/network_management/README.md index b2b1be5e88..56d5784c66 100644 --- a/clients/network_management/README.md +++ b/clients/network_management/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_network_management, "~> 0.35"}] + [{:google_api_network_management, "~> 0.36"}] end ``` diff --git a/clients/network_management/lib/google_api/network_management/v1/api/projects.ex b/clients/network_management/lib/google_api/network_management/v1/api/projects.ex index 7e52c70531..65d91e5bd6 100644 --- a/clients/network_management/lib/google_api/network_management/v1/api/projects.ex +++ b/clients/network_management/lib/google_api/network_management/v1/api/projects.ex @@ -832,7 +832,7 @@ defmodule GoogleApi.NetworkManagement.V1.Api.Projects do end @doc """ - 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`. + 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`. ## Parameters diff --git a/clients/network_management/lib/google_api/network_management/v1/metadata.ex b/clients/network_management/lib/google_api/network_management/v1/metadata.ex index fe895a9bf5..22bc73655c 100644 --- a/clients/network_management/lib/google_api/network_management/v1/metadata.ex +++ b/clients/network_management/lib/google_api/network_management/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.NetworkManagement.V1 do API client metadata for GoogleApi.NetworkManagement.V1. """ - @discovery_revision "20241106" + @discovery_revision "20241202" def discovery_revision(), do: @discovery_revision end diff --git a/clients/network_management/lib/google_api/network_management/v1/model/connectivity_test.ex b/clients/network_management/lib/google_api/network_management/v1/model/connectivity_test.ex index c3ddccf4d1..6705cd3929 100644 --- a/clients/network_management/lib/google_api/network_management/v1/model/connectivity_test.ex +++ b/clients/network_management/lib/google_api/network_management/v1/model/connectivity_test.ex @@ -32,6 +32,8 @@ defmodule GoogleApi.NetworkManagement.V1.Model.ConnectivityTest do * `protocol` (*type:* `String.t`, *default:* `nil`) - IP Protocol of the test. When not provided, "TCP" is assumed. * `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. * `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. + * `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. + * `roundTrip` (*type:* `boolean()`, *default:* `nil`) - Whether run analysis for the return path from destination to source. Default value is false. * `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. * `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the test's configuration was updated. """ @@ -51,6 +53,9 @@ defmodule GoogleApi.NetworkManagement.V1.Model.ConnectivityTest do :reachabilityDetails => GoogleApi.NetworkManagement.V1.Model.ReachabilityDetails.t() | nil, :relatedProjects => list(String.t()) | nil, + :returnReachabilityDetails => + GoogleApi.NetworkManagement.V1.Model.ReachabilityDetails.t() | nil, + :roundTrip => boolean() | nil, :source => GoogleApi.NetworkManagement.V1.Model.Endpoint.t() | nil, :updateTime => DateTime.t() | nil } @@ -66,6 +71,8 @@ defmodule GoogleApi.NetworkManagement.V1.Model.ConnectivityTest do field(:protocol) field(:reachabilityDetails, as: GoogleApi.NetworkManagement.V1.Model.ReachabilityDetails) field(:relatedProjects, type: :list) + field(:returnReachabilityDetails, as: GoogleApi.NetworkManagement.V1.Model.ReachabilityDetails) + field(:roundTrip) field(:source, as: GoogleApi.NetworkManagement.V1.Model.Endpoint) field(:updateTime, as: DateTime) end diff --git a/clients/network_management/lib/google_api/network_management/v1beta1/api/projects.ex b/clients/network_management/lib/google_api/network_management/v1beta1/api/projects.ex index 95ed0bcddd..c8cad5de9a 100644 --- a/clients/network_management/lib/google_api/network_management/v1beta1/api/projects.ex +++ b/clients/network_management/lib/google_api/network_management/v1beta1/api/projects.ex @@ -834,7 +834,7 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Api.Projects do end @doc """ - 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`. + 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`. ## Parameters diff --git a/clients/network_management/lib/google_api/network_management/v1beta1/metadata.ex b/clients/network_management/lib/google_api/network_management/v1beta1/metadata.ex index 402ebaebda..0dae77d9e9 100644 --- a/clients/network_management/lib/google_api/network_management/v1beta1/metadata.ex +++ b/clients/network_management/lib/google_api/network_management/v1beta1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.NetworkManagement.V1beta1 do API client metadata for GoogleApi.NetworkManagement.V1beta1. """ - @discovery_revision "20241106" + @discovery_revision "20241202" def discovery_revision(), do: @discovery_revision end diff --git a/clients/network_management/lib/google_api/network_management/v1beta1/model/connectivity_test.ex b/clients/network_management/lib/google_api/network_management/v1beta1/model/connectivity_test.ex index ffc98bb9a7..57041d678d 100644 --- a/clients/network_management/lib/google_api/network_management/v1beta1/model/connectivity_test.ex +++ b/clients/network_management/lib/google_api/network_management/v1beta1/model/connectivity_test.ex @@ -32,6 +32,8 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.ConnectivityTest do * `protocol` (*type:* `String.t`, *default:* `nil`) - IP Protocol of the test. When not provided, "TCP" is assumed. * `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. * `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. + * `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. + * `roundTrip` (*type:* `boolean()`, *default:* `nil`) - Whether run analysis for the return path from destination to source. Default value is false. * `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. * `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the test's configuration was updated. """ @@ -51,6 +53,9 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.ConnectivityTest do :reachabilityDetails => GoogleApi.NetworkManagement.V1beta1.Model.ReachabilityDetails.t() | nil, :relatedProjects => list(String.t()) | nil, + :returnReachabilityDetails => + GoogleApi.NetworkManagement.V1beta1.Model.ReachabilityDetails.t() | nil, + :roundTrip => boolean() | nil, :source => GoogleApi.NetworkManagement.V1beta1.Model.Endpoint.t() | nil, :updateTime => DateTime.t() | nil } @@ -66,6 +71,12 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.ConnectivityTest do field(:protocol) field(:reachabilityDetails, as: GoogleApi.NetworkManagement.V1beta1.Model.ReachabilityDetails) field(:relatedProjects, type: :list) + + field(:returnReachabilityDetails, + as: GoogleApi.NetworkManagement.V1beta1.Model.ReachabilityDetails + ) + + field(:roundTrip) field(:source, as: GoogleApi.NetworkManagement.V1beta1.Model.Endpoint) field(:updateTime, as: DateTime) end diff --git a/clients/network_management/mix.exs b/clients/network_management/mix.exs index d25dabcc33..c9655459d8 100644 --- a/clients/network_management/mix.exs +++ b/clients/network_management/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.NetworkManagement.Mixfile do use Mix.Project - @version "0.35.0" + @version "0.36.0" def project() do [