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;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Migration Center V1 Client - Class SizingOptimizationStrategy (1.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.2 (latest)](/php/docs/reference/cloud-migrationcenter/latest/V1.SizingOptimizationStrategy)\n- [1.1.1](/php/docs/reference/cloud-migrationcenter/1.1.1/V1.SizingOptimizationStrategy)\n- [1.0.3](/php/docs/reference/cloud-migrationcenter/1.0.3/V1.SizingOptimizationStrategy)\n- [0.4.5](/php/docs/reference/cloud-migrationcenter/0.4.5/V1.SizingOptimizationStrategy)\n- [0.3.1](/php/docs/reference/cloud-migrationcenter/0.3.1/V1.SizingOptimizationStrategy)\n- [0.2.0](/php/docs/reference/cloud-migrationcenter/0.2.0/V1.SizingOptimizationStrategy)\n- [0.1.0](/php/docs/reference/cloud-migrationcenter/0.1.0/V1.SizingOptimizationStrategy) \nReference documentation and code samples for the Google Cloud Migration Center V1 Client class SizingOptimizationStrategy.\n\nThe sizing optimization strategy preferences of a virtual machine. This\nstrategy, in addition to actual usage data of the virtual machine, can help\ndetermine the recommended shape on the target platform.\n\nProtobuf type `google.cloud.migrationcenter.v1.SizingOptimizationStrategy`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ MigrationCenter \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED\n\n Value: 0\n\nUnspecified (default value).\n\nGenerated from protobuf enum `SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED = 0;`\n\n### SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE\n\n Value: 1\n\nNo optimization applied. Virtual machine sizing matches as closely as\npossible the machine shape on the source site, not considering any actual\nperformance data.\n\nGenerated from protobuf enum `SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE = 1;`\n\n### SIZING_OPTIMIZATION_STRATEGY_MODERATE\n\n Value: 2\n\nVirtual machine sizing will match the reported usage and shape, with some\nslack. This a good value to start with.\n\nGenerated from protobuf enum `SIZING_OPTIMIZATION_STRATEGY_MODERATE = 2;`\n\n### SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE\n\n Value: 3\n\nVirtual machine sizing will match the reported usage, with little slack.\n\nUsing this option can help reduce costs.\n\nGenerated from protobuf enum `SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE = 3;`"]]