# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::VpcPeeringConfig (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.2 1.1.0 1.0.1 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.5 Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::VpcPeeringConfig.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #subnet

    def subnet() -> ::String

**Returns**

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

### #subnet=

    def subnet=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. A free subnet for peering. (CIDR of /29)
**Returns**

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

### #vpc_name

    def vpc_name() -> ::String

**Returns**

- (::String) --- Required. Fully qualified name of the VPC that Database Migration Service will peer to.

### #vpc_name=

    def vpc_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Fully qualified name of the VPC that Database Migration Service will peer to.
**Returns**

- (::String) --- Required. Fully qualified name of the VPC that Database Migration Service will peer to.