RouterBgpPeer

google.cloud.compute.v1. RouterBgpPeer

Represents a RouterBgpPeer.

Constructor

new RouterBgpPeer(propertiesopt)

Constructs a new RouterBgpPeer.

Parameters:
Name Type Attributes Description
properties google.cloud.compute.v1.IRouterBgpPeer <optional>

Properties to set

Implements:
  • IRouterBgpPeer

Members

_advertiseMode

RouterBgpPeer _advertiseMode.

_advertisedRoutePriority

RouterBgpPeer _advertisedRoutePriority.

_bfd

RouterBgpPeer _bfd.

_enable

RouterBgpPeer _enable.

_enableIpv6

RouterBgpPeer _enableIpv6.

_interfaceName

RouterBgpPeer _interfaceName.

_ipAddress

RouterBgpPeer _ipAddress.

_ipv6NexthopAddress

RouterBgpPeer _ipv6NexthopAddress.

_managementType

RouterBgpPeer _managementType.

_md5AuthenticationKeyName

RouterBgpPeer _md5AuthenticationKeyName.

_name

RouterBgpPeer _name.

_peerAsn

RouterBgpPeer _peerAsn.

_peerIpAddress

RouterBgpPeer _peerIpAddress.

_peerIpv6NexthopAddress

RouterBgpPeer _peerIpv6NexthopAddress.

_routerApplianceInstance

RouterBgpPeer _routerApplianceInstance.

advertiseMode

RouterBgpPeer advertiseMode.

advertisedGroups

RouterBgpPeer advertisedGroups.

advertisedIpRanges

RouterBgpPeer advertisedIpRanges.

advertisedRoutePriority

RouterBgpPeer advertisedRoutePriority.

bfd

RouterBgpPeer bfd.

enable

RouterBgpPeer enable.

enableIpv6

RouterBgpPeer enableIpv6.

interfaceName

RouterBgpPeer interfaceName.

ipAddress

RouterBgpPeer ipAddress.

ipv6NexthopAddress

RouterBgpPeer ipv6NexthopAddress.

managementType

RouterBgpPeer managementType.

md5AuthenticationKeyName

RouterBgpPeer md5AuthenticationKeyName.

name

RouterBgpPeer name.

peerAsn

RouterBgpPeer peerAsn.

peerIpAddress

RouterBgpPeer peerIpAddress.

peerIpv6NexthopAddress

RouterBgpPeer peerIpv6NexthopAddress.

routerApplianceInstance

RouterBgpPeer routerApplianceInstance.

AdvertiseMode

AdvertiseMode enum.

Properties:
Name Type Description
UNDEFINED_ADVERTISE_MODE number

UNDEFINED_ADVERTISE_MODE value

CUSTOM number

CUSTOM value

DEFAULT number

DEFAULT value

AdvertisedGroups

AdvertisedGroups enum.

Properties:
Name Type Description
UNDEFINED_ADVERTISED_GROUPS number

UNDEFINED_ADVERTISED_GROUPS value

ALL_SUBNETS number

ALL_SUBNETS value

Enable

Enable enum.

Properties:
Name Type Description
UNDEFINED_ENABLE number

UNDEFINED_ENABLE value

FALSE number

FALSE value

TRUE number

TRUE value

ManagementType

ManagementType enum.

Properties:
Name Type Description
UNDEFINED_MANAGEMENT_TYPE number

UNDEFINED_MANAGEMENT_TYPE value

MANAGED_BY_ATTACHMENT number

MANAGED_BY_ATTACHMENT value

MANAGED_BY_USER number

MANAGED_BY_USER value

Methods

toJSON() → {Object.<string, *>}

Converts this RouterBgpPeer to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) create(propertiesopt) → {google.cloud.compute.v1.RouterBgpPeer}

Creates a new RouterBgpPeer instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.compute.v1.IRouterBgpPeer <optional>

Properties to set

Returns:
Type Description
google.cloud.compute.v1.RouterBgpPeer

RouterBgpPeer instance

(static) decode(reader, lengthopt) → {google.cloud.compute.v1.RouterBgpPeer}

Decodes a RouterBgpPeer message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Returns:
Type Description
google.cloud.compute.v1.RouterBgpPeer

RouterBgpPeer

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.compute.v1.RouterBgpPeer}

Decodes a RouterBgpPeer message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Returns:
Type Description
google.cloud.compute.v1.RouterBgpPeer

RouterBgpPeer

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified RouterBgpPeer message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.IRouterBgpPeer

RouterBgpPeer message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified RouterBgpPeer message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.IRouterBgpPeer

RouterBgpPeer message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) fromObject(object) → {google.cloud.compute.v1.RouterBgpPeer}

Creates a RouterBgpPeer message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.cloud.compute.v1.RouterBgpPeer

RouterBgpPeer

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for RouterBgpPeer

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a RouterBgpPeer message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.RouterBgpPeer

RouterBgpPeer

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) verify(message) → {string|null}

Verifies a RouterBgpPeer message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

Returns:
Type Description
string | null

null if valid, otherwise the reason why it is not