Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of NetworkManagement client #12657

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.35"}]
[{:google_api_network_management, "~> 0.36"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand All @@ -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
}
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand All @@ -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
}
Expand All @@ -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
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.35.0"
@version "0.36.0"

def project() do
[
Expand Down
Loading