Reference documentation and code samples for the Migration Center V1 API module Google::Cloud::MigrationCenter::V1::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.
Constants
SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED
value: 0 Unspecified (default value).
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.
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.
SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE
value: 3 Virtual machine sizing will match the reported usage, with little slack.
Using this option can help reduce costs.
[[["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-09 UTC."],[],[],null,["# Migration Center V1 API - Module Google::Cloud::MigrationCenter::V1::SizingOptimizationStrategy (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-SizingOptimizationStrategy)\n- [2.0.1](/ruby/docs/reference/google-cloud-migration_center-v1/2.0.1/Google-Cloud-MigrationCenter-V1-SizingOptimizationStrategy)\n- [1.2.0](/ruby/docs/reference/google-cloud-migration_center-v1/1.2.0/Google-Cloud-MigrationCenter-V1-SizingOptimizationStrategy)\n- [1.1.0](/ruby/docs/reference/google-cloud-migration_center-v1/1.1.0/Google-Cloud-MigrationCenter-V1-SizingOptimizationStrategy)\n- [1.0.1](/ruby/docs/reference/google-cloud-migration_center-v1/1.0.1/Google-Cloud-MigrationCenter-V1-SizingOptimizationStrategy)\n- [0.3.0](/ruby/docs/reference/google-cloud-migration_center-v1/0.3.0/Google-Cloud-MigrationCenter-V1-SizingOptimizationStrategy)\n- [0.2.2](/ruby/docs/reference/google-cloud-migration_center-v1/0.2.2/Google-Cloud-MigrationCenter-V1-SizingOptimizationStrategy)\n- [0.1.0](/ruby/docs/reference/google-cloud-migration_center-v1/0.1.0/Google-Cloud-MigrationCenter-V1-SizingOptimizationStrategy) \nReference documentation and code samples for the Migration Center V1 API module Google::Cloud::MigrationCenter::V1::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\nConstants\n---------\n\n### SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED\n\n**value:** 0 \nUnspecified (default value).\n\n### SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE\n\n**value:** 1 \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\n### SIZING_OPTIMIZATION_STRATEGY_MODERATE\n\n**value:** 2 \nVirtual machine sizing will match the reported usage and shape, with some\nslack. This a good value to start with.\n\n### SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE\n\n**value:** 3 \nVirtual machine sizing will match the reported usage, with little slack.\nUsing this option can help reduce costs."]]