Compute V1 Client - Class InterconnectLocation (1.6.1)

Reference documentation and code samples for the Compute V1 Client class InterconnectLocation.

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

Generated from protobuf message google.cloud.compute.v1.InterconnectLocation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ address string

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

↳ availability_zone 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".

↳ city string

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

↳ continent 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 string

[Output Only] Creation timestamp in RFC3339 text format.

↳ description string

[Output Only] An optional description of the resource.

↳ facility_provider string

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

↳ facility_provider_facility_id string

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

↳ id int|string

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

↳ kind string

[Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations.

↳ name string

[Output Only] Name of the resource.

↳ peeringdb_facility_id string

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

↳ region_infos array<Google\Cloud\Compute\V1\InterconnectLocationRegionInfo>

[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 string

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

↳ status 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 bool

[Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present.

getAddress

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

Returns
TypeDescription
string

hasAddress

clearAddress

setAddress

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAvailabilityZone

[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
TypeDescription
string

hasAvailabilityZone

clearAvailabilityZone

setAvailabilityZone

[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".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCity

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

Returns
TypeDescription
string

hasCity

clearCity

setCity

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getContinent

[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
TypeDescription
string

hasContinent

clearContinent

setContinent

[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
NameDescription
var string
Returns
TypeDescription
$this

getCreationTimestamp

[Output Only] Creation timestamp in RFC3339 text format.

Returns
TypeDescription
string

hasCreationTimestamp

clearCreationTimestamp

setCreationTimestamp

[Output Only] Creation timestamp in RFC3339 text format.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

[Output Only] An optional description of the resource.

Returns
TypeDescription
string

hasDescription

clearDescription

setDescription

[Output Only] An optional description of the resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFacilityProvider

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

Returns
TypeDescription
string

hasFacilityProvider

clearFacilityProvider

setFacilityProvider

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFacilityProviderFacilityId

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

Returns
TypeDescription
string

hasFacilityProviderFacilityId

clearFacilityProviderFacilityId

setFacilityProviderFacilityId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getId

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

Returns
TypeDescription
int|string

hasId

clearId

setId

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

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getKind

[Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations.

Returns
TypeDescription
string

hasKind

clearKind

setKind

[Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getName

[Output Only] Name of the resource.

Returns
TypeDescription
string

hasName

clearName

setName

[Output Only] Name of the resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPeeringdbFacilityId

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

Returns
TypeDescription
string

hasPeeringdbFacilityId

clearPeeringdbFacilityId

setPeeringdbFacilityId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRegionInfos

[Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRegionInfos

[Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\InterconnectLocationRegionInfo>
Returns
TypeDescription
$this

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

Returns
TypeDescription
string

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStatus

[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
TypeDescription
string

hasStatus

clearStatus

setStatus

[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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSupportsPzs

[Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present.

Returns
TypeDescription
bool

hasSupportsPzs

clearSupportsPzs

setSupportsPzs

[Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this