Compute Engine API v1beta14 (revision 11)
com.google.api.services.compute
Class Compute.GlobalOperations
java.lang.Object
com.google.api.services.compute.Compute.GlobalOperations
- Enclosing class:
- Compute
public class Compute.GlobalOperations
- extends Object
The "globalOperations" collection of methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Compute.GlobalOperations
public Compute.GlobalOperations()
delete
public Compute.GlobalOperations.Delete delete(String project,
String operation)
throws IOException
- Deletes the specified operation resource.
Create a request for the method "globalOperations.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.GlobalOperations.Get get(String project,
String operation)
throws IOException
- Retrieves the specified operation resource.
Create a request for the method "globalOperations.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.GlobalOperations.List list(String project)
throws IOException
- Retrieves the list of operation resources contained within the specified project.
Create a request for the method "globalOperations.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