Skip to main content

router_bgp_routes

Creates, updates, deletes, gets or lists a router_bgp_routes resource.

Overview

Namerouter_bgp_routes
TypeResource
Idgoogle.compute.router_bgp_routes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring[Output Only] The unique identifier for the resource. This identifier is defined by the server.
etagstring
kindstringOutput only. [Output Only] Type of resource. Alwayscompute#routersListBgpRoutes for lists of bgp routes. (default: compute#routersListBgpRoutes)
nextPageTokenstring[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
resultarray[Output Only] A list of bgp routes.
selfLinkstringOutput only. [Output Only] Server-defined URL for this resource.
unreachablesarrayOutput only. [Output Only] Unreachable resources.
warningobject[Output Only] Informational warning message.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_bgp_routesselectproject, region, routerpeer, addressFamily, filter, pageToken, routeType, returnPartialSuccess, maxResults, destinationPrefix, policyApplied, orderByRetrieves a list of router bgp routes available to the specified project.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
projectstring
regionstring
routerstring
addressFamilystring
destinationPrefixstring
filterstring
maxResultsinteger (uint32)
orderBystring
pageTokenstring
peerstring
policyAppliedboolean
returnPartialSuccessboolean
routeTypestring

SELECT examples

Retrieves a list of router bgp routes available to the specified project.

SELECT
id,
etag,
kind,
nextPageToken,
result,
selfLink,
unreachables,
warning
FROM google.compute.router_bgp_routes
WHERE project = '{{ project }}' -- required
AND region = '{{ region }}' -- required
AND router = '{{ router }}' -- required
AND peer = '{{ peer }}'
AND addressFamily = '{{ addressFamily }}'
AND filter = '{{ filter }}'
AND pageToken = '{{ pageToken }}'
AND routeType = '{{ routeType }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
AND maxResults = '{{ maxResults }}'
AND destinationPrefix = '{{ destinationPrefix }}'
AND policyApplied = '{{ policyApplied }}'
AND orderBy = '{{ orderBy }}'
;