public final class VpnGateway
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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
VpnGateway() |
Modifier and Type | Method and Description |
---|---|
VpnGateway |
clone() |
byte[] |
decodeLabelFingerprint()
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of
the labels set used for optimistic locking.
|
VpnGateway |
encodeLabelFingerprint(byte[] labelFingerprint)
A fingerprint for the labels being applied to this VpnGateway, 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.
|
String |
getGatewayIpVersion()
The IP family of the gateway IPs for the HA-VPN gateway interfaces.
|
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 VpnGateway, 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 VPN gateway resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getStackType()
The stack type for this VPN gateway to identify the IP protocols that are enabled.
|
List<VpnGatewayVpnGatewayInterface> |
getVpnInterfaces()
The list of VPN interfaces associated with this VPN gateway.
|
VpnGateway |
set(String fieldName,
Object value) |
VpnGateway |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
VpnGateway |
setDescription(String description)
An optional description of this resource.
|
VpnGateway |
setGatewayIpVersion(String gatewayIpVersion)
The IP family of the gateway IPs for the HA-VPN gateway interfaces.
|
VpnGateway |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
VpnGateway |
setKind(String kind)
[Output Only] Type of resource.
|
VpnGateway |
setLabelFingerprint(String labelFingerprint)
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of
the labels set used for optimistic locking.
|
VpnGateway |
setLabels(Map<String,String> labels)
Labels for this resource.
|
VpnGateway |
setName(String name)
Name of the resource.
|
VpnGateway |
setNetwork(String network)
URL of the network to which this VPN gateway is attached.
|
VpnGateway |
setRegion(String region)
[Output Only] URL of the region where the VPN gateway resides.
|
VpnGateway |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
VpnGateway |
setStackType(String stackType)
The stack type for this VPN gateway to identify the IP protocols that are enabled.
|
VpnGateway |
setVpnInterfaces(List<VpnGatewayVpnGatewayInterface> vpnInterfaces)
The list of VPN interfaces associated with this VPN gateway.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCreationTimestamp()
null
for nonepublic VpnGateway setCreationTimestamp(String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic String getDescription()
null
for nonepublic VpnGateway setDescription(String description)
description
- description or null
for nonepublic String getGatewayIpVersion()
null
for nonepublic VpnGateway setGatewayIpVersion(String gatewayIpVersion)
gatewayIpVersion
- gatewayIpVersion or null
for nonepublic BigInteger getId()
null
for nonepublic VpnGateway setId(BigInteger id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic VpnGateway setKind(String kind)
kind
- kind or null
for nonepublic String getLabelFingerprint()
null
for nonedecodeLabelFingerprint()
public byte[] decodeLabelFingerprint()
null
for nonegetLabelFingerprint()
public VpnGateway setLabelFingerprint(String labelFingerprint)
labelFingerprint
- labelFingerprint or null
for none#encodeLabelFingerprint()
public VpnGateway encodeLabelFingerprint(byte[] labelFingerprint)
The value is encoded Base64 or {@code null} for none.
public Map<String,String> getLabels()
null
for nonepublic VpnGateway setLabels(Map<String,String> labels)
labels
- labels or null
for nonepublic String getName()
null
for nonepublic VpnGateway setName(String name)
name
- name or null
for nonepublic String getNetwork()
null
for nonepublic VpnGateway setNetwork(String network)
network
- network or null
for nonepublic String getRegion()
null
for nonepublic VpnGateway setRegion(String region)
region
- region or null
for nonepublic String getSelfLink()
null
for nonepublic VpnGateway setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic String getStackType()
null
for nonepublic VpnGateway setStackType(String stackType)
stackType
- stackType or null
for nonepublic List<VpnGatewayVpnGatewayInterface> getVpnInterfaces()
null
for nonepublic VpnGateway setVpnInterfaces(List<VpnGatewayVpnGatewayInterface> vpnInterfaces)
vpnInterfaces
- vpnInterfaces or null
for nonepublic VpnGateway set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public VpnGateway clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.