[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: 320922816
Cloud VPN is in the process of allocating all required resources (specifically, a borg task).
AUTHORIZATION_ERROR
value: 23580290
Auth error (e.g. bad shared secret).
DEPROVISIONING
value: 428935662
Resources is being deallocated for the VPN tunnel.
ESTABLISHED
value: 88852344
Secure session is successfully established with peer VPN.
FAILED
value: 455706685
Tunnel creation has failed and the tunnel is not ready to be used.
FIRST_HANDSHAKE
value: 191393000
Successful first handshake with peer VPN.
NEGOTIATION_FAILURE
value: 360325868
Handshake failed.
NETWORK_ERROR
value: 193912951
Deprecated, replaced by NO_INCOMING_PACKETS
NO_INCOMING_PACKETS
value: 119983216
No incoming packets from peer
PROVISIONING
value: 290896621
Resource is being allocated for the VPN tunnel.
REJECTED
value: 174130302
Tunnel configuration was rejected, can be result of being denylisted.
STOPPED
value: 444276141
Tunnel is stopped due to its Forwarding Rules being deleted.
WAITING_FOR_FULL_CONFIG
value: 41640522
Waiting to receive all VPN-related configs from user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule and Route resources are needed to setup VPN tunnel.