Represents an InterconnectAttachment.
Package
@google-cloud/computeConstructors
(constructor)(properties)
constructor(properties?: google.cloud.compute.v1.IInterconnectAttachment);Constructs a new InterconnectAttachment.
| 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.
_creationTimestamp
public _creationTimestamp?: "creationTimestamp";InterconnectAttachment _creationTimestamp.
_customerRouterIpAddress
public _customerRouterIpAddress?: "customerRouterIpAddress";InterconnectAttachment _customerRouterIpAddress.
_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.
_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.
_router
public _router?: "router";InterconnectAttachment _router.
_selfLink
public _selfLink?: "selfLink";InterconnectAttachment _selfLink.
_state
public _state?: "state";InterconnectAttachment _state.
_type
public _type?: "type";InterconnectAttachment _type.
_vlanTag8021q
public _vlanTag8021q?: "vlanTag8021q";InterconnectAttachment _vlanTag8021q.
adminEnabled
public adminEnabled?: (boolean|null);InterconnectAttachment adminEnabled.
bandwidth
public bandwidth?: (google.cloud.compute.v1.InterconnectAttachment.Bandwidth|keyof typeof google.cloud.compute.v1.InterconnectAttachment.Bandwidth|null);InterconnectAttachment bandwidth.
candidateSubnets
public candidateSubnets: string[];InterconnectAttachment candidateSubnets.
cloudRouterIpAddress
public cloudRouterIpAddress?: (string|null);InterconnectAttachment cloudRouterIpAddress.
creationTimestamp
public creationTimestamp?: (string|null);InterconnectAttachment creationTimestamp.
customerRouterIpAddress
public customerRouterIpAddress?: (string|null);InterconnectAttachment customerRouterIpAddress.
dataplaneVersion
public dataplaneVersion?: (number|null);InterconnectAttachment dataplaneVersion.
description
public description?: (string|null);InterconnectAttachment description.
edgeAvailabilityDomain
public edgeAvailabilityDomain?: (google.cloud.compute.v1.InterconnectAttachment.EdgeAvailabilityDomain|keyof typeof google.cloud.compute.v1.InterconnectAttachment.EdgeAvailabilityDomain|null);InterconnectAttachment edgeAvailabilityDomain.
encryption
public encryption?: (google.cloud.compute.v1.InterconnectAttachment.Encryption|keyof typeof google.cloud.compute.v1.InterconnectAttachment.Encryption|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.
mtu
public mtu?: (number|null);InterconnectAttachment mtu.
name
public name?: (string|null);InterconnectAttachment name.
operationalStatus
public operationalStatus?: (google.cloud.compute.v1.InterconnectAttachment.OperationalStatus|keyof typeof google.cloud.compute.v1.InterconnectAttachment.OperationalStatus|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.
router
public router?: (string|null);InterconnectAttachment router.
selfLink
public selfLink?: (string|null);InterconnectAttachment selfLink.
state
public state?: (google.cloud.compute.v1.InterconnectAttachment.State|keyof typeof google.cloud.compute.v1.InterconnectAttachment.State|null);InterconnectAttachment state.
type
public type?: (google.cloud.compute.v1.InterconnectAttachment.Type|keyof typeof google.cloud.compute.v1.InterconnectAttachment.Type|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.
| Name | Description |
| properties |
IInterconnectAttachment
Properties to set |
| Type | Description |
| google.cloud.compute.v1.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.
| Name | Description |
| reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
| length |
number
Message length if known beforehand |
| Type | Description |
| google.cloud.compute.v1.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.
| Name | Description |
| reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
| Type | Description |
| google.cloud.compute.v1.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.
| Name | Description |
| message |
IInterconnectAttachment
InterconnectAttachment message or plain object to encode |
| writer |
$protobuf.Writer
Writer to encode to |
| 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.
| Name | Description |
| message |
IInterconnectAttachment
InterconnectAttachment message or plain object to encode |
| writer |
$protobuf.Writer
Writer to encode to |
| 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.
| Name | Description |
| object |
{ [k: string]: any }
Plain object |
| Type | Description |
| google.cloud.compute.v1.InterconnectAttachment | InterconnectAttachment |
toJSON()
public toJSON(): { [k: string]: any };Converts this InterconnectAttachment to JSON.
| 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.
| Name | Description |
| message |
google.cloud.compute.v1.InterconnectAttachment
InterconnectAttachment |
| options |
$protobuf.IConversionOptions
Conversion options |
| Type | Description |
| { [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);Verifies an InterconnectAttachment message.
| Name | Description |
| message |
{ [k: string]: any }
Plain object to verify |
| Type | Description |
| (string|null) |
|