![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.model.VpnGatewayStatusTunnel.html Maven / Gradle / Ivy
VpnGatewayStatusTunnel (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute.model
Class VpnGatewayStatusTunnel
- 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.VpnGatewayStatusTunnel
-
public final class VpnGatewayStatusTunnel
extends GenericJson
Contains some information about a VPN tunnel.
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
VpnGatewayStatusTunnel()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
VpnGatewayStatusTunnel
clone()
Long
getLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
Long
getPeerGatewayInterface()
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an
external VPN gateway or GCP VPN gateway.
String
getTunnelUrl()
URL reference to the VPN tunnel.
VpnGatewayStatusTunnel
set(String fieldName,
Object value)
VpnGatewayStatusTunnel
setLocalGatewayInterface(Long localGatewayInterface)
The VPN gateway interface this VPN tunnel is associated with.
VpnGatewayStatusTunnel
setPeerGatewayInterface(Long peerGatewayInterface)
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an
external VPN gateway or GCP VPN gateway.
VpnGatewayStatusTunnel
setTunnelUrl(String tunnelUrl)
URL reference to the VPN tunnel.
-
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
-
getLocalGatewayInterface
public Long getLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
- Returns:
- value or
null
for none
-
setLocalGatewayInterface
public VpnGatewayStatusTunnel setLocalGatewayInterface(Long localGatewayInterface)
The VPN gateway interface this VPN tunnel is associated with.
- Parameters:
localGatewayInterface
- localGatewayInterface or null
for none
-
getPeerGatewayInterface
public Long getPeerGatewayInterface()
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an
external VPN gateway or GCP VPN gateway.
- Returns:
- value or
null
for none
-
setPeerGatewayInterface
public VpnGatewayStatusTunnel setPeerGatewayInterface(Long peerGatewayInterface)
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an
external VPN gateway or GCP VPN gateway.
- Parameters:
peerGatewayInterface
- peerGatewayInterface or null
for none
-
getTunnelUrl
public String getTunnelUrl()
URL reference to the VPN tunnel.
- Returns:
- value or
null
for none
-
setTunnelUrl
public VpnGatewayStatusTunnel setTunnelUrl(String tunnelUrl)
URL reference to the VPN tunnel.
- Parameters:
tunnelUrl
- tunnelUrl or null
for none
-
set
public VpnGatewayStatusTunnel set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public VpnGatewayStatusTunnel clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy