Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Jenis resource API
API Cloud VPN dan perintah-perintah gcloud adalah bagian dari Compute Engine.
Bagian berikut ini membahas berbagai resource API untuk VPN dengan ketersediaan tinggi (HA) dan
VPN Klasik.
Daftar referensi Compute Engine API dan perintah gcloud berikut menyediakan fungsi
jaringan Compute Engine yang umum digunakan dan dapat berguna saat mengonfigurasi
Cloud VPN:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)"]]