1.2.4 (latest) 1.2.3 1.1.1 1.0.4 0.11.5 0.10.2 0.9.0 0.8.1 0.7.0 0.6.1 0.5.1 0.4.1

> [!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 Dataproc Metastore V1alpha Client class ScalingConfig.

Represents the scaling configuration of a metastore service.

Generated from protobuf message `google.cloud.metastore.v1alpha.ScalingConfig`

## Namespace

Google \\ Cloud \\ Metastore \\ V1alpha

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ instance_size` | `int` An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) |
| `↳ scaling_factor` | `float` Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0. |

### getInstanceSize

An enum of readable instance sizes, with each instance size mapping to a
float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [InstanceSize](https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1alpha.ScalingConfig.InstanceSize). |

### hasInstanceSize

### setInstanceSize

An enum of readable instance sizes, with each instance size mapping to a
float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [InstanceSize](https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1alpha.ScalingConfig.InstanceSize). |

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

### getScalingFactor

Scaling factor, increments of 0.1 for values less than 1.0, and
increments of 1.0 for values greater than 1.0.

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

### hasScalingFactor

### setScalingFactor

Scaling factor, increments of 0.1 for values less than 1.0, and
increments of 1.0 for values greater than 1.0.

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

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

### getScalingModel

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