org.jclouds.googlecomputeengine.features
Interface GlobalOperationApi


public interface GlobalOperationApi

Provides access to Global Operations via their REST API.

Author:
David Alves
See Also:

Method Summary
 void delete(String operationName)
          Deletes the specified operation resource.
 Operation get(String operationName)
          Retrieves the specified operation resource.
 org.jclouds.collect.PagedIterable<Operation> list()
           
 org.jclouds.collect.PagedIterable<Operation> list(ListOptions listOptions)
          A paged version of GlobalOperationApi#listFirstPage()
 ListPage<Operation> listAtMarker(String marker)
           
 ListPage<Operation> listAtMarker(String marker, ListOptions listOptions)
          Retrieves the listFirstPage of operation resources contained within the specified project.
 ListPage<Operation> listFirstPage()
           
 

Method Detail

get

@Named(value="GlobalOperations:get")
Operation get(String operationName)
Retrieves the specified operation resource.

Parameters:
operationName - name of the operation resource to return.
Returns:
If successful, this method returns an Operation resource

delete

@Named(value="GlobalOperations:delete")
void delete(String operationName)
Deletes the specified operation resource.

Parameters:
operationName - name of the operation resource to delete.

listFirstPage

@Named(value="GlobalOperations:list")
ListPage<Operation> listFirstPage()
See Also:
listAtMarker(String, org.jclouds.googlecomputeengine.options.ListOptions)

listAtMarker

@Named(value="GlobalOperations:list")
ListPage<Operation> listAtMarker(@Nullable
                                       String marker)
See Also:
listAtMarker(String, org.jclouds.googlecomputeengine.options.ListOptions)

listAtMarker

@Named(value="GlobalOperations:list")
ListPage<Operation> listAtMarker(@Nullable
                                       String marker,
                                       ListOptions listOptions)
Retrieves the listFirstPage of operation resources contained within the specified project. By default the listFirstPage as a maximum size of 100, if no options are provided or ListOptions#getMaxResults() has not been set.

Parameters:
marker - marks the beginning of the next list page
listOptions - listing options
Returns:
a page of the list, starting at marker
See Also:
ListOptions, ListPage

list

@Named(value="GlobalOperations:list")
org.jclouds.collect.PagedIterable<Operation> list()
See Also:
list(org.jclouds.googlecomputeengine.options.ListOptions)

list

@Named(value="GlobalOperations:list")
org.jclouds.collect.PagedIterable<Operation> list(ListOptions listOptions)
A paged version of GlobalOperationApi#listFirstPage()

Returns:
a Paged, Fluent Iterable that is able to fetch additional pages when required
See Also:
PagedIterable, listAtMarker(String, org.jclouds.googlecomputeengine.options.ListOptions)


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.