class ProjectsLocationsRoutes extends Resource (View source)

The "routes" collection of methods.

Typical usage is:

 $runService = new Google\Service\CloudRun(...);
 $routes = $runService->routes;

Methods

get(string $name, array $optParams = [])

Get information about a route. (routes.get)

listProjectsLocationsRoutes(string $parent, array $optParams = [])

List routes. (routes.listProjectsLocationsRoutes)

Details

Route get(string $name, array $optParams = [])

Get information about a route. (routes.get)

Parameters

string $name

The name of the route to retrieve. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.

array $optParams

Optional parameters.

Return Value

Route

ListRoutesResponse listProjectsLocationsRoutes(string $parent, array $optParams = [])

List routes. (routes.listProjectsLocationsRoutes)

Parameters

string $parent

The namespace from which the routes should be listed. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.

array $optParams

Optional parameters.

Return Value

ListRoutesResponse