Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::PostgresqlProfile.
PostgreSQL database profile.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#database
def database() -> ::String Returns
- (::String) — Required. Database for the PostgreSQL connection.
#database=
def database=(value) -> ::String Parameter
- value (::String) — Required. Database for the PostgreSQL connection.
Returns
- (::String) — Required. Database for the PostgreSQL connection.
#hostname
def hostname() -> ::String Returns
- (::String) — Required. Hostname for the PostgreSQL connection.
#hostname=
def hostname=(value) -> ::String Parameter
- value (::String) — Required. Hostname for the PostgreSQL connection.
Returns
- (::String) — Required. Hostname for the PostgreSQL connection.
#password
def password() -> ::String Returns
- (::String) — Optional. Password for the PostgreSQL connection. Mutually exclusive with the
secret_manager_stored_passwordfield.
#password=
def password=(value) -> ::String Parameter
- value (::String) — Optional. Password for the PostgreSQL connection. Mutually exclusive with the
secret_manager_stored_passwordfield.
Returns
- (::String) — Optional. Password for the PostgreSQL connection. Mutually exclusive with the
secret_manager_stored_passwordfield.
#port
def port() -> ::Integer Returns
- (::Integer) — Port for the PostgreSQL connection, default value is 5432.
#port=
def port=(value) -> ::Integer Parameter
- value (::Integer) — Port for the PostgreSQL connection, default value is 5432.
Returns
- (::Integer) — Port for the PostgreSQL connection, default value is 5432.
#ssl_config
def ssl_config() -> ::Google::Cloud::Datastream::V1::PostgresqlSslConfig Returns
- (::Google::Cloud::Datastream::V1::PostgresqlSslConfig) — 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)
#ssl_config=
def ssl_config=(value) -> ::Google::Cloud::Datastream::V1::PostgresqlSslConfig Parameter
- value (::Google::Cloud::Datastream::V1::PostgresqlSslConfig) — 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)
Returns
- (::Google::Cloud::Datastream::V1::PostgresqlSslConfig) — 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)
#username
def username() -> ::String Returns
- (::String) — Required. Username for the PostgreSQL connection.
#username=
def username=(value) -> ::String Parameter
- value (::String) — Required. Username for the PostgreSQL connection.
Returns
- (::String) — Required. Username for the PostgreSQL connection.