Google Cloud Datastream V1 Client - Class VpcPeeringConfig (1.2.1)

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

The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC.

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

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ vpc string

Required. Fully qualified name of the VPC that Datastream will peer to. Format: projects/{project}/global/{networks}/{name}

↳ subnet string

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

getVpc

Required. Fully qualified name of the VPC that Datastream will peer to.

Format: projects/{project}/global/{networks}/{name}

Returns
TypeDescription
string

setVpc

Required. Fully qualified name of the VPC that Datastream will peer to.

Format: projects/{project}/global/{networks}/{name}

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