The QOS policy applied to this VLAN attachment. This value should be preferred to using qos at vrf level.
↳ id
string
Immutable. The identifier of the attachment within vrf.
↳ interconnect_attachment
string
Optional. The name of the vlan attachment within vrf. This is of the form projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}
getPeerVlanId
The peer vlan ID of the attachment.
Returns
Type
Description
int|string
setPeerVlanId
The peer vlan ID of the attachment.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getPeerIp
The peer IP of the attachment.
Returns
Type
Description
string
setPeerIp
The peer IP of the attachment.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getRouterIp
The router IP of the attachment.
Returns
Type
Description
string
setRouterIp
The router IP of the attachment.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPairingKey
Input only. Pairing key.
Returns
Type
Description
string
setPairingKey
Input only. Pairing key.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getQosPolicy
The QOS policy applied to this VLAN attachment.
This value should be preferred to using qos at vrf level.
Immutable. The identifier of the attachment within vrf.
Returns
Type
Description
string
setId
Immutable. The identifier of the attachment within vrf.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getInterconnectAttachment
Optional. The name of the vlan attachment within vrf. This is of the form
projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}
Returns
Type
Description
string
setInterconnectAttachment
Optional. The name of the vlan attachment within vrf. This is of the form
projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}
[[["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-09 UTC."],[],[],null,["# Google Cloud Bare Metal Solution V2 Client - Class VlanAttachment (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-bare-metal-solution/latest/V2.VRF.VlanAttachment)\n- [1.0.4](/php/docs/reference/cloud-bare-metal-solution/1.0.4/V2.VRF.VlanAttachment)\n- [0.6.5](/php/docs/reference/cloud-bare-metal-solution/0.6.5/V2.VRF.VlanAttachment)\n- [0.5.2](/php/docs/reference/cloud-bare-metal-solution/0.5.2/V2.VRF.VlanAttachment)\n- [0.4.0](/php/docs/reference/cloud-bare-metal-solution/0.4.0/V2.VRF.VlanAttachment)\n- [0.3.2](/php/docs/reference/cloud-bare-metal-solution/0.3.2/V2.VRF.VlanAttachment)\n- [0.2.8](/php/docs/reference/cloud-bare-metal-solution/0.2.8/V2.VRF.VlanAttachment) \nReference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class VlanAttachment.\n\nVLAN attachment details.\n\nGenerated from protobuf message `google.cloud.baremetalsolution.v2.VRF.VlanAttachment`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BareMetalSolution \\\\ V2 \\\\ VRF\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPeerVlanId\n\nThe peer vlan ID of the attachment.\n\n### setPeerVlanId\n\nThe peer vlan ID of the attachment.\n\n### getPeerIp\n\nThe peer IP of the attachment.\n\n### setPeerIp\n\nThe peer IP of the attachment.\n\n### getRouterIp\n\nThe router IP of the attachment.\n\n### setRouterIp\n\nThe router IP of the attachment.\n\n### getPairingKey\n\nInput only. Pairing key.\n\n### setPairingKey\n\nInput only. Pairing key.\n\n### getQosPolicy\n\nThe QOS policy applied to this VLAN attachment.\n\nThis value should be preferred to using qos at vrf level.\n\n### hasQosPolicy\n\n### clearQosPolicy\n\n### setQosPolicy\n\nThe QOS policy applied to this VLAN attachment.\n\nThis value should be preferred to using qos at vrf level.\n\n### getId\n\nImmutable. The identifier of the attachment within vrf.\n\n### setId\n\nImmutable. The identifier of the attachment within vrf.\n\n### getInterconnectAttachment\n\nOptional. The name of the vlan attachment within vrf. This is of the form\nprojects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}\n\n### setInterconnectAttachment\n\nOptional. The name of the vlan attachment within vrf. This is of the form\nprojects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}"]]