Class protos.google.cloud.compute.v1.InterconnectAttachment (4.6.0)

Represents an InterconnectAttachment.

Package

@google-cloud/compute

Constructors

(constructor)(properties)

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

Constructs a new InterconnectAttachment.

Parameter
Name Description
properties IInterconnectAttachment

Properties to set

Properties

_adminEnabled

public _adminEnabled?: "adminEnabled";

InterconnectAttachment _adminEnabled.

_bandwidth

public _bandwidth?: "bandwidth";

InterconnectAttachment _bandwidth.

_cloudRouterIpAddress

public _cloudRouterIpAddress?: "cloudRouterIpAddress";

InterconnectAttachment _cloudRouterIpAddress.

_cloudRouterIpv6Address

public _cloudRouterIpv6Address?: "cloudRouterIpv6Address";

InterconnectAttachment _cloudRouterIpv6Address.

_cloudRouterIpv6InterfaceId

public _cloudRouterIpv6InterfaceId?: "cloudRouterIpv6InterfaceId";

InterconnectAttachment _cloudRouterIpv6InterfaceId.

_configurationConstraints

public _configurationConstraints?: "configurationConstraints";

InterconnectAttachment _configurationConstraints.

_creationTimestamp

public _creationTimestamp?: "creationTimestamp";

InterconnectAttachment _creationTimestamp.

_customerRouterIpAddress

public _customerRouterIpAddress?: "customerRouterIpAddress";

InterconnectAttachment _customerRouterIpAddress.

_customerRouterIpv6Address

public _customerRouterIpv6Address?: "customerRouterIpv6Address";

InterconnectAttachment _customerRouterIpv6Address.

_customerRouterIpv6InterfaceId

public _customerRouterIpv6InterfaceId?: "customerRouterIpv6InterfaceId";

InterconnectAttachment _customerRouterIpv6InterfaceId.

_dataplaneVersion

public _dataplaneVersion?: "dataplaneVersion";

InterconnectAttachment _dataplaneVersion.

_description

public _description?: "description";

InterconnectAttachment _description.

_edgeAvailabilityDomain

public _edgeAvailabilityDomain?: "edgeAvailabilityDomain";

InterconnectAttachment _edgeAvailabilityDomain.

_encryption

public _encryption?: "encryption";

InterconnectAttachment _encryption.

_googleReferenceId

public _googleReferenceId?: "googleReferenceId";

InterconnectAttachment _googleReferenceId.

_id

public _id?: "id";

InterconnectAttachment _id.

_interconnect

public _interconnect?: "interconnect";

InterconnectAttachment _interconnect.

_kind

public _kind?: "kind";

InterconnectAttachment _kind.

_labelFingerprint

public _labelFingerprint?: "labelFingerprint";

InterconnectAttachment _labelFingerprint.

_mtu

public _mtu?: "mtu";

InterconnectAttachment _mtu.

_name

public _name?: "name";

InterconnectAttachment _name.

_operationalStatus

public _operationalStatus?: "operationalStatus";

InterconnectAttachment _operationalStatus.

_pairingKey

public _pairingKey?: "pairingKey";

InterconnectAttachment _pairingKey.

_partnerAsn

public _partnerAsn?: "partnerAsn";

InterconnectAttachment _partnerAsn.

_partnerMetadata

public _partnerMetadata?: "partnerMetadata";

InterconnectAttachment _partnerMetadata.

_privateInterconnectInfo

public _privateInterconnectInfo?: "privateInterconnectInfo";

InterconnectAttachment _privateInterconnectInfo.

_region

public _region?: "region";

InterconnectAttachment _region.

_remoteService

public _remoteService?: "remoteService";

InterconnectAttachment _remoteService.

_router

public _router?: "router";

InterconnectAttachment _router.

_satisfiesPzs

public _satisfiesPzs?: "satisfiesPzs";

InterconnectAttachment _satisfiesPzs.

public _selfLink?: "selfLink";

InterconnectAttachment _selfLink.

_stackType

public _stackType?: "stackType";

InterconnectAttachment _stackType.

_state

public _state?: "state";

InterconnectAttachment _state.

_subnetLength

public _subnetLength?: "subnetLength";

InterconnectAttachment _subnetLength.

_type

public _type?: "type";

InterconnectAttachment _type.

_vlanTag8021q

public _vlanTag8021q?: "vlanTag8021q";

InterconnectAttachment _vlanTag8021q.

adminEnabled

public adminEnabled?: (boolean|null);

InterconnectAttachment adminEnabled.

bandwidth

public bandwidth?: (string|null);

InterconnectAttachment bandwidth.

candidateIpv6Subnets

public candidateIpv6Subnets: string[];

InterconnectAttachment candidateIpv6Subnets.

candidateSubnets

public candidateSubnets: string[];

InterconnectAttachment candidateSubnets.

cloudRouterIpAddress

public cloudRouterIpAddress?: (string|null);

InterconnectAttachment cloudRouterIpAddress.

cloudRouterIpv6Address

public cloudRouterIpv6Address?: (string|null);

InterconnectAttachment cloudRouterIpv6Address.

cloudRouterIpv6InterfaceId

public cloudRouterIpv6InterfaceId?: (string|null);

InterconnectAttachment cloudRouterIpv6InterfaceId.

configurationConstraints

public configurationConstraints?: (google.cloud.compute.v1.IInterconnectAttachmentConfigurationConstraints|null);

InterconnectAttachment configurationConstraints.

creationTimestamp

public creationTimestamp?: (string|null);

InterconnectAttachment creationTimestamp.

customerRouterIpAddress

public customerRouterIpAddress?: (string|null);

InterconnectAttachment customerRouterIpAddress.

customerRouterIpv6Address

public customerRouterIpv6Address?: (string|null);

InterconnectAttachment customerRouterIpv6Address.

customerRouterIpv6InterfaceId

public customerRouterIpv6InterfaceId?: (string|null);

InterconnectAttachment customerRouterIpv6InterfaceId.

dataplaneVersion

public dataplaneVersion?: (number|null);

InterconnectAttachment dataplaneVersion.

description

public description?: (string|null);

InterconnectAttachment description.

edgeAvailabilityDomain

public edgeAvailabilityDomain?: (string|null);

InterconnectAttachment edgeAvailabilityDomain.

encryption

public encryption?: (string|null);

InterconnectAttachment encryption.

googleReferenceId

public googleReferenceId?: (string|null);

InterconnectAttachment googleReferenceId.

id

public id?: (number|Long|string|null);

InterconnectAttachment id.

interconnect

public interconnect?: (string|null);

InterconnectAttachment interconnect.

ipsecInternalAddresses

public ipsecInternalAddresses: string[];

InterconnectAttachment ipsecInternalAddresses.

kind

public kind?: (string|null);

InterconnectAttachment kind.

labelFingerprint

public labelFingerprint?: (string|null);

InterconnectAttachment labelFingerprint.

labels

public labels: { [k: string]: string };

InterconnectAttachment labels.

mtu

public mtu?: (number|null);

InterconnectAttachment mtu.

name

public name?: (string|null);

InterconnectAttachment name.

operationalStatus

public operationalStatus?: (string|null);

InterconnectAttachment operationalStatus.

pairingKey

public pairingKey?: (string|null);

InterconnectAttachment pairingKey.

partnerAsn

public partnerAsn?: (number|Long|string|null);

InterconnectAttachment partnerAsn.

partnerMetadata

public partnerMetadata?: (google.cloud.compute.v1.IInterconnectAttachmentPartnerMetadata|null);

InterconnectAttachment partnerMetadata.

privateInterconnectInfo

public privateInterconnectInfo?: (google.cloud.compute.v1.IInterconnectAttachmentPrivateInfo|null);

InterconnectAttachment privateInterconnectInfo.

region

public region?: (string|null);

InterconnectAttachment region.

remoteService

public remoteService?: (string|null);

InterconnectAttachment remoteService.

router

public router?: (string|null);

InterconnectAttachment router.

satisfiesPzs

public satisfiesPzs?: (boolean|null);

InterconnectAttachment satisfiesPzs.

public selfLink?: (string|null);

InterconnectAttachment selfLink.

stackType

public stackType?: (string|null);

InterconnectAttachment stackType.

state

public state?: (string|null);

InterconnectAttachment state.

subnetLength

public subnetLength?: (number|null);

InterconnectAttachment subnetLength.

type

public type?: (string|null);

InterconnectAttachment type.

vlanTag8021q

public vlanTag8021q?: (number|null);

InterconnectAttachment vlanTag8021q.

Methods

create(properties)

public static create(properties?: google.cloud.compute.v1.IInterconnectAttachment): google.cloud.compute.v1.InterconnectAttachment;

Creates a new InterconnectAttachment instance using the specified properties.

Parameter
Name Description
properties IInterconnectAttachment

Properties to set

Returns
Type Description
InterconnectAttachment

InterconnectAttachment instance

decode(reader, length)

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

Decodes an InterconnectAttachment 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
InterconnectAttachment

InterconnectAttachment

decodeDelimited(reader)

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

Decodes an InterconnectAttachment message from the specified reader or buffer, length delimited.

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
InterconnectAttachment

InterconnectAttachment

encode(message, writer)

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

Encodes the specified InterconnectAttachment message. Does not implicitly messages.

Parameters
Name Description
message IInterconnectAttachment

InterconnectAttachment 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.IInterconnectAttachment, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
Name Description
message IInterconnectAttachment

InterconnectAttachment 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.InterconnectAttachment;

Creates an InterconnectAttachment 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
InterconnectAttachment

InterconnectAttachment

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for InterconnectAttachment

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 InterconnectAttachment to JSON.

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

JSON object

toObject(message, options)

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

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

Parameters
Name Description
message InterconnectAttachment

InterconnectAttachment

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 an InterconnectAttachment 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