Google Cloud Network Connectivity V1 Client - Class RouterApplianceInstance (2.1.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
Name Description
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
Type Description
string

setVirtualMachine

The URI of the VM.

Parameter
Name Description
var string
Returns
Type Description
$this

getIpAddress

The IP address on the VM to use for peering.

Returns
Type Description
string

setIpAddress

The IP address on the VM to use for peering.

Parameter
Name Description
var string
Returns
Type Description
$this