# Class RouterStatusBgpPeerStatus (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    RouterStatusBgpPeerStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `advertised_routes` | `MutableSequence[google.cloud.compute_v1beta.types.Route]` Routes that were advertised to the remote BGP peer |
| `bfd_status` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.BfdStatus` This field is a member of `oneof`_ `_bfd_status`. |
| `enable_ipv4` | `bool` Output only. Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4. This field is a member of `oneof`_ `_enable_ipv4`. |
| `enable_ipv6` | `bool` Output only. Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6. This field is a member of `oneof`_ `_enable_ipv6`. |
| `ip_address` | `str` Output only. IP address of the local BGP interface. This field is a member of `oneof`_ `_ip_address`. |
| `ipv4_nexthop_address` | `str` Output only. IPv4 address of the local BGP interface. This field is a member of `oneof`_ `_ipv4_nexthop_address`. |
| `ipv6_nexthop_address` | `str` Output only. IPv6 address of the local BGP interface. This field is a member of `oneof`_ `_ipv6_nexthop_address`. |
| `linked_vpn_tunnel` | `str` Output only. URL of the VPN tunnel that this BGP peer controls. This field is a member of `oneof`_ `_linked_vpn_tunnel`. |
| `md5_auth_enabled` | `bool` Informs whether MD5 authentication is enabled on this BGP peer. This field is a member of `oneof`_ `_md5_auth_enabled`. |
| `name` | `str` Output only. Name of this BGP peer. Unique within the Routers resource. This field is a member of `oneof`_ `_name`. |
| `num_learned_routes` | `int` Output only. Number of routes learned from the remote BGP Peer. This field is a member of `oneof`_ `_num_learned_routes`. |
| `peer_ip_address` | `str` Output only. IP address of the remote BGP interface. This field is a member of `oneof`_ `_peer_ip_address`. |
| `peer_ipv4_nexthop_address` | `str` Output only. IPv4 address of the remote BGP interface. This field is a member of `oneof`_ `_peer_ipv4_nexthop_address`. |
| `peer_ipv6_nexthop_address` | `str` Output only. IPv6 address of the remote BGP interface. This field is a member of `oneof`_ `_peer_ipv6_nexthop_address`. |
| `router_appliance_instance` | `str` Output only. \[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. This field is a member of `oneof`_ `_router_appliance_instance`. |
| `state` | `str` Output only. The state of the BGP session. For a list of possible values for this field, seeBGP session states. This field is a member of `oneof`_ `_state`. |
| `status` | `str` Output only. Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values. This field is a member of `oneof`_ `_status`. |
| `status_reason` | `str` Indicates why particular status was returned. Check the StatusReason enum for the list of possible values. This field is a member of `oneof`_ `_status_reason`. |
| `uptime` | `str` Output only. Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds This field is a member of `oneof`_ `_uptime`. |
| `uptime_seconds` | `str` Output only. Time this session has been up, in seconds. Format: 145 This field is a member of `oneof`_ `_uptime_seconds`. |

## Classes

### Status

    Status(value)

Output only. Status of the BGP peer: {UP, DOWN}

### StatusReason

    StatusReason(value)

Indicates why particular status was returned.