# Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::InterconnectLocation (v3.7.0)

3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.22.0 2.21.1 2.20.0 2.19.1 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.2 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.5.0 Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InterconnectLocation.

Represents an Interconnect Attachment (VLAN) Location resource.


<br />

You can use this resource to find location details about an Interconnect
attachment (VLAN). For more information about interconnect attachments, read
Creating VLAN Attachments.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #address

    def address() -> ::String

**Returns**

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

### #address=

    def address=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. \[Output Only\] The postal address of the Point of Presence, each line in the address is separated by a newline character.
**Returns**

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

### #availability_zone

    def availability_zone() -> ::String

**Returns**

- (::String) --- \[Output Only\] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2".

### #availability_zone=

    def availability_zone=(value) -> ::String

**Parameter**

- **value** (::String) --- \[Output Only\] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2".
**Returns**

- (::String) --- \[Output Only\] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2".

### #available_features

    def available_features() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- \[Output only\] List of features available at this InterconnectLocation,
  which can take one of the following values:

  - IF_MACSEC
  - IF_CROSS_SITE_NETWORK Check the AvailableFeatures enum for the list of possible values.

### #available_features=

    def available_features=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) ---

  \[Output only\] List of features available at this InterconnectLocation,
  which can take one of the following values:
  - IF_MACSEC
  - IF_CROSS_SITE_NETWORK Check the AvailableFeatures enum for the list of possible values.
**Returns**

- (::Array\<::String\>) --- \[Output only\] List of features available at this InterconnectLocation,
  which can take one of the following values:

  - IF_MACSEC
  - IF_CROSS_SITE_NETWORK Check the AvailableFeatures enum for the list of possible values.

### #available_link_types

    def available_link_types() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- \[Output only\] List of link types available at this InterconnectLocation,
  which can take one of the following values:

  - LINK_TYPE_ETHERNET_10G_LR
  - LINK_TYPE_ETHERNET_100G_LR
  - LINK_TYPE_ETHERNET_400G_LR4 Check the AvailableLinkTypes enum for the list of possible values.

### #available_link_types=

    def available_link_types=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) ---

  \[Output only\] List of link types available at this InterconnectLocation,
  which can take one of the following values:
  - LINK_TYPE_ETHERNET_10G_LR
  - LINK_TYPE_ETHERNET_100G_LR
  - LINK_TYPE_ETHERNET_400G_LR4 Check the AvailableLinkTypes enum for the list of possible values.
**Returns**

- (::Array\<::String\>) --- \[Output only\] List of link types available at this InterconnectLocation,
  which can take one of the following values:

  - LINK_TYPE_ETHERNET_10G_LR
  - LINK_TYPE_ETHERNET_100G_LR
  - LINK_TYPE_ETHERNET_400G_LR4 Check the AvailableLinkTypes enum for the list of possible values.

### #city

    def city() -> ::String

**Returns**

- (::String) --- \[Output Only\] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".

### #city=

    def city=(value) -> ::String

**Parameter**

- **value** (::String) --- \[Output Only\] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".
**Returns**

- (::String) --- \[Output Only\] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".

### #continent

    def continent() -> ::String

**Returns**

- (::String) --- \[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.

### #continent=

    def continent=(value) -> ::String

**Parameter**

- **value** (::String) ---

  \[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**

- (::String) --- \[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

    def creation_timestamp() -> ::String

**Returns**

- (::String) --- Output only. \[Output Only\] Creation timestamp inRFC3339 text format.

### #creation_timestamp=

    def creation_timestamp=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. \[Output Only\] Creation timestamp inRFC3339 text format.
**Returns**

- (::String) --- Output only. \[Output Only\] Creation timestamp inRFC3339 text format.

### #cross_site_interconnect_infos

    def cross_site_interconnect_infos() -> ::Array<::Google::Cloud::Compute::V1::InterconnectLocationCrossSiteInterconnectInfo>

**Returns**

- (::Array\<[::Google::Cloud::Compute::V1::InterconnectLocationCrossSiteInterconnectInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-InterconnectLocationCrossSiteInterconnectInfo)\>) --- \[Output Only\] A list of InterconnectLocation.CrossSiteInterconnectInfo objects, that describe where Cross-Site Interconnect wires may connect to from this location and associated connection parameters. Cross-Site Interconnect isn't allowed to locations which are not listed.

### #cross_site_interconnect_infos=

    def cross_site_interconnect_infos=(value) -> ::Array<::Google::Cloud::Compute::V1::InterconnectLocationCrossSiteInterconnectInfo>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Compute::V1::InterconnectLocationCrossSiteInterconnectInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-InterconnectLocationCrossSiteInterconnectInfo)\>) --- \[Output Only\] A list of InterconnectLocation.CrossSiteInterconnectInfo objects, that describe where Cross-Site Interconnect wires may connect to from this location and associated connection parameters. Cross-Site Interconnect isn't allowed to locations which are not listed.
**Returns**

- (::Array\<[::Google::Cloud::Compute::V1::InterconnectLocationCrossSiteInterconnectInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-InterconnectLocationCrossSiteInterconnectInfo)\>) --- \[Output Only\] A list of InterconnectLocation.CrossSiteInterconnectInfo objects, that describe where Cross-Site Interconnect wires may connect to from this location and associated connection parameters. Cross-Site Interconnect isn't allowed to locations which are not listed.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Output only. \[Output Only\] An optional description of the resource.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. \[Output Only\] An optional description of the resource.
**Returns**

- (::String) --- Output only. \[Output Only\] An optional description of the resource.

### #facility_provider

    def facility_provider() -> ::String

**Returns**

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

### #facility_provider=

    def facility_provider=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. \[Output Only\] The name of the provider for this facility (e.g., EQUINIX).
**Returns**

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

### #facility_provider_facility_id

    def facility_provider_facility_id() -> ::String

**Returns**

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

### #facility_provider_facility_id=

    def facility_provider_facility_id=(value) -> ::String

**Parameter**

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

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

### #id

    def id() -> ::Integer

**Returns**

- (::Integer) --- Output only. \[Output Only\] The unique identifier for the resource. This identifier is defined by the server.

### #id=

    def id=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Output only. \[Output Only\] The unique identifier for the resource. This identifier is defined by the server.
**Returns**

- (::Integer) --- Output only. \[Output Only\] The unique identifier for the resource. This identifier is defined by the server.

### #kind

    def kind() -> ::String

**Returns**

- (::String) --- Output only. \[Output Only\] Type of the resource. Alwayscompute#interconnectLocation for interconnect locations.

### #kind=

    def kind=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. \[Output Only\] Type of the resource. Alwayscompute#interconnectLocation for interconnect locations.
**Returns**

- (::String) --- Output only. \[Output Only\] Type of the resource. Alwayscompute#interconnectLocation for interconnect locations.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. \[Output Only\] Name of the resource.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. \[Output Only\] Name of the resource.
**Returns**

- (::String) --- Output only. \[Output Only\] Name of the resource.

### #peeringdb_facility_id

    def peeringdb_facility_id() -> ::String

**Returns**

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

### #peeringdb_facility_id=

    def peeringdb_facility_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. \[Output Only\] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).
**Returns**

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

### #region_infos

    def region_infos() -> ::Array<::Google::Cloud::Compute::V1::InterconnectLocationRegionInfo>

**Returns**

- (::Array\<[::Google::Cloud::Compute::V1::InterconnectLocationRegionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-InterconnectLocationRegionInfo)\>) --- Output only. \[Output Only\] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.

### #region_infos=

    def region_infos=(value) -> ::Array<::Google::Cloud::Compute::V1::InterconnectLocationRegionInfo>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Compute::V1::InterconnectLocationRegionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-InterconnectLocationRegionInfo)\>) --- Output only. \[Output Only\] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
**Returns**

- (::Array\<[::Google::Cloud::Compute::V1::InterconnectLocationRegionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-InterconnectLocationRegionInfo)\>) --- Output only. \[Output Only\] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.

### #self_link

    def self_link() -> ::String

**Returns**

- (::String) --- Output only. \[Output Only\] Server-defined URL for the resource.

### #self_link=

    def self_link=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. \[Output Only\] Server-defined URL for the resource.
**Returns**

- (::String) --- Output only. \[Output Only\] Server-defined URL for the resource.

### #single_region_production_critical_peer_locations

    def single_region_production_critical_peer_locations() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Output only. \[Output Only\] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.

### #single_region_production_critical_peer_locations=

    def single_region_production_critical_peer_locations=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Output only. \[Output Only\] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
**Returns**

- (::Array\<::String\>) --- Output only. \[Output Only\] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.

### #status

    def status() -> ::String

**Returns**

- (::String) --- \[Output Only\] The status of this InterconnectLocation, which can take one
  of the following values:

  - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects.
  - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. Check the Status enum for the list of possible values.

### #status=

    def status=(value) -> ::String

**Parameter**

- **value** (::String) ---

  \[Output Only\] The status of this InterconnectLocation, which can take one
  of the following values:
  - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects.
  - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. Check the Status enum for the list of possible values.
**Returns**

- (::String) --- \[Output Only\] The status of this InterconnectLocation, which can take one
  of the following values:

  - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects.
  - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. Check the Status enum for the list of possible values.

### #supports_pzs

    def supports_pzs() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. \[Output Only\] Reserved for future use.

### #supports_pzs=

    def supports_pzs=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Output only. \[Output Only\] Reserved for future use.
**Returns**

- (::Boolean) --- Output only. \[Output Only\] Reserved for future use.