Compute Engine API v1beta15 (revision 1)



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

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

public class Compute.Routes
extends Object

The "routes" collection of methods.


Nested Class Summary
 class Compute.Routes.Delete
           
 class Compute.Routes.Get
           
 class Compute.Routes.Insert
           
 class Compute.Routes.List
           
 
Constructor Summary
Compute.Routes()
           
 
Method Summary
 Compute.Routes.Delete delete(String project, String route)
          Deletes the specified route resource.
 Compute.Routes.Get get(String project, String route)
          Returns the specified route resource.
 Compute.Routes.Insert insert(String project, Route content)
          Creates a route resource in the specified project using the data included in the request.
 Compute.Routes.List list(String project)
          Retrieves the list of route resources available to the specified project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compute.Routes

public Compute.Routes()
Method Detail

delete

public Compute.Routes.Delete delete(String project,
                                    String route)
                             throws IOException
Deletes the specified route resource. Create a request for the method "routes.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.
route - Name of the route resource to delete.
Returns:
the request
Throws:
IOException

get

public Compute.Routes.Get get(String project,
                              String route)
                       throws IOException
Returns the specified route resource. Create a request for the method "routes.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.
route - Name of the route resource to return.
Returns:
the request
Throws:
IOException

insert

public Compute.Routes.Insert insert(String project,
                                    Route content)
                             throws IOException
Creates a route resource in the specified project using the data included in the request. Create a request for the method "routes.insert". 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.
content - the Route
Returns:
the request
Throws:
IOException

list

public Compute.Routes.List list(String project)
                         throws IOException
Retrieves the list of route resources available to the specified project. Create a request for the method "routes.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