From 232e5625d4ab08129843ab5a6402ae1f0fe3f585 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 20 Mar 2024 10:28:00 -0700 Subject: [PATCH] feat: add new enum values related to Google services PiperOrigin-RevId: 617556344 --- google/cloud/networkmanagement/v1/trace.proto | 19 ++++++++++++++----- .../networkmanagement/v1beta1/trace.proto | 19 ++++++++++++++----- 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/google/cloud/networkmanagement/v1/trace.proto b/google/cloud/networkmanagement/v1/trace.proto index 2204e1e5c2eb0..ec1c720b75366 100644 --- a/google/cloud/networkmanagement/v1/trace.proto +++ b/google/cloud/networkmanagement/v1/trace.proto @@ -71,10 +71,8 @@ message Step { // The endpoint information is populated. START_FROM_INTERNET = 2; - // Initial state: packet originating from a Google service. Some Google - // services, such as health check probers or Identity Aware Proxy use - // special routes, outside VPC routing configuration to reach Compute Engine - // Instances. + // Initial state: packet originating from a Google service. + // The google_service information is populated. START_FROM_GOOGLE_SERVICE = 27; // Initial state: packet originating from a VPC or on-premises network @@ -525,7 +523,7 @@ message RouteInfo { message GoogleServiceInfo { // Recognized type of a Google Service. enum GoogleServiceType { - // Unspecified Google Service. Includes most of Google APIs and services. + // Unspecified Google Service. GOOGLE_SERVICE_TYPE_UNSPECIFIED = 0; // Identity aware proxy. @@ -543,6 +541,17 @@ message GoogleServiceInfo { // https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules // https://cloud.google.com/dns/docs/policies#firewall-rules CLOUD_DNS = 3; + + // private.googleapis.com and restricted.googleapis.com + GOOGLE_API = 4; + + // Google API via Private Service Connect. + // https://cloud.google.com/vpc/docs/configure-private-service-connect-apis + GOOGLE_API_PSC = 5; + + // Google API via VPC Service Controls. + // https://cloud.google.com/vpc/docs/configure-private-service-connect-apis + GOOGLE_API_VPC_SC = 6; } // Source IP address. diff --git a/google/cloud/networkmanagement/v1beta1/trace.proto b/google/cloud/networkmanagement/v1beta1/trace.proto index bc1e3675d62e2..70e65077feb23 100644 --- a/google/cloud/networkmanagement/v1beta1/trace.proto +++ b/google/cloud/networkmanagement/v1beta1/trace.proto @@ -71,10 +71,8 @@ message Step { // The endpoint information is populated. START_FROM_INTERNET = 2; - // Initial state: packet originating from a Google service. Some Google - // services, such as health check probers or Identity Aware Proxy use - // special routes, outside VPC routing configuration to reach Compute Engine - // Instances. + // Initial state: packet originating from a Google service. + // The google_service information is populated. START_FROM_GOOGLE_SERVICE = 27; // Initial state: packet originating from a VPC or on-premises network @@ -525,7 +523,7 @@ message RouteInfo { message GoogleServiceInfo { // Recognized type of a Google Service. enum GoogleServiceType { - // Unspecified Google Service. Includes most of Google APIs and services. + // Unspecified Google Service. GOOGLE_SERVICE_TYPE_UNSPECIFIED = 0; // Identity aware proxy. @@ -543,6 +541,17 @@ message GoogleServiceInfo { // https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules // https://cloud.google.com/dns/docs/policies#firewall-rules CLOUD_DNS = 3; + + // private.googleapis.com and restricted.googleapis.com + GOOGLE_API = 4; + + // Google API via Private Service Connect. + // https://cloud.google.com/vpc/docs/configure-private-service-connect-apis + GOOGLE_API_PSC = 5; + + // Google API via VPC Service Controls. + // https://cloud.google.com/vpc/docs/configure-private-service-connect-apis + GOOGLE_API_VPC_SC = 6; } // Source IP address.