Class protos.google.cloud.compute.v1.RouterStatusBgpPeerStatus (4.5.0)

Represents a RouterStatusBgpPeerStatus.

Package

@google-cloud/compute

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.compute.v1.IRouterStatusBgpPeerStatus);

Constructs a new RouterStatusBgpPeerStatus.

Parameter
Name Description
properties IRouterStatusBgpPeerStatus

Properties to set

Properties

_bfdStatus

public _bfdStatus?: "bfdStatus";

RouterStatusBgpPeerStatus _bfdStatus.

_enableIpv4

public _enableIpv4?: "enableIpv4";

RouterStatusBgpPeerStatus _enableIpv4.

_enableIpv6

public _enableIpv6?: "enableIpv6";

RouterStatusBgpPeerStatus _enableIpv6.

_ipAddress

public _ipAddress?: "ipAddress";

RouterStatusBgpPeerStatus _ipAddress.

_ipv4NexthopAddress

public _ipv4NexthopAddress?: "ipv4NexthopAddress";

RouterStatusBgpPeerStatus _ipv4NexthopAddress.

_ipv6NexthopAddress

public _ipv6NexthopAddress?: "ipv6NexthopAddress";

RouterStatusBgpPeerStatus _ipv6NexthopAddress.

_linkedVpnTunnel

public _linkedVpnTunnel?: "linkedVpnTunnel";

RouterStatusBgpPeerStatus _linkedVpnTunnel.

_md5AuthEnabled

public _md5AuthEnabled?: "md5AuthEnabled";

RouterStatusBgpPeerStatus _md5AuthEnabled.

_name

public _name?: "name";

RouterStatusBgpPeerStatus _name.

_numLearnedRoutes

public _numLearnedRoutes?: "numLearnedRoutes";

RouterStatusBgpPeerStatus _numLearnedRoutes.

_peerIpAddress

public _peerIpAddress?: "peerIpAddress";

RouterStatusBgpPeerStatus _peerIpAddress.

_peerIpv4NexthopAddress

public _peerIpv4NexthopAddress?: "peerIpv4NexthopAddress";

RouterStatusBgpPeerStatus _peerIpv4NexthopAddress.

_peerIpv6NexthopAddress

public _peerIpv6NexthopAddress?: "peerIpv6NexthopAddress";

RouterStatusBgpPeerStatus _peerIpv6NexthopAddress.

_routerApplianceInstance

public _routerApplianceInstance?: "routerApplianceInstance";

RouterStatusBgpPeerStatus _routerApplianceInstance.

_state

public _state?: "state";

RouterStatusBgpPeerStatus _state.

_status

public _status?: "status";

RouterStatusBgpPeerStatus _status.

_statusReason

public _statusReason?: "statusReason";

RouterStatusBgpPeerStatus _statusReason.

_uptime

public _uptime?: "uptime";

RouterStatusBgpPeerStatus _uptime.

_uptimeSeconds

public _uptimeSeconds?: "uptimeSeconds";

RouterStatusBgpPeerStatus _uptimeSeconds.

advertisedRoutes

public advertisedRoutes: google.cloud.compute.v1.IRoute[];

RouterStatusBgpPeerStatus advertisedRoutes.

bfdStatus

public bfdStatus?: (google.cloud.compute.v1.IBfdStatus|null);

RouterStatusBgpPeerStatus bfdStatus.

enableIpv4

public enableIpv4?: (boolean|null);

RouterStatusBgpPeerStatus enableIpv4.

enableIpv6

public enableIpv6?: (boolean|null);

RouterStatusBgpPeerStatus enableIpv6.

ipAddress

public ipAddress?: (string|null);

RouterStatusBgpPeerStatus ipAddress.

ipv4NexthopAddress

public ipv4NexthopAddress?: (string|null);

RouterStatusBgpPeerStatus ipv4NexthopAddress.

ipv6NexthopAddress

public ipv6NexthopAddress?: (string|null);

RouterStatusBgpPeerStatus ipv6NexthopAddress.

linkedVpnTunnel

public linkedVpnTunnel?: (string|null);

RouterStatusBgpPeerStatus linkedVpnTunnel.

md5AuthEnabled

public md5AuthEnabled?: (boolean|null);

RouterStatusBgpPeerStatus md5AuthEnabled.

name

public name?: (string|null);

RouterStatusBgpPeerStatus name.

numLearnedRoutes

public numLearnedRoutes?: (number|null);

RouterStatusBgpPeerStatus numLearnedRoutes.

peerIpAddress

public peerIpAddress?: (string|null);

RouterStatusBgpPeerStatus peerIpAddress.

peerIpv4NexthopAddress

public peerIpv4NexthopAddress?: (string|null);

RouterStatusBgpPeerStatus peerIpv4NexthopAddress.

peerIpv6NexthopAddress

public peerIpv6NexthopAddress?: (string|null);

RouterStatusBgpPeerStatus peerIpv6NexthopAddress.

routerApplianceInstance

public routerApplianceInstance?: (string|null);

RouterStatusBgpPeerStatus routerApplianceInstance.

state

public state?: (string|null);

RouterStatusBgpPeerStatus state.

status

public status?: (string|null);

RouterStatusBgpPeerStatus status.

statusReason

public statusReason?: (string|null);

RouterStatusBgpPeerStatus statusReason.

uptime

public uptime?: (string|null);

RouterStatusBgpPeerStatus uptime.

uptimeSeconds

public uptimeSeconds?: (string|null);

RouterStatusBgpPeerStatus uptimeSeconds.

Methods

create(properties)

public static create(properties?: google.cloud.compute.v1.IRouterStatusBgpPeerStatus): google.cloud.compute.v1.RouterStatusBgpPeerStatus;

Creates a new RouterStatusBgpPeerStatus instance using the specified properties.

Parameter
Name Description
properties IRouterStatusBgpPeerStatus

Properties to set

Returns
Type Description
RouterStatusBgpPeerStatus

RouterStatusBgpPeerStatus instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.RouterStatusBgpPeerStatus;

Decodes a RouterStatusBgpPeerStatus message from the specified reader or buffer.

Parameters
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
Type Description
RouterStatusBgpPeerStatus

RouterStatusBgpPeerStatus

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.RouterStatusBgpPeerStatus;

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

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
RouterStatusBgpPeerStatus

RouterStatusBgpPeerStatus

encode(message, writer)

public static encode(message: google.cloud.compute.v1.IRouterStatusBgpPeerStatus, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified RouterStatusBgpPeerStatus message. Does not implicitly messages.

Parameters
Name Description
message IRouterStatusBgpPeerStatus

RouterStatusBgpPeerStatus message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.cloud.compute.v1.IRouterStatusBgpPeerStatus, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
Name Description
message IRouterStatusBgpPeerStatus

RouterStatusBgpPeerStatus message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.RouterStatusBgpPeerStatus;

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

Parameter
Name Description
object { [k: string]: any }

Plain object

Returns
Type Description
RouterStatusBgpPeerStatus

RouterStatusBgpPeerStatus

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for RouterStatusBgpPeerStatus

Parameter
Name Description
typeUrlPrefix string

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

Returns
Type Description
string

The default type url

toJSON()

public toJSON(): { [k: string]: any };

Converts this RouterStatusBgpPeerStatus to JSON.

Returns
Type Description
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.cloud.compute.v1.RouterStatusBgpPeerStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };

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

Parameters
Name Description
message RouterStatusBgpPeerStatus

RouterStatusBgpPeerStatus

options $protobuf.IConversionOptions

Conversion options

Returns
Type Description
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a RouterStatusBgpPeerStatus message.

Parameter
Name Description
message { [k: string]: any }

Plain object to verify

Returns
Type Description
(string|null)

null if valid, otherwise the reason why it is not