For a list of methods for this resource, see the end of this page.

Resource representations

Represents a Target VPN gateway resource.

  "kind": "compute#targetVpnGateway",
  "id": unsigned long,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "region": string,
  "network": string,
  "tunnels": [
  "status": string,
  "selfLink": string,
  "forwardingRules": [
Property name Value Description Notes
creationTimestamp string [Output Only] Creation timestamp in RFC3339 text format.
description string An optional description of this resource. Provide this property when you create the resource.
forwardingRules[] list [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated to a VPN gateway.
id unsigned long [Output Only] The unique identifier for the resource. This identifier is defined by the server.
kind string [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
name string Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
network string URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
region string [Output Only] URL of the region where the target VPN gateway resides.
status string [Output Only] The status of the VPN gateway.
tunnels[] list [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using compute.vpntunnels.insert method and associated to a VPN gateway.


Retrieves an aggregated list of target VPN gateways.
Deletes the specified target VPN gateway.
Returns the specified target VPN gateway. Get a list of available target VPN gateways by making a list() request.
Creates a target VPN gateway in the specified project and region using the data included in the request.
Retrieves a list of target VPN gateways available to the specified project and region.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Compute Engine