Compute Engine API v1beta13 (revision 24)
com.google.api.services.compute
Class Compute.Operations
java.lang.Object
com.google.api.services.compute.Compute.Operations
- Enclosing class:
- Compute
public class Compute.Operations
- extends Object
The "operations" collection of methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Compute.Operations
public Compute.Operations()
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