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.ListPeeringRoutes |
class |
Compute.Networks.Patch |
class |
Compute.Networks.RemovePeering |
class |
Compute.Networks.SwitchToCustomMode |
class |
Compute.Networks.UpdatePeering |
| Constructor and Description |
|---|
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.ListPeeringRoutes |
listPeeringRoutes(java.lang.String project,
java.lang.String network)
Lists the peering routes exchanged over peering connection.
|
Compute.Networks.Patch |
patch(java.lang.String project,
java.lang.String network,
Network content)
Patches the specified network with the data included in the request.
|
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.
|
Compute.Networks.UpdatePeering |
updatePeering(java.lang.String project,
java.lang.String network,
NetworksUpdatePeeringRequest content)
Updates the specified network peering with the data included in the request Only the following
fields can be modified: NetworkPeering.export_custom_routes, and
NetworkPeering.import_custom_routes
Create a request for the method "networks.updatePeering".
|
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 NetworksAddPeeringRequestjava.io.IOExceptionpublic 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.IOExceptionpublic 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.IOExceptionpublic 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 Networkjava.io.IOExceptionpublic 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.IOExceptionpublic Compute.Networks.ListPeeringRoutes listPeeringRoutes(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 for this request.java.io.IOExceptionpublic Compute.Networks.Patch patch(java.lang.String project, java.lang.String network, Network content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.network - Name of the network to update.content - the Networkjava.io.IOExceptionpublic 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 NetworksRemovePeeringRequestjava.io.IOExceptionpublic 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.IOExceptionpublic Compute.Networks.UpdatePeering updatePeering(java.lang.String project, java.lang.String network, NetworksUpdatePeeringRequest 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 which the updated peering is belonging to.content - the NetworksUpdatePeeringRequestjava.io.IOException