public final class VpnTunnel
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
VpnTunnel() |
| Modifier and Type | Method and Description |
|---|---|
VpnTunnel |
clone() |
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional description of this resource.
|
java.lang.String |
getDetailedStatus()
[Output Only] Detailed status message for the VPN tunnel.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.Integer |
getIkeVersion()
IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway.
|
java.lang.String |
getKind()
[Output Only] Type of resource.
|
java.util.List<java.lang.String> |
getLocalTrafficSelector()
Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway.
|
java.lang.String |
getName()
Name of the resource.
|
java.lang.String |
getPeerIp()
IP address of the peer VPN gateway.
|
java.lang.String |
getRegion()
[Output Only] URL of the region where the VPN tunnel resides.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.String |
getSharedSecret()
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN
gateway.
|
java.lang.String |
getSharedSecretHash()
Hash of the shared secret.
|
java.lang.String |
getStatus()
[Output Only] The status of the VPN tunnel.
|
java.lang.String |
getTargetVpnGateway()
URL of the VPN gateway with which this VPN tunnel is associated.
|
VpnTunnel |
set(java.lang.String fieldName,
java.lang.Object value) |
VpnTunnel |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
VpnTunnel |
setDescription(java.lang.String description)
An optional description of this resource.
|
VpnTunnel |
setDetailedStatus(java.lang.String detailedStatus)
[Output Only] Detailed status message for the VPN tunnel.
|
VpnTunnel |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
VpnTunnel |
setIkeVersion(java.lang.Integer ikeVersion)
IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway.
|
VpnTunnel |
setKind(java.lang.String kind)
[Output Only] Type of resource.
|
VpnTunnel |
setLocalTrafficSelector(java.util.List<java.lang.String> localTrafficSelector)
Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway.
|
VpnTunnel |
setName(java.lang.String name)
Name of the resource.
|
VpnTunnel |
setPeerIp(java.lang.String peerIp)
IP address of the peer VPN gateway.
|
VpnTunnel |
setRegion(java.lang.String region)
[Output Only] URL of the region where the VPN tunnel resides.
|
VpnTunnel |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
VpnTunnel |
setSharedSecret(java.lang.String sharedSecret)
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN
gateway.
|
VpnTunnel |
setSharedSecretHash(java.lang.String sharedSecretHash)
Hash of the shared secret.
|
VpnTunnel |
setStatus(java.lang.String status)
[Output Only] The status of the VPN tunnel.
|
VpnTunnel |
setTargetVpnGateway(java.lang.String targetVpnGateway)
URL of the VPN gateway with which this VPN tunnel is associated.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCreationTimestamp()
null for nonepublic VpnTunnel setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDescription()
null for nonepublic VpnTunnel setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getDetailedStatus()
null for nonepublic VpnTunnel setDetailedStatus(java.lang.String detailedStatus)
detailedStatus - detailedStatus or null for nonepublic java.math.BigInteger getId()
null for nonepublic VpnTunnel setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.Integer getIkeVersion()
null for nonepublic VpnTunnel setIkeVersion(java.lang.Integer ikeVersion)
ikeVersion - ikeVersion or null for nonepublic java.lang.String getKind()
null for nonepublic VpnTunnel setKind(java.lang.String kind)
kind - kind or null for nonepublic java.util.List<java.lang.String> getLocalTrafficSelector()
null for nonepublic VpnTunnel setLocalTrafficSelector(java.util.List<java.lang.String> localTrafficSelector)
localTrafficSelector - localTrafficSelector or null for nonepublic java.lang.String getName()
null for nonepublic VpnTunnel setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getPeerIp()
null for nonepublic VpnTunnel setPeerIp(java.lang.String peerIp)
peerIp - peerIp or null for nonepublic java.lang.String getRegion()
null for nonepublic VpnTunnel setRegion(java.lang.String region)
region - region or null for nonepublic java.lang.String getSelfLink()
null for nonepublic VpnTunnel setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getSharedSecret()
null for nonepublic VpnTunnel setSharedSecret(java.lang.String sharedSecret)
sharedSecret - sharedSecret or null for nonepublic java.lang.String getSharedSecretHash()
null for nonepublic VpnTunnel setSharedSecretHash(java.lang.String sharedSecretHash)
sharedSecretHash - sharedSecretHash or null for nonepublic java.lang.String getStatus()
null for nonepublic VpnTunnel setStatus(java.lang.String status)
status - status or null for nonepublic java.lang.String getTargetVpnGateway()
null for nonepublic VpnTunnel setTargetVpnGateway(java.lang.String targetVpnGateway)
targetVpnGateway - targetVpnGateway or null for nonepublic VpnTunnel set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic VpnTunnel clone()
clone in class com.google.api.client.json.GenericJson