Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::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
def vpc() -> ::String
Returns
-
(::String) — Required. Fully qualified name of the VPC that Datastream will peer to.
Format:
projects/{project}/global/{networks}/{name}
#vpc=
def vpc=(value) -> ::String
Parameter
-
value (::String) — Required. Fully qualified name of the VPC that Datastream will peer to.
Format:
projects/{project}/global/{networks}/{name}
Returns
-
(::String) — Required. Fully qualified name of the VPC that Datastream will peer to.
Format:
projects/{project}/global/{networks}/{name}