Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::MachinePreferences.
The type of machines to consider when calculating virtual machine migration
insights and recommendations.
Not all machine types are available in all zones and regions.
value (::Array<::Google::Cloud::MigrationCenter::V1::MachineSeries>) — Compute Engine machine series to consider for insights and recommendations.
If empty, no restriction is applied on the machine series.
[[["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 - Class Google::Cloud::MigrationCenter::V1::MachinePreferences (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-MachinePreferences)\n- [2.0.1](/ruby/docs/reference/google-cloud-migration_center-v1/2.0.1/Google-Cloud-MigrationCenter-V1-MachinePreferences)\n- [1.2.0](/ruby/docs/reference/google-cloud-migration_center-v1/1.2.0/Google-Cloud-MigrationCenter-V1-MachinePreferences)\n- [1.1.0](/ruby/docs/reference/google-cloud-migration_center-v1/1.1.0/Google-Cloud-MigrationCenter-V1-MachinePreferences)\n- [1.0.1](/ruby/docs/reference/google-cloud-migration_center-v1/1.0.1/Google-Cloud-MigrationCenter-V1-MachinePreferences)\n- [0.3.0](/ruby/docs/reference/google-cloud-migration_center-v1/0.3.0/Google-Cloud-MigrationCenter-V1-MachinePreferences)\n- [0.2.2](/ruby/docs/reference/google-cloud-migration_center-v1/0.2.2/Google-Cloud-MigrationCenter-V1-MachinePreferences)\n- [0.1.0](/ruby/docs/reference/google-cloud-migration_center-v1/0.1.0/Google-Cloud-MigrationCenter-V1-MachinePreferences) \nReference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::MachinePreferences.\n\nThe type of machines to consider when calculating virtual machine migration\ninsights and recommendations.\nNot all machine types are available in all zones and regions. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #allowed_machine_series\n\n def allowed_machine_series() -\u003e ::Array\u003c::Google::Cloud::MigrationCenter::V1::MachineSeries\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::MigrationCenter::V1::MachineSeries](./Google-Cloud-MigrationCenter-V1-MachineSeries)\\\u003e) --- Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series.\n\n### #allowed_machine_series=\n\n def allowed_machine_series=(value) -\u003e ::Array\u003c::Google::Cloud::MigrationCenter::V1::MachineSeries\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::MigrationCenter::V1::MachineSeries](./Google-Cloud-MigrationCenter-V1-MachineSeries)\\\u003e) --- Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::MigrationCenter::V1::MachineSeries](./Google-Cloud-MigrationCenter-V1-MachineSeries)\\\u003e) --- Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series."]]