# Google Cloud Network Management V1 Client - Class State (2.9.2)

2.9.2 (latest) 2.9.1 2.8.0 2.7.0 2.6.1 2.5.0 2.4.2 2.3.2 2.2.1 2.1.1 2.0.1 1.7.3 1.5.0 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Management V1 Client class State.

Type of states that are defined in the network state machine.

Each step in the packet trace is in a specific state.

Protobuf type `google.cloud.networkmanagement.v1.Step.State`

## Namespace

Google \\ Cloud \\ NetworkManagement \\ V1 \\ Step

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### STATE_UNSPECIFIED

    Value: 0

Unspecified state.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### START_FROM_INSTANCE

    Value: 1

Initial state: packet originating from a Compute Engine instance.

An InstanceInfo is populated with starting instance information.

Generated from protobuf enum `START_FROM_INSTANCE = 1;`

### START_FROM_INTERNET

    Value: 2

Initial state: packet originating from the internet.

The endpoint information is populated.

Generated from protobuf enum `START_FROM_INTERNET = 2;`

### START_FROM_GOOGLE_SERVICE

    Value: 27

Initial state: packet originating from a Google service.

The google_service information is populated.

Generated from protobuf enum `START_FROM_GOOGLE_SERVICE = 27;`

### 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.

Generated from protobuf enum `START_FROM_PRIVATE_NETWORK = 3;`

### 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.

Generated from protobuf enum `START_FROM_GKE_MASTER = 21;`

### START_FROM_CLOUD_SQL_INSTANCE

    Value: 22

Initial state: packet originating from a Cloud SQL instance.

A CloudSQLInstanceInfo is populated with starting instance information.

Generated from protobuf enum `START_FROM_CLOUD_SQL_INSTANCE = 22;`

### START_FROM_GKE_POD

    Value: 39

Initial state: packet originating from a Google Kubernetes Engine Pod.

A GkePodInfo is populated with starting Pod information.

Generated from protobuf enum `START_FROM_GKE_POD = 39;`

### START_FROM_REDIS_INSTANCE

    Value: 32

Initial state: packet originating from a Redis instance.

A RedisInstanceInfo is populated with starting instance information.

Generated from protobuf enum `START_FROM_REDIS_INSTANCE = 32;`

### START_FROM_REDIS_CLUSTER

    Value: 33

Initial state: packet originating from a Redis Cluster.

A RedisClusterInfo is populated with starting Cluster information.

Generated from protobuf enum `START_FROM_REDIS_CLUSTER = 33;`

### START_FROM_CLOUD_FUNCTION

    Value: 23

Initial state: packet originating from a Cloud Function.

A CloudFunctionInfo is populated with starting function information.

Generated from protobuf enum `START_FROM_CLOUD_FUNCTION = 23;`

### 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.

Generated from protobuf enum `START_FROM_APP_ENGINE_VERSION = 25;`

### START_FROM_CLOUD_RUN_REVISION

    Value: 26

Initial state: packet originating from a Cloud Run revision.

A CloudRunRevisionInfo is populated with starting revision information.

Generated from protobuf enum `START_FROM_CLOUD_RUN_REVISION = 26;`

### 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.

Generated from protobuf enum `START_FROM_STORAGE_BUCKET = 29;`

### 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.

Generated from protobuf enum `START_FROM_PSC_PUBLISHED_SERVICE = 30;`

### 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.

Generated from protobuf enum `START_FROM_SERVERLESS_NEG = 31;`

### APPLY_INGRESS_FIREWALL_RULE

    Value: 4

Config checking state: verify ingress firewall rule.

Generated from protobuf enum `APPLY_INGRESS_FIREWALL_RULE = 4;`

### APPLY_EGRESS_FIREWALL_RULE

    Value: 5

Config checking state: verify egress firewall rule.

Generated from protobuf enum `APPLY_EGRESS_FIREWALL_RULE = 5;`

### APPLY_ROUTE

    Value: 6

Config checking state: verify route.

Generated from protobuf enum `APPLY_ROUTE = 6;`

### APPLY_FORWARDING_RULE

    Value: 7

Config checking state: match forwarding rule.

Generated from protobuf enum `APPLY_FORWARDING_RULE = 7;`

### ANALYZE_LOAD_BALANCER_BACKEND

    Value: 28

Config checking state: verify load balancer backend configuration.

Generated from protobuf enum `ANALYZE_LOAD_BALANCER_BACKEND = 28;`

### SPOOFING_APPROVED

    Value: 8

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

Generated from protobuf enum `SPOOFING_APPROVED = 8;`

### ARRIVE_AT_INSTANCE

    Value: 9

Forwarding state: arriving at a Compute Engine instance.

Generated from protobuf enum `ARRIVE_AT_INSTANCE = 9;`

### ARRIVE_AT_INTERNAL_LOAD_BALANCER

    Value: 10

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

Generated from protobuf enum `ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10 [deprecated = true];`

### ARRIVE_AT_EXTERNAL_LOAD_BALANCER

    Value: 11

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

Generated from protobuf enum `ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11 [deprecated = true];`

### ARRIVE_AT_HYBRID_SUBNET

    Value: 38

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

Generated from protobuf enum `ARRIVE_AT_HYBRID_SUBNET = 38;`

### ARRIVE_AT_VPN_GATEWAY

    Value: 12

Forwarding state: arriving at a Cloud VPN gateway.

Generated from protobuf enum `ARRIVE_AT_VPN_GATEWAY = 12;`

### ARRIVE_AT_VPN_TUNNEL

    Value: 13

Forwarding state: arriving at a Cloud VPN tunnel.

Generated from protobuf enum `ARRIVE_AT_VPN_TUNNEL = 13;`

### ARRIVE_AT_INTERCONNECT_ATTACHMENT

    Value: 37

Forwarding state: arriving at an interconnect attachment.

Generated from protobuf enum `ARRIVE_AT_INTERCONNECT_ATTACHMENT = 37;`

### ARRIVE_AT_VPC_CONNECTOR

    Value: 24

Forwarding state: arriving at a VPC connector.

Generated from protobuf enum `ARRIVE_AT_VPC_CONNECTOR = 24;`

### ARRIVE_AT_GKE_POD

    Value: 44

Forwarding state: arriving at a GKE Pod.

Generated from protobuf enum `ARRIVE_AT_GKE_POD = 44;`

### DIRECT_VPC_EGRESS_CONNECTION

    Value: 35

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

Generated from protobuf enum `DIRECT_VPC_EGRESS_CONNECTION = 35;`

### SERVERLESS_EXTERNAL_CONNECTION

    Value: 36

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

Generated from protobuf enum `SERVERLESS_EXTERNAL_CONNECTION = 36;`

### NGFW_PACKET_INSPECTION

    Value: 47

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

Generated from protobuf enum `NGFW_PACKET_INSPECTION = 47;`

### NAT

    Value: 14

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

Generated from protobuf enum `NAT = 14;`

### 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.

Generated from protobuf enum `SKIP_GKE_POD_IP_MASQUERADING = 40;`

### 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.

Generated from protobuf enum `SKIP_GKE_INGRESS_NETWORK_POLICY = 41;`

### 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.

Generated from protobuf enum `SKIP_GKE_EGRESS_NETWORK_POLICY = 42;`

### APPLY_INGRESS_GKE_NETWORK_POLICY

    Value: 45

Config checking state: verify ingress GKE network policy.

Generated from protobuf enum `APPLY_INGRESS_GKE_NETWORK_POLICY = 45;`

### APPLY_EGRESS_GKE_NETWORK_POLICY

    Value: 46

Config checking state: verify egress GKE network policy.

Generated from protobuf enum `APPLY_EGRESS_GKE_NETWORK_POLICY = 46;`

### PROXY_CONNECTION

    Value: 15

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

Generated from protobuf enum `PROXY_CONNECTION = 15;`

### DELIVER

    Value: 16

Final state: packet could be delivered.

Generated from protobuf enum `DELIVER = 16;`

### DROP

    Value: 17

Final state: packet could be dropped.

Generated from protobuf enum `DROP = 17;`

### FORWARD

    Value: 18

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

Generated from protobuf enum `FORWARD = 18;`

### ABORT

    Value: 19

Final state: analysis is aborted.

Generated from protobuf enum `ABORT = 19;`

### VIEWER_PERMISSION_MISSING

    Value: 20

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

Generated from protobuf enum `VIEWER_PERMISSION_MISSING = 20;`