Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
API-Ressourcentypen
Die Cloud VPN API und gcloud-Befehle sind Teil von Compute Engine.
In den folgenden Abschnitten werden die API-Ressourcen für HA VPN und klassisches VPN behandelt.
Die folgende Compute Engine API-Referenz und die folgenden gcloud-Befehle unterstützen allgemeine Compute Engine-Netzwerkfunktionen und können beim Konfigurieren von Cloud VPN nützlich sein:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-12 (UTC)."],[],[],null,["# APIs and reference\n\nAPI resource types\n------------------\n\nThe Cloud VPN API and `gcloud` commands are part of Compute Engine.\nThe following sections cover API resources for HA VPN and\nClassic VPN.\n\n### HA VPN resources\n\n- [`vpnGateways`](/compute/docs/reference/rest/v1/vpnGateways): a HA VPN gateway resource\n- [`vpnTunnels`](/compute/docs/reference/rest/v1/vpnTunnels): a VPN tunnel resource\n- [`externalVpnGateways`](/compute/docs/reference/rest/v1/externalVpnGateways): in Google Cloud, your [peer VPN gateway](/vpn/docs/concepts/key-terms#peer-definition) device or service\n\n### Classic VPN resources\n\n- [`forwardingRules`](/compute/docs/reference/rest/v1/forwardingRules): three forwarding rules that direct UDP and ESP traffic to the target VPN gateway\n- [`targetVpnGateways`](/compute/docs/reference/rest/v1/targetVpnGateways): a Classic VPN gateway resource\n- [`vpnTunnels`](/compute/docs/reference/rest/v1/vpnTunnels): a VPN tunnel resource\n\n`gcloud` commands\n-----------------\n\nFor more information about the `gcloud` commands for these resources, see the\nfollowing Google Cloud CLI documentation.\n\n### HA VPN commands\n\n- [`gcloud compute vpn-gateways`](/sdk/gcloud/reference/compute/vpn-gateways)\n- [`gcloud compute external-vpn-gateways`](/sdk/gcloud/reference/compute/external-vpn-gateways)\n- [`gcloud compute vpn-tunnels`](/sdk/gcloud/reference/compute/vpn-tunnels)\n\n### Classic VPN commands\n\n- [`gcloud compute forwarding-rules`](/sdk/gcloud/reference/compute/forwarding-rules)\n- [`gcloud compute target-vpn-gateways`](/sdk/gcloud/reference/compute/target-vpn-gateways)\n- [`gcloud compute vpn-tunnels`](/sdk/gcloud/reference/compute/vpn-tunnels)\n\nRelated APIs and `gcloud` commands\n----------------------------------\n\nThe following Compute Engine API reference and `gcloud` commands support common\nCompute Engine networking functions and can be useful when configuring\nCloud VPN:\n\n- Google Cloud projects \n [API](/resource-manager/reference/rest/v1/projects) \\| [`gcloud` command](/sdk/gcloud/reference/projects)\n- Virtual machine (VM) instances \n [API](/compute/docs/reference/rest/v1/instances) \\| [`gcloud` command](/sdk/gcloud/reference/compute/instances)\n- Virtual Private Cloud (VPC) networks and subnets \n [API](/compute/docs/reference/rest/v1/networks) \\| [`gcloud` command](/sdk/gcloud/reference/compute/networks)\n- Firewall rules \n [API](/compute/docs/reference/rest/v1/firewalls) \\| [`gcloud` command](/sdk/gcloud/reference/compute/firewall-rules)\n- Forwarding rules \n [API](/compute/docs/reference/rest/v1/forwardingRules) \\| [`gcloud` command](/sdk/gcloud/reference/compute/forwarding-rules)\n- Routes \n [API](/compute/docs/reference/rest/v1/routes) \\| [`gcloud` command](/sdk/gcloud/reference/compute/routes)"]]