| Package | Description | 
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model | 
| Modifier and Type | Method and Description | 
|---|---|
Compute.Routes.Insert | 
Compute.Routes.insert(String project,
      Route content)
Creates a Route resource in the specified project using the data included in the request. 
 | 
| Constructor and Description | 
|---|
Insert(String project,
      Route content)
Creates a Route resource in the specified project using the data included in the request. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Route | 
Route.clone()  | 
Route | 
Route.set(String fieldName,
   Object value)  | 
Route | 
Route.setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
Route | 
Route.setDescription(String description)
An optional description of this resource. 
 | 
Route | 
Route.setDestRange(String destRange)
The destination range of outgoing packets that this route applies to. 
 | 
Route | 
Route.setId(BigInteger id)
[Output Only] The unique identifier for the resource. 
 | 
Route | 
Route.setKind(String kind)
[Output Only] Type of this resource. 
 | 
Route | 
Route.setName(String name)
Name of the resource. 
 | 
Route | 
Route.setNetwork(String network)
Fully-qualified URL of the network that this route applies to. 
 | 
Route | 
Route.setNextHopGateway(String nextHopGateway)
The URL to a gateway that should handle matching packets. 
 | 
Route | 
Route.setNextHopIlb(String nextHopIlb)
The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching
 packets or the IP address of the forwarding Rule. 
 | 
Route | 
Route.setNextHopInstance(String nextHopInstance)
The URL to an instance that should handle matching packets. 
 | 
Route | 
Route.setNextHopInterconnectAttachment(String nextHopInterconnectAttachment)
[Output Only] The URL to an InterconnectAttachment which is the next hop for the route. 
 | 
Route | 
Route.setNextHopIp(String nextHopIp)
The network IP address of an instance that should handle matching packets. 
 | 
Route | 
Route.setNextHopNetwork(String nextHopNetwork)
The URL of the local network if it should handle matching packets. 
 | 
Route | 
Route.setNextHopPeering(String nextHopPeering)
[Output Only] The network peering name that should handle matching packets, which should
 conform to RFC1035. 
 | 
Route | 
Route.setNextHopVpnTunnel(String nextHopVpnTunnel)
The URL to a VpnTunnel that should handle matching packets. 
 | 
Route | 
Route.setPriority(Long priority)
The priority of this route. 
 | 
Route | 
Route.setSelfLink(String selfLink)
[Output Only] Server-defined fully-qualified URL for this resource. 
 | 
Route | 
Route.setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
Route | 
Route.setTags(List<String> tags)
A list of instance tags to which this route applies. 
 | 
Route | 
Route.setWarnings(List<Route.Warnings> warnings)
[Output Only] If potential misconfigurations are detected for this route, this field will be
 populated with warning messages. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<Route> | 
RouterStatusBgpPeerStatus.getAdvertisedRoutes()
Routes that were advertised to the remote BGP peer 
 | 
List<Route> | 
RouterStatus.getBestRoutes()
Best routes for this router's network. 
 | 
List<Route> | 
RouterStatus.getBestRoutesForRouter()
Best routes learned by this router. 
 | 
List<Route> | 
RouteList.getItems()
A list of Route resources. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RouterStatusBgpPeerStatus | 
RouterStatusBgpPeerStatus.setAdvertisedRoutes(List<Route> advertisedRoutes)
Routes that were advertised to the remote BGP peer 
 | 
RouterStatus | 
RouterStatus.setBestRoutes(List<Route> bestRoutes)
Best routes for this router's network. 
 | 
RouterStatus | 
RouterStatus.setBestRoutesForRouter(List<Route> bestRoutesForRouter)
Best routes learned by this router. 
 | 
RouteList | 
RouteList.setItems(List<Route> items)
A list of Route resources. 
 | 
Copyright © 2011–2020 Google. All rights reserved.