Google Cloud Network Management V1 Client - Class Cause (1.4.2)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class Cause.

Drop cause types:

Protobuf type google.cloud.networkmanagement.v1.DropInfo.Cause

Namespace

Google \ Cloud \ NetworkManagement \ V1 \ DropInfo

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

CAUSE_UNSPECIFIED

Value: 0

Cause is unspecified.

Generated from protobuf enum CAUSE_UNSPECIFIED = 0;

UNKNOWN_EXTERNAL_ADDRESS

Value: 1

Destination external address cannot be resolved to a known target. If the address is used in a Google Cloud project, provide the project ID as test input.

Generated from protobuf enum UNKNOWN_EXTERNAL_ADDRESS = 1;

FOREIGN_IP_DISALLOWED

Value: 2

A Compute Engine instance can only send or receive a packet with a foreign IP address if ip_forward is enabled.

Generated from protobuf enum FOREIGN_IP_DISALLOWED = 2;

FIREWALL_RULE

Value: 3

Dropped due to a firewall rule, unless allowed due to connection tracking.

Generated from protobuf enum FIREWALL_RULE = 3;

NO_ROUTE

Value: 4

Dropped due to no routes.

Generated from protobuf enum NO_ROUTE = 4;

ROUTE_BLACKHOLE

Value: 5

Dropped due to invalid route. Route's next hop is a blackhole.

Generated from protobuf enum ROUTE_BLACKHOLE = 5;

ROUTE_WRONG_NETWORK

Value: 6

Packet is sent to a wrong (unintended) network. Example: you trace a packet from VM1:Network1 to VM2:Network2, however, the route configured in Network1 sends the packet destined for VM2's IP addresss to Network3.

Generated from protobuf enum ROUTE_WRONG_NETWORK = 6;

PRIVATE_TRAFFIC_TO_INTERNET

Value: 7

Packet with internal destination address sent to the internet gateway.

Generated from protobuf enum PRIVATE_TRAFFIC_TO_INTERNET = 7;

PRIVATE_GOOGLE_ACCESS_DISALLOWED

Value: 8

Instance with only an internal IP address tries to access Google API and services, but private Google access is not enabled.

Generated from protobuf enum PRIVATE_GOOGLE_ACCESS_DISALLOWED = 8;

NO_EXTERNAL_ADDRESS

Value: 9

Instance with only an internal IP address tries to access external hosts, but Cloud NAT is not enabled in the subnet, unless special configurations on a VM allow this connection.

Generated from protobuf enum NO_EXTERNAL_ADDRESS = 9;

UNKNOWN_INTERNAL_ADDRESS

Value: 10

Destination internal address cannot be resolved to a known target. If this is a shared VPC scenario, verify if the service project ID is provided as test input. Otherwise, verify if the IP address is being used in the project.

Generated from protobuf enum UNKNOWN_INTERNAL_ADDRESS = 10;

FORWARDING_RULE_MISMATCH

Value: 11

Forwarding rule's protocol and ports do not match the packet header.

Generated from protobuf enum FORWARDING_RULE_MISMATCH = 11;

FORWARDING_RULE_REGION_MISMATCH

Value: 25

Packet could be dropped because it was sent from a different region to a regional forwarding without global access.

Generated from protobuf enum FORWARDING_RULE_REGION_MISMATCH = 25;

FORWARDING_RULE_NO_INSTANCES

Value: 12

Forwarding rule does not have backends configured.

Generated from protobuf enum FORWARDING_RULE_NO_INSTANCES = 12;

FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK

Value: 13

Firewalls block the health check probes to the backends and cause the backends to be unavailable for traffic from the load balancer.

For more details, see Health check firewall rules.

Generated from protobuf enum FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK = 13;

INSTANCE_NOT_RUNNING

Value: 14

Packet is sent from or to a Compute Engine instance that is not in a running state.

Generated from protobuf enum INSTANCE_NOT_RUNNING = 14;

GKE_CLUSTER_NOT_RUNNING

Value: 27

Packet sent from or to a GKE cluster that is not in running state.

Generated from protobuf enum GKE_CLUSTER_NOT_RUNNING = 27;

CLOUD_SQL_INSTANCE_NOT_RUNNING

Value: 28

Packet sent from or to a Cloud SQL instance that is not in running state.

Generated from protobuf enum CLOUD_SQL_INSTANCE_NOT_RUNNING = 28;

TRAFFIC_TYPE_BLOCKED

Value: 15

The type of traffic is blocked and the user cannot configure a firewall rule to enable it. See Always blocked traffic for more details.

Generated from protobuf enum TRAFFIC_TYPE_BLOCKED = 15;

GKE_MASTER_UNAUTHORIZED_ACCESS

Value: 16

Access to Google Kubernetes Engine cluster master's endpoint is not authorized. See Access to the cluster endpoints for more details.

Generated from protobuf enum GKE_MASTER_UNAUTHORIZED_ACCESS = 16;

CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS

Value: 17

Access to the Cloud SQL instance endpoint is not authorized.

See Authorizing with authorized networks for more details.

Generated from protobuf enum CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS = 17;

DROPPED_INSIDE_GKE_SERVICE

Value: 18

Packet was dropped inside Google Kubernetes Engine Service.

Generated from protobuf enum DROPPED_INSIDE_GKE_SERVICE = 18;

DROPPED_INSIDE_CLOUD_SQL_SERVICE

Value: 19

Packet was dropped inside Cloud SQL Service.

Generated from protobuf enum DROPPED_INSIDE_CLOUD_SQL_SERVICE = 19;

GOOGLE_MANAGED_SERVICE_NO_PEERING

Value: 20

Packet was dropped because there is no peering between the originating network and the Google Managed Services Network.

Generated from protobuf enum GOOGLE_MANAGED_SERVICE_NO_PEERING = 20;

GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT

Value: 38

Packet was dropped because the Google-managed service uses Private Service Connect (PSC), but the PSC endpoint is not found in the project.

Generated from protobuf enum GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT = 38;

GKE_PSC_ENDPOINT_MISSING

Value: 36

Packet was dropped because the GKE cluster uses Private Service Connect (PSC), but the PSC endpoint is not found in the project.

Generated from protobuf enum GKE_PSC_ENDPOINT_MISSING = 36;

CLOUD_SQL_INSTANCE_NO_IP_ADDRESS

Value: 21

Packet was dropped because the Cloud SQL instance has neither a private nor a public IP address.

Generated from protobuf enum CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = 21;

GKE_CONTROL_PLANE_REGION_MISMATCH

Value: 30

Packet was dropped because a GKE cluster private endpoint is unreachable from a region different from the cluster's region.

Generated from protobuf enum GKE_CONTROL_PLANE_REGION_MISMATCH = 30;

PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION

Value: 31

Packet sent from a public GKE cluster control plane to a private IP address.

Generated from protobuf enum PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION = 31;

GKE_CONTROL_PLANE_NO_ROUTE

Value: 32

Packet was dropped because there is no route from a GKE cluster control plane to a destination network.

Generated from protobuf enum GKE_CONTROL_PLANE_NO_ROUTE = 32;

CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC

Value: 33

Packet sent from a Cloud SQL instance to an external IP address is not allowed. The Cloud SQL instance is not configured to send packets to external IP addresses.

Generated from protobuf enum CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC = 33;

PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION

Value: 34

Packet sent from a Cloud SQL instance with only a public IP address to a private IP address.

Generated from protobuf enum PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION = 34;

CLOUD_SQL_INSTANCE_NO_ROUTE

Value: 35

Packet was dropped because there is no route from a Cloud SQL instance to a destination network.

Generated from protobuf enum CLOUD_SQL_INSTANCE_NO_ROUTE = 35;

CLOUD_FUNCTION_NOT_ACTIVE

Value: 22

Packet could be dropped because the Cloud Function is not in an active status.

Generated from protobuf enum CLOUD_FUNCTION_NOT_ACTIVE = 22;

VPC_CONNECTOR_NOT_SET

Value: 23

Packet could be dropped because no VPC connector is set.

Generated from protobuf enum VPC_CONNECTOR_NOT_SET = 23;

VPC_CONNECTOR_NOT_RUNNING

Value: 24

Packet could be dropped because the VPC connector is not in a running state.

Generated from protobuf enum VPC_CONNECTOR_NOT_RUNNING = 24;

PSC_CONNECTION_NOT_ACCEPTED

Value: 26

The Private Service Connect endpoint is in a project that is not approved to connect to the service.

Generated from protobuf enum PSC_CONNECTION_NOT_ACCEPTED = 26;

CLOUD_RUN_REVISION_NOT_READY

Value: 29

Packet sent from a Cloud Run revision that is not ready.

Generated from protobuf enum CLOUD_RUN_REVISION_NOT_READY = 29;

DROPPED_INSIDE_PSC_SERVICE_PRODUCER

Value: 37

Packet was dropped inside Private Service Connect service producer.

Generated from protobuf enum DROPPED_INSIDE_PSC_SERVICE_PRODUCER = 37;

LOAD_BALANCER_HAS_NO_PROXY_SUBNET

Value: 39

Packet sent to a load balancer, which requires a proxy-only subnet and the subnet is not found.

Generated from protobuf enum LOAD_BALANCER_HAS_NO_PROXY_SUBNET = 39;