Reference documentation and code samples for the Migration Center V1 API module Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences::CommitmentPlan.
[[["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::SoleTenancyPreferences::CommitmentPlan (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-SoleTenancyPreferences-CommitmentPlan)\n- [2.0.1](/ruby/docs/reference/google-cloud-migration_center-v1/2.0.1/Google-Cloud-MigrationCenter-V1-SoleTenancyPreferences-CommitmentPlan)\n- [1.2.0](/ruby/docs/reference/google-cloud-migration_center-v1/1.2.0/Google-Cloud-MigrationCenter-V1-SoleTenancyPreferences-CommitmentPlan)\n- [1.1.0](/ruby/docs/reference/google-cloud-migration_center-v1/1.1.0/Google-Cloud-MigrationCenter-V1-SoleTenancyPreferences-CommitmentPlan)\n- [1.0.1](/ruby/docs/reference/google-cloud-migration_center-v1/1.0.1/Google-Cloud-MigrationCenter-V1-SoleTenancyPreferences-CommitmentPlan)\n- [0.3.0](/ruby/docs/reference/google-cloud-migration_center-v1/0.3.0/Google-Cloud-MigrationCenter-V1-SoleTenancyPreferences-CommitmentPlan)\n- [0.2.2](/ruby/docs/reference/google-cloud-migration_center-v1/0.2.2/Google-Cloud-MigrationCenter-V1-SoleTenancyPreferences-CommitmentPlan)\n- [0.1.0](/ruby/docs/reference/google-cloud-migration_center-v1/0.1.0/Google-Cloud-MigrationCenter-V1-SoleTenancyPreferences-CommitmentPlan) \nReference documentation and code samples for the Migration Center V1 API module Google::Cloud::MigrationCenter::V1::SoleTenancyPreferences::CommitmentPlan.\n\nType of committed use discount.\n\nConstants\n---------\n\n### COMMITMENT_PLAN_UNSPECIFIED\n\n**value:** 0 \nUnspecified commitment plan.\n\n### ON_DEMAND\n\n**value:** 1 \nNo commitment plan (on-demand usage).\n\n### COMMITMENT_1_YEAR\n\n**value:** 2 \n1 year commitment.\n\n### COMMITMENT_3_YEAR\n\n**value:** 3 \n3 years commitment."]]