public final class TargetVpnGateway
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 |
|---|
TargetVpnGateway() |
| Modifier and Type | Method and Description |
|---|---|
TargetVpnGateway |
clone() |
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional description of this resource.
|
java.util.List<java.lang.String> |
getForwardingRules()
[Output Only] A list of URLs to the ForwardingRule resources.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] Type of resource.
|
java.lang.String |
getName()
Name of the resource.
|
java.lang.String |
getNetwork()
URL of the network to which this VPN gateway is attached.
|
java.lang.String |
getRegion()
[Output Only] URL of the region where the target VPN gateway resides.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.String |
getStatus()
[Output Only] The status of the VPN gateway.
|
java.util.List<java.lang.String> |
getTunnels()
[Output Only] A list of URLs to VpnTunnel resources.
|
TargetVpnGateway |
set(java.lang.String fieldName,
java.lang.Object value) |
TargetVpnGateway |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetVpnGateway |
setDescription(java.lang.String description)
An optional description of this resource.
|
TargetVpnGateway |
setForwardingRules(java.util.List<java.lang.String> forwardingRules)
[Output Only] A list of URLs to the ForwardingRule resources.
|
TargetVpnGateway |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
TargetVpnGateway |
setKind(java.lang.String kind)
[Output Only] Type of resource.
|
TargetVpnGateway |
setName(java.lang.String name)
Name of the resource.
|
TargetVpnGateway |
setNetwork(java.lang.String network)
URL of the network to which this VPN gateway is attached.
|
TargetVpnGateway |
setRegion(java.lang.String region)
[Output Only] URL of the region where the target VPN gateway resides.
|
TargetVpnGateway |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
TargetVpnGateway |
setStatus(java.lang.String status)
[Output Only] The status of the VPN gateway.
|
TargetVpnGateway |
setTunnels(java.util.List<java.lang.String> tunnels)
[Output Only] A list of URLs to VpnTunnel resources.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCreationTimestamp()
null for nonepublic TargetVpnGateway setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDescription()
null for nonepublic TargetVpnGateway setDescription(java.lang.String description)
description - description or null for nonepublic java.util.List<java.lang.String> getForwardingRules()
null for nonepublic TargetVpnGateway setForwardingRules(java.util.List<java.lang.String> forwardingRules)
forwardingRules - forwardingRules or null for nonepublic java.math.BigInteger getId()
null for nonepublic TargetVpnGateway setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic TargetVpnGateway setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic TargetVpnGateway setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getNetwork()
null for nonepublic TargetVpnGateway setNetwork(java.lang.String network)
network - network or null for nonepublic java.lang.String getRegion()
null for nonepublic TargetVpnGateway setRegion(java.lang.String region)
region - region or null for nonepublic java.lang.String getSelfLink()
null for nonepublic TargetVpnGateway setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getStatus()
null for nonepublic TargetVpnGateway setStatus(java.lang.String status)
status - status or null for nonepublic java.util.List<java.lang.String> getTunnels()
null for nonepublic TargetVpnGateway setTunnels(java.util.List<java.lang.String> tunnels)
tunnels - tunnels or null for nonepublic TargetVpnGateway set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic TargetVpnGateway clone()
clone in class com.google.api.client.json.GenericJson