public final class TargetVpnGateway extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
TargetVpnGateway()  | 
| Modifier and Type | Method and Description | 
|---|---|
TargetVpnGateway | 
clone()  | 
byte[] | 
decodeLabelFingerprint()
A fingerprint for the labels being applied to this TargetVpnGateway, which is essentially a
 hash of the labels set used for optimistic locking. 
 | 
TargetVpnGateway | 
encodeLabelFingerprint(byte[] labelFingerprint)
A fingerprint for the labels being applied to this TargetVpnGateway, which is essentially a
 hash of the labels set used for optimistic locking. 
 | 
String | 
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
String | 
getDescription()
An optional description of this resource. 
 | 
List<String> | 
getForwardingRules()
[Output Only] A list of URLs to the ForwardingRule resources. 
 | 
BigInteger | 
getId()
[Output Only] The unique identifier for the resource. 
 | 
String | 
getKind()
[Output Only] Type of resource. 
 | 
String | 
getLabelFingerprint()
A fingerprint for the labels being applied to this TargetVpnGateway, which is essentially a
 hash of the labels set used for optimistic locking. 
 | 
Map<String,String> | 
getLabels()
Labels for this resource. 
 | 
String | 
getName()
Name of the resource. 
 | 
String | 
getNetwork()
URL of the network to which this VPN gateway is attached. 
 | 
String | 
getRegion()
[Output Only] URL of the region where the target VPN gateway resides. 
 | 
String | 
getSelfLink()
[Output Only] Server-defined URL for the resource. 
 | 
String | 
getStatus()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING,
 READY, FAILED, or DELETING. 
 | 
List<String> | 
getTunnels()
[Output Only] A list of URLs to VpnTunnel resources. 
 | 
TargetVpnGateway | 
set(String fieldName,
   Object value)  | 
TargetVpnGateway | 
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
TargetVpnGateway | 
setDescription(String description)
An optional description of this resource. 
 | 
TargetVpnGateway | 
setForwardingRules(List<String> forwardingRules)
[Output Only] A list of URLs to the ForwardingRule resources. 
 | 
TargetVpnGateway | 
setId(BigInteger id)
[Output Only] The unique identifier for the resource. 
 | 
TargetVpnGateway | 
setKind(String kind)
[Output Only] Type of resource. 
 | 
TargetVpnGateway | 
setLabelFingerprint(String labelFingerprint)
A fingerprint for the labels being applied to this TargetVpnGateway, which is essentially a
 hash of the labels set used for optimistic locking. 
 | 
TargetVpnGateway | 
setLabels(Map<String,String> labels)
Labels for this resource. 
 | 
TargetVpnGateway | 
setName(String name)
Name of the resource. 
 | 
TargetVpnGateway | 
setNetwork(String network)
URL of the network to which this VPN gateway is attached. 
 | 
TargetVpnGateway | 
setRegion(String region)
[Output Only] URL of the region where the target VPN gateway resides. 
 | 
TargetVpnGateway | 
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource. 
 | 
TargetVpnGateway | 
setStatus(String status)
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING,
 READY, FAILED, or DELETING. 
 | 
TargetVpnGateway | 
setTunnels(List<String> tunnels)
[Output Only] A list of URLs to VpnTunnel resources. 
 | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCreationTimestamp()
null for nonepublic TargetVpnGateway setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic TargetVpnGateway setDescription(String description)
description - description or null for nonepublic List<String> getForwardingRules()
null for nonepublic TargetVpnGateway setForwardingRules(List<String> forwardingRules)
forwardingRules - forwardingRules or null for nonepublic BigInteger getId()
null for nonepublic TargetVpnGateway setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic TargetVpnGateway setKind(String kind)
kind - kind or null for nonepublic String getLabelFingerprint()
null for nonedecodeLabelFingerprint()public byte[] decodeLabelFingerprint()
null for nonegetLabelFingerprint()public TargetVpnGateway setLabelFingerprint(String labelFingerprint)
labelFingerprint - labelFingerprint or null for none#encodeLabelFingerprint()public TargetVpnGateway encodeLabelFingerprint(byte[] labelFingerprint)
 The value is encoded Base64 or {@code null} for none.
 
public Map<String,String> getLabels()
null for nonepublic TargetVpnGateway setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getName()
null for nonepublic TargetVpnGateway setName(String name)
name - name or null for nonepublic String getNetwork()
null for nonepublic TargetVpnGateway setNetwork(String network)
network - network or null for nonepublic String getRegion()
null for nonepublic TargetVpnGateway setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic TargetVpnGateway setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getStatus()
null for nonepublic TargetVpnGateway setStatus(String status)
status - status or null for nonepublic List<String> getTunnels()
null for nonepublic TargetVpnGateway setTunnels(List<String> tunnels)
tunnels - tunnels or null for nonepublic TargetVpnGateway set(String fieldName, Object value)
set in class GenericJsonpublic TargetVpnGateway clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.