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

Details of the Database character set resource.

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

## Namespace

Google \\ Cloud \\ OracleDatabase \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The name of the Database Character Set resource in the following format: projects/{project}/locations/{region}/databaseCharacterSets/{database_character_set} |
| `↳ character_set_type` | `int` Output only. The character set type for the Database. |
| `↳ character_set` | `string` Output only. The character set name for the Database which is the ID in the resource name. |

### getName

Identifier. The name of the Database Character Set resource in the
following format:
projects/{project}/locations/{region}/databaseCharacterSets/{database_character_set}

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

### setName

Identifier. The name of the Database Character Set resource in the
following format:
projects/{project}/locations/{region}/databaseCharacterSets/{database_character_set}

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

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

### getCharacterSetType

Output only. The character set type for the Database.

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

### setCharacterSetType

Output only. The character set type for the Database.

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

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

### getCharacterSet

Output only. The character set name for the Database which is the ID in the
resource name.

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

### setCharacterSet

Output only. The character set name for the Database which is the ID in the
resource name.

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

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