Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,8 @@ class State(proto.Enum):
Initial state: packet originating from the
internet. The endpoint information is populated.
START_FROM_GOOGLE_SERVICE (27):
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_PRIVATE_NETWORK (3):
Initial state: packet originating from a VPC
or on-premises network with internal source IP.
Expand Down Expand Up @@ -1034,8 +1031,7 @@ class GoogleServiceType(proto.Enum):

Values:
GOOGLE_SERVICE_TYPE_UNSPECIFIED (0):
Unspecified Google Service. Includes most of
Google APIs and services.
Unspecified Google Service.
IAP (1):
Identity aware proxy.
https://cloud.google.com/iap/docs/using-tcp-forwarding
Expand All @@ -1051,11 +1047,23 @@ class GoogleServiceType(proto.Enum):
private routing.
https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules
https://cloud.google.com/dns/docs/policies#firewall-rules
GOOGLE_API (4):
private.googleapis.com and
restricted.googleapis.com
GOOGLE_API_PSC (5):
Google API via Private Service Connect.
https://cloud.google.com/vpc/docs/configure-private-service-connect-apis
GOOGLE_API_VPC_SC (6):
Google API via VPC Service Controls.
https://cloud.google.com/vpc/docs/configure-private-service-connect-apis
"""
GOOGLE_SERVICE_TYPE_UNSPECIFIED = 0
IAP = 1
GFE_PROXY_OR_HEALTH_CHECK_PROBER = 2
CLOUD_DNS = 3
GOOGLE_API = 4
GOOGLE_API_PSC = 5
GOOGLE_API_VPC_SC = 6

source_ip: str = proto.Field(
proto.STRING,
Expand Down