@@ -82,6 +82,10 @@ message Step {
8282 // A CloudSQLInstanceInfo is populated with starting instance information.
8383 START_FROM_CLOUD_SQL_INSTANCE = 22 ;
8484
85+ // Initial state: packet originating from a Cloud function.
86+ // A CloudFunctionInfo is populated with starting function information.
87+ START_FROM_CLOUD_FUNCTION = 23 ;
88+
8589 // Config checking state: verify ingress firewall rule.
8690 APPLY_INGRESS_FIREWALL_RULE = 4 ;
8791
@@ -113,6 +117,9 @@ message Step {
113117 // Forwarding state: arriving at a Cloud VPN tunnel.
114118 ARRIVE_AT_VPN_TUNNEL = 13 ;
115119
120+ // Forwarding state: arriving at a VPC connector.
121+ ARRIVE_AT_VPC_CONNECTOR = 24 ;
122+
116123 // Transition state: packet header translated.
117124 NAT = 14 ;
118125
@@ -180,6 +187,9 @@ message Step {
180187 // Display information of a Compute Engine VPN tunnel.
181188 VpnTunnelInfo vpn_tunnel = 11 ;
182189
190+ // Display information of a VPC connector.
191+ VpcConnectorInfo vpc_connector = 21 ;
192+
183193 // Display information of the final state "deliver" and reason.
184194 DeliverInfo deliver = 12 ;
185195
@@ -203,6 +213,9 @@ message Step {
203213
204214 // Display information of a Cloud SQL instance.
205215 CloudSQLInstanceInfo cloud_sql_instance = 19 ;
216+
217+ // Display information of a Cloud function.
218+ CloudFunctionInfo cloud_function = 20 ;
206219 }
207220}
208221
@@ -267,6 +280,12 @@ message FirewallInfo {
267280 // [Implied
268281 // rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
269282 IMPLIED_VPC_FIREWALL_RULE = 3 ;
283+
284+ // Implicit firewall rules that are managed by serverless VPC access to
285+ // allow ingress access. They are not visible in the Google Cloud console.
286+ // For details, see [VPC connector's implicit
287+ // rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
288+ SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4 ;
270289 }
271290
272291 // The display name of the VPC firewall rule. This field is not applicable
@@ -855,6 +874,17 @@ message DropInfo {
855874 // Packet was dropped because the Cloud SQL instance has neither a private
856875 // nor a public IP address.
857876 CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = 21 ;
877+
878+ // Packet could be dropped because the Cloud function is not in an active
879+ // status.
880+ CLOUD_FUNCTION_NOT_ACTIVE = 22 ;
881+
882+ // Packet could be dropped because no VPC connector is set.
883+ VPC_CONNECTOR_NOT_SET = 23 ;
884+
885+ // Packet could be dropped because the VPC connector is not in a running
886+ // state.
887+ VPC_CONNECTOR_NOT_RUNNING = 24 ;
858888 }
859889
860890 // Cause that the packet is dropped.
@@ -901,3 +931,30 @@ message CloudSQLInstanceInfo {
901931 // Region in which the Cloud SQL instance is running.
902932 string region = 7 ;
903933}
934+
935+ // For display only. Metadata associated with a Cloud function.
936+ message CloudFunctionInfo {
937+ // Name of a Cloud function.
938+ string display_name = 1 ;
939+
940+ // URI of a Cloud function.
941+ string uri = 2 ;
942+
943+ // Location in which the Cloud function is deployed.
944+ string location = 3 ;
945+
946+ // Latest successfully deployed version id of the Cloud function.
947+ int64 version_id = 4 ;
948+ }
949+
950+ // For display only. Metadata associated with a VPC connector.
951+ message VpcConnectorInfo {
952+ // Name of a VPC connector.
953+ string display_name = 1 ;
954+
955+ // URI of a VPC connector.
956+ string uri = 2 ;
957+
958+ // Location in which the VPC connector is deployed.
959+ string location = 3 ;
960+ }
0 commit comments