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") @Nullable Operation get(URI operation)
@Named(value="Operations:delete") void delete(URI operation)
@Named(value="GlobalOperations:list") ListPage<Operation> listPage(@Nullable String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="GlobalOperations:list") Iterator<ListPage<Operation>> list()
listPage(String, ListOptions)
@Named(value="GlobalOperations:list") Iterator<ListPage<Operation>> list(ListOptions options)
listPage(String, ListOptions)
@Named(value="RegionOperations:list") ListPage<Operation> listPageInRegion(String region, @Nullable String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="RegionOperations:list") Iterator<ListPage<Operation>> listInRegion(String region)
@Named(value="RegionOperations:list") Iterator<ListPage<Operation>> listInRegion(String region, ListOptions options)
@Named(value="ZoneOperations:list") ListPage<Operation> listPageInZone(String zone, @Nullable String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="ZoneOperations:list") Iterator<ListPage<Operation>> listInZone(String zone)
@Named(value="ZoneOperations:list") Iterator<ListPage<Operation>> listInZone(String zone, ListOptions options)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.