| Modifier and Type | Class and Description | 
|---|---|
| class  | Compute.Subnetworks.AggregatedList | 
| class  | Compute.Subnetworks.Delete | 
| class  | Compute.Subnetworks.ExpandIpCidrRange | 
| class  | Compute.Subnetworks.Get | 
| class  | Compute.Subnetworks.GetIamPolicy | 
| class  | Compute.Subnetworks.Insert | 
| class  | Compute.Subnetworks.List | 
| class  | Compute.Subnetworks.ListUsable | 
| class  | Compute.Subnetworks.Patch | 
| class  | Compute.Subnetworks.SetIamPolicy | 
| class  | Compute.Subnetworks.SetPrivateIpGoogleAccess | 
| class  | Compute.Subnetworks.TestIamPermissions | 
| Constructor and Description | 
|---|
| Subnetworks() | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.Subnetworks.AggregatedList | aggregatedList(String project)Retrieves an aggregated list of subnetworks. | 
| Compute.Subnetworks.Delete | delete(String project,
      String region,
      String subnetwork)Deletes the specified subnetwork. | 
| Compute.Subnetworks.ExpandIpCidrRange | expandIpCidrRange(String project,
                 String region,
                 String subnetwork,
                 SubnetworksExpandIpCidrRangeRequest content)Expands the IP CIDR range of the subnetwork to a specified value. | 
| Compute.Subnetworks.Get | get(String project,
   String region,
   String subnetwork)Returns the specified subnetwork. | 
| Compute.Subnetworks.GetIamPolicy | getIamPolicy(String project,
            String region,
            String resource)Gets the access control policy for a resource. | 
| Compute.Subnetworks.Insert | insert(String project,
      String region,
      Subnetwork content)Creates a subnetwork in the specified project using the data included in the request. | 
| Compute.Subnetworks.List | list(String project,
    String region)Retrieves a list of subnetworks available to the specified project. | 
| Compute.Subnetworks.ListUsable | listUsable(String project)Retrieves an aggregated list of all usable subnetworks in the project. | 
| Compute.Subnetworks.Patch | patch(String project,
     String region,
     String subnetwork,
     Subnetwork content)Patches the specified subnetwork with the data included in the request. | 
| Compute.Subnetworks.SetIamPolicy | setIamPolicy(String project,
            String region,
            String resource,
            RegionSetPolicyRequest content)Sets the access control policy on the specified resource. | 
| Compute.Subnetworks.SetPrivateIpGoogleAccess | setPrivateIpGoogleAccess(String project,
                        String region,
                        String subnetwork,
                        SubnetworksSetPrivateIpGoogleAccessRequest content)Set whether VMs in this subnet can access Google services without assigning external IP addresses
 through Private Google Access. | 
| Compute.Subnetworks.TestIamPermissions | testIamPermissions(String project,
                  String region,
                  String resource,
                  TestPermissionsRequest content)Returns permissions that a caller has on the specified resource. | 
public Compute.Subnetworks.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.Subnetworks.Delete delete(String project, String region, String subnetwork) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.subnetwork - Name of the Subnetwork resource to delete.IOExceptionpublic Compute.Subnetworks.ExpandIpCidrRange expandIpCidrRange(String project, String region, String subnetwork, SubnetworksExpandIpCidrRangeRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.subnetwork - Name of the Subnetwork resource to update.content - the SubnetworksExpandIpCidrRangeRequestIOExceptionpublic Compute.Subnetworks.Get get(String project, String region, String subnetwork) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.subnetwork - Name of the Subnetwork resource to return.IOExceptionpublic Compute.Subnetworks.GetIamPolicy getIamPolicy(String project, String region, String resource) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.resource - Name or id of the resource for this request.IOExceptionpublic Compute.Subnetworks.Insert insert(String project, String region, Subnetwork content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.content - the SubnetworkIOExceptionpublic Compute.Subnetworks.List list(String project, String region) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.IOExceptionpublic Compute.Subnetworks.ListUsable listUsable(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.Subnetworks.Patch patch(String project, String region, String subnetwork, Subnetwork content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.subnetwork - Name of the Subnetwork resource to patch.content - the SubnetworkIOExceptionpublic Compute.Subnetworks.SetIamPolicy setIamPolicy(String project, String region, String resource, RegionSetPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.resource - Name or id of the resource for this request.content - the RegionSetPolicyRequestIOExceptionpublic Compute.Subnetworks.SetPrivateIpGoogleAccess setPrivateIpGoogleAccess(String project, String region, String subnetwork, SubnetworksSetPrivateIpGoogleAccessRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
 operation.project - Project ID for this request.region - Name of the region scoping this request.subnetwork - Name of the Subnetwork resource.content - the SubnetworksSetPrivateIpGoogleAccessRequestIOExceptionpublic Compute.Subnetworks.TestIamPermissions testIamPermissions(String project, String region, String resource, TestPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.resource - Name or id of the resource for this request.content - the TestPermissionsRequestIOExceptionCopyright © 2011–2022 Google. All rights reserved.