# Datastream V1alpha1 API - Class Google::Cloud::Datastream::V1alpha1::VpcPeeringConfig (v0.14.0)

0.14.0 (latest) 0.13.1 0.12.0 0.11.1 0.10.1 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Datastream V1alpha1 API class Google::Cloud::Datastream::V1alpha1::VpcPeeringConfig.

The VPC Peering configuration is used to create VPC peering between
Datastream and 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 Datastream will peer to.

### #vpc_name=

    def vpc_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. fully qualified name of the VPC Datastream will peer to.
**Returns**

- (::String) --- Required. fully qualified name of the VPC Datastream will peer to.