DataStream v1 API - Class PostgresqlProfile (2.9.0)

public sealed class PostgresqlProfile : IMessage<PostgresqlProfile>, IEquatable<PostgresqlProfile>, IDeepCloneable<PostgresqlProfile>, IBufferMessage, IMessage

Reference documentation and code samples for the DataStream v1 API class PostgresqlProfile.

PostgreSQL database profile.

Inheritance

object > PostgresqlProfile

Namespace

Google.Cloud.Datastream.V1

Assembly

Google.Cloud.Datastream.V1.dll

Constructors

PostgresqlProfile()

public PostgresqlProfile()

PostgresqlProfile(PostgresqlProfile)

public PostgresqlProfile(PostgresqlProfile other)
Parameter
Name Description
other PostgresqlProfile

Properties

Database

public string Database { get; set; }

Required. Database for the PostgreSQL connection.

Property Value
Type Description
string

Hostname

public string Hostname { get; set; }

Required. Hostname for the PostgreSQL connection.

Property Value
Type Description
string

Password

public string Password { get; set; }

Optional. Password for the PostgreSQL connection. Mutually exclusive with the secret_manager_stored_password field.

Property Value
Type Description
string

Port

public int Port { get; set; }

Port for the PostgreSQL connection, default value is 5432.

Property Value
Type Description
int

SslConfig

public PostgresqlSslConfig SslConfig { get; set; }

Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is prefer (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)

Property Value
Type Description
PostgresqlSslConfig

Username

public string Username { get; set; }

Required. Username for the PostgreSQL connection.

Property Value
Type Description
string