All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.Compute.Subnetworks.html Maven / Gradle / Ivy







Compute.Subnetworks (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute

Class Compute.Subnetworks

  • Enclosing class:
    Compute


    public class Compute.Subnetworks
    extends Object
    The "subnetworks" collection of methods.
    • Constructor Detail

      • Subnetworks

        public Subnetworks()
    • Method Detail

      • aggregatedList

        public Compute.Subnetworks.AggregatedList aggregatedList(String project)
                                                          throws IOException
        Retrieves an aggregated list of subnetworks. Create a request for the method "subnetworks.aggregatedList". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Compute.Subnetworks.Delete delete(String project,
                                                 String region,
                                                 String subnetwork)
                                          throws IOException
        Deletes the specified subnetwork. Create a request for the method "subnetworks.delete". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        region - Name of the region scoping this request.
        subnetwork - Name of the Subnetwork resource to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.Subnetworks.Get get(String project,
                                           String region,
                                           String subnetwork)
                                    throws IOException
        Returns the specified subnetwork. Gets a list of available subnetworks list() request. Create a request for the method "subnetworks.get". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        region - Name of the region scoping this request.
        subnetwork - Name of the Subnetwork resource to return.
        Returns:
        the request
        Throws:
        IOException
      • getIamPolicy

        public Compute.Subnetworks.GetIamPolicy getIamPolicy(String project,
                                                             String region,
                                                             String resource)
                                                      throws IOException
        Gets the access control policy for a resource. May be empty if no such policy or resource exists. Create a request for the method "subnetworks.getIamPolicy". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Compute.Subnetworks.Insert insert(String project,
                                                 String region,
                                                 Subnetwork content)
                                          throws IOException
        Creates a subnetwork in the specified project using the data included in the request. Create a request for the method "subnetworks.insert". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        region - Name of the region scoping this request.
        content - the Subnetwork
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.Subnetworks.List list(String project,
                                             String region)
                                      throws IOException
        Retrieves a list of subnetworks available to the specified project. Create a request for the method "subnetworks.list". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        region - Name of the region scoping this request.
        Returns:
        the request
        Throws:
        IOException
      • listUsable

        public Compute.Subnetworks.ListUsable listUsable(String project)
                                                  throws IOException
        Retrieves an aggregated list of all usable subnetworks in the project. The list contains all of the subnetworks in the project and the subnetworks that were shared by a Shared VPC host project. Create a request for the method "subnetworks.listUsable". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Compute.Subnetworks.Patch patch(String project,
                                               String region,
                                               String subnetwork,
                                               Subnetwork content)
                                        throws IOException
        Patches the specified subnetwork with the data included in the request. Only certain fields can up updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched. Create a request for the method "subnetworks.patch". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        region - Name of the region scoping this request.
        subnetwork - Name of the Subnetwork resource to patch.
        content - the Subnetwork
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy