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

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.

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