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_password
field.
#password=
def password=(value) -> ::String
Parameter
-
value (::String) — Optional. Password for the PostgreSQL connection. Mutually exclusive with
the
secret_manager_stored_password
field.
Returns
-
(::String) — Optional. Password for the PostgreSQL connection. Mutually exclusive with
the
secret_manager_stored_password
field.
#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.
#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.