# Oracle Database@Google Cloud V1 API - Class Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties (v0.15.0)

0.15.0 (latest) 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Oracle Database@Google Cloud V1 API class Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties.

The properties of GoldengatePostgresqlConnection.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #additional_attributes

    def additional_attributes() -> ::Array<::Google::Cloud::OracleDatabase::V1::NameValuePair>

**Returns**

- (::Array\<[::Google::Cloud::OracleDatabase::V1::NameValuePair](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-NameValuePair)\>) --- Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.

### #additional_attributes=

    def additional_attributes=(value) -> ::Array<::Google::Cloud::OracleDatabase::V1::NameValuePair>

**Parameter**

- **value** (::Array\<[::Google::Cloud::OracleDatabase::V1::NameValuePair](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-NameValuePair)\>) --- Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.
**Returns**

- (::Array\<[::Google::Cloud::OracleDatabase::V1::NameValuePair](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-NameValuePair)\>) --- Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.

### #database

    def database() -> ::String

**Returns**

- (::String) --- Optional. The name of the database.

### #database=

    def database=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The name of the database.
**Returns**

- (::String) --- Optional. The name of the database.

### #db_system_id

    def db_system_id() -> ::String

**Returns**

- (::String) --- Optional. The OCID of the database system being referenced.

### #db_system_id=

    def db_system_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The OCID of the database system being referenced.
**Returns**

- (::String) --- Optional. The OCID of the database system being referenced.

### #host

    def host() -> ::String

**Returns**

- (::String) --- Optional. The name or address of a host.

### #host=

    def host=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The name or address of a host.
**Returns**

- (::String) --- Optional. The name or address of a host.

### #password

    def password() -> ::String

**Returns**

- (::String) --- Optional. Input only. The password Oracle Goldengate uses for PostgreSQL connection in plain text.

  Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #password=

    def password=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Input only. The password Oracle Goldengate uses for PostgreSQL connection in plain text.


  Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- Optional. Input only. The password Oracle Goldengate uses for PostgreSQL connection in plain text.

  Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #password_secret_version

    def password_secret_version() -> ::String

**Returns**

- (::String) --- Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for PostgreSQL connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

  Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #password_secret_version=

    def password_secret_version=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for PostgreSQL connection. Format: projects/{project}/secrets/{secret}/versions/{version}.


  Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for PostgreSQL connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

  Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #port

    def port() -> ::Integer

**Returns**

- (::Integer) --- Optional. The port of an endpoint usually specified for a connection.

### #port=

    def port=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. The port of an endpoint usually specified for a connection.
**Returns**

- (::Integer) --- Optional. The port of an endpoint usually specified for a connection.

### #security_protocol

    def security_protocol() -> ::Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties::PostgresqlSecurityProtocol

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties::PostgresqlSecurityProtocol](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-GoldengatePostgresqlConnectionProperties-PostgresqlSecurityProtocol)) --- Optional. Security protocol for PostgreSQL.

### #security_protocol=

    def security_protocol=(value) -> ::Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties::PostgresqlSecurityProtocol

**Parameter**

- **value** ([::Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties::PostgresqlSecurityProtocol](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-GoldengatePostgresqlConnectionProperties-PostgresqlSecurityProtocol)) --- Optional. Security protocol for PostgreSQL.
**Returns**

- ([::Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties::PostgresqlSecurityProtocol](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-GoldengatePostgresqlConnectionProperties-PostgresqlSecurityProtocol)) --- Optional. Security protocol for PostgreSQL.

### #ssl_ca_file

    def ssl_ca_file() -> ::String

**Returns**

- (::String) --- Optional. The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL.

### #ssl_ca_file=

    def ssl_ca_file=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL.
**Returns**

- (::String) --- Optional. The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL.

### #ssl_cert_file

    def ssl_cert_file() -> ::String

**Returns**

- (::String) --- Optional. The base64 encoded certificate of the PostgreSQL server.

### #ssl_cert_file=

    def ssl_cert_file=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The base64 encoded certificate of the PostgreSQL server.
**Returns**

- (::String) --- Optional. The base64 encoded certificate of the PostgreSQL server.

### #ssl_crl_file

    def ssl_crl_file() -> ::String

**Returns**

- (::String) --- Optional. The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA).

### #ssl_crl_file=

    def ssl_crl_file=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA).
**Returns**

- (::String) --- Optional. The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA).

### #ssl_key_file

    def ssl_key_file() -> ::String

**Returns**

- (::String) --- Optional. The base64 encoded private key of the PostgreSQL server.

### #ssl_key_file=

    def ssl_key_file=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The base64 encoded private key of the PostgreSQL server.
**Returns**

- (::String) --- Optional. The base64 encoded private key of the PostgreSQL server.

### #ssl_mode

    def ssl_mode() -> ::Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties::PostgresqlSslMode

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties::PostgresqlSslMode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-GoldengatePostgresqlConnectionProperties-PostgresqlSslMode)) --- Optional. SSL modes for PostgreSQL.

### #ssl_mode=

    def ssl_mode=(value) -> ::Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties::PostgresqlSslMode

**Parameter**

- **value** ([::Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties::PostgresqlSslMode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-GoldengatePostgresqlConnectionProperties-PostgresqlSslMode)) --- Optional. SSL modes for PostgreSQL.
**Returns**

- ([::Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties::PostgresqlSslMode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-GoldengatePostgresqlConnectionProperties-PostgresqlSslMode)) --- Optional. SSL modes for PostgreSQL.

### #technology_type

    def technology_type() -> ::String

**Returns**

- (::String) --- Optional. The technology type of PostgresqlConnection.

### #technology_type=

    def technology_type=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The technology type of PostgresqlConnection.
**Returns**

- (::String) --- Optional. The technology type of PostgresqlConnection.

### #username

    def username() -> ::String

**Returns**

- (::String) --- Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.

### #username=

    def username=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.
**Returns**

- (::String) --- Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.