2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.0 2.1.1 2.0.1 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Datastream V1 Client class OracleAsmConfig.

Configuration for Oracle Automatic Storage Management (ASM) connection.

Generated from protobuf message `google.cloud.datastream.v1.OracleAsmConfig`

## Namespace

Google \\ Cloud \\ Datastream \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ hostname` | `string` Required. Hostname for the Oracle ASM connection. |
| `↳ port` | `int` Required. Port for the Oracle ASM connection. |
| `↳ username` | `string` Required. Username for the Oracle ASM connection. |
| `↳ password` | `string` Optional. Password for the Oracle ASM connection. Mutually exclusive with the `secret_manager_stored_password` field. |
| `↳ asm_service` | `string` Required. ASM service name for the Oracle ASM connection. |
| `↳ connection_attributes` | `array|Google\Protobuf\Internal\MapField` Optional. Connection string attributes |
| `↳ oracle_ssl_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.OracleSslConfig` Optional. SSL configuration for the Oracle connection. |
| `↳ secret_manager_stored_password` | `string` Optional. A reference to a Secret Manager resource name storing the Oracle ASM connection password. Mutually exclusive with the `password` field. |

### getHostname

Required. Hostname for the Oracle ASM connection.

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

### setHostname

Required. Hostname for the Oracle ASM connection.

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

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

### getPort

Required. Port for the Oracle ASM connection.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPort

Required. Port for the Oracle ASM connection.

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

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

### getUsername

Required. Username for the Oracle ASM connection.

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

### setUsername

Required. Username for the Oracle ASM connection.

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

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

### getPassword

Optional. Password for the Oracle ASM connection. Mutually exclusive with
the `secret_manager_stored_password` field.

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

### setPassword

Optional. Password for the Oracle ASM connection. Mutually exclusive with
the `secret_manager_stored_password` field.

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

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

### getAsmService

Required. ASM service name for the Oracle ASM connection.

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

### setAsmService

Required. ASM service name for the Oracle ASM connection.

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

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

### getConnectionAttributes

Optional. Connection string attributes

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Internal\MapField` |   |

### setConnectionAttributes

Optional. Connection string attributes

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|Google\Protobuf\Internal\MapField` |

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

### getOracleSslConfig

Optional. SSL configuration for the Oracle connection.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.OracleSslConfig|null` |   |

### hasOracleSslConfig

### clearOracleSslConfig

### setOracleSslConfig

Optional. SSL configuration for the Oracle connection.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.OracleSslConfig` |

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

### getSecretManagerStoredPassword

Optional. A reference to a Secret Manager resource name storing the Oracle
ASM connection password. Mutually exclusive with the `password` field.

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

### setSecretManagerStoredPassword

Optional. A reference to a Secret Manager resource name storing the Oracle
ASM connection password. Mutually exclusive with the `password` field.

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

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