Resource: VpnGateway
Represents a HA VPN gateway.
HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies .
JSON representation |
---|
{ "kind": string, "id": string, "creationTimestamp": string, "name": string, "description": string, "region": string, "network": string, "selfLink": string, "labels": { string: string, ... }, "labelFingerprint": string, "vpnInterfaces": [ { object ( |
Fields | |
---|---|
kind |
[Output Only] Type of resource. Always
for VPN gateways. |
id |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
creation |
[Output Only] Creation timestamp in RFC3339 text format. |
name |
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 |
description |
An optional description of this resource. Provide this property when you create the resource. |
region |
[Output Only] URL of the region where the VPN gateway resides. |
network |
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created. |
self |
[Output Only] Server-defined URL for the resource. |
labels |
Labels for this resource. These can only be added or modified by the
method. Each label key/value pair must comply with RFC1035. Label values may be empty. |
label |
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error
. To see the latest fingerprint, make a
request to retrieve a VpnGateway. A base64-encoded string. |
vpn |
The list of VPN interfaces associated with this VPN gateway. |
stack |
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are:
,
,
. If not specified,
is used if the gateway IP version is
, or
if the gateway IP version is
. |
gateway |
The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified,
will be used. |
VpnGatewayInterface
A VPN gateway interface.
JSON representation |
---|
{ "id": integer, "ipAddress": string, "ipv6Address": string, "interconnectAttachment": string } |
Fields | |
---|---|
id |
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway. |
ip |
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address. |
ipv6 |
[Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0). |
interconnect |
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource. |
StackType
Enums | |
---|---|
IPV4_ONLY |
Enable VPN gateway with only IPv4 protocol. |
IPV4_IPV6 |
Enable VPN gateway with both IPv4 and IPv6 protocols. |
IPV6_ONLY |
Enable VPN gateway with only IPv6 protocol. |
GatewayIpVersion
Enums | |
---|---|
IPV4 |
Every HA-VPN gateway interface is configured with an IPv4 address. |
IPV6 |
Every HA-VPN gateway interface is configured with an IPv6 address. |
Methods |
|
---|---|
|
The method compute.v1.VpnGatewaysService.AggregatedList is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.VpnGatewaysService.Delete is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.VpnGatewaysService.Get is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.VpnGatewaysService.GetStatus is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.VpnGatewaysService.Insert is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.VpnGatewaysService.List is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.VpnGatewaysService.SetLabels is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.VpnGatewaysService.TestPermissions is not available in this (s3nsapis.fr) universe. |