Skip to content

Commit

Permalink
chore: deprecate legacy fields related to load balancing
Browse files Browse the repository at this point in the history
docs: update comments for fields related to load balancing
PiperOrigin-RevId: 618165773
  • Loading branch information
Google APIs authored and Copybara-Service committed Mar 22, 2024
1 parent 5ce591f commit 2bc2029
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
3 changes: 0 additions & 3 deletions google/cloud/networkmanagement/v1/connectivity_test.proto
Expand Up @@ -186,9 +186,6 @@ message Endpoint {
}

// The IP address of the endpoint, which can be an external or internal IP.
// An IPv6 address is only allowed when the test's destination is a
// [global load balancer
// VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
string ip_address = 1;

// The IP protocol port of the endpoint.
Expand Down
15 changes: 9 additions & 6 deletions google/cloud/networkmanagement/v1/trace.proto
Expand Up @@ -124,10 +124,10 @@ message Step {
ARRIVE_AT_INSTANCE = 9;

// Forwarding state: arriving at a Compute Engine internal load balancer.
ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10;
ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10 [deprecated = true];

// Forwarding state: arriving at a Compute Engine external load balancer.
ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11;
ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11 [deprecated = true];

// Forwarding state: arriving at a Cloud VPN gateway.
ARRIVE_AT_VPN_GATEWAY = 12;
Expand Down Expand Up @@ -223,8 +223,9 @@ message Step {
// Display information of the final state "drop" and reason.
DropInfo drop = 15;

// Display information of the load balancers.
LoadBalancerInfo load_balancer = 16;
// Display information of the load balancers. Deprecated in favor of the
// `load_balancer_backend_info` field, not used in new tests.
LoadBalancerInfo load_balancer = 16 [deprecated = true];

// Display information of a Google Cloud network.
NetworkInfo network = 17;
Expand Down Expand Up @@ -626,8 +627,10 @@ message LoadBalancerInfo {
// Type of the load balancer.
LoadBalancerType load_balancer_type = 1;

// URI of the health check for the load balancer.
string health_check_uri = 2;
// URI of the health check for the load balancer. Deprecated and no longer
// populated as different load balancer backends might have different health
// checks.
string health_check_uri = 2 [deprecated = true];

// Information for the loadbalancer backends.
repeated LoadBalancerBackend backends = 3;
Expand Down
Expand Up @@ -186,9 +186,6 @@ message Endpoint {
}

// The IP address of the endpoint, which can be an external or internal IP.
// An IPv6 address is only allowed when the test's destination is a
// [global load balancer
// VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
string ip_address = 1;

// The IP protocol port of the endpoint.
Expand Down
15 changes: 9 additions & 6 deletions google/cloud/networkmanagement/v1beta1/trace.proto
Expand Up @@ -124,10 +124,10 @@ message Step {
ARRIVE_AT_INSTANCE = 9;

// Forwarding state: arriving at a Compute Engine internal load balancer.
ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10;
ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10 [deprecated = true];

// Forwarding state: arriving at a Compute Engine external load balancer.
ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11;
ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11 [deprecated = true];

// Forwarding state: arriving at a Cloud VPN gateway.
ARRIVE_AT_VPN_GATEWAY = 12;
Expand Down Expand Up @@ -223,8 +223,9 @@ message Step {
// Display information of the final state "drop" and reason.
DropInfo drop = 15;

// Display information of the load balancers.
LoadBalancerInfo load_balancer = 16;
// Display information of the load balancers. Deprecated in favor of the
// `load_balancer_backend_info` field, not used in new tests.
LoadBalancerInfo load_balancer = 16 [deprecated = true];

// Display information of a Google Cloud network.
NetworkInfo network = 17;
Expand Down Expand Up @@ -626,8 +627,10 @@ message LoadBalancerInfo {
// Type of the load balancer.
LoadBalancerType load_balancer_type = 1;

// URI of the health check for the load balancer.
string health_check_uri = 2;
// URI of the health check for the load balancer. Deprecated and no longer
// populated as different load balancer backends might have different health
// checks.
string health_check_uri = 2 [deprecated = true];

// Information for the loadbalancer backends.
repeated LoadBalancerBackend backends = 3;
Expand Down

0 comments on commit 2bc2029

Please sign in to comment.