# Compute V1 Client - Class InterconnectRemoteLocation (2.10.0)

2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 1.24.0 1.23.0 1.22.1 1.21.0 1.20.0 1.19.0 1.18.1 1.17.0 1.16.2 1.14.0 1.13.0 1.12.1 1.11.1 1.10.1 1.9.1 1.8.3 1.7.1 1.6.1 1.5.0 Reference documentation and code samples for the Compute V1 Client class InterconnectRemoteLocation.

Represents a Cross-Cloud Interconnect Remote Location resource.

You can use this resource to find remote location details about an
Interconnect attachment (VLAN).

Generated from protobuf message `google.cloud.compute.v1.InterconnectRemoteLocation`

## Namespace

Google \\ Cloud \\ Compute \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ address` | `string` Output only. \[Output Only\] The postal address of the Point of Presence, each line in the address is separated by a newline character. |
| `↳ attachment_configuration_constraints` | `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectAttachmentConfigurationConstraints` Output only. \[Output Only\] Subset of fields from InterconnectAttachment's \|configurationConstraints\| field that apply to all attachments for this remote location. |
| `↳ city` | `string` Output only. \[Output Only\] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands". |
| `↳ constraints` | `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectRemoteLocationConstraints` Output only. \[Output Only\] Constraints on the parameters for creating Cross-Cloud Interconnect and associated InterconnectAttachments. |
| `↳ continent` | `string` Output only. \[Output Only\] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA Check the Continent enum for the list of possible values. |
| `↳ creation_timestamp` | `string` Output only. \[Output Only\] Creation timestamp inRFC3339 text format. |
| `↳ description` | `string` Output only. \[Output Only\] An optional description of the resource. |
| `↳ facility_provider` | `string` Output only. \[Output Only\] The name of the provider for this facility (e.g., EQUINIX). |
| `↳ facility_provider_facility_id` | `string` Output only. \[Output Only\] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1). |
| `↳ id` | `int|string` Output only. \[Output Only\] The unique identifier for the resource. This identifier is defined by the server. |
| `↳ kind` | `string` Output only. \[Output Only\] Type of the resource. Alwayscompute#interconnectRemoteLocation for interconnect remote locations. |
| `↳ lacp` | `string` Output only. \[Output Only\] Link Aggregation Control Protocol (LACP) constraints, which can take one of the following values: LACP_SUPPORTED, LACP_UNSUPPORTED Check the Lacp enum for the list of possible values. |
| `↳ max_lag_size100_gbps` | `int` Output only. \[Output Only\] The maximum number of 100 Gbps ports supported in a link aggregation group (LAG). When linkType is 100 Gbps, requestedLinkCount cannot exceed max_lag_size_100_gbps. |
| `↳ max_lag_size10_gbps` | `int` Output only. \[Output Only\] The maximum number of 10 Gbps ports supported in a link aggregation group (LAG). When linkType is 10 Gbps, requestedLinkCount cannot exceed max_lag_size_10_gbps. |
| `↳ max_lag_size400_gbps` | `int` Output only. \[Output Only\] The maximum number of 400 Gbps ports supported in a link aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed max_lag_size_400_gbps. |
| `↳ name` | `string` Output only. \[Output Only\] Name of the resource. |
| `↳ peeringdb_facility_id` | `string` Output only. \[Output Only\] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb). |
| `↳ permitted_connections` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectRemoteLocationPermittedConnections>` Output only. \[Output Only\] Permitted connections. |
| `↳ remote_service` | `string` Output only. \[Output Only\] Indicates the service provider present at the remote location. Example values: "Amazon Web Services", "Microsoft Azure". |
| `↳ self_link` | `string` Output only. \[Output Only\] Server-defined URL for the resource. |
| `↳ status` | `string` Output only. \[Output Only\] The status of this InterconnectRemoteLocation, which can take one of the following values: - CLOSED: The InterconnectRemoteLocation is closed and is unavailable for provisioning new Cross-Cloud Interconnects. - AVAILABLE: The InterconnectRemoteLocation is available for provisioning new Cross-Cloud Interconnects. Check the Status enum for the list of possible values. |

### getAddress

Output only. \[Output Only\] The postal address of the Point of Presence, each line in
the address is separated by a newline character.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasAddress

### clearAddress

### setAddress

Output only. \[Output Only\] The postal address of the Point of Presence, each line in
the address is separated by a newline character.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAttachmentConfigurationConstraints

Output only. \[Output Only\] Subset of fields from InterconnectAttachment's
\|configurationConstraints\| field that apply to all attachments for this
remote location.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectAttachmentConfigurationConstraints|null` |   |

### hasAttachmentConfigurationConstraints

### clearAttachmentConfigurationConstraints

### setAttachmentConfigurationConstraints

Output only. \[Output Only\] Subset of fields from InterconnectAttachment's
\|configurationConstraints\| field that apply to all attachments for this
remote location.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectAttachmentConfigurationConstraints` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCity

Output only. \[Output Only\] Metropolitan area designator that indicates which city an
interconnect is located.

For example: "Chicago, IL", "Amsterdam, Netherlands".

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasCity

### clearCity

### setCity

Output only. \[Output Only\] Metropolitan area designator that indicates which city an
interconnect is located.

For example: "Chicago, IL", "Amsterdam, Netherlands".

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getConstraints

Output only. \[Output Only\] Constraints on the parameters for creating Cross-Cloud
Interconnect and associated InterconnectAttachments.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectRemoteLocationConstraints|null` |   |

### hasConstraints

### clearConstraints

### setConstraints

Output only. \[Output Only\] Constraints on the parameters for creating Cross-Cloud
Interconnect and associated InterconnectAttachments.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectRemoteLocationConstraints` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getContinent

Output only. \[Output Only\] Continent for this location, which can take one of the
following values:

- AFRICA
- ASIA_PAC
- EUROPE
- NORTH_AMERICA
- SOUTH_AMERICA Check the Continent enum for the list of possible values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasContinent

### clearContinent

### setContinent

Output only. \[Output Only\] Continent for this location, which can take one of the
following values:

- AFRICA
- ASIA_PAC
- EUROPE
- NORTH_AMERICA
- SOUTH_AMERICA Check the Continent enum for the list of possible values.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCreationTimestamp

Output only. \[Output Only\] Creation timestamp inRFC3339
text format.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasCreationTimestamp

### clearCreationTimestamp

### setCreationTimestamp

Output only. \[Output Only\] Creation timestamp inRFC3339
text format.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDescription

Output only. \[Output Only\] An optional description of the resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasDescription

### clearDescription

### setDescription

Output only. \[Output Only\] An optional description of the resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFacilityProvider

Output only. \[Output Only\] The name of the provider for this facility (e.g., EQUINIX).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasFacilityProvider

### clearFacilityProvider

### setFacilityProvider

Output only. \[Output Only\] The name of the provider for this facility (e.g., EQUINIX).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFacilityProviderFacilityId

Output only. \[Output Only\] A provider-assigned Identifier for this facility (e.g.,
Ashburn-DC1).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasFacilityProviderFacilityId

### clearFacilityProviderFacilityId

### setFacilityProviderFacilityId

Output only. \[Output Only\] A provider-assigned Identifier for this facility (e.g.,
Ashburn-DC1).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getId

Output only. \[Output Only\] The unique identifier for the resource. This identifier is
defined by the server.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasId

### clearId

### setId

Output only. \[Output Only\] The unique identifier for the resource. This identifier is
defined by the server.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getKind

Output only. \[Output Only\] Type of the resource. Alwayscompute#interconnectRemoteLocation for interconnect remote
locations.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasKind

### clearKind

### setKind

Output only. \[Output Only\] Type of the resource. Alwayscompute#interconnectRemoteLocation for interconnect remote
locations.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLacp

Output only. \[Output Only\] Link Aggregation Control Protocol (LACP) constraints, which
can take one of the following values: LACP_SUPPORTED, LACP_UNSUPPORTED
Check the Lacp enum for the list of possible values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasLacp

### clearLacp

### setLacp

Output only. \[Output Only\] Link Aggregation Control Protocol (LACP) constraints, which
can take one of the following values: LACP_SUPPORTED, LACP_UNSUPPORTED
Check the Lacp enum for the list of possible values.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMaxLagSize100Gbps

Output only. \[Output Only\]
The maximum number of 100 Gbps ports supported in a link aggregation group
(LAG). When linkType is 100 Gbps, requestedLinkCount cannot exceed
max_lag_size_100_gbps.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasMaxLagSize100Gbps

### clearMaxLagSize100Gbps

### setMaxLagSize100Gbps

Output only. \[Output Only\]
The maximum number of 100 Gbps ports supported in a link aggregation group
(LAG). When linkType is 100 Gbps, requestedLinkCount cannot exceed
max_lag_size_100_gbps.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMaxLagSize10Gbps

Output only. \[Output Only\]
The maximum number of 10 Gbps ports supported in a link aggregation group
(LAG). When linkType is 10 Gbps, requestedLinkCount cannot exceed
max_lag_size_10_gbps.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasMaxLagSize10Gbps

### clearMaxLagSize10Gbps

### setMaxLagSize10Gbps

Output only. \[Output Only\]
The maximum number of 10 Gbps ports supported in a link aggregation group
(LAG). When linkType is 10 Gbps, requestedLinkCount cannot exceed
max_lag_size_10_gbps.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMaxLagSize400Gbps

Output only. \[Output Only\]
The maximum number of 400 Gbps ports supported in a link aggregation group
(LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed
max_lag_size_400_gbps.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasMaxLagSize400Gbps

### clearMaxLagSize400Gbps

### setMaxLagSize400Gbps

Output only. \[Output Only\]
The maximum number of 400 Gbps ports supported in a link aggregation group
(LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed
max_lag_size_400_gbps.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getName

Output only. \[Output Only\] Name of the resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasName

### clearName

### setName

Output only. \[Output Only\] Name of the resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPeeringdbFacilityId

Output only. \[Output Only\] The peeringdb identifier for this facility (corresponding
with a netfac type in peeringdb).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasPeeringdbFacilityId

### clearPeeringdbFacilityId

### setPeeringdbFacilityId

Output only. \[Output Only\] The peeringdb identifier for this facility (corresponding
with a netfac type in peeringdb).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPermittedConnections

Output only. \[Output Only\] Permitted connections.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectRemoteLocationPermittedConnections>` |   |

### setPermittedConnections

Output only. \[Output Only\] Permitted connections.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.InterconnectRemoteLocationPermittedConnections>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRemoteService

Output only. \[Output Only\] Indicates the service provider present at the remote
location. Example values: "Amazon Web Services", "Microsoft Azure".

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasRemoteService

### clearRemoteService

### setRemoteService

Output only. \[Output Only\] Indicates the service provider present at the remote
location. Example values: "Amazon Web Services", "Microsoft Azure".

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSelfLink

Output only. \[Output Only\] Server-defined URL for the resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasSelfLink

### clearSelfLink

### setSelfLink

Output only. \[Output Only\] Server-defined URL for the resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getStatus

Output only. \[Output Only\] The status of this InterconnectRemoteLocation, which can take
one of the following values:

- CLOSED: The InterconnectRemoteLocation is closed and is unavailable for provisioning new Cross-Cloud Interconnects.

<!-- -->

- AVAILABLE: The InterconnectRemoteLocation is available for provisioning new Cross-Cloud Interconnects. Check the Status enum for the list of possible values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasStatus

### clearStatus

### setStatus

Output only. \[Output Only\] The status of this InterconnectRemoteLocation, which can take
one of the following values:

- CLOSED: The InterconnectRemoteLocation is closed and is unavailable for provisioning new Cross-Cloud Interconnects.

<!-- -->

- AVAILABLE: The InterconnectRemoteLocation is available for provisioning new Cross-Cloud Interconnects. Check the Status enum for the list of possible values.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |