# Class BgpRoute (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    BgpRoute(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** |
| `as_paths` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.BgpRouteAsPath]` Output only. \[Output only\] AS-PATH for the route |
| `communities` | `MutableSequence[str]` Output only. \[Output only\] BGP communities in human-readable A:B format. |
| `destination` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.BgpRouteNetworkLayerReachabilityInformation` Output only. \[Output only\] Destination IP range for the route, in human-readable CIDR format This field is a member of `oneof`_ `_destination`. |
| `med` | `int` Output only. \[Output only\] BGP multi-exit discriminator This field is a member of `oneof`_ `_med`. |
| `origin` | `str` Output only. \[Output only\] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values. This field is a member of `oneof`_ `_origin`. |

## Classes

### Origin

    Origin(value)

Output only. \[Output only\] BGP origin (EGP, IGP or INCOMPLETE)