Skip to content

Commit 76641ca

Browse files
feat: Automated regeneration of NetworkManagement client (#13249)
Auto-created at 2025-03-27 13:23:21 +0000 using the toys pull request generator.
1 parent b4b0d69 commit 76641ca

File tree

6 files changed

+24
-24
lines changed

6 files changed

+24
-24
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 "20250226"
23+
@discovery_revision "20250319"
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ defmodule GoogleApi.NetworkManagement.V1.Model.ConnectivityTest do
2121
2222
## Attributes
2323
24-
* `bypassFirewallChecks` (*type:* `boolean()`, *default:* `nil`) - Whether the test should skip firewall checking. If not provided, we assume false.
24+
* `bypassFirewallChecks` (*type:* `boolean()`, *default:* `nil`) - Whether the analysis should skip firewall checking. Default value is false.
2525
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the test was created.
2626
* `description` (*type:* `String.t`, *default:* `nil`) - The user-supplied description of the Connectivity Test. Maximum of 512 characters.
27-
* `destination` (*type:* `GoogleApi.NetworkManagement.V1.Model.Endpoint.t`, *default:* `nil`) - Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test.
27+
* `destination` (*type:* `GoogleApi.NetworkManagement.V1.Model.Endpoint.t`, *default:* `nil`) - Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, URI of a supported endpoint, project ID, or VPC network to identify the destination location. Reachability analysis proceeds even if the destination location is ambiguous. However, the test result might include endpoints or use a destination that you don't intend to test.
2828
* `displayName` (*type:* `String.t`, *default:* `nil`) - Output only. The display name of a Connectivity Test.
2929
* `labels` (*type:* `map()`, *default:* `nil`) - Resource labels to represent user-provided metadata.
3030
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`
@@ -34,7 +34,7 @@ defmodule GoogleApi.NetworkManagement.V1.Model.ConnectivityTest do
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.
3535
* `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.
3636
* `roundTrip` (*type:* `boolean()`, *default:* `nil`) - Whether run analysis for the return path from destination to source. Default value is false.
37-
* `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.
37+
* `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, URI of a supported endpoint, project ID, or VPC network to identify the source location. Reachability analysis might proceed even if the source location is ambiguous. However, the test result might include endpoints or use a source that you don't intend to test.
3838
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the test's configuration was updated.
3939
"""
4040

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,24 @@ defmodule GoogleApi.NetworkManagement.V1.Model.Endpoint do
2121
2222
## Attributes
2323
24-
* `appEngineVersion` (*type:* `GoogleApi.NetworkManagement.V1.Model.AppEngineVersionEndpoint.t`, *default:* `nil`) - An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).
25-
* `cloudFunction` (*type:* `GoogleApi.NetworkManagement.V1.Model.CloudFunctionEndpoint.t`, *default:* `nil`) - A [Cloud Function](https://cloud.google.com/functions).
26-
* `cloudRunRevision` (*type:* `GoogleApi.NetworkManagement.V1.Model.CloudRunRevisionEndpoint.t`, *default:* `nil`) - A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
24+
* `appEngineVersion` (*type:* `GoogleApi.NetworkManagement.V1.Model.AppEngineVersionEndpoint.t`, *default:* `nil`) - An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). Applicable only to source endpoint.
25+
* `cloudFunction` (*type:* `GoogleApi.NetworkManagement.V1.Model.CloudFunctionEndpoint.t`, *default:* `nil`) - A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint.
26+
* `cloudRunRevision` (*type:* `GoogleApi.NetworkManagement.V1.Model.CloudRunRevisionEndpoint.t`, *default:* `nil`) - A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint.
2727
* `cloudSqlInstance` (*type:* `String.t`, *default:* `nil`) - A [Cloud SQL](https://cloud.google.com/sql) instance URI.
28-
* `forwardingRule` (*type:* `String.t`, *default:* `nil`) - A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}
28+
* `forwardingRule` (*type:* `String.t`, *default:* `nil`) - A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Applicable only to destination endpoint. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}
2929
* `forwardingRuleTarget` (*type:* `String.t`, *default:* `nil`) - Output only. Specifies the type of the target of the forwarding rule.
3030
* `fqdn` (*type:* `String.t`, *default:* `nil`) - DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). Requires gke_master_cluster to be set, can't be used simultaneoulsly with ip_address or network. Applicable only to destination endpoint.
3131
* `gkeMasterCluster` (*type:* `String.t`, *default:* `nil`) - A cluster URI for [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
3232
* `instance` (*type:* `String.t`, *default:* `nil`) - A Compute Engine instance URI.
3333
* `ipAddress` (*type:* `String.t`, *default:* `nil`) - The IP address of the endpoint, which can be an external or internal IP.
3434
* `loadBalancerId` (*type:* `String.t`, *default:* `nil`) - Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers.
3535
* `loadBalancerType` (*type:* `String.t`, *default:* `nil`) - Output only. Type of the load balancer the forwarding rule points to.
36-
* `network` (*type:* `String.t`, *default:* `nil`) - A Compute Engine network URI.
36+
* `network` (*type:* `String.t`, *default:* `nil`) - A VPC network URI.
3737
* `networkType` (*type:* `String.t`, *default:* `nil`) - Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
3838
* `port` (*type:* `integer()`, *default:* `nil`) - The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
39-
* `projectId` (*type:* `String.t`, *default:* `nil`) - Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID: 1. Only the IP address is specified, and the IP address is within a Google Cloud project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.
40-
* `redisCluster` (*type:* `String.t`, *default:* `nil`) - A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.
41-
* `redisInstance` (*type:* `String.t`, *default:* `nil`) - A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.
39+
* `projectId` (*type:* `String.t`, *default:* `nil`) - Project ID where the endpoint is located. The project ID can be derived from the URI if you provide a endpoint or network URI. The following are two cases where you may need to provide the project ID: 1. Only the IP address is specified, and the IP address is within a Google Cloud project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.
40+
* `redisCluster` (*type:* `String.t`, *default:* `nil`) - A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI. Applicable only to destination endpoint.
41+
* `redisInstance` (*type:* `String.t`, *default:* `nil`) - A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI. Applicable only to destination endpoint.
4242
"""
4343

4444
use GoogleApi.Gax.ModelBase

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 "20250226"
23+
@discovery_revision "20250319"
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.ConnectivityTest do
2121
2222
## Attributes
2323
24-
* `bypassFirewallChecks` (*type:* `boolean()`, *default:* `nil`) - Whether the test should skip firewall checking. If not provided, we assume false.
24+
* `bypassFirewallChecks` (*type:* `boolean()`, *default:* `nil`) - Whether the analysis should skip firewall checking. Default value is false.
2525
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the test was created.
2626
* `description` (*type:* `String.t`, *default:* `nil`) - The user-supplied description of the Connectivity Test. Maximum of 512 characters.
27-
* `destination` (*type:* `GoogleApi.NetworkManagement.V1beta1.Model.Endpoint.t`, *default:* `nil`) - Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test.
27+
* `destination` (*type:* `GoogleApi.NetworkManagement.V1beta1.Model.Endpoint.t`, *default:* `nil`) - Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, URI of a supported endpoint, project ID, or VPC network to identify the destination location. Reachability analysis proceeds even if the destination location is ambiguous. However, the test result might include endpoints or use a destination that you don't intend to test.
2828
* `displayName` (*type:* `String.t`, *default:* `nil`) - Output only. The display name of a Connectivity Test.
2929
* `labels` (*type:* `map()`, *default:* `nil`) - Resource labels to represent user-provided metadata.
3030
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test}`
@@ -34,7 +34,7 @@ defmodule GoogleApi.NetworkManagement.V1beta1.Model.ConnectivityTest do
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.
3535
* `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.
3636
* `roundTrip` (*type:* `boolean()`, *default:* `nil`) - Whether run analysis for the return path from destination to source. Default value is false.
37-
* `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.
37+
* `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, URI of a supported endpoint, project ID, or VPC network to identify the source location. Reachability analysis might proceed even if the source location is ambiguous. However, the test result might include endpoints or use a source that you don't intend to test.
3838
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the test's configuration was updated.
3939
"""
4040

0 commit comments

Comments
 (0)