Class RouterBgp (1.3.0)

public sealed class RouterBgp : IMessage<RouterBgp>, IEquatable<RouterBgp>, IDeepCloneable<RouterBgp>, IBufferMessage, IMessage

Inheritance

Object > RouterBgp

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RouterBgp()

public RouterBgp()

RouterBgp(RouterBgp)

public RouterBgp(RouterBgp other)
Parameter
NameDescription
otherRouterBgp

Properties

AdvertisedGroups

public RepeatedField<string> AdvertisedGroups { get; }

User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. Check the AdvertisedGroups enum for the list of possible values.

Property Value
TypeDescription
RepeatedField<String>

AdvertisedIpRanges

public RepeatedField<RouterAdvertisedIpRange> AdvertisedIpRanges { get; }

User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.

Property Value
TypeDescription
RepeatedField<RouterAdvertisedIpRange>

AdvertiseMode

public string AdvertiseMode { get; set; }

User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. Check the AdvertiseMode enum for the list of possible values.

Property Value
TypeDescription
String

Asn

public uint Asn { get; set; }

Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.

Property Value
TypeDescription
UInt32

HasAdvertiseMode

public bool HasAdvertiseMode { get; }

Gets whether the "advertise_mode" field is set

Property Value
TypeDescription
Boolean

HasAsn

public bool HasAsn { get; }

Gets whether the "asn" field is set

Property Value
TypeDescription
Boolean

HasKeepaliveInterval

public bool HasKeepaliveInterval { get; }

Gets whether the "keepalive_interval" field is set

Property Value
TypeDescription
Boolean

KeepaliveInterval

public uint KeepaliveInterval { get; set; }

The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.

Property Value
TypeDescription
UInt32