Represents an InterconnectRemoteLocation.
Package
@google-cloud/computeConstructors
(constructor)(properties)
constructor(properties?: google.cloud.compute.v1.IInterconnectRemoteLocation);Constructs a new InterconnectRemoteLocation.
| Parameter | |
|---|---|
| Name | Description |
properties |
IInterconnectRemoteLocation
Properties to set |
Properties
address
public address?: (string|null);InterconnectRemoteLocation address.
attachmentConfigurationConstraints
public attachmentConfigurationConstraints?: (google.cloud.compute.v1.IInterconnectAttachmentConfigurationConstraints|null);InterconnectRemoteLocation attachmentConfigurationConstraints.
city
public city?: (string|null);InterconnectRemoteLocation city.
constraints
public constraints?: (google.cloud.compute.v1.IInterconnectRemoteLocationConstraints|null);InterconnectRemoteLocation constraints.
continent
public continent?: (string|null);InterconnectRemoteLocation continent.
creationTimestamp
public creationTimestamp?: (string|null);InterconnectRemoteLocation creationTimestamp.
description
public description?: (string|null);InterconnectRemoteLocation description.
facilityProvider
public facilityProvider?: (string|null);InterconnectRemoteLocation facilityProvider.
facilityProviderFacilityId
public facilityProviderFacilityId?: (string|null);InterconnectRemoteLocation facilityProviderFacilityId.
id
public id?: (number|Long|string|null);InterconnectRemoteLocation id.
kind
public kind?: (string|null);InterconnectRemoteLocation kind.
lacp
public lacp?: (string|null);InterconnectRemoteLocation lacp.
maxLagSize100Gbps
public maxLagSize100Gbps?: (number|null);InterconnectRemoteLocation maxLagSize100Gbps.
maxLagSize10Gbps
public maxLagSize10Gbps?: (number|null);InterconnectRemoteLocation maxLagSize10Gbps.
maxLagSize400Gbps
public maxLagSize400Gbps?: (number|null);InterconnectRemoteLocation maxLagSize400Gbps.
name
public name?: (string|null);InterconnectRemoteLocation name.
peeringdbFacilityId
public peeringdbFacilityId?: (string|null);InterconnectRemoteLocation peeringdbFacilityId.
permittedConnections
public permittedConnections: google.cloud.compute.v1.IInterconnectRemoteLocationPermittedConnections[];InterconnectRemoteLocation permittedConnections.
remoteService
public remoteService?: (string|null);InterconnectRemoteLocation remoteService.
selfLink
public selfLink?: (string|null);InterconnectRemoteLocation selfLink.
status
public status?: (string|null);InterconnectRemoteLocation status.
Methods
create(properties)
public static create(properties?: google.cloud.compute.v1.IInterconnectRemoteLocation): google.cloud.compute.v1.InterconnectRemoteLocation;Creates a new InterconnectRemoteLocation instance using the specified properties.
| Parameter | |
|---|---|
| Name | Description |
properties |
IInterconnectRemoteLocation
Properties to set |
| Returns | |
|---|---|
| Type | Description |
InterconnectRemoteLocation |
InterconnectRemoteLocation instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.InterconnectRemoteLocation;Decodes an InterconnectRemoteLocation 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 |
InterconnectRemoteLocation |
InterconnectRemoteLocation |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.InterconnectRemoteLocation;Decodes an InterconnectRemoteLocation message from the specified reader or buffer, length delimited.
| Parameter | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
| Returns | |
|---|---|
| Type | Description |
InterconnectRemoteLocation |
InterconnectRemoteLocation |
encode(message, writer)
public static encode(message: google.cloud.compute.v1.IInterconnectRemoteLocation, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified InterconnectRemoteLocation message. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IInterconnectRemoteLocation
InterconnectRemoteLocation 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.IInterconnectRemoteLocation, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified InterconnectRemoteLocation message, length delimited. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IInterconnectRemoteLocation
InterconnectRemoteLocation 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.InterconnectRemoteLocation;Creates an InterconnectRemoteLocation 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 |
InterconnectRemoteLocation |
InterconnectRemoteLocation |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;Gets the default type url for InterconnectRemoteLocation
| 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 InterconnectRemoteLocation to JSON.
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
JSON object |
toObject(message, options)
public static toObject(message: google.cloud.compute.v1.InterconnectRemoteLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };Creates a plain object from an InterconnectRemoteLocation message. Also converts values to other types if specified.
| Parameters | |
|---|---|
| Name | Description |
message |
InterconnectRemoteLocation
InterconnectRemoteLocation |
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 InterconnectRemoteLocation message.
| Parameter | |
|---|---|
| Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
| Returns | |
|---|---|
| Type | Description |
(string|null) |
|