@@ -316,6 +316,19 @@ message Step {
316
316
317
317
// For display only. Metadata associated with a Compute Engine instance.
318
318
message InstanceInfo {
319
+ // The status of the instance. We treat all states other than "RUNNING" as
320
+ // not running.
321
+ enum Status {
322
+ // Default unspecified value.
323
+ STATUS_UNSPECIFIED = 0 ;
324
+
325
+ // The instance is running.
326
+ RUNNING = 1 ;
327
+
328
+ // The instance has any status other than "RUNNING".
329
+ NOT_RUNNING = 2 ;
330
+ }
331
+
319
332
// Name of a Compute Engine instance.
320
333
string display_name = 1 ;
321
334
@@ -342,10 +355,16 @@ message InstanceInfo {
342
355
343
356
// URI of the PSC network attachment the NIC is attached to (if relevant).
344
357
string psc_network_attachment_uri = 9 ;
358
+
359
+ // Indicates whether the Compute Engine instance is running.
360
+ // Deprecated: use the `status` field instead.
361
+ bool running = 10 [deprecated = true ];
362
+
363
+ // The status of the instance.
364
+ Status status = 11 ;
345
365
}
346
366
347
367
// For display only. Metadata associated with a Compute Engine network.
348
- // Next ID: 7
349
368
message NetworkInfo {
350
369
// Name of a Compute Engine network.
351
370
string display_name = 1 ;
@@ -459,6 +478,11 @@ message FirewallInfo {
459
478
460
479
// The firewall rule's type.
461
480
FirewallRuleType firewall_rule_type = 10 ;
481
+
482
+ // The priority of the firewall policy that this rule is associated with.
483
+ // This field is not applicable to VPC firewall rules and implied VPC firewall
484
+ // rules.
485
+ int32 policy_priority = 12 ;
462
486
}
463
487
464
488
// For display only. Metadata associated with a Compute Engine route.
@@ -544,6 +568,9 @@ message RouteInfo {
544
568
// Next hop is an NCC hub. This scenario only happens when the user doesn't
545
569
// have permissions to the project where the next hop resource is located.
546
570
NEXT_HOP_NCC_HUB = 12 ;
571
+
572
+ // Next hop is Secure Web Proxy Gateway.
573
+ SECURE_WEB_PROXY_GATEWAY = 13 ;
547
574
}
548
575
549
576
// Indicates where routes are applicable.
@@ -986,6 +1013,35 @@ message DeliverInfo {
986
1013
REDIS_CLUSTER = 17 ;
987
1014
}
988
1015
1016
+ // Recognized type of a Google Service.
1017
+ enum GoogleServiceType {
1018
+ // Unspecified Google Service.
1019
+ GOOGLE_SERVICE_TYPE_UNSPECIFIED = 0 ;
1020
+
1021
+ // Identity aware proxy.
1022
+ // https://cloud.google.com/iap/docs/using-tcp-forwarding
1023
+ IAP = 1 ;
1024
+
1025
+ // One of two services sharing IP ranges:
1026
+ // * Load Balancer proxy
1027
+ // * Centralized Health Check prober
1028
+ // https://cloud.google.com/load-balancing/docs/firewall-rules
1029
+ GFE_PROXY_OR_HEALTH_CHECK_PROBER = 2 ;
1030
+
1031
+ // Connectivity from Cloud DNS to forwarding targets or alternate name
1032
+ // servers that use private routing.
1033
+ // https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules
1034
+ // https://cloud.google.com/dns/docs/policies#firewall-rules
1035
+ CLOUD_DNS = 3 ;
1036
+
1037
+ // private.googleapis.com and restricted.googleapis.com
1038
+ PRIVATE_GOOGLE_ACCESS = 4 ;
1039
+
1040
+ // Google API via Serverless VPC Access.
1041
+ // https://cloud.google.com/vpc/docs/serverless-vpc-access
1042
+ SERVERLESS_VPC_ACCESS = 5 ;
1043
+ }
1044
+
989
1045
// Target type where the packet is delivered to.
990
1046
Target target = 1 ;
991
1047
@@ -1001,6 +1057,10 @@ message DeliverInfo {
1001
1057
1002
1058
// PSC Google API target the packet is delivered to (if applicable).
1003
1059
string psc_google_api_target = 5 ;
1060
+
1061
+ // Recognized type of a Google Service the packet is delivered to (if
1062
+ // applicable).
1063
+ GoogleServiceType google_service_type = 6 ;
1004
1064
}
1005
1065
1006
1066
// Details of the final state "forward" and associated resource.
@@ -1036,6 +1096,9 @@ message ForwardInfo {
1036
1096
1037
1097
// Forwarded to a router appliance.
1038
1098
ROUTER_APPLIANCE = 9 ;
1099
+
1100
+ // Forwarded to a Secure Web Proxy Gateway.
1101
+ SECURE_WEB_PROXY_GATEWAY = 10 ;
1039
1102
}
1040
1103
1041
1104
// Target type where this packet is forwarded to.
@@ -1162,10 +1225,14 @@ message AbortInfo {
1162
1225
// Aborted because expected route configuration was missing.
1163
1226
ROUTE_CONFIG_NOT_FOUND = 27 ;
1164
1227
1165
- // Aborted because a PSC endpoint selection for the Google-managed service
1228
+ // Aborted because PSC endpoint selection for the Google-managed service
1166
1229
// is ambiguous (several PSC endpoints satisfy test input).
1167
1230
GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT = 19 ;
1168
1231
1232
+ // Aborted because endpoint selection for the Google-managed service is
1233
+ // ambiguous (several endpoints satisfy test input).
1234
+ GOOGLE_MANAGED_SERVICE_AMBIGUOUS_ENDPOINT = 39 ;
1235
+
1169
1236
// Aborted because tests with a PSC-based Cloud SQL instance as a source are
1170
1237
// not supported.
1171
1238
SOURCE_PSC_CLOUD_SQL_UNSUPPORTED = 20 ;
@@ -1265,9 +1332,14 @@ message DropInfo {
1265
1332
// rule of the internal passthrough load balancer).
1266
1333
ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID = 53 ;
1267
1334
1268
- // Packet is sent from the Internet to the private IPv6 address.
1335
+ // Packet is sent from the Internet or Google service to the private IPv6
1336
+ // address.
1269
1337
NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS = 44 ;
1270
1338
1339
+ // Packet is sent from the external IPv6 source address of an instance to
1340
+ // the private IPv6 address of an instance.
1341
+ NO_ROUTE_FROM_EXTERNAL_IPV6_SOURCE_TO_PRIVATE_IPV6_ADDRESS = 98 ;
1342
+
1271
1343
// The packet does not match a policy-based VPN tunnel local selector.
1272
1344
VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH = 45 ;
1273
1345
@@ -1277,18 +1349,18 @@ message DropInfo {
1277
1349
// Packet with internal destination address sent to the internet gateway.
1278
1350
PRIVATE_TRAFFIC_TO_INTERNET = 7 ;
1279
1351
1280
- // Instance with only an internal IP address tries to access Google API and
1281
- // services, but private Google access is not enabled in the subnet.
1352
+ // Endpoint with only an internal IP address tries to access Google API and
1353
+ // services, but Private Google Access is not enabled in the subnet or is
1354
+ // not applicable.
1282
1355
PRIVATE_GOOGLE_ACCESS_DISALLOWED = 8 ;
1283
1356
1284
1357
// Source endpoint tries to access Google API and services through the VPN
1285
1358
// tunnel to another network, but Private Google Access needs to be enabled
1286
1359
// in the source endpoint network.
1287
1360
PRIVATE_GOOGLE_ACCESS_VIA_VPN_TUNNEL_UNSUPPORTED = 47 ;
1288
1361
1289
- // Instance with only an internal IP address tries to access external hosts,
1290
- // but Cloud NAT is not enabled in the subnet, unless special configurations
1291
- // on a VM allow this connection.
1362
+ // Endpoint with only an internal IP address tries to access external hosts,
1363
+ // but there is no matching Cloud NAT gateway in the subnet.
1292
1364
NO_EXTERNAL_ADDRESS = 9 ;
1293
1365
1294
1366
// Destination internal address cannot be resolved to a known target. If
@@ -1563,6 +1635,22 @@ message DropInfo {
1563
1635
// Packet with destination IP address within the reserved NAT64 range is
1564
1636
// dropped due to matching a route of an unsupported type.
1565
1637
UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION = 88 ;
1638
+
1639
+ // Packet could be dropped because hybrid endpoint like a VPN gateway or
1640
+ // Interconnect is not allowed to send traffic to the Internet.
1641
+ TRAFFIC_FROM_HYBRID_ENDPOINT_TO_INTERNET_DISALLOWED = 89 ;
1642
+
1643
+ // Packet with destination IP address within the reserved NAT64 range is
1644
+ // dropped due to no matching NAT gateway in the subnet.
1645
+ NO_MATCHING_NAT64_GATEWAY = 90 ;
1646
+
1647
+ // Packet is dropped due to being sent to a backend of a passthrough load
1648
+ // balancer that doesn't use the same IP version as the frontend.
1649
+ LOAD_BALANCER_BACKEND_IP_VERSION_MISMATCH = 96 ;
1650
+
1651
+ // Packet from the unknown NCC network is dropped due to no known route
1652
+ // from the source network to the destination IP address.
1653
+ NO_KNOWN_ROUTE_FROM_NCC_NETWORK_TO_DESTINATION = 97 ;
1566
1654
}
1567
1655
1568
1656
// Cause that the packet is dropped.
0 commit comments