class ProjectsLocationsNetworkconnectivityGlobalHubsRouteTablesRoutes extends Resource (View source)

The "routes" collection of methods.

Typical usage is:

 $networkconnectivityService = new Google\Service\Networkconnectivity(...);
 $routes = $networkconnectivityService->projects_locations_global_hubs_routeTables_routes;

Methods

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

Gets details about the specified route. (routes.get)

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

Lists routes in a given route table.

Details

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

Gets details about the specified route. (routes.get)

Parameters

string $name

Required. The name of the route resource.

array $optParams

Optional parameters.

Return Value

Route

Exceptions

Exception

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

Lists routes in a given route table.

(routes.listProjectsLocationsNetworkconnectivityGlobalHubsRouteTablesRoutes)

Parameters

string $parent

Required. The parent resource's name.

array $optParams

Optional parameters.

Return Value

ListRoutesResponse

Exceptions

Exception