Google Cloud Network Connectivity V1 Client - Class RouterApplianceInstance (1.2.0)

Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class RouterApplianceInstance.

A router appliance instance is a Compute Engine virtual machine (VM) instance that acts as a BGP speaker. A router appliance instance is specified by the URI of the VM and the internal IP address of one of the VM's network interfaces.

Generated from protobuf message google.cloud.networkconnectivity.v1.RouterApplianceInstance

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ virtual_machine string

The URI of the VM.

↳ ip_address string

The IP address on the VM to use for peering.

getVirtualMachine

The URI of the VM.

Returns
TypeDescription
string

setVirtualMachine

The URI of the VM.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIpAddress

The IP address on the VM to use for peering.

Returns
TypeDescription
string

setIpAddress

The IP address on the VM to use for peering.

Parameter
NameDescription
var string
Returns
TypeDescription
$this