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

Various properties and settings associated with Exadata database server.

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

## Namespace

Google \\ Cloud \\ OracleDatabase \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ ocid` | `string` Output only. OCID of database server. |
| `↳ ocpu_count` | `int` Optional. OCPU count per database. |
| `↳ max_ocpu_count` | `int` Optional. Maximum OCPU count per database. |
| `↳ memory_size_gb` | `int` Optional. Memory allocated in GBs. |
| `↳ max_memory_size_gb` | `int` Optional. Maximum memory allocated in GBs. |
| `↳ db_node_storage_size_gb` | `int` Optional. Local storage per VM. |
| `↳ max_db_node_storage_size_gb` | `int` Optional. Maximum local storage per VM. |
| `↳ vm_count` | `int` Optional. Vm count per database. |
| `↳ state` | `int` Output only. State of the database server. |
| `↳ db_node_ids` | `string[]` Output only. OCID of database nodes associated with the database server. |

### getOcid

Output only. OCID of database server.

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

### setOcid

Output only. OCID of database server.

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

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

### getOcpuCount

Optional. OCPU count per database.

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

### setOcpuCount

Optional. OCPU count per database.

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

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

### getMaxOcpuCount

Optional. Maximum OCPU count per database.

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

### setMaxOcpuCount

Optional. Maximum OCPU count per database.

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

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

### getMemorySizeGb

Optional. Memory allocated in GBs.

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

### setMemorySizeGb

Optional. Memory allocated in GBs.

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

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

### getMaxMemorySizeGb

Optional. Maximum memory allocated in GBs.

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

### setMaxMemorySizeGb

Optional. Maximum memory allocated in GBs.

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

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

### getDbNodeStorageSizeGb

Optional. Local storage per VM.

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

### setDbNodeStorageSizeGb

Optional. Local storage per VM.

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

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

### getMaxDbNodeStorageSizeGb

Optional. Maximum local storage per VM.

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

### setMaxDbNodeStorageSizeGb

Optional. Maximum local storage per VM.

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

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

### getVmCount

Optional. Vm count per database.

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

### setVmCount

Optional. Vm count per database.

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

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

### getState

Output only. State of the database server.

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

### setState

Output only. State of the database server.

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

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

### getDbNodeIds

Output only. OCID of database nodes associated with the database server.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setDbNodeIds

Output only. OCID of database nodes associated with the database server.

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

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