Compute Engine API v1beta13 (revision 22)
com.google.api.services.compute
Class Compute.Kernels
java.lang.Object
com.google.api.services.compute.Compute.Kernels
- Enclosing class:
- Compute
public class Compute.Kernels
- extends Object
The "kernels" collection of methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Compute.Kernels
public Compute.Kernels()
get
public Compute.Kernels.Get get(String project,
String kernel)
throws IOException
- Returns the specified kernel resource.
Create a request for the method "kernels.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.kernel
- Name of the kernel resource to return.
- Returns:
- the request
- Throws:
IOException
list
public Compute.Kernels.List list(String project)
throws IOException
- Retrieves the list of kernel resources available to the specified project.
Create a request for the method "kernels.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