Google Cloud Datastream V1 Client - Class PostgresqlProfile (1.0.5)

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

PostgreSQL database profile.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ hostname string

Required. Hostname for the PostgreSQL connection.

↳ port int

Port for the PostgreSQL connection, default value is 5432.

↳ username string

Required. Username for the PostgreSQL connection.

↳ password string

Required. Password for the PostgreSQL connection.

↳ database string

Required. Database for the PostgreSQL connection.

getHostname

Required. Hostname for the PostgreSQL connection.

Returns
TypeDescription
string

setHostname

Required. Hostname for the PostgreSQL connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPort

Port for the PostgreSQL connection, default value is 5432.

Returns
TypeDescription
int

setPort

Port for the PostgreSQL connection, default value is 5432.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getUsername

Required. Username for the PostgreSQL connection.

Returns
TypeDescription
string

setUsername

Required. Username for the PostgreSQL connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPassword

Required. Password for the PostgreSQL connection.

Returns
TypeDescription
string

setPassword

Required. Password for the PostgreSQL connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDatabase

Required. Database for the PostgreSQL connection.

Returns
TypeDescription
string

setDatabase

Required. Database for the PostgreSQL connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this