# Network Management V1 API - Module Google::Cloud::NetworkManagement::V1::Step::State (v2.11.0)

2.11.0 (latest) 2.10.1 2.9.0 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.0 0.7.0 0.6.1 0.5.1 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Network Management V1 API module Google::Cloud::NetworkManagement::V1::Step::State.

Type of states that are defined in the network state machine.
Each step in the packet trace is in a specific state.

## Constants

### STATE_UNSPECIFIED

**value:** 0  
Unspecified state.

### START_FROM_INSTANCE

**value:** 1  
Initial state: packet originating from a Compute Engine instance.
An InstanceInfo is populated with starting instance information.

### START_FROM_INTERNET

**value:** 2  
Initial state: packet originating from the internet.
The endpoint information is populated.

### START_FROM_GOOGLE_SERVICE

**value:** 27  
Initial state: packet originating from a Google service.
The google_service information is populated.

### START_FROM_PRIVATE_NETWORK

**value:** 3  
Initial state: packet originating from a VPC or on-premises network
with internal source IP.
If the source is a VPC network visible to the user, a NetworkInfo
is populated with details of the network.

### START_FROM_GKE_MASTER

**value:** 21  
Initial state: packet originating from a Google Kubernetes Engine cluster
master. A GKEMasterInfo is populated with starting instance information.

### START_FROM_CLOUD_SQL_INSTANCE

**value:** 22  
Initial state: packet originating from a Cloud SQL instance.
A CloudSQLInstanceInfo is populated with starting instance information.

### START_FROM_GKE_POD

**value:** 39  
Initial state: packet originating from a Google Kubernetes Engine Pod.
A GkePodInfo is populated with starting Pod information.

### START_FROM_REDIS_INSTANCE

**value:** 32  
Initial state: packet originating from a Redis instance.
A RedisInstanceInfo is populated with starting instance information.

### START_FROM_REDIS_CLUSTER

**value:** 33  
Initial state: packet originating from a Redis Cluster.
A RedisClusterInfo is populated with starting Cluster information.

### START_FROM_CLOUD_FUNCTION

**value:** 23  
Initial state: packet originating from a Cloud Function.
A CloudFunctionInfo is populated with starting function information.

### START_FROM_APP_ENGINE_VERSION

**value:** 25  
Initial state: packet originating from an App Engine service version.
An AppEngineVersionInfo is populated with starting version information.

### START_FROM_CLOUD_RUN_REVISION

**value:** 26  
Initial state: packet originating from a Cloud Run revision.
A CloudRunRevisionInfo is populated with starting revision information.

### START_FROM_STORAGE_BUCKET

**value:** 29  
Initial state: packet originating from a Storage Bucket. Used only for
return traces.
The storage_bucket information is populated.

### START_FROM_PSC_PUBLISHED_SERVICE

**value:** 30  
Initial state: packet originating from a published service that uses
Private Service Connect. Used only for return traces.

### START_FROM_SERVERLESS_NEG

**value:** 31  
Initial state: packet originating from a serverless network endpoint
group backend. Used only for return traces.
The serverless_neg information is populated.

### APPLY_INGRESS_FIREWALL_RULE

**value:** 4  
Config checking state: verify ingress firewall rule.

### APPLY_EGRESS_FIREWALL_RULE

**value:** 5  
Config checking state: verify egress firewall rule.

### APPLY_ROUTE

**value:** 6  
Config checking state: verify route.

### APPLY_FORWARDING_RULE

**value:** 7  
Config checking state: match forwarding rule.

### ANALYZE_LOAD_BALANCER_BACKEND

**value:** 28  
Config checking state: verify load balancer backend configuration.

### SPOOFING_APPROVED

**value:** 8  
Config checking state: packet sent or received under foreign IP
address and allowed.

### ARRIVE_AT_INSTANCE

**value:** 9  
Forwarding state: arriving at a Compute Engine instance.

### ARRIVE_AT_INTERNAL_LOAD_BALANCER

**value:** 10  
Forwarding state: arriving at a Compute Engine internal load balancer.

### ARRIVE_AT_EXTERNAL_LOAD_BALANCER

**value:** 11  
Forwarding state: arriving at a Compute Engine external load balancer.

### ARRIVE_AT_HYBRID_SUBNET

**value:** 38  
Forwarding state: arriving at a hybrid subnet. Appropriate routing
configuration will be determined here.

### ARRIVE_AT_VPN_GATEWAY

**value:** 12  
Forwarding state: arriving at a Cloud VPN gateway.

### ARRIVE_AT_VPN_TUNNEL

**value:** 13  
Forwarding state: arriving at a Cloud VPN tunnel.

### ARRIVE_AT_INTERCONNECT_ATTACHMENT

**value:** 37  
Forwarding state: arriving at an interconnect attachment.

### ARRIVE_AT_VPC_CONNECTOR

**value:** 24  
Forwarding state: arriving at a VPC connector.

### ARRIVE_AT_GKE_POD

**value:** 44  
Forwarding state: arriving at a GKE Pod.

### DIRECT_VPC_EGRESS_CONNECTION

**value:** 35  
Forwarding state: for packets originating from a serverless endpoint
forwarded through Direct VPC egress.

### SERVERLESS_EXTERNAL_CONNECTION

**value:** 36  
Forwarding state: for packets originating from a serverless endpoint
forwarded through public (external) connectivity.

### NGFW_PACKET_INSPECTION

**value:** 47  
Forwarding state: Layer 7 packet inspection by the firewall endpoint
based on the configured security profile group.

### NAT

**value:** 14  
Transition state: packet header translated. The `nat` field is populated
with the translation information.

### SKIP_GKE_POD_IP_MASQUERADING

**value:** 40  
Transition state: GKE Pod IP masquerading is skipped. The
`ip_masquerading_skipped` field is populated with the reason.

### SKIP_GKE_INGRESS_NETWORK_POLICY

**value:** 41  
Transition state: GKE Ingress Network Policy is skipped. The
`gke_network_policy_skipped` field is populated with the reason.

### SKIP_GKE_EGRESS_NETWORK_POLICY

**value:** 42  
Transition state: GKE Egress Network Policy is skipped. The
`gke_network_policy_skipped` field is populated with the reason.

### APPLY_INGRESS_GKE_NETWORK_POLICY

**value:** 45  
Config checking state: verify ingress GKE network policy.

### APPLY_EGRESS_GKE_NETWORK_POLICY

**value:** 46  
Config checking state: verify egress GKE network policy.

### PROXY_CONNECTION

**value:** 15  
Transition state: original connection is terminated and a new proxied
connection is initiated.

### DELIVER

**value:** 16  
Final state: packet could be delivered.

### DROP

**value:** 17  
Final state: packet could be dropped.

### FORWARD

**value:** 18  
Final state: packet could be forwarded to a network with an unknown
configuration.

### ABORT

**value:** 19  
Final state: analysis is aborted.

### VIEWER_PERMISSION_MISSING

**value:** 20  
Special state: viewer of the test result does not have permission to
see the configuration in this step.