APIs and reference
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.
- gcloud compute vpn-gateways
- gcloud compute external-vpn-gateways
- gcloud compute vpn-tunnels
Classic VPN commands
- gcloud compute forwarding-rules
- gcloud compute target-vpn-gateways
- gcloud compute vpn-tunnels
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 | gcloud command
- Virtual machine (VM) instances
API | gcloud command
- Virtual Private Cloud (VPC) networks and subnets
API | gcloud command
- Firewall rules
API | gcloud command
- Forwarding rules
API | gcloud command
- Routes
API | gcloud command
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-30 UTC.