Optional. A free-text description of the resource. Max length 1024 characters.
↳ interconnect
string
Required. The canonical name of underlying Interconnect object that this attachment's traffic will traverse through. The name is in the form ofprojects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}.
↳ network
string
Optional. The canonical Network name in the form ofprojects/{project}/locations/{location}/zones/{zone}/networks/{network}.
↳ vlan_id
int
Required. VLAN id provided by user. Must be site-wise unique.
↳ mtu
int
IP (L3) MTU value of the virtual edge cloud. Valid values are: 1500 and 9000. Default to 1500 if not set.
↳ state
int
Output only. Current stage of the resource to the device by config push.
getName
Required. The canonical resource name of the interconnect attachment.
Returns
Type
Description
string
setName
Required. The canonical resource name of the interconnect attachment.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCreateTime
Output only. The time when the interconnect attachment was created.
Optional. A free-text description of the resource. Max length 1024
characters.
Returns
Type
Description
string
setDescription
Optional. A free-text description of the resource. Max length 1024
characters.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getInterconnect
Required. The canonical name of underlying Interconnect object that this
attachment's traffic will traverse through. The name is in the form ofprojects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}.
Returns
Type
Description
string
setInterconnect
Required. The canonical name of underlying Interconnect object that this
attachment's traffic will traverse through. The name is in the form ofprojects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getNetwork
Optional. The canonical Network name in the form ofprojects/{project}/locations/{location}/zones/{zone}/networks/{network}.
Returns
Type
Description
string
setNetwork
Optional. The canonical Network name in the form ofprojects/{project}/locations/{location}/zones/{zone}/networks/{network}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getVlanId
Required. VLAN id provided by user. Must be site-wise unique.
Returns
Type
Description
int
setVlanId
Required. VLAN id provided by user. Must be site-wise unique.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getMtu
IP (L3) MTU value of the virtual edge cloud.
Valid values are: 1500 and 9000.
Default to 1500 if not set.
Returns
Type
Description
int
setMtu
IP (L3) MTU value of the virtual edge cloud.
Valid values are: 1500 and 9000.
Default to 1500 if not set.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getState
Output only. Current stage of the resource to the device by config push.
Returns
Type
Description
int
setState
Output only. Current stage of the resource to the device by config push.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Edge Network V1 Client - Class InterconnectAttachment (1.2.3)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.3 (latest)](/php/docs/reference/cloud-edgenetwork/latest/V1.InterconnectAttachment)\n- [1.2.2](/php/docs/reference/cloud-edgenetwork/1.2.2/V1.InterconnectAttachment)\n- [1.1.4](/php/docs/reference/cloud-edgenetwork/1.1.4/V1.InterconnectAttachment)\n- [1.0.0](/php/docs/reference/cloud-edgenetwork/1.0.0/V1.InterconnectAttachment)\n- [0.3.6](/php/docs/reference/cloud-edgenetwork/0.3.6/V1.InterconnectAttachment)\n- [0.2.0](/php/docs/reference/cloud-edgenetwork/0.2.0/V1.InterconnectAttachment)\n- [0.1.1](/php/docs/reference/cloud-edgenetwork/0.1.1/V1.InterconnectAttachment) \nReference documentation and code samples for the Google Cloud Edge Network V1 Client class InterconnectAttachment.\n\nMessage describing InterconnectAttachment object\n\nGenerated from protobuf message `google.cloud.edgenetwork.v1.InterconnectAttachment`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ EdgeNetwork \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The canonical resource name of the interconnect attachment.\n\n### setName\n\nRequired. The canonical resource name of the interconnect attachment.\n\n### getCreateTime\n\nOutput only. The time when the interconnect attachment was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time when the interconnect attachment was created.\n\n### getUpdateTime\n\nOutput only. The time when the interconnect attachment was last updated.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The time when the interconnect attachment was last updated.\n\n### getLabels\n\nLabels associated with this resource.\n\n### setLabels\n\nLabels associated with this resource.\n\n### getDescription\n\nOptional. A free-text description of the resource. Max length 1024\ncharacters.\n\n### setDescription\n\nOptional. A free-text description of the resource. Max length 1024\ncharacters.\n\n### getInterconnect\n\nRequired. The canonical name of underlying Interconnect object that this\nattachment's traffic will traverse through. The name is in the form of\n`projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}`.\n\n### setInterconnect\n\nRequired. The canonical name of underlying Interconnect object that this\nattachment's traffic will traverse through. The name is in the form of\n`projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}`.\n\n### getNetwork\n\nOptional. The canonical Network name in the form of\n`projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.\n\n### setNetwork\n\nOptional. The canonical Network name in the form of\n`projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.\n\n### getVlanId\n\nRequired. VLAN id provided by user. Must be site-wise unique.\n\n### setVlanId\n\nRequired. VLAN id provided by user. Must be site-wise unique.\n\n### getMtu\n\nIP (L3) MTU value of the virtual edge cloud.\n\nValid values are: 1500 and 9000.\nDefault to 1500 if not set.\n\n### setMtu\n\nIP (L3) MTU value of the virtual edge cloud.\n\nValid values are: 1500 and 9000.\nDefault to 1500 if not set.\n\n### getState\n\nOutput only. Current stage of the resource to the device by config push.\n\n### setState\n\nOutput only. Current stage of the resource to the device by config push."]]