@Consumes(value="application/json")
public interface OperationApi
Modifier and Type | Interface and Description |
---|---|
static class |
OperationApi.OperationPages |
static class |
OperationApi.OperationPagesInRegion |
static class |
OperationApi.OperationPagesInZone |
Modifier and Type | Method and Description |
---|---|
void |
delete(URI operation)
Deletes an operation by name.
|
Operation |
get(URI operation)
Returns an operation by self-link or null if not found.
|
Iterator<ListPage<Operation>> |
list() |
Iterator<ListPage<Operation>> |
list(ListOptions options) |
Iterator<ListPage<Operation>> |
listInRegion(String region) |
Iterator<ListPage<Operation>> |
listInRegion(String region,
ListOptions options) |
Iterator<ListPage<Operation>> |
listInZone(String zone) |
Iterator<ListPage<Operation>> |
listInZone(String zone,
ListOptions options) |
ListPage<Operation> |
listPage(String pageToken,
ListOptions listOptions)
Retrieves the list of operation resources available to the specified project.
|
ListPage<Operation> |
listPageInRegion(String region,
String pageToken,
ListOptions listOptions)
Retrieves the list of operation resources available in the specified region.
|
ListPage<Operation> |
listPageInZone(String zone,
String pageToken,
ListOptions listOptions)
Retrieves the list of operation resources available in the specified zone.
|
@Named(value="Operations:get") @GET @Nullable Operation get(URI operation)
@Named(value="Operations:delete") @DELETE void delete(URI operation)
@Named(value="GlobalOperations:list") @GET @Path(value="/global/operations") ListPage<Operation> listPage(@Nullable@QueryParam(value="pageToken") String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="GlobalOperations:list") @GET @Path(value="/global/operations") Iterator<ListPage<Operation>> list()
listPage(String, ListOptions)
@Named(value="GlobalOperations:list") @GET @Path(value="/global/operations") Iterator<ListPage<Operation>> list(ListOptions options)
listPage(String, ListOptions)
@Named(value="RegionOperations:list") @GET @Path(value="/regions/{region}/operations") ListPage<Operation> listPageInRegion(@PathParam(value="region") String region, @Nullable@QueryParam(value="pageToken") String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="RegionOperations:list") @GET @Path(value="/regions/{region}/operations") Iterator<ListPage<Operation>> listInRegion(@PathParam(value="region") String region)
@Named(value="RegionOperations:list") @GET @Path(value="/regions/{region}/operations") Iterator<ListPage<Operation>> listInRegion(@PathParam(value="region") String region, ListOptions options)
@Named(value="ZoneOperations:list") @GET @Path(value="/zones/{zone}/operations") ListPage<Operation> listPageInZone(@PathParam(value="zone") String zone, @Nullable@QueryParam(value="pageToken") String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="ZoneOperations:list") @GET @Path(value="/zones/{zone}/operations") Iterator<ListPage<Operation>> listInZone(@PathParam(value="zone") String zone)
@Named(value="ZoneOperations:list") @GET @Path(value="/zones/{zone}/operations") Iterator<ListPage<Operation>> listInZone(@PathParam(value="zone") String zone, ListOptions options)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.