Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::MachineSeries.
A Compute Engine machine series.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#code
defcode()->::String
Returns
(::String) — Code to identify a Compute Engine machine series. Consult
https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison
for more details on the available series.
#code=
defcode=(value)->::String
Parameter
value (::String) — Code to identify a Compute Engine machine series. Consult
https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison
for more details on the available series.
Returns
(::String) — Code to identify a Compute Engine machine series. Consult
https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison
for more details on the available 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::MachineSeries (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-MachineSeries)\n- [2.0.1](/ruby/docs/reference/google-cloud-migration_center-v1/2.0.1/Google-Cloud-MigrationCenter-V1-MachineSeries)\n- [1.2.0](/ruby/docs/reference/google-cloud-migration_center-v1/1.2.0/Google-Cloud-MigrationCenter-V1-MachineSeries)\n- [1.1.0](/ruby/docs/reference/google-cloud-migration_center-v1/1.1.0/Google-Cloud-MigrationCenter-V1-MachineSeries)\n- [1.0.1](/ruby/docs/reference/google-cloud-migration_center-v1/1.0.1/Google-Cloud-MigrationCenter-V1-MachineSeries)\n- [0.3.0](/ruby/docs/reference/google-cloud-migration_center-v1/0.3.0/Google-Cloud-MigrationCenter-V1-MachineSeries)\n- [0.2.2](/ruby/docs/reference/google-cloud-migration_center-v1/0.2.2/Google-Cloud-MigrationCenter-V1-MachineSeries)\n- [0.1.0](/ruby/docs/reference/google-cloud-migration_center-v1/0.1.0/Google-Cloud-MigrationCenter-V1-MachineSeries) \nReference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::MachineSeries.\n\nA Compute Engine machine series. \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### #code\n\n def code() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.\n\n### #code=\n\n def code=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series. \n**Returns**\n\n- (::String) --- Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series."]]