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 \ VRFMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
int|string |
|
setPeerVlanId
The peer vlan ID of the attachment.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPeerIp
The peer IP of the attachment.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPeerIp
The peer IP of the attachment.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRouterIp
The router IP of the attachment.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRouterIp
The router IP of the attachment.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|