Google Cloud Network Connectivity V1 Client - Class LinkedRouterApplianceInstances (1.4.2)

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

A collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke.

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

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instances array<Google\Cloud\NetworkConnectivity\V1\RouterApplianceInstance>

The list of router appliance instances.

↳ site_to_site_data_transfer bool

A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.

↳ vpc_network string

Output only. The VPC network where these router appliance instances are located.

getInstances

The list of router appliance instances.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInstances

The list of router appliance instances.

Parameter
NameDescription
var array<Google\Cloud\NetworkConnectivity\V1\RouterApplianceInstance>
Returns
TypeDescription
$this

getSiteToSiteDataTransfer

A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.

Returns
TypeDescription
bool

setSiteToSiteDataTransfer

A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getVpcNetwork

Output only. The VPC network where these router appliance instances are located.

Returns
TypeDescription
string

setVpcNetwork

Output only. The VPC network where these router appliance instances are located.

Parameter
NameDescription
var string
Returns
TypeDescription
$this