API resource types
The Cloud VPN API and gcloud commands are part of Compute Engine. The following sections cover API resources for HA VPN and Classic VPN.
HA VPN resources
- vpnGateways: a HA VPN gateway resource
- vpnTunnels: a VPN tunnel resource
- externalVpnGateways: in Google Cloud, your peer VPN gateway device or service
Classic VPN resources
- forwardingRules: three forwarding rules that direct UDP and ESP traffic to the target VPN gateway
- targetVpnGateways: a Classic VPN gateway resource
- vpnTunnels: a VPN tunnel resource
gcloud commands
 For more information about the gcloud commands for these resources, see the following Google Cloud CLI documentation.
HA VPN commands
Classic VPN commands
Related APIs and gcloud commands
 The following Compute Engine API reference and gcloud commands support common Compute Engine networking functions and can be useful when configuring Cloud VPN:
- Google Cloud projects
 API |gcloudcommand
- Virtual machine (VM) instances
 API |gcloudcommand
- Virtual Private Cloud (VPC) networks and subnets
 API |gcloudcommand
- Firewall rules
 API |gcloudcommand
- Forwarding rules
 API |gcloudcommand
- Routes
 API |gcloudcommand