Routes
class Routes extends Resource (View source)
The "routes" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$routes = $computeService->routes;
Methods
delete(string $project, string $route, array $optParams = [])
Deletes the specified Route resource. (routes.delete)
get(string $project, string $route, array $optParams = [])
Returns the specified Route resource. (routes.get)
listRoutes(string $project, array $optParams = [])
Retrieves the list of Route resources available to the specified project.
Details
Operation
delete(string $project, string $route, array $optParams = [])
Deletes the specified Route resource. (routes.delete)
Route
get(string $project, string $route, array $optParams = [])
Returns the specified Route resource. (routes.get)
Operation
insert(string $project, Route $postBody, array $optParams = [])
Creates a Route resource in the specified project using the data included in the request. (routes.insert)
RouteList
listRoutes(string $project, array $optParams = [])
Retrieves the list of Route resources available to the specified project.
(routes.listRoutes)