Interconnect

google.cloud.compute.v1. Interconnect

Represents an Interconnect.

Constructor

new Interconnect(propertiesopt)

Constructs a new Interconnect.

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

Properties to set

Implements:
  • IInterconnect

Members

_adminEnabled

Interconnect _adminEnabled.

_creationTimestamp

Interconnect _creationTimestamp.

_customerName

Interconnect _customerName.

_description

Interconnect _description.

_googleIpAddress

Interconnect _googleIpAddress.

_googleReferenceId

Interconnect _googleReferenceId.

_id

Interconnect _id.

_interconnectType

Interconnect _interconnectType.

_kind

Interconnect _kind.

_linkType

Interconnect _linkType.

_location

Interconnect _location.

_name

Interconnect _name.

_nocContactEmail

Interconnect _nocContactEmail.

_operationalStatus

Interconnect _operationalStatus.

_peerIpAddress

Interconnect _peerIpAddress.

_provisionedLinkCount

Interconnect _provisionedLinkCount.

_requestedLinkCount

Interconnect _requestedLinkCount.

_satisfiesPzs

Interconnect _satisfiesPzs.

Interconnect _selfLink.

_state

Interconnect _state.

adminEnabled

Interconnect adminEnabled.

circuitInfos

Interconnect circuitInfos.

creationTimestamp

Interconnect creationTimestamp.

customerName

Interconnect customerName.

description

Interconnect description.

expectedOutages

Interconnect expectedOutages.

googleIpAddress

Interconnect googleIpAddress.

googleReferenceId

Interconnect googleReferenceId.

id

Interconnect id.

interconnectAttachments

Interconnect interconnectAttachments.

interconnectType

Interconnect interconnectType.

kind

Interconnect kind.

linkType

Interconnect linkType.

location

Interconnect location.

name

Interconnect name.

nocContactEmail

Interconnect nocContactEmail.

operationalStatus

Interconnect operationalStatus.

peerIpAddress

Interconnect peerIpAddress.

provisionedLinkCount

Interconnect provisionedLinkCount.

requestedLinkCount

Interconnect requestedLinkCount.

satisfiesPzs

Interconnect satisfiesPzs.

Interconnect selfLink.

state

Interconnect state.

InterconnectType

InterconnectType enum.

Properties:
Name Type Description
UNDEFINED_INTERCONNECT_TYPE number

UNDEFINED_INTERCONNECT_TYPE value

DEDICATED number

DEDICATED value

IT_PRIVATE number

IT_PRIVATE value

PARTNER number

PARTNER value

LinkType

LinkType enum.

Properties:
Name Type Description
UNDEFINED_LINK_TYPE number

UNDEFINED_LINK_TYPE value

LINK_TYPE_ETHERNET_100G_LR number

LINK_TYPE_ETHERNET_100G_LR value

LINK_TYPE_ETHERNET_10G_LR number

LINK_TYPE_ETHERNET_10G_LR value

OperationalStatus

OperationalStatus enum.

Properties:
Name Type Description
UNDEFINED_OPERATIONAL_STATUS number

UNDEFINED_OPERATIONAL_STATUS value

OS_ACTIVE number

OS_ACTIVE value

OS_UNPROVISIONED number

OS_UNPROVISIONED value

State

State enum.

Properties:
Name Type Description
UNDEFINED_STATE number

UNDEFINED_STATE value

ACTIVE number

ACTIVE value

UNPROVISIONED number

UNPROVISIONED value

Methods

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

Converts this Interconnect to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

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

Creates a new Interconnect instance using the specified properties.

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

Properties to set

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

Interconnect instance

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

Decodes an Interconnect 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.Interconnect

Interconnect

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.Interconnect}

Decodes an Interconnect 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.Interconnect

Interconnect

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 Interconnect message. Does not implicitly verify messages.

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

Interconnect 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 Interconnect message, length delimited. Does not implicitly verify messages.

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

Interconnect 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.Interconnect}

Creates an Interconnect 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.Interconnect

Interconnect

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Interconnect

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 an Interconnect message. Also converts values to other types if specified.

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

Interconnect

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

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

Verifies an Interconnect 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