Google Cloud Dms V1 Client - Class VpcPeeringConfig (2.0.0-RC1)

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
Name Description
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
Type Description
string

setVpcName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getSubnet

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

Returns
Type Description
string

setSubnet

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

Parameter
Name Description
var string
Returns
Type Description
$this