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

Various properties and settings associated with Db node.

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

## 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 node. |
| `↳ ocpu_count` | `int` Optional. OCPU count per database node. |
| `↳ memory_size_gb` | `int` Memory allocated in GBs. |
| `↳ db_node_storage_size_gb` | `int` Optional. Local storage per database node. |
| `↳ db_server_ocid` | `string` Optional. Database server OCID. |
| `↳ hostname` | `string` Optional. DNS |
| `↳ state` | `int` Output only. State of the database node. |
| `↳ total_cpu_core_count` | `int` Total CPU core count of the database node. |
| `↳ create_time` | `Google\Protobuf\Timestamp` Output only. The date and time that the database node was created. |

### getOcid

Output only. OCID of database node.

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

### setOcid

Output only. OCID of database node.

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

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

### getOcpuCount

Optional. OCPU count per database node.

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

### setOcpuCount

Optional. OCPU count per database node.

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

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

### getMemorySizeGb

Memory allocated in GBs.

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

### setMemorySizeGb

Memory allocated in GBs.

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

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

### getDbNodeStorageSizeGb

Optional. Local storage per database node.

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

### setDbNodeStorageSizeGb

Optional. Local storage per database node.

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

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

### getDbServerOcid

Optional. Database server OCID.

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

### setDbServerOcid

Optional. Database server OCID.

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

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

### getHostname

Optional. DNS

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

### setHostname

Optional. DNS

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

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

### getState

Output only. State of the database node.

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

### setState

Output only. State of the database node.

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

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

### getTotalCpuCoreCount

Total CPU core count of the database node.

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

### setTotalCpuCoreCount

Total CPU core count of the database node.

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

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

### getCreateTime

Output only. The date and time that the database node was created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. The date and time that the database node was created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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