public interface SnapshotApi
Modifier and Type | Interface and Description |
---|---|
static class |
SnapshotApi.SnapshotPages |
Modifier and Type | Method and Description |
---|---|
Operation |
delete(String snapshot)
Deletes a snapshot by name and returns the operation in progress, or null if not found.
|
Snapshot |
get(String snapshot)
Returns a snapshot by name or null if not found.
|
Iterator<ListPage<Snapshot>> |
list() |
Iterator<ListPage<Snapshot>> |
list(ListOptions options) |
ListPage<Snapshot> |
listPage(String pageToken,
ListOptions listOptions)
Retrieves the list of snapshot resources available to the specified project.
|
@Named(value="Snapshots:get") @Nullable Snapshot get(String snapshot)
@Named(value="Snapshots:delete") @Nullable Operation delete(String snapshot)
@Named(value="Snapshots:list") ListPage<Snapshot> listPage(@Nullable String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="Snapshots:list") Iterator<ListPage<Snapshot>> list()
listPage(String, ListOptions)
@Named(value="Snapshots:list") Iterator<ListPage<Snapshot>> list(ListOptions options)
listPage(String, ListOptions)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.