public sealed class PostgresqlProfile : IMessage<PostgresqlProfile>, IEquatable<PostgresqlProfile>, IDeepCloneable<PostgresqlProfile>, IBufferMessage, IMessage
Reference documentation and code samples for the DataStream v1 API class PostgresqlProfile.
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)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePostgresqlProfile\u003c/code\u003e class in the Google.Cloud.Datastream.V1 API is used to define a profile for connecting to a PostgreSQL database.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003ePostgresqlProfile\u003c/code\u003e is 2.9.0, with multiple previous versions available, ranging back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003ePostgresqlProfile\u003c/code\u003e class include \u003ccode\u003eDatabase\u003c/code\u003e, \u003ccode\u003eHostname\u003c/code\u003e, \u003ccode\u003ePassword\u003c/code\u003e, \u003ccode\u003ePort\u003c/code\u003e, \u003ccode\u003eSslConfig\u003c/code\u003e, and \u003ccode\u003eUsername\u003c/code\u003e, allowing configuration of various aspects of the PostgreSQL connection.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePostgresqlProfile\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, defining how it can be used.\u003c/p\u003e\n"],["\u003cp\u003eThe default port for the PostgreSQL connection is 5432, and SSL configuration can be optionally specified through the \u003ccode\u003eSslConfig\u003c/code\u003e property, defaulting to \u003ccode\u003eprefer\u003c/code\u003e mode if not set.\u003c/p\u003e\n"]]],[],null,[]]