Google Cloud Backup Dr V1 Client - Class NetworkConfig (0.4.2)

Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class NetworkConfig.

Network configuration for ManagementServer instance.

Generated from protobuf message google.cloud.backupdr.v1.NetworkConfig

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ network string

Optional. The resource name of the Google Compute Engine VPC network to which the ManagementServer instance is connected.

↳ peering_mode int

Optional. The network connect mode of the ManagementServer instance. For this version, only PRIVATE_SERVICE_ACCESS is supported.

getNetwork

Optional. The resource name of the Google Compute Engine VPC network to which the ManagementServer instance is connected.

Returns
Type Description
string

setNetwork

Optional. The resource name of the Google Compute Engine VPC network to which the ManagementServer instance is connected.

Parameter
Name Description
var string
Returns
Type Description
$this

getPeeringMode

Optional. The network connect mode of the ManagementServer instance. For this version, only PRIVATE_SERVICE_ACCESS is supported.

Returns
Type Description
int

setPeeringMode

Optional. The network connect mode of the ManagementServer instance. For this version, only PRIVATE_SERVICE_ACCESS is supported.

Parameter
Name Description
var int
Returns
Type Description
$this