Google Cloud Datastream V1 Client - Class PostgresqlSourceConfig (1.0.5)

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

PostgreSQL data source configuration

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ include_objects Google\Cloud\Datastream\V1\PostgresqlRdbms

PostgreSQL objects to include in the stream.

↳ exclude_objects Google\Cloud\Datastream\V1\PostgresqlRdbms

PostgreSQL objects to exclude from the stream.

↳ replication_slot string

Required. The name of the logical replication slot that's configured with the pgoutput plugin.

↳ publication string

Required. The name of the publication that includes the set of all tables that are defined in the stream's include_objects.

getIncludeObjects

PostgreSQL objects to include in the stream.

Returns
TypeDescription
Google\Cloud\Datastream\V1\PostgresqlRdbms|null

hasIncludeObjects

clearIncludeObjects

setIncludeObjects

PostgreSQL objects to include in the stream.

Parameter
NameDescription
var Google\Cloud\Datastream\V1\PostgresqlRdbms
Returns
TypeDescription
$this

getExcludeObjects

PostgreSQL objects to exclude from the stream.

Returns
TypeDescription
Google\Cloud\Datastream\V1\PostgresqlRdbms|null

hasExcludeObjects

clearExcludeObjects

setExcludeObjects

PostgreSQL objects to exclude from the stream.

Parameter
NameDescription
var Google\Cloud\Datastream\V1\PostgresqlRdbms
Returns
TypeDescription
$this

getReplicationSlot

Required. The name of the logical replication slot that's configured with the pgoutput plugin.

Returns
TypeDescription
string

setReplicationSlot

Required. The name of the logical replication slot that's configured with the pgoutput plugin.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPublication

Required. The name of the publication that includes the set of all tables that are defined in the stream's include_objects.

Returns
TypeDescription
string

setPublication

Required. The name of the publication that includes the set of all tables that are defined in the stream's include_objects.

Parameter
NameDescription
var string
Returns
TypeDescription
$this