public interface AddressApi
Modifier and Type | Interface and Description |
---|---|
static class |
AddressApi.AddressPages |
Modifier and Type | Method and Description |
---|---|
Operation |
create(AddressCreationOptions options) |
Operation |
create(String address)
Creates an address resource in the specified project specifying the size of the address.
|
Operation |
delete(String address)
Deletes an address by name and returns the operation in progress, or null if not found.
|
Address |
get(String address)
Returns an address by name or null if not found.
|
Iterator<ListPage<Address>> |
list() |
Iterator<ListPage<Address>> |
list(ListOptions options) |
ListPage<Address> |
listPage(String pageToken,
ListOptions listOptions)
Retrieves the list of address resources available to the specified project.
|
@Named(value="Addresses:get") @Nullable Address get(String address)
@Named(value="Addresses:insert") Operation create(String address)
address
- the name of address.@Named(value="Addresses:insert") Operation create(AddressCreationOptions options)
create(String)
@Named(value="Addresses:delete") @Nullable Operation delete(String address)
@Named(value="Addresses:list") ListPage<Address> listPage(@Nullable String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="Addresses:list") Iterator<ListPage<Address>> list()
listPage(String, ListOptions)
@Named(value="Addresses:list") Iterator<ListPage<Address>> list(ListOptions options)
listPage(String, ListOptions)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.