public class Compute.Networks
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Compute.Networks.AddPeering |
class |
Compute.Networks.Delete |
class |
Compute.Networks.Get |
class |
Compute.Networks.Insert |
class |
Compute.Networks.List |
class |
Compute.Networks.RemovePeering |
class |
Compute.Networks.SwitchToCustomMode |
Constructor and Description |
---|
Compute.Networks() |
Modifier and Type | Method and Description |
---|---|
Compute.Networks.AddPeering |
addPeering(java.lang.String project,
java.lang.String network,
NetworksAddPeeringRequest content)
Adds a peering to the specified network.
|
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.RemovePeering |
removePeering(java.lang.String project,
java.lang.String network,
NetworksRemovePeeringRequest content)
Removes a peering from the specified network.
|
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.AddPeering addPeering(java.lang.String project, java.lang.String network, NetworksAddPeeringRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.network
- Name of the network resource to add peering to.content
- the NetworksAddPeeringRequest
java.io.IOException
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.RemovePeering removePeering(java.lang.String project, java.lang.String network, NetworksRemovePeeringRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.network
- Name of the network resource to remove peering from.content
- the NetworksRemovePeeringRequest
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