Routers: get

Requires authorization

Returns the specified Router resource. Get a list of available routers by making a list() request.

Request

HTTP request

GET https://www.googleapis.com/compute/beta/projects/project/regions/region/routers/router

Parameters

Parameter name Value Description
Path parameters
project string Project ID for this request.
region string Name of the region for this request.
router string Name of the Router resource to return.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/compute.readonly
https://www.googleapis.com/auth/compute
https://www.googleapis.com/auth/cloud-platform

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a Routers resource in the response body.

Send feedback about...

Compute Engine