target.apidocs.com.google.api.services.compute.model.VpnGatewayVpnGatewayInterface.html Maven / Gradle / Ivy
VpnGatewayVpnGatewayInterface (Compute Engine API v1-rev20250107-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 com.google.api.client.json.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
com.google.api.client.util.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.
String
getIpv6Address()
[Output Only] IPv6 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.
VpnGatewayVpnGatewayInterface
setIpv6Address(String ipv6Address)
[Output Only] IPv6 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 HA VPN over Cloud
Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the
specified VLAN attachment resource.
- 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 HA VPN over Cloud
Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the
specified VLAN attachment resource.
- 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
HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional
internal IP addresses or regional external IP addresses. For regular (non HA VPN over 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
HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional
internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud
Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
- Parameters:
ipAddress - ipAddress or null for none
-
getIpv6Address
public String getIpv6Address()
[Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6
address must be a regional external IPv6 address. The format is RFC 5952 format (e.g.
2001:db8::2d9:51:0:0).
- Returns:
- value or
null for none
-
setIpv6Address
public VpnGatewayVpnGatewayInterface setIpv6Address(String ipv6Address)
[Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6
address must be a regional external IPv6 address. The format is RFC 5952 format (e.g.
2001:db8::2d9:51:0:0).
- Parameters:
ipv6Address - ipv6Address or null for none
-
set
public VpnGatewayVpnGatewayInterface set(String fieldName,
Object value)
- Overrides:
set in class com.google.api.client.json.GenericJson
-
clone
public VpnGatewayVpnGatewayInterface clone()
- Overrides:
clone in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy