# Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::VpnTunnel::Status (v3.7.0)

3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.22.0 2.21.1 2.20.0 2.19.1 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.2 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.5.0 Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::VpnTunnel::Status.

\[Output Only\] The status of the VPN tunnel, which can be one of the
following:

- PROVISIONING: Resource is being allocated for the VPN tunnel.
- WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel.
- FIRST_HANDSHAKE: Successful first handshake with the peer VPN.
- ESTABLISHED: Secure session is successfully established with the peer VPN.
- NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS
- AUTHORIZATION_ERROR: Auth error (for example, bad shared secret).
- NEGOTIATION_FAILURE: Handshake failed.
- DEPROVISIONING: Resources are being deallocated for the VPN tunnel.
- FAILED: Tunnel creation has failed and the tunnel is not ready to be used.
- NO_INCOMING_PACKETS: No incoming packets from peer.
- REJECTED: Tunnel configuration was rejected, can be result of being denied access.
- ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources.
- STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state.
- PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT.
- TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel.

## Constants

### UNDEFINED_STATUS

**value:** 0  
A value indicating that the enum field is not set.

### ALLOCATING_RESOURCES

**value:** 320_922_816  
Cloud VPN is in the process of allocating all required resources
(specifically, a borg task).

### AUTHORIZATION_ERROR

**value:** 23_580_290  
Auth error (e.g. bad shared secret).

### DEPROVISIONING

**value:** 428_935_662  
Resources is being deallocated for the VPN tunnel.

### ESTABLISHED

**value:** 88_852_344  
Secure session is successfully established with peer VPN.

### FAILED

**value:** 455_706_685  
Tunnel creation has failed and the tunnel is not ready to be used.

### FIRST_HANDSHAKE

**value:** 191_393_000  
Successful first handshake with peer VPN.

### NEGOTIATION_FAILURE

**value:** 360_325_868  
Handshake failed.

### NETWORK_ERROR

**value:** 193_912_951  
Deprecated, replaced by NO_INCOMING_PACKETS

### NO_INCOMING_PACKETS

**value:** 119_983_216  
No incoming packets from peer

### PROVISIONING

**value:** 290_896_621  
Resource is being allocated for the VPN tunnel.

### REJECTED

**value:** 174_130_302  
Tunnel configuration was rejected, can be result of being denylisted.

### STOPPED

**value:** 444_276_141  
Tunnel is stopped due to its Forwarding Rules being deleted.

### WAITING_FOR_FULL_CONFIG

**value:** 41_640_522  
Waiting to receive all VPN-related configs from user. Network,
TargetVpnGateway, VpnTunnel, ForwardingRule and Route resources are
needed to setup VPN tunnel.