The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility.
The value is only meaningful when all the vlan attachments have the same
QoS. This field should not be used for new integrations, use vlan
attachment level qos instead. The field is left for backward-compatibility.
The value is only meaningful when all the vlan attachments have the same
QoS. This field should not be used for new integrations, use vlan
attachment level qos instead. The field is left for backward-compatibility.
[[["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,["Version latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-bare-metal-solution/latest/V2.VRF)\n- [1.0.4](/php/docs/reference/cloud-bare-metal-solution/1.0.4/V2.VRF)\n- [0.6.5](/php/docs/reference/cloud-bare-metal-solution/0.6.5/V2.VRF)\n- [0.5.2](/php/docs/reference/cloud-bare-metal-solution/0.5.2/V2.VRF)\n- [0.4.0](/php/docs/reference/cloud-bare-metal-solution/0.4.0/V2.VRF)\n- [0.3.2](/php/docs/reference/cloud-bare-metal-solution/0.3.2/V2.VRF)\n- [0.2.8](/php/docs/reference/cloud-bare-metal-solution/0.2.8/V2.VRF) \nReference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class VRF.\n\nA network VRF.\n\nGenerated from protobuf message `google.cloud.baremetalsolution.v2.VRF`\n\nNamespace Google \\\\ Cloud \\\\ BareMetalSolution \\\\ V2\n\nMethods\n\n__construct \nConstructor.\n\n| **Parameters** ||\n|----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Name** | **Description** |\n| `data` | `array` Optional. Data for populating the Message object. |\n| `↳ name` | `string` The name of the VRF. |\n| `↳ state` | `int` The possible state of VRF. |\n| `↳ qos_policy` | [VRF\\QosPolicy](/php/docs/reference/cloud-bare-metal-solution/latest/V2.VRF.QosPolicy) The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility. |\n| `↳ vlan_attachments` | `array\u003c`[VRF\\VlanAttachment](/php/docs/reference/cloud-bare-metal-solution/latest/V2.VRF.VlanAttachment)`\u003e` The list of VLAN attachments for the VRF. |\n\ngetName \nThe name of the VRF.\n\n| **Returns** ||\n|----------|-----------------|\n| **Type** | **Description** |\n| `string` | |\n\nsetName \nThe name of the VRF.\n\n| **Parameter** ||\n|----------|-----------------|\n| **Name** | **Description** |\n| `var` | `string` |\n\n| **Returns** ||\n|----------|-----------------|\n| **Type** | **Description** |\n| `$this` | |\n\ngetState \nThe possible state of VRF.\n\n| **Returns** ||\n|----------|---------------------|\n| **Type** | **Description** |\n| `int` | Enum of type State. |\n\nsetState \nThe possible state of VRF.\n\n| **Parameter** ||\n|----------|---------------------------|\n| **Name** | **Description** |\n| `var` | `int` Enum of type State. |\n\n| **Returns** ||\n|----------|-----------------|\n| **Type** | **Description** |\n| `$this` | |\n\ngetQosPolicy \nThe QOS policy applied to this VRF.\n\nThe value is only meaningful when all the vlan attachments have the same\nQoS. This field should not be used for new integrations, use vlan\nattachment level qos instead. The field is left for backward-compatibility.\n\n| **Returns** ||\n|-----------------------------------------------------------------------------------------------|-----------------|\n| **Type** | **Description** |\n| [VRF\\QosPolicy](/php/docs/reference/cloud-bare-metal-solution/latest/V2.VRF.QosPolicy)`|null` | |\n\nhasQosPolicy\n\nclearQosPolicy\n\nsetQosPolicy \nThe QOS policy applied to this VRF.\n\nThe value is only meaningful when all the vlan attachments have the same\nQoS. This field should not be used for new integrations, use vlan\nattachment level qos instead. The field is left for backward-compatibility.\n\n| **Parameter** ||\n|----------|----------------------------------------------------------------------------------------|\n| **Name** | **Description** |\n| `var` | [VRF\\QosPolicy](/php/docs/reference/cloud-bare-metal-solution/latest/V2.VRF.QosPolicy) |\n\n| **Returns** ||\n|----------|-----------------|\n| **Type** | **Description** |\n| `$this` | |\n\ngetVlanAttachments \nThe list of VLAN attachments for the VRF.\n\n| **Returns** ||\n|------------------------------------------------------------------------------------------------------------------------------|-----------------|\n| **Type** | **Description** |\n| [Google\\Protobuf\\Internal\\RepeatedField](https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/RepeatedField) | |\n\nsetVlanAttachments \nThe list of VLAN attachments for the VRF.\n\n| **Parameter** ||\n|----------|-------------------------------------------------------------------------------------------------------------|\n| **Name** | **Description** |\n| `var` | `array\u003c`[VRF\\VlanAttachment](/php/docs/reference/cloud-bare-metal-solution/latest/V2.VRF.VlanAttachment)`\u003e` |\n\n| **Returns** ||\n|----------|-----------------|\n| **Type** | **Description** |\n| `$this` | |"]]