Google Cloud Bare Metal Solution V2 Client - Class VRF (1.0.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
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< 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

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
Returns
Type
Description
$this

getVlanAttachments

The list of VLAN attachments for the VRF.

Returns
Type
Description

setVlanAttachments

The list of VLAN attachments for the VRF.

Parameter
Name
Description
var
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: