- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Retrieves runtime information of the specified router.
HTTP request
GET https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/routers/{router}/getRouterStatus
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
project |
Project ID for this request. |
region |
Name of the region for this request. |
router |
Name of the Router resource to query. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "kind": string, "result": { "network": string, "bestRoutes": [ { "kind": string, "id": string, "creationTimestamp": string, "name": string, "description": string, "network": string, "tags": [ string ], "destRange": string, "priority": integer, "nextHopInstance": string, "nextHopIp": string, "nextHopNetwork": string, "nextHopGateway": string, "nextHopPeering": string, "nextHopIlb": string, "warnings": [ { "code": enum, "message": string, "data": [ { "key": string, "value": string } ] } ], "nextHopVpnTunnel": string, "nextHopHub": string, "selfLink": string, "routeType": enum, "asPaths": [ { "pathSegmentType": enum, "asLists": [ integer ] } ], "routeStatus": enum } ], "bestRoutesForRouter": [ { "kind": string, "id": string, "creationTimestamp": string, "name": string, "description": string, "network": string, "tags": [ string ], "destRange": string, "priority": integer, "nextHopInstance": string, "nextHopIp": string, "nextHopNetwork": string, "nextHopGateway": string, "nextHopPeering": string, "nextHopIlb": string, "warnings": [ { "code": enum, "message": string, "data": [ { "key": string, "value": string } ] } ], "nextHopVpnTunnel": string, "nextHopHub": string, "selfLink": string, "routeType": enum, "asPaths": [ { "pathSegmentType": enum, "asLists": [ integer ] } ], "routeStatus": enum } ], "bgpPeerStatus": [ { "name": string, "linkedVpnTunnel": string, "routerApplianceInstance": string, "ipAddress": string, "peerIpAddress": string, "ipv6NexthopAddress": string, "peerIpv6NexthopAddress": string, "enableIpv6": boolean, "status": enum, "state": string, "uptime": string, "uptimeSeconds": string, "numLearnedRoutes": integer, "advertisedRoutes": [ { "kind": string, "id": string, "creationTimestamp": string, "name": string, "description": string, "network": string, "tags": [ string ], "destRange": string, "priority": integer, "nextHopInstance": string, "nextHopIp": string, "nextHopNetwork": string, "nextHopGateway": string, "nextHopPeering": string, "nextHopIlb": string, "warnings": [ { "code": enum, "message": string, "data": [ { "key": string, "value": string } ] } ], "nextHopVpnTunnel": string, "nextHopHub": string, "selfLink": string, "routeType": enum, "asPaths": [ { "pathSegmentType": enum, "asLists": [ integer ] } ], "routeStatus": enum } ], "bfdStatus": { "uptimeMs": string, "localState": enum, "localDiagnostic": enum, "controlPacketCounts": { "numTx": integer, "numRx": integer, "numRxSuccessful": integer, "numRxRejected": integer }, "txPacket": { "version": integer, "diagnostic": enum, "state": enum, "poll": boolean, "final": boolean, "controlPlaneIndependent": boolean, "authenticationPresent": boolean, "demand": boolean, "multipoint": boolean, "multiplier": integer, "length": integer, "myDiscriminator": integer, "yourDiscriminator": integer, "minTxIntervalMs": integer, "minRxIntervalMs": integer, "minEchoRxIntervalMs": integer }, "rxPacket": { "version": integer, "diagnostic": enum, "state": enum, "poll": boolean, "final": boolean, "controlPlaneIndependent": boolean, "authenticationPresent": boolean, "demand": boolean, "multipoint": boolean, "multiplier": integer, "length": integer, "myDiscriminator": integer, "yourDiscriminator": integer, "minTxIntervalMs": integer, "minRxIntervalMs": integer, "minEchoRxIntervalMs": integer }, "controlPacketIntervals": [ { "type": enum, "duration": enum, "numIntervals": string, "minMs": string, "maxMs": string, "avgMs": string } ], "negotiatedLocalControlTxIntervalMs": integer, "bfdSessionInitializationMode": enum, "configUpdateTimestampMicros": string }, "md5AuthEnabled": boolean, "statusReason": enum, "ipv4NexthopAddress": string, "peerIpv4NexthopAddress": string, "enableIpv4": boolean } ], "natStatus": [ { "name": string, "userAllocatedNatIpResources": [ string ], "drainUserAllocatedNatIps": [ string ], "userAllocatedNatIps": [ string ], "autoAllocatedNatIps": [ string ], "drainAutoAllocatedNatIps": [ string ], "minExtraNatIpsNeeded": integer, "numVmEndpointsWithNatMappings": integer, "ruleStatus": [ { "ruleNumber": integer, "activeNatIps": [ string ], "drainNatIps": [ string ], "minExtraIpsNeeded": integer, "numVmEndpointsWithNatMappings": integer } ] } ] } } |
Fields | |
---|---|
kind |
Type of resource. |
result |
|
result.network |
URI of the network to which this router belongs. |
result.bestRoutes[] |
A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions. |
result.bestRoutes[].kind |
[Output Only] Type of this resource. Always |
result.bestRoutes[].id |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
result.bestRoutes[].creationTimestamp |
[Output Only] Creation timestamp in RFC3339 text format. |
result.bestRoutes[].name |
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression |
result.bestRoutes[].description |
An optional description of this resource. Provide this field when you create the resource. |
result.bestRoutes[].network |
Fully-qualified URL of the network that this route applies to. |
result.bestRoutes[].tags[] |
A list of instance tags to which this route applies. |
result.bestRoutes[].destRange |
The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format. |
result.bestRoutes[].priority |
The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is |
result.bestRoutes[].nextHopInstance |
The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: |
result.bestRoutes[].nextHopIp |
The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address. |
result.bestRoutes[].nextHopNetwork |
The URL of the local network if it should handle matching packets. |
result.bestRoutes[].nextHopGateway |
The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: |
result.bestRoutes[].nextHopPeering |
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035. |
result.bestRoutes[].nextHopIlb |
The URL to a forwarding rule of type
|
result.bestRoutes[].warnings[] |
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages. |
result.bestRoutes[].warnings[].code |
[Output Only] A warning code, if applicable. For example, Compute Engine returns |
result.bestRoutes[].warnings[].message |
[Output Only] A human-readable description of the warning code. |
result.bestRoutes[].warnings[].data[] |
[Output Only] Metadata about this warning in "data": [ { "key": "scope", "value": "zones/us-east1-d" } |
result.bestRoutes[].warnings[].data[].key |
[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be |
result.bestRoutes[].warnings[].data[].value |
[Output Only] A warning data value corresponding to the key. |
result.bestRoutes[].nextHopVpnTunnel |
The URL to a VpnTunnel that should handle matching packets. |
result.bestRoutes[].nextHopHub |
[Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets. |
result.bestRoutes[].selfLink |
[Output Only] Server-defined fully-qualified URL for this resource. |
result.bestRoutes[].routeType |
[Output Only] The type of this route, which can be one of the following values: |
result.bestRoutes[].asPaths[] |
[Output Only] AS path. |
result.bestRoutes[].asPaths[].pathSegmentType |
[Output Only] The type of the AS Path, which can be one of the following values: |
result.bestRoutes[].asPaths[].asLists[] |
[Output Only] The AS numbers of the AS Path. |
result.bestRoutes[].routeStatus |
[Output only] The status of the route. |
result.bestRoutesForRouter[] |
A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router. |
result.bestRoutesForRouter[].kind |
[Output Only] Type of this resource. Always |
result.bestRoutesForRouter[].id |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
result.bestRoutesForRouter[].creationTimestamp |
[Output Only] Creation timestamp in RFC3339 text format. |
result.bestRoutesForRouter[].name |
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression |
result.bestRoutesForRouter[].description |
An optional description of this resource. Provide this field when you create the resource. |
result.bestRoutesForRouter[].network |
Fully-qualified URL of the network that this route applies to. |
result.bestRoutesForRouter[].tags[] |
A list of instance tags to which this route applies. |
result.bestRoutesForRouter[].destRange |
The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format. |
result.bestRoutesForRouter[].priority |
The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is |
result.bestRoutesForRouter[].nextHopInstance |
The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: |
result.bestRoutesForRouter[].nextHopIp |
The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address. |
result.bestRoutesForRouter[].nextHopNetwork |
The URL of the local network if it should handle matching packets. |
result.bestRoutesForRouter[].nextHopGateway |
The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: |
result.bestRoutesForRouter[].nextHopPeering |
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035. |
result.bestRoutesForRouter[].nextHopIlb |
The URL to a forwarding rule of type
|
result.bestRoutesForRouter[].warnings[] |
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages. |
result.bestRoutesForRouter[].warnings[].code |
[Output Only] A warning code, if applicable. For example, Compute Engine returns |
result.bestRoutesForRouter[].warnings[].message |
[Output Only] A human-readable description of the warning code. |
result.bestRoutesForRouter[].warnings[].data[] |
[Output Only] Metadata about this warning in "data": [ { "key": "scope", "value": "zones/us-east1-d" } |
result.bestRoutesForRouter[].warnings[].data[].key |
[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be |
result.bestRoutesForRouter[].warnings[].data[].value |
[Output Only] A warning data value corresponding to the key. |
result.bestRoutesForRouter[].nextHopVpnTunnel |
The URL to a VpnTunnel that should handle matching packets. |
result.bestRoutesForRouter[].nextHopHub |
[Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets. |
result.bestRoutesForRouter[].selfLink |
[Output Only] Server-defined fully-qualified URL for this resource. |
result.bestRoutesForRouter[].routeType |
[Output Only] The type of this route, which can be one of the following values: |
result.bestRoutesForRouter[].asPaths[] |
[Output Only] AS path. |
result.bestRoutesForRouter[].asPaths[].pathSegmentType |
[Output Only] The type of the AS Path, which can be one of the following values: |
result.bestRoutesForRouter[].asPaths[].asLists[] |
[Output Only] The AS numbers of the AS Path. |
result.bestRoutesForRouter[].routeStatus |
[Output only] The status of the route. |
result.bgpPeerStatus[] |
|
result.bgpPeerStatus[].name |
Name of this BGP peer. Unique within the Routers resource. |
result.bgpPeerStatus[].linkedVpnTunnel |
URL of the VPN tunnel that this BGP peer controls. |
result.bgpPeerStatus[].routerApplianceInstance |
[Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session. |
result.bgpPeerStatus[].ipAddress |
IP address of the local BGP interface. |
result.bgpPeerStatus[].peerIpAddress |
IP address of the remote BGP interface. |
result.bgpPeerStatus[].ipv6NexthopAddress |
IPv6 address of the local BGP interface. |
result.bgpPeerStatus[].peerIpv6NexthopAddress |
IPv6 address of the remote BGP interface. |
result.bgpPeerStatus[].enableIpv6 |
Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6. |
result.bgpPeerStatus[].status |
Status of the BGP peer: {UP, DOWN} |
result.bgpPeerStatus[].state |
The state of the BGP session. For a list of possible values for this field, see BGP session states. |
result.bgpPeerStatus[].uptime |
Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds |
result.bgpPeerStatus[].uptimeSeconds |
Time this session has been up, in seconds. Format: 145 |
result.bgpPeerStatus[].numLearnedRoutes |
Number of routes learned from the remote BGP Peer. |
result.bgpPeerStatus[].advertisedRoutes[] |
Routes that were advertised to the remote BGP peer |
result.bgpPeerStatus[].advertisedRoutes[].kind |
[Output Only] Type of this resource. Always |
result.bgpPeerStatus[].advertisedRoutes[].id |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
result.bgpPeerStatus[].advertisedRoutes[].creationTimestamp |
[Output Only] Creation timestamp in RFC3339 text format. |
result.bgpPeerStatus[].advertisedRoutes[].name |
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression |
result.bgpPeerStatus[].advertisedRoutes[].description |
An optional description of this resource. Provide this field when you create the resource. |
result.bgpPeerStatus[].advertisedRoutes[].network |
Fully-qualified URL of the network that this route applies to. |
result.bgpPeerStatus[].advertisedRoutes[].tags[] |
A list of instance tags to which this route applies. |
result.bgpPeerStatus[].advertisedRoutes[].destRange |
The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format. |
result.bgpPeerStatus[].advertisedRoutes[].priority |
The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is |
result.bgpPeerStatus[].advertisedRoutes[].nextHopInstance |
The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: |
result.bgpPeerStatus[].advertisedRoutes[].nextHopIp |
The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address. |
result.bgpPeerStatus[].advertisedRoutes[].nextHopNetwork |
The URL of the local network if it should handle matching packets. |
result.bgpPeerStatus[].advertisedRoutes[].nextHopGateway |
The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: |
result.bgpPeerStatus[].advertisedRoutes[].nextHopPeering |
[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035. |
result.bgpPeerStatus[].advertisedRoutes[].nextHopIlb |
The URL to a forwarding rule of type
|
result.bgpPeerStatus[].advertisedRoutes[].warnings[] |
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages. |
result.bgpPeerStatus[].advertisedRoutes[].warnings[].code |
[Output Only] A warning code, if applicable. For example, Compute Engine returns |
result.bgpPeerStatus[].advertisedRoutes[].warnings[].message |
[Output Only] A human-readable description of the warning code. |
result.bgpPeerStatus[].advertisedRoutes[].warnings[].data[] |
[Output Only] Metadata about this warning in "data": [ { "key": "scope", "value": "zones/us-east1-d" } |
result.bgpPeerStatus[].advertisedRoutes[].warnings[].data[].key |
[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be |
result.bgpPeerStatus[].advertisedRoutes[].warnings[].data[].value |
[Output Only] A warning data value corresponding to the key. |
result.bgpPeerStatus[].advertisedRoutes[].nextHopVpnTunnel |
The URL to a VpnTunnel that should handle matching packets. |
result.bgpPeerStatus[].advertisedRoutes[].nextHopHub |
[Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets. |
result.bgpPeerStatus[].advertisedRoutes[].selfLink |
[Output Only] Server-defined fully-qualified URL for this resource. |
result.bgpPeerStatus[].advertisedRoutes[].routeType |
[Output Only] The type of this route, which can be one of the following values: |
result.bgpPeerStatus[].advertisedRoutes[].asPaths[] |
[Output Only] AS path. |
result.bgpPeerStatus[].advertisedRoutes[].asPaths[].pathSegmentType |
[Output Only] The type of the AS Path, which can be one of the following values: |
result.bgpPeerStatus[].advertisedRoutes[].asPaths[].asLists[] |
[Output Only] The AS numbers of the AS Path. |
result.bgpPeerStatus[].advertisedRoutes[].routeStatus |
[Output only] The status of the route. |
result.bgpPeerStatus[].bfdStatus |
|
result.bgpPeerStatus[].bfdStatus.uptimeMs |
Session uptime in milliseconds. Value will be 0 if session is not up. |
result.bgpPeerStatus[].bfdStatus.localState |
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.localDiagnostic |
The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.controlPacketCounts |
Control packet counts for the current BFD session. |
result.bgpPeerStatus[].bfdStatus.controlPacketCounts.numTx |
Number of packets transmitted since the beginning of the current BFD session. |
result.bgpPeerStatus[].bfdStatus.controlPacketCounts.numRx |
Number of packets received since the beginning of the current BFD session. |
result.bgpPeerStatus[].bfdStatus.controlPacketCounts.numRxSuccessful |
Number of packets received that were successfully processed since the beginning of the current BFD session. |
result.bgpPeerStatus[].bfdStatus.controlPacketCounts.numRxRejected |
Number of packets received that were rejected because of errors since the beginning of the current BFD session. |
result.bgpPeerStatus[].bfdStatus.txPacket |
The most recent Tx control packet for this BFD session. |
result.bgpPeerStatus[].bfdStatus.txPacket.version |
The version number of the BFD protocol, as specified in section 4.1 of RFC5880. |
result.bgpPeerStatus[].bfdStatus.txPacket.diagnostic |
The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.state |
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.poll |
The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.final |
The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.controlPlaneIndependent |
The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.authenticationPresent |
The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.demand |
The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.multipoint |
The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.multiplier |
The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.length |
The length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.myDiscriminator |
The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.yourDiscriminator |
The Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.minTxIntervalMs |
The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.minRxIntervalMs |
The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.txPacket.minEchoRxIntervalMs |
The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket |
The most recent Rx control packet for this BFD session. |
result.bgpPeerStatus[].bfdStatus.rxPacket.version |
The version number of the BFD protocol, as specified in section 4.1 of RFC5880. |
result.bgpPeerStatus[].bfdStatus.rxPacket.diagnostic |
The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.state |
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.poll |
The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.final |
The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.controlPlaneIndependent |
The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.authenticationPresent |
The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.demand |
The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.multipoint |
The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.multiplier |
The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.length |
The length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.myDiscriminator |
The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.yourDiscriminator |
The Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.minTxIntervalMs |
The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.minRxIntervalMs |
The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.rxPacket.minEchoRxIntervalMs |
The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 |
result.bgpPeerStatus[].bfdStatus.controlPacketIntervals[] |
Inter-packet time interval statistics for control packets. |
result.bgpPeerStatus[].bfdStatus.controlPacketIntervals[].type |
The type of packets for which inter-packet intervals were computed. |
result.bgpPeerStatus[].bfdStatus.controlPacketIntervals[].duration |
From how long ago in the past these intervals were observed. |
result.bgpPeerStatus[].bfdStatus.controlPacketIntervals[].numIntervals |
Number of inter-packet intervals from which these statistics were derived. |
result.bgpPeerStatus[].bfdStatus.controlPacketIntervals[].minMs |
Minimum observed inter-packet interval in milliseconds. |
result.bgpPeerStatus[].bfdStatus.controlPacketIntervals[].maxMs |
Maximum observed inter-packet interval in milliseconds. |
result.bgpPeerStatus[].bfdStatus.controlPacketIntervals[].avgMs |
Average observed inter-packet interval in milliseconds. |
result.bgpPeerStatus[].bfdStatus.negotiatedLocalControlTxIntervalMs |
Negotiated transmit interval for control packets. |
result.bgpPeerStatus[].bfdStatus.bfdSessionInitializationMode |
The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. |
result.bgpPeerStatus[].bfdStatus.configUpdateTimestampMicros |
Unix timestamp of the most recent config update. |
result.bgpPeerStatus[].md5AuthEnabled |
Informs whether MD5 authentication is enabled on this BGP peer. |
result.bgpPeerStatus[].statusReason |
Indicates why particular status was returned. |
result.bgpPeerStatus[].ipv4NexthopAddress |
IPv4 address of the local BGP interface. |
result.bgpPeerStatus[].peerIpv4NexthopAddress |
IPv4 address of the remote BGP interface. |
result.bgpPeerStatus[].enableIpv4 |
Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4. |
result.natStatus[] |
|
result.natStatus[].name |
Unique name of this NAT. |
result.natStatus[].userAllocatedNatIpResources[] |
A list of fully qualified URLs of reserved IP address resources. |
result.natStatus[].drainUserAllocatedNatIps[] |
A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. |
result.natStatus[].userAllocatedNatIps[] |
A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". |
result.natStatus[].autoAllocatedNatIps[] |
A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] |
result.natStatus[].drainAutoAllocatedNatIps[] |
A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. |
result.natStatus[].minExtraNatIpsNeeded |
The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-allocation of NAT IPs is not used. |
result.natStatus[].numVmEndpointsWithNatMappings |
Number of VM endpoints (i.e., Nics) that can use NAT. |
result.natStatus[].ruleStatus[] |
Status of rules in this NAT. |
result.natStatus[].ruleStatus[].ruleNumber |
Rule number of the rule. |
result.natStatus[].ruleStatus[].activeNatIps[] |
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"]. |
result.natStatus[].ruleStatus[].drainNatIps[] |
A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. |
result.natStatus[].ruleStatus[].minExtraIpsNeeded |
The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in this NAT Rule are NOT enough to allow all configured VMs to use NAT. |
result.natStatus[].ruleStatus[].numVmEndpointsWithNatMappings |
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/compute.readonly
https://www.googleapis.com/auth/compute
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
In addition to any permissions specified on the fields above, authorization requires one or more of the following IAM permissions:
compute.routers.get
To find predefined roles that contain those permissions, see Compute Engine IAM Roles.