![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.model.VpnGatewayVpnGatewayInterface.html Maven / Gradle / Ivy
VpnGatewayVpnGatewayInterface (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute.model
Class VpnGatewayVpnGatewayInterface
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.VpnGatewayVpnGatewayInterface
-
public final class VpnGatewayVpnGatewayInterface
extends GenericJson
A VPN gateway interface.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
VpnGatewayVpnGatewayInterface()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
VpnGatewayVpnGatewayInterface
clone()
Long
getId()
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
String
getInterconnectAttachment()
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface.
String
getIpAddress()
[Output Only] IP address for this VPN interface associated with the VPN gateway.
VpnGatewayVpnGatewayInterface
set(String fieldName,
Object value)
VpnGatewayVpnGatewayInterface
setId(Long id)
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
VpnGatewayVpnGatewayInterface
setInterconnectAttachment(String interconnectAttachment)
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface.
VpnGatewayVpnGatewayInterface
setIpAddress(String ipAddress)
[Output Only] IP address for this VPN interface associated with the VPN gateway.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getId
public Long getId()
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
- Returns:
- value or
null
for none
-
setId
public VpnGatewayVpnGatewayInterface setId(Long id)
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
- Parameters:
id
- id or null
for none
-
getInterconnectAttachment
public String getInterconnectAttachment()
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 IPsec-encrypted Cloud
Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the
specified VLAN attachment resource. Not currently available publicly.
- Returns:
- value or
null
for none
-
setInterconnectAttachment
public VpnGatewayVpnGatewayInterface setInterconnectAttachment(String interconnectAttachment)
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 IPsec-encrypted Cloud
Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the
specified VLAN attachment resource. Not currently available publicly.
- Parameters:
interconnectAttachment
- interconnectAttachment or null
for none
-
getIpAddress
public String getIpAddress()
[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
IPsec-encrypted Cloud Interconnect, the IP addresses for both interfaces could either be
regional internal IP addresses or regional external IP addresses. For regular (non IPsec-
encrypted Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP
address.
- Returns:
- value or
null
for none
-
setIpAddress
public VpnGatewayVpnGatewayInterface setIpAddress(String ipAddress)
[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
IPsec-encrypted Cloud Interconnect, the IP addresses for both interfaces could either be
regional internal IP addresses or regional external IP addresses. For regular (non IPsec-
encrypted Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP
address.
- Parameters:
ipAddress
- ipAddress or null
for none
-
set
public VpnGatewayVpnGatewayInterface set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public VpnGatewayVpnGatewayInterface clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy