public class Compute.Networks
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Compute.Networks.Delete |
class |
Compute.Networks.Get |
class |
Compute.Networks.Insert |
class |
Compute.Networks.List |
class |
Compute.Networks.SwitchToCustomMode |
Constructor and Description |
---|
Compute.Networks() |
Modifier and Type | Method and Description |
---|---|
Compute.Networks.Delete |
delete(java.lang.String project,
java.lang.String network)
Deletes the specified network.
|
Compute.Networks.Get |
get(java.lang.String project,
java.lang.String network)
Returns the specified network.
|
Compute.Networks.Insert |
insert(java.lang.String project,
Network content)
Creates a network in the specified project using the data included in the request.
|
Compute.Networks.List |
list(java.lang.String project)
Retrieves the list of networks available to the specified project.
|
Compute.Networks.SwitchToCustomMode |
switchToCustomMode(java.lang.String project,
java.lang.String network)
Switches the network mode from auto subnet mode to custom subnet mode.
|
public Compute.Networks.Delete delete(java.lang.String project, java.lang.String network) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.network
- Name of the network to delete.java.io.IOException
public Compute.Networks.Get get(java.lang.String project, java.lang.String network) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.network
- Name of the network to return.java.io.IOException
public Compute.Networks.Insert insert(java.lang.String project, Network content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.content
- the Network
java.io.IOException
public Compute.Networks.List list(java.lang.String project) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.java.io.IOException
public Compute.Networks.SwitchToCustomMode switchToCustomMode(java.lang.String project, java.lang.String network) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.network
- Name of the network to be updated.java.io.IOException