| Modifier and Type | Class and Description | 
|---|---|
| class  | Compute.Networks.AddPeering | 
| class  | Compute.Networks.Delete | 
| class  | Compute.Networks.Get | 
| class  | Compute.Networks.GetEffectiveFirewalls | 
| 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.TestIamPermissions | 
| class  | Compute.Networks.UpdatePeering | 
| Constructor and Description | 
|---|
| Networks() | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.Networks.AddPeering | addPeering(String project,
          String network,
          NetworksAddPeeringRequest content)Adds a peering to the specified network. | 
| Compute.Networks.Delete | delete(String project,
      String network)Deletes the specified network. | 
| Compute.Networks.Get | get(String project,
   String network)Returns the specified network. | 
| Compute.Networks.GetEffectiveFirewalls | getEffectiveFirewalls(String project,
                     String network)Returns the effective firewalls on a given network. | 
| Compute.Networks.Insert | insert(String project,
      Network content)Creates a network in the specified project using the data included in the request. | 
| Compute.Networks.List | list(String project)Retrieves the list of networks available to the specified project. | 
| Compute.Networks.ListPeeringRoutes | listPeeringRoutes(String project,
                 String network)Lists the peering routes exchanged over peering connection. | 
| Compute.Networks.Patch | patch(String project,
     String network,
     Network content)Patches the specified network with the data included in the request. | 
| Compute.Networks.RemovePeering | removePeering(String project,
             String network,
             NetworksRemovePeeringRequest content)Removes a peering from the specified network. | 
| Compute.Networks.SwitchToCustomMode | switchToCustomMode(String project,
                  String network)Switches the network mode from auto subnet mode to custom subnet mode. | 
| Compute.Networks.TestIamPermissions | testIamPermissions(String project,
                  String resource,
                  TestPermissionsRequest content)Returns permissions that a caller has on the specified resource. | 
| Compute.Networks.UpdatePeering | updatePeering(String project,
             String network,
             NetworksUpdatePeeringRequest content)Updates the specified network peering with the data included in the request. | 
public Compute.Networks.AddPeering addPeering(String project, String network, NetworksAddPeeringRequest content) throws 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 NetworksAddPeeringRequestIOExceptionpublic Compute.Networks.Delete delete(String project, String network) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.network - Name of the network to delete.IOExceptionpublic Compute.Networks.Get get(String project, String network) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.network - Name of the network to return.IOExceptionpublic Compute.Networks.GetEffectiveFirewalls getEffectiveFirewalls(String project, String network) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
 operation.project - Project ID for this request.network - Name of the network for this request.IOExceptionpublic Compute.Networks.Insert insert(String project, Network content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the NetworkIOExceptionpublic Compute.Networks.List list(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.Networks.ListPeeringRoutes listPeeringRoutes(String project, String network) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.network - Name of the network for this request.IOExceptionpublic Compute.Networks.Patch patch(String project, String network, Network content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.network - Name of the network to update.content - the NetworkIOExceptionpublic Compute.Networks.RemovePeering removePeering(String project, String network, NetworksRemovePeeringRequest content) throws 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 NetworksRemovePeeringRequestIOExceptionpublic Compute.Networks.SwitchToCustomMode switchToCustomMode(String project, String network) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.network - Name of the network to be updated.IOExceptionpublic Compute.Networks.TestIamPermissions testIamPermissions(String project, String resource, TestPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.resource - Name or id of the resource for this request.content - the TestPermissionsRequestIOExceptionpublic Compute.Networks.UpdatePeering updatePeering(String project, String network, NetworksUpdatePeeringRequest content) throws 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 NetworksUpdatePeeringRequestIOExceptionCopyright © 2011–2022 Google. All rights reserved.