Skip to content

Commit

Permalink
feat: add new enum values related to Google services
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 617556344
  • Loading branch information
Google APIs authored and Copybara-Service committed Mar 20, 2024
1 parent cee8017 commit 232e562
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 10 deletions.
19 changes: 14 additions & 5 deletions google/cloud/networkmanagement/v1/trace.proto
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down
19 changes: 14 additions & 5 deletions google/cloud/networkmanagement/v1beta1/trace.proto
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 232e562

Please sign in to comment.