Google Cloud Datastream V1 Client - Class VpcPeeringConfig (1.5.5)

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

setVpc

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

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

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