Google Cloud Bare Metal Solution V2 Client - Class VlanAttachment (0.5.2)

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

VLAN attachment details.

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

Namespace

Google \ Cloud \ BareMetalSolution \ V2 \ VRF

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ peer_vlan_id int|string

The peer vlan ID of the attachment.

↳ peer_ip string

The peer IP of the attachment.

↳ router_ip string

The router IP of the attachment.

↳ pairing_key string

Input only. Pairing key.

↳ qos_policy Google\Cloud\BareMetalSolution\V2\VRF\QosPolicy

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
TypeDescription
int|string

setPeerVlanId

The peer vlan ID of the attachment.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getPeerIp

The peer IP of the attachment.

Returns
TypeDescription
string

setPeerIp

The peer IP of the attachment.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRouterIp

The router IP of the attachment.

Returns
TypeDescription
string

setRouterIp

The router IP of the attachment.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPairingKey

Input only. Pairing key.

Returns
TypeDescription
string

setPairingKey

Input only. Pairing key.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getQosPolicy

The QOS policy applied to this VLAN attachment.

This value should be preferred to using qos at vrf level.

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

hasQosPolicy

clearQosPolicy

setQosPolicy

The QOS policy applied to this VLAN attachment.

This value should be preferred to using qos at vrf level.

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

getId

Immutable. The identifier of the attachment within vrf.

Returns
TypeDescription
string

setId

Immutable. The identifier of the attachment within vrf.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
string

setInterconnectAttachment

Optional. The name of the vlan attachment within vrf. This is of the form projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}

Parameter
NameDescription
var string
Returns
TypeDescription
$this