Compute Engine API v1beta13 (revision 19)



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

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

public class Compute.Networks
extends Object

The "networks" collection of methods.


Nested Class Summary
 class Compute.Networks.Delete
           
 class Compute.Networks.Get
           
 class Compute.Networks.Insert
           
 class Compute.Networks.List
           
 
Constructor Summary
Compute.Networks()
           
 
Method Summary
 Compute.Networks.Delete delete(String project, String network)
          Deletes the specified network resource.
 Compute.Networks.Get get(String project, String network)
          Returns the specified network resource.
 Compute.Networks.Insert insert(String project, Network content)
          Creates a network resource in the specified project using the data included in the request.
 Compute.Networks.List list(String project)
          Retrieves the list of network 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.Networks

public Compute.Networks()
Method Detail

delete

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

get

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

insert

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

list

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