Reference documentation and code samples for the Compute V1 Client class Interconnect.
Represents an Interconnect resource. An Interconnect resource is a dedicated connection between the GCP network and your on-premises network. For more information, read the Dedicated Interconnect Overview.
Generated from protobuf message google.cloud.compute.v1.Interconnect
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ admin_enabled |
bool
Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. |
↳ circuit_infos |
array<Google\Cloud\Compute\V1\InterconnectCircuitInfo>
[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG. |
↳ creation_timestamp |
string
[Output Only] Creation timestamp in RFC3339 text format. |
↳ customer_name |
string
Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect. |
↳ description |
string
An optional description of this resource. Provide this property when you create the resource. |
↳ expected_outages |
array<Google\Cloud\Compute\V1\InterconnectOutageNotification>
[Output Only] A list of outages expected for this Interconnect. |
↳ google_ip_address |
string
[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests. |
↳ google_reference_id |
string
[Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues. |
↳ id |
int|string
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
↳ interconnect_attachments |
array
[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect. |
↳ interconnect_type |
string
Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. Check the InterconnectType enum for the list of possible values. |
↳ kind |
string
[Output Only] Type of the resource. Always compute#interconnect for interconnects. |
↳ link_type |
string
Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. Check the LinkType enum for the list of possible values. |
↳ location |
string
URL of the InterconnectLocation object that represents where this connection is to be provisioned. |
↳ name |
string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression |
↳ noc_contact_email |
string
Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications. |
↳ operational_status |
string
[Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the OperationalStatus enum for the list of possible values. |
↳ peer_ip_address |
string
[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests. |
↳ provisioned_link_count |
int
[Output Only] Number of links actually provisioned in this interconnect. |
↳ requested_link_count |
int
Target number of physical links in the link bundle, as requested by the customer. |
↳ satisfies_pzs |
bool
[Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present. |
↳ self_link |
string
[Output Only] Server-defined URL for the resource. |
↳ state |
string
[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the State enum for the list of possible values. |
getAdminEnabled
Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.
Generated from protobuf field optional bool admin_enabled = 445675089;
Returns | |
---|---|
Type | Description |
bool |
hasAdminEnabled
clearAdminEnabled
setAdminEnabled
Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.
Generated from protobuf field optional bool admin_enabled = 445675089;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getCircuitInfos
[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
Generated from protobuf field repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setCircuitInfos
[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
Generated from protobuf field repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Compute\V1\InterconnectCircuitInfo>
|
Returns | |
---|---|
Type | Description |
$this |
getCreationTimestamp
[Output Only] Creation timestamp in RFC3339 text format.
Generated from protobuf field optional string creation_timestamp = 30525366;
Returns | |
---|---|
Type | Description |
string |
hasCreationTimestamp
clearCreationTimestamp
setCreationTimestamp
[Output Only] Creation timestamp in RFC3339 text format.
Generated from protobuf field optional string creation_timestamp = 30525366;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCustomerName
Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.
Generated from protobuf field optional string customer_name = 3665484;
Returns | |
---|---|
Type | Description |
string |
hasCustomerName
clearCustomerName
setCustomerName
Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.
Generated from protobuf field optional string customer_name = 3665484;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
An optional description of this resource. Provide this property when you create the resource.
Generated from protobuf field optional string description = 422937596;
Returns | |
---|---|
Type | Description |
string |
hasDescription
clearDescription
setDescription
An optional description of this resource. Provide this property when you create the resource.
Generated from protobuf field optional string description = 422937596;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getExpectedOutages
[Output Only] A list of outages expected for this Interconnect.
Generated from protobuf field repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setExpectedOutages
[Output Only] A list of outages expected for this Interconnect.
Generated from protobuf field repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Compute\V1\InterconnectOutageNotification>
|
Returns | |
---|---|
Type | Description |
$this |
getGoogleIpAddress
[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.
Generated from protobuf field optional string google_ip_address = 443105954;
Returns | |
---|---|
Type | Description |
string |
hasGoogleIpAddress
clearGoogleIpAddress
setGoogleIpAddress
[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.
Generated from protobuf field optional string google_ip_address = 443105954;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getGoogleReferenceId
[Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.
Generated from protobuf field optional string google_reference_id = 534944469;
Returns | |
---|---|
Type | Description |
string |
hasGoogleReferenceId
clearGoogleReferenceId
setGoogleReferenceId
[Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.
Generated from protobuf field optional string google_reference_id = 534944469;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getId
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
Generated from protobuf field optional uint64 id = 3355;
Returns | |
---|---|
Type | Description |
int|string |
hasId
clearId
setId
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
Generated from protobuf field optional uint64 id = 3355;
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getInterconnectAttachments
[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.
Generated from protobuf field repeated string interconnect_attachments = 425388415;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setInterconnectAttachments
[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.
Generated from protobuf field repeated string interconnect_attachments = 425388415;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getInterconnectType
Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED.
Check the InterconnectType enum for the list of possible values.
Generated from protobuf field optional string interconnect_type = 515165259;
Returns | |
---|---|
Type | Description |
string |
hasInterconnectType
clearInterconnectType
setInterconnectType
Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED.
Check the InterconnectType enum for the list of possible values.
Generated from protobuf field optional string interconnect_type = 515165259;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getKind
[Output Only] Type of the resource. Always compute#interconnect for interconnects.
Generated from protobuf field optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
string |
hasKind
clearKind
setKind
[Output Only] Type of the resource. Always compute#interconnect for interconnects.
Generated from protobuf field optional string kind = 3292052;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLinkType
Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle.
Check the LinkType enum for the list of possible values.
Generated from protobuf field optional string link_type = 523207775;
Returns | |
---|---|
Type | Description |
string |
hasLinkType
clearLinkType
setLinkType
Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle.
Check the LinkType enum for the list of possible values.
Generated from protobuf field optional string link_type = 523207775;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLocation
URL of the InterconnectLocation object that represents where this connection is to be provisioned.
Generated from protobuf field optional string location = 290430901;
Returns | |
---|---|
Type | Description |
string |
hasLocation
clearLocation
setLocation
URL of the InterconnectLocation object that represents where this connection is to be provisioned.
Generated from protobuf field optional string location = 290430901;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getName
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Generated from protobuf field optional string name = 3373707;
Returns | |
---|---|
Type | Description |
string |
hasName
clearName
setName
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Generated from protobuf field optional string name = 3373707;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNocContactEmail
Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications.
Generated from protobuf field optional string noc_contact_email = 14072832;
Returns | |
---|---|
Type | Description |
string |
hasNocContactEmail
clearNocContactEmail
setNocContactEmail
Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications.
Generated from protobuf field optional string noc_contact_email = 14072832;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getOperationalStatus
[Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
Check the OperationalStatus enum for the list of possible values.
Generated from protobuf field optional string operational_status = 201070847;
Returns | |
---|---|
Type | Description |
string |
hasOperationalStatus
clearOperationalStatus
setOperationalStatus
[Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
Check the OperationalStatus enum for the list of possible values.
Generated from protobuf field optional string operational_status = 201070847;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPeerIpAddress
[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.
Generated from protobuf field optional string peer_ip_address = 207735769;
Returns | |
---|---|
Type | Description |
string |
hasPeerIpAddress
clearPeerIpAddress
setPeerIpAddress
[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.
Generated from protobuf field optional string peer_ip_address = 207735769;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getProvisionedLinkCount
[Output Only] Number of links actually provisioned in this interconnect.
Generated from protobuf field optional int32 provisioned_link_count = 410888565;
Returns | |
---|---|
Type | Description |
int |
hasProvisionedLinkCount
clearProvisionedLinkCount
setProvisionedLinkCount
[Output Only] Number of links actually provisioned in this interconnect.
Generated from protobuf field optional int32 provisioned_link_count = 410888565;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getRequestedLinkCount
Target number of physical links in the link bundle, as requested by the customer.
Generated from protobuf field optional int32 requested_link_count = 45051387;
Returns | |
---|---|
Type | Description |
int |
hasRequestedLinkCount
clearRequestedLinkCount
setRequestedLinkCount
Target number of physical links in the link bundle, as requested by the customer.
Generated from protobuf field optional int32 requested_link_count = 45051387;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSatisfiesPzs
[Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present.
Generated from protobuf field optional bool satisfies_pzs = 480964267;
Returns | |
---|---|
Type | Description |
bool |
hasSatisfiesPzs
clearSatisfiesPzs
setSatisfiesPzs
[Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present.
Generated from protobuf field optional bool satisfies_pzs = 480964267;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getSelfLink
[Output Only] Server-defined URL for the resource.
Generated from protobuf field optional string self_link = 456214797;
Returns | |
---|---|
Type | Description |
string |
hasSelfLink
clearSelfLink
setSelfLink
[Output Only] Server-defined URL for the resource.
Generated from protobuf field optional string self_link = 456214797;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getState
[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
Check the State enum for the list of possible values.
Generated from protobuf field optional string state = 109757585;
Returns | |
---|---|
Type | Description |
string |
hasState
clearState
setState
[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
Check the State enum for the list of possible values.
Generated from protobuf field optional string state = 109757585;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |