# Google Cloud Migration Center V1 Client - Class SizingOptimizationStrategy (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class SizingOptimizationStrategy.

The sizing optimization strategy preferences of a virtual machine. This
strategy, in addition to actual usage data of the virtual machine, can help
determine the recommended shape on the target platform.

Protobuf type `google.cloud.migrationcenter.v1.SizingOptimizationStrategy`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED

    Value: 0

Unspecified (default value).

Generated from protobuf enum `SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED = 0;`

### SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE

    Value: 1

No optimization applied. Virtual machine sizing matches as closely as
possible the machine shape on the source site, not considering any actual
performance data.

Generated from protobuf enum `SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE = 1;`

### SIZING_OPTIMIZATION_STRATEGY_MODERATE

    Value: 2

Virtual machine sizing will match the reported usage and shape, with some
slack. This a good value to start with.

Generated from protobuf enum `SIZING_OPTIMIZATION_STRATEGY_MODERATE = 2;`

### SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE

    Value: 3

Virtual machine sizing will match the reported usage, with little slack.

Using this option can help reduce costs.

Generated from protobuf enum `SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE = 3;`