target.apidocs.com.google.api.services.compute.model.RouterStatus.html Maven / Gradle / Ivy
RouterStatus (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute.model
Class RouterStatus
- 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.RouterStatus
-
public final class RouterStatus
extends com.google.api.client.json.GenericJson
Model definition for RouterStatus.
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
RouterStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RouterStatus
clone()
List<Route>
getBestRoutes()
A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network
in the same region as this Cloud Router.
List<Route>
getBestRoutesForRouter()
A list of the best BGP routes learned by this Cloud Router.
List<RouterStatusBgpPeerStatus>
getBgpPeerStatus()
List<RouterStatusNatStatus>
getNatStatus()
String
getNetwork()
URI of the network to which this router belongs.
RouterStatus
set(String fieldName,
Object value)
RouterStatus
setBestRoutes(List<Route> bestRoutes)
A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network
in the same region as this Cloud Router.
RouterStatus
setBestRoutesForRouter(List<Route> bestRoutesForRouter)
A list of the best BGP routes learned by this Cloud Router.
RouterStatus
setBgpPeerStatus(List<RouterStatusBgpPeerStatus> bgpPeerStatus)
RouterStatus
setNatStatus(List<RouterStatusNatStatus> natStatus)
RouterStatus
setNetwork(String network)
URI of the network to which this router belongs.
-
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
-
getBestRoutes
public List<Route> getBestRoutes()
A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network
in the same region as this Cloud Router. Lists all of the best routes per prefix that are
programmed into this region's VPC data plane. When global dynamic routing mode is turned on in
the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other
regions.
- Returns:
- value or
null for none
-
setBestRoutes
public RouterStatus setBestRoutes(List<Route> bestRoutes)
A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network
in the same region as this Cloud Router. Lists all of the best routes per prefix that are
programmed into this region's VPC data plane. When global dynamic routing mode is turned on in
the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other
regions.
- Parameters:
bestRoutes - bestRoutes or null for none
-
getBestRoutesForRouter
public List<Route> getBestRoutesForRouter()
A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed
might not be programmed into the data plane, if the Google Cloud control plane finds a more
optimal route for a prefix than a route learned by this Cloud Router.
- Returns:
- value or
null for none
-
setBestRoutesForRouter
public RouterStatus setBestRoutesForRouter(List<Route> bestRoutesForRouter)
A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed
might not be programmed into the data plane, if the Google Cloud control plane finds a more
optimal route for a prefix than a route learned by this Cloud Router.
- Parameters:
bestRoutesForRouter - bestRoutesForRouter or null for none
-
getBgpPeerStatus
public List<RouterStatusBgpPeerStatus> getBgpPeerStatus()
- Returns:
- value or
null for none
-
setBgpPeerStatus
public RouterStatus setBgpPeerStatus(List<RouterStatusBgpPeerStatus> bgpPeerStatus)
- Parameters:
bgpPeerStatus - bgpPeerStatus or null for none
-
getNatStatus
public List<RouterStatusNatStatus> getNatStatus()
- Returns:
- value or
null for none
-
setNatStatus
public RouterStatus setNatStatus(List<RouterStatusNatStatus> natStatus)
- Parameters:
natStatus - natStatus or null for none
-
getNetwork
public String getNetwork()
URI of the network to which this router belongs.
- Returns:
- value or
null for none
-
setNetwork
public RouterStatus setNetwork(String network)
URI of the network to which this router belongs.
- Parameters:
network - network or null for none
-
set
public RouterStatus set(String fieldName,
Object value)
- Overrides:
set in class com.google.api.client.json.GenericJson
-
clone
public RouterStatus 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