# Google Cloud Database Center V1beta Client - Class MachineConfig (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.1 0.3.1 0.2.0 0.1.0

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class MachineConfig.

MachineConfig describes the configuration of a machine specific to a Database
Resource.

Generated from protobuf message `google.cloud.databasecenter.v1beta.MachineConfig`

## Namespace

Google \\ Cloud \\ DatabaseCenter \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ memory_size_bytes` | `int|string` Memory size in bytes. |
| `↳ shard_count` | `int` Optional. The number of Shards (if applicable). |
| `↳ vcpu_count` | `float` Optional. The number of vCPUs (if applicable). |
| `↳ baseline_slot_count` | `int|string` Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50. |
| `↳ max_reservation_slot_count` | `int|string` Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50. |

### getMemorySizeBytes

Memory size in bytes.

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

### setMemorySizeBytes

Memory size in bytes.

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

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

### getShardCount

Optional. The number of Shards (if applicable).

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

### hasShardCount

### clearShardCount

### setShardCount

Optional. The number of Shards (if applicable).

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

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

### getVcpuCount

Optional. The number of vCPUs (if applicable).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### hasVcpuCount

### clearVcpuCount

### setVcpuCount

Optional. The number of vCPUs (if applicable).

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

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

### getBaselineSlotCount

Optional. Baseline slots for BigQuery Reservations. Baseline slots are in
increments of 50.

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

### hasBaselineSlotCount

### clearBaselineSlotCount

### setBaselineSlotCount

Optional. Baseline slots for BigQuery Reservations. Baseline slots are in
increments of 50.

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

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

### getMaxReservationSlotCount

Optional. Max slots for BigQuery Reservations. Max slots are in increments
of 50.

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

### hasMaxReservationSlotCount

### clearMaxReservationSlotCount

### setMaxReservationSlotCount

Optional. Max slots for BigQuery Reservations. Max slots are in increments
of 50.

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

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