public interface RouteApi
Modifier and Type | Interface and Description |
---|---|
static class |
RouteApi.RoutePages |
Modifier and Type | Method and Description |
---|---|
Operation |
createInNetwork(String name,
URI network,
RouteOptions routeOptions)
Creates a route resource in the specified project using the data included in the request.
|
Operation |
delete(String routeName)
Deletes a route by name and returns the operation in progress, or null if not found.
|
Route |
get(String routeName)
Returns a route type by name or null if not found.
|
Iterator<ListPage<Route>> |
list() |
Iterator<ListPage<Route>> |
list(ListOptions options) |
ListPage<Route> |
listPage(String pageToken,
ListOptions listOptions)
Retrieves the list of route resources available to the specified project.
|
@Named(value="Routes:get") Route get(String routeName)
@Named(value="Routes:delete") @Nullable Operation delete(String routeName)
@Named(value="Routes:insert") Operation createInNetwork(String name, URI network, RouteOptions routeOptions)
name
- the name of the route to be inserted.network
- the network to which to add the routerouteOptions
- the options of the route to add@Named(value="Routes:list") ListPage<Route> listPage(@Nullable String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="Routes:list") Iterator<ListPage<Route>> list()
listPage(String, ListOptions)
@Named(value="Routes:list") Iterator<ListPage<Route>> list(ListOptions options)
listPage(String, ListOptions)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.