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 DatabaseConnectionStringProfile.

The connection string profile to allow clients to group.

<https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DatabaseConnectionStringProfile>

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

## Namespace

Google \\ Cloud \\ OracleDatabase \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ consumer_group` | `int` Output only. The current consumer group being used by the connection. |
| `↳ display_name` | `string` Output only. The display name for the database connection. |
| `↳ host_format` | `int` Output only. The host name format being currently used in connection string. |
| `↳ is_regional` | `bool` Output only. This field indicates if the connection string is regional and is only applicable for cross-region Data Guard. |
| `↳ protocol` | `int` Output only. The protocol being used by the connection. |
| `↳ session_mode` | `int` Output only. The current session mode of the connection. |
| `↳ syntax_format` | `int` Output only. The syntax of the connection string. |
| `↳ tls_authentication` | `int` Output only. This field indicates the TLS authentication type of the connection. |
| `↳ value` | `string` Output only. The value of the connection string. |

### getConsumerGroup

Output only. The current consumer group being used by the connection.

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

### setConsumerGroup

Output only. The current consumer group being used by the connection.

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

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

### getDisplayName

Output only. The display name for the database connection.

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

### setDisplayName

Output only. The display name for the database connection.

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

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

### getHostFormat

Output only. The host name format being currently used in connection
string.

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

### setHostFormat

Output only. The host name format being currently used in connection
string.

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

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

### getIsRegional

Output only. This field indicates if the connection string is regional and
is only applicable for cross-region Data Guard.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setIsRegional

Output only. This field indicates if the connection string is regional and
is only applicable for cross-region Data Guard.

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

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

### getProtocol

Output only. The protocol being used by the connection.

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

### setProtocol

Output only. The protocol being used by the connection.

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

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

### getSessionMode

Output only. The current session mode of the connection.

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

### setSessionMode

Output only. The current session mode of the connection.

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

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

### getSyntaxFormat

Output only. The syntax of the connection string.

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

### setSyntaxFormat

Output only. The syntax of the connection string.

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

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

### getTlsAuthentication

Output only. This field indicates the TLS authentication type of the
connection.

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

### setTlsAuthentication

Output only. This field indicates the TLS authentication type of the
connection.

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

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

### getValue

Output only. The value of the connection string.

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

### setValue

Output only. The value of the connection string.

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

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