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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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.

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

The list of VLAN attachments for the VRF.

getName

The name of the VRF.

Returns
TypeDescription
string

setName

The name of the VRF.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

The possible state of VRF.

Returns
TypeDescription
int

setState

The possible state of VRF.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getQosPolicy

The QOS policy applied to this VRF.

Returns
TypeDescription
Google\Cloud\BareMetalSolution\V2\VRF\QosPolicy|null

hasQosPolicy

clearQosPolicy

setQosPolicy

The QOS policy applied to this VRF.

Parameter
NameDescription
var Google\Cloud\BareMetalSolution\V2\VRF\QosPolicy
Returns
TypeDescription
$this

getVlanAttachments

The list of VLAN attachments for the VRF.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setVlanAttachments

The list of VLAN attachments for the VRF.

Parameter
NameDescription
var array<Google\Cloud\BareMetalSolution\V2\VRF\VlanAttachment>
Returns
TypeDescription
$this