Google Cloud Dms V1 Client - Class VpcPeeringConfig (1.3.0)

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

The VPC peering configuration is used to create VPC peering with the consumer's VPC.

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

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ vpc_name string

Required. Fully qualified name of the VPC that Database Migration Service will peer to.

↳ subnet string

Required. A free subnet for peering. (CIDR of /29)

getVpcName

Required. Fully qualified name of the VPC that Database Migration Service will peer to.

Returns
TypeDescription
string

setVpcName

Required. Fully qualified name of the VPC that Database Migration Service will peer to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSubnet

Required. A free subnet for peering. (CIDR of /29)

Returns
TypeDescription
string

setSubnet

Required. A free subnet for peering. (CIDR of /29)

Parameter
NameDescription
var string
Returns
TypeDescription
$this