Skip to content

Commit 8cd9d87

Browse files
gcf-owl-bot[bot]vchudnov-gparthea
authored
feat: [google-cloud-network-management] add new enum values related to Google services (#12478)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 617556344 Source-Link: googleapis/googleapis@232e562 Source-Link: googleapis/googleapis-gen@28ae567 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldHdvcmstbWFuYWdlbWVudC8uT3dsQm90LnlhbWwiLCJoIjoiMjhhZTU2Nzk0OTZjZWFhOTk0NDQzMDI0NWE1MDRmMmJhZWJiNDg1NCJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Victor Chudnovsky <vchudnov@google.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 9360249 commit 8cd9d87

File tree

1 file changed

+15
-7
lines changed
  • packages/google-cloud-network-management/google/cloud/network_management_v1/types

1 file changed

+15
-7
lines changed

packages/google-cloud-network-management/google/cloud/network_management_v1/types/trace.py

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,8 @@ class State(proto.Enum):
301301
Initial state: packet originating from the
302302
internet. The endpoint information is populated.
303303
START_FROM_GOOGLE_SERVICE (27):
304-
Initial state: packet originating from a
305-
Google service. Some Google services, such as
306-
health check probers or Identity Aware Proxy use
307-
special routes, outside VPC routing
308-
configuration to reach Compute Engine Instances.
304+
Initial state: packet originating from a Google service. The
305+
google_service information is populated.
309306
START_FROM_PRIVATE_NETWORK (3):
310307
Initial state: packet originating from a VPC
311308
or on-premises network with internal source IP.
@@ -1034,8 +1031,7 @@ class GoogleServiceType(proto.Enum):
10341031
10351032
Values:
10361033
GOOGLE_SERVICE_TYPE_UNSPECIFIED (0):
1037-
Unspecified Google Service. Includes most of
1038-
Google APIs and services.
1034+
Unspecified Google Service.
10391035
IAP (1):
10401036
Identity aware proxy.
10411037
https://cloud.google.com/iap/docs/using-tcp-forwarding
@@ -1051,11 +1047,23 @@ class GoogleServiceType(proto.Enum):
10511047
private routing.
10521048
https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules
10531049
https://cloud.google.com/dns/docs/policies#firewall-rules
1050+
GOOGLE_API (4):
1051+
private.googleapis.com and
1052+
restricted.googleapis.com
1053+
GOOGLE_API_PSC (5):
1054+
Google API via Private Service Connect.
1055+
https://cloud.google.com/vpc/docs/configure-private-service-connect-apis
1056+
GOOGLE_API_VPC_SC (6):
1057+
Google API via VPC Service Controls.
1058+
https://cloud.google.com/vpc/docs/configure-private-service-connect-apis
10541059
"""
10551060
GOOGLE_SERVICE_TYPE_UNSPECIFIED = 0
10561061
IAP = 1
10571062
GFE_PROXY_OR_HEALTH_CHECK_PROBER = 2
10581063
CLOUD_DNS = 3
1064+
GOOGLE_API = 4
1065+
GOOGLE_API_PSC = 5
1066+
GOOGLE_API_VPC_SC = 6
10591067

10601068
source_ip: str = proto.Field(
10611069
proto.STRING,

0 commit comments

Comments
 (0)