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

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

There is a newer version: v1-rev20250107-2.0.0
Show newest version






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












com.google.api.services.compute

Class Compute.Routes

  • Enclosing class:
    Compute


    public class Compute.Routes
    extends Object
    The "routes" collection of methods.
    • Constructor Detail

      • Routes

        public Routes()
    • Method Detail

      • delete

        public Compute.Routes.Delete delete(String project,
                                            String route)
                                     throws IOException
        Deletes the specified Route resource. Create a request for the method "routes.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.
        route - Name of the Route resource to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.Routes.Get get(String project,
                                      String route)
                               throws IOException
        Returns the specified Route resource. Gets a list of available routes by making a list() request. Create a request for the method "routes.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.
        route - Name of the Route resource to return.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Compute.Routes.Insert insert(String project,
                                            Route content)
                                     throws IOException
        Creates a Route resource in the specified project using the data included in the request. Create a request for the method "routes.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.
        content - the Route
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.Routes.List list(String project)
                                 throws IOException
        Retrieves the list of Route resources available to the specified project. Create a request for the method "routes.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.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy