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 \ StepMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0Unspecified state.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
START_FROM_INSTANCE
Value: 1Initial 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: 2Initial state: packet originating from the internet.
The endpoint information is populated.
Generated from protobuf enum START_FROM_INTERNET = 2;
START_FROM_GOOGLE_SERVICE
Value: 27Initial 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: 3Initial 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: 21Initial 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: 22Initial 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_REDIS_INSTANCE
Value: 32Initial 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: 33Initial 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: 23Initial 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: 25Initial 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: 26Initial 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: 29Initial 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: 30Initial 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: 31Initial 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: 4Config checking state: verify ingress firewall rule.
Generated from protobuf enum APPLY_INGRESS_FIREWALL_RULE = 4;
APPLY_EGRESS_FIREWALL_RULE
Value: 5Config checking state: verify egress firewall rule.
Generated from protobuf enum APPLY_EGRESS_FIREWALL_RULE = 5;
APPLY_ROUTE
Value: 6Config checking state: verify route.
Generated from protobuf enum APPLY_ROUTE = 6;
APPLY_FORWARDING_RULE
Value: 7Config checking state: match forwarding rule.
Generated from protobuf enum APPLY_FORWARDING_RULE = 7;
ANALYZE_LOAD_BALANCER_BACKEND
Value: 28Config checking state: verify load balancer backend configuration.
Generated from protobuf enum ANALYZE_LOAD_BALANCER_BACKEND = 28;
SPOOFING_APPROVED
Value: 8Config checking state: packet sent or received under foreign IP address and allowed.
Generated from protobuf enum SPOOFING_APPROVED = 8;
ARRIVE_AT_INSTANCE
Value: 9Forwarding state: arriving at a Compute Engine instance.
Generated from protobuf enum ARRIVE_AT_INSTANCE = 9;
ARRIVE_AT_INTERNAL_LOAD_BALANCER
Value: 10Forwarding state: arriving at a Compute Engine internal load balancer.
Deprecated in favor of the ANALYZE_LOAD_BALANCER_BACKEND state, not
used in new tests.
Generated from protobuf enum ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10 [deprecated = true];
ARRIVE_AT_EXTERNAL_LOAD_BALANCER
Value: 11Forwarding state: arriving at a Compute Engine external load balancer.
Deprecated in favor of the ANALYZE_LOAD_BALANCER_BACKEND state, not
used in new tests.
Generated from protobuf enum ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11 [deprecated = true];
ARRIVE_AT_VPN_GATEWAY
Value: 12Forwarding state: arriving at a Cloud VPN gateway.
Generated from protobuf enum ARRIVE_AT_VPN_GATEWAY = 12;
ARRIVE_AT_VPN_TUNNEL
Value: 13Forwarding state: arriving at a Cloud VPN tunnel.
Generated from protobuf enum ARRIVE_AT_VPN_TUNNEL = 13;
ARRIVE_AT_VPC_CONNECTOR
Value: 24Forwarding state: arriving at a VPC connector.
Generated from protobuf enum ARRIVE_AT_VPC_CONNECTOR = 24;
DIRECT_VPC_EGRESS_CONNECTION
Value: 35Forwarding 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: 36Forwarding state: for packets originating from a serverless endpoint forwarded through public (external) connectivity.
Generated from protobuf enum SERVERLESS_EXTERNAL_CONNECTION = 36;
NAT
Value: 14Transition state: packet header translated.
Generated from protobuf enum NAT = 14;
PROXY_CONNECTION
Value: 15Transition state: original connection is terminated and a new proxied connection is initiated.
Generated from protobuf enum PROXY_CONNECTION = 15;
DELIVER
Value: 16Final state: packet could be delivered.
Generated from protobuf enum DELIVER = 16;
DROP
Value: 17Final state: packet could be dropped.
Generated from protobuf enum DROP = 17;
FORWARD
Value: 18Final state: packet could be forwarded to a network with an unknown configuration.
Generated from protobuf enum FORWARD = 18;
ABORT
Value: 19Final state: analysis is aborted.
Generated from protobuf enum ABORT = 19;
VIEWER_PERMISSION_MISSING
Value: 20Special 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;