Class Router (0.1.7)

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

Message describing Router object

Attributes

NameDescription
name str
Required. The canonical resource name of the router.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the router was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the router was last updated.
labels MutableMapping[str, str]
Labels associated with this resource.
description str
Optional. A free-text description of the resource. Max length 1024 characters.
network str
Required. The canonical name of the network to which this router belongs. The name is in the form of projects/{project}/locations/{location}/zones/{zone}/networks/{network}.
interface MutableSequence[google.cloud.edgenetwork_v1.types.Router.Interface]
Router interfaces.
bgp_peer MutableSequence[google.cloud.edgenetwork_v1.types.Router.BgpPeer]
BGP peers.
bgp google.cloud.edgenetwork_v1.types.Router.Bgp
BGP information specific to this router.
state google.cloud.edgenetwork_v1.types.ResourceState
Output only. Current stage of the resource to the device by config push.
route_advertisements MutableSequence[str]
Optional. A list of CIDRs in IP/Length format to advertise northbound as static routes from this router.

Classes

Bgp

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

BGP information specific to this router.

BgpPeer

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

BGPPeer defines the peer side layer-3 information for building the BGP session.

Interface

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

Router Interface defines the GDCE zone side layer-3 information for building the BGP session.

LabelsEntry

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

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.