Google Cloud Dms V1 Client - Class VpcPeeringConnectivity (1.1.0)

Reference documentation and code samples for the Google Cloud Dms V1 Client class VpcPeeringConnectivity.

The details of the VPC where the source database is located in Google Cloud.

We will use this information to set up the VPC peering connection between Cloud SQL and this VPC.

Generated from protobuf message google.cloud.clouddms.v1.VpcPeeringConnectivity

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ vpc string

The name of the VPC network to peer with the Cloud SQL private network.

getVpc

The name of the VPC network to peer with the Cloud SQL private network.

Returns
TypeDescription
string

setVpc

The name of the VPC network to peer with the Cloud SQL private network.

Parameter
NameDescription
var string
Returns
TypeDescription
$this