Compute Engine API v1beta13 (revision 19)



com.google.api.services.compute
Class Compute.Operations

java.lang.Object
  extended by com.google.api.services.compute.Compute.Operations
Enclosing class:
Compute

public class Compute.Operations
extends Object

The "operations" collection of methods.


Nested Class Summary
 class Compute.Operations.Delete
           
 class Compute.Operations.Get
           
 class Compute.Operations.List
           
 
Constructor Summary
Compute.Operations()
           
 
Method Summary
 Compute.Operations.Delete delete(String project, String operation)
          Deletes the specified operation resource.
 Compute.Operations.Get get(String project, String operation)
          Retrieves the specified operation resource.
 Compute.Operations.List list(String project)
          Retrieves the list of operation resources contained within the specified project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compute.Operations

public Compute.Operations()
Method Detail

delete

public Compute.Operations.Delete delete(String project,
                                        String operation)
                                 throws IOException
Deletes the specified operation resource. Create a request for the method "operations.delete". This request holds the parameters needed by the the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
project - Name of the project scoping this request.
operation - Name of the operation resource to delete.
Returns:
the request
Throws:
IOException

get

public Compute.Operations.Get get(String project,
                                  String operation)
                           throws IOException
Retrieves the specified operation resource. Create a request for the method "operations.get". This request holds the parameters needed by the the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
project - Name of the project scoping this request.
operation - Name of the operation resource to return.
Returns:
the request
Throws:
IOException

list

public Compute.Operations.List list(String project)
                             throws IOException
Retrieves the list of operation resources contained within the specified project. Create a request for the method "operations.list". This request holds the parameters needed by the the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
project - Name of the project scoping this request.
Returns:
the request
Throws:
IOException