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
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setVpc
The name of the VPC network to peer with the Cloud SQL private network.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |