Class protos.google.cloud.compute.v1.InterconnectRemoteLocation (4.9.0)

Represents an InterconnectRemoteLocation.

Package

@google-cloud/compute

Constructors

(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?: "address";

InterconnectRemoteLocation _address.

_attachmentConfigurationConstraints

public _attachmentConfigurationConstraints?: "attachmentConfigurationConstraints";

InterconnectRemoteLocation _attachmentConfigurationConstraints.

_city

public _city?: "city";

InterconnectRemoteLocation _city.

_constraints

public _constraints?: "constraints";

InterconnectRemoteLocation _constraints.

_continent

public _continent?: "continent";

InterconnectRemoteLocation _continent.

_creationTimestamp

public _creationTimestamp?: "creationTimestamp";

InterconnectRemoteLocation _creationTimestamp.

_description

public _description?: "description";

InterconnectRemoteLocation _description.

_facilityProvider

public _facilityProvider?: "facilityProvider";

InterconnectRemoteLocation _facilityProvider.

_facilityProviderFacilityId

public _facilityProviderFacilityId?: "facilityProviderFacilityId";

InterconnectRemoteLocation _facilityProviderFacilityId.

_id

public _id?: "id";

InterconnectRemoteLocation _id.

_kind

public _kind?: "kind";

InterconnectRemoteLocation _kind.

_lacp

public _lacp?: "lacp";

InterconnectRemoteLocation _lacp.

_maxLagSize100Gbps

public _maxLagSize100Gbps?: "maxLagSize100Gbps";

InterconnectRemoteLocation _maxLagSize100Gbps.

_maxLagSize10Gbps

public _maxLagSize10Gbps?: "maxLagSize10Gbps";

InterconnectRemoteLocation _maxLagSize10Gbps.

_name

public _name?: "name";

InterconnectRemoteLocation _name.

_peeringdbFacilityId

public _peeringdbFacilityId?: "peeringdbFacilityId";

InterconnectRemoteLocation _peeringdbFacilityId.

_remoteService

public _remoteService?: "remoteService";

InterconnectRemoteLocation _remoteService.

public _selfLink?: "selfLink";

InterconnectRemoteLocation _selfLink.

_status

public _status?: "status";

InterconnectRemoteLocation _status.

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.

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.

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)

null if valid, otherwise the reason why it is not