@Path(value="/regions")
@Consumes(value="application/json")
public interface RegionApi
Modifier and Type | Interface and Description |
---|---|
static class |
RegionApi.RegionPages |
Modifier and Type | Method and Description |
---|---|
Region |
get(String region)
Returns a region by name or null if not found.
|
Iterator<ListPage<Region>> |
list() |
Iterator<ListPage<Region>> |
list(ListOptions options) |
ListPage<Region> |
listPage(String pageToken,
ListOptions listOptions)
Retrieves the list of region resources available to the specified project.
|
@Named(value="Regions:get") @GET @Path(value="/{region}") Region get(@PathParam(value="region") String region)
@Named(value="Regions:list") @GET ListPage<Region> listPage(@Nullable@QueryParam(value="pageToken") String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="Regions:list") @GET Iterator<ListPage<Region>> list()
listPage(String, ListOptions)
@Named(value="Regions:list") @GET Iterator<ListPage<Region>> list(ListOptions options)
listPage(String, ListOptions)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.