0.14.0 (latest) 0.13.0 0.12.3 0.9.0 0.8.2 0.7.1 0.6.1 0.4.1 0.3.0 0.2.1 0.1.2 Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class GoldengateElasticsearchConnectionProperties.

The properties of GoldengateElasticsearchConnection.

Generated from protobuf message `google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties`

## Namespace

Google \\ Cloud \\ OracleDatabase \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ password` | `string` Optional. Input only. The password Oracle Goldengate uses for Elastic Search connection in plain text. |
| `↳ password_secret_version` | `string` Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Elastic Search connection. Format: projects/{project}/secrets/{secret}/versions/{version}. |
| `↳ technology_type` | `string` Optional. The technology type of ElasticsearchConnection. |
| `↳ servers` | `string` Optional. Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Example: "server1.example.com:4000,server2.example.com:4000" |
| `↳ security_protocol` | `int` Optional. Security protocol for Elasticsearch. |
| `↳ authentication_type` | `int` Optional. Authentication type for Elasticsearch. |
| `↳ username` | `string` Optional. The username Oracle Goldengate uses to connect the associated system of the given technology. |
| `↳ fingerprint` | `string` Optional. Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c' |

### getPassword

Optional. Input only. The password Oracle Goldengate uses for Elastic
Search connection in plain text.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasPassword

### setPassword

Optional. Input only. The password Oracle Goldengate uses for Elastic
Search connection in plain text.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPasswordSecretVersion

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasPasswordSecretVersion

### setPasswordSecretVersion

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTechnologyType

Optional. The technology type of ElasticsearchConnection.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setTechnologyType

Optional. The technology type of ElasticsearchConnection.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getServers

Optional. Comma separated list of Elasticsearch server addresses, specified
as host:port entries, where :port is optional. If port is not specified, it
defaults to 9200. Example:
"server1.example.com:4000,server2.example.com:4000"

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setServers

Optional. Comma separated list of Elasticsearch server addresses, specified
as host:port entries, where :port is optional. If port is not specified, it
defaults to 9200. Example:
"server1.example.com:4000,server2.example.com:4000"

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSecurityProtocol

Optional. Security protocol for Elasticsearch.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ElasticsearchSecurityProtocol](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocol). |

### setSecurityProtocol

Optional. Security protocol for Elasticsearch.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ElasticsearchSecurityProtocol](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocol). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAuthenticationType

Optional. Authentication type for Elasticsearch.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ElasticsearchAuthenticationType](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationType). |

### setAuthenticationType

Optional. Authentication type for Elasticsearch.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ElasticsearchAuthenticationType](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUsername

Optional. The username Oracle Goldengate uses to connect the associated
system of the given technology.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setUsername

Optional. The username Oracle Goldengate uses to connect the associated
system of the given technology.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFingerprint

Optional. Fingerprint required by TLS security protocol.

Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c'

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setFingerprint

Optional. Fingerprint required by TLS security protocol.

Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c'

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getConnectionPasswordOptions

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |