target.apidocs.com.google.api.services.compute.Compute.Routes.html Maven / Gradle / Ivy
Compute.Routes (Compute Engine API v1-rev20200104-1.30.8)
com.google.api.services.compute
Class Compute.Routes
- java.lang.Object
-
- com.google.api.services.compute.Compute.Routes
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.Routes.Delete
class
Compute.Routes.Get
class
Compute.Routes.Insert
class
Compute.Routes.List
-
Constructor Summary
Constructors
Constructor and Description
Routes()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.Routes.Delete
delete(String project,
String route)
Deletes the specified Route resource.
Compute.Routes.Get
get(String project,
String route)
Returns the specified Route resource.
Compute.Routes.Insert
insert(String project,
Route content)
Creates a Route resource in the specified project using the data included in the request.
Compute.Routes.List
list(String project)
Retrieves the list of Route resources available to the specified project.
-
-
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