Google Cloud Bare Metal Solution V2 Client - Class VRF (0.6.5)

Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class VRF.

A network VRF.

Generated from protobuf message google.cloud.baremetalsolution.v2.VRF

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The name of the VRF.

↳ state int

The possible state of VRF.

↳ qos_policy Google\Cloud\BareMetalSolution\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.

↳ vlan_attachments array<Google\Cloud\BareMetalSolution\V2\VRF\VlanAttachment>

The list of VLAN attachments for the VRF.

getName

The name of the VRF.

Returns
Type Description
string

setName

The name of the VRF.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

The possible state of VRF.

Returns
Type Description
int

setState

The possible state of VRF.

Parameter
Name Description
var int
Returns
Type Description
$this

getQosPolicy

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.

Returns
Type Description
Google\Cloud\BareMetalSolution\V2\VRF\QosPolicy|null

hasQosPolicy

clearQosPolicy

setQosPolicy

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.

Parameter
Name Description
var Google\Cloud\BareMetalSolution\V2\VRF\QosPolicy
Returns
Type Description
$this

getVlanAttachments

The list of VLAN attachments for the VRF.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setVlanAttachments

The list of VLAN attachments for the VRF.

Parameter
Name Description
var array<Google\Cloud\BareMetalSolution\V2\VRF\VlanAttachment>
Returns
Type Description
$this