[[["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,["# Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::InstanceQuota (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-InstanceQuota)\n- [1.0.1](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/1.0.1/Google-Cloud-BareMetalSolution-V2-InstanceQuota)\n- [0.10.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.10.0/Google-Cloud-BareMetalSolution-V2-InstanceQuota)\n- [0.9.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.9.0/Google-Cloud-BareMetalSolution-V2-InstanceQuota)\n- [0.8.1](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.8.1/Google-Cloud-BareMetalSolution-V2-InstanceQuota)\n- [0.7.2](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.7.2/Google-Cloud-BareMetalSolution-V2-InstanceQuota)\n- [0.6.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.6.0/Google-Cloud-BareMetalSolution-V2-InstanceQuota)\n- [0.5.1](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.5.1/Google-Cloud-BareMetalSolution-V2-InstanceQuota)\n- [0.4.1](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.4.1/Google-Cloud-BareMetalSolution-V2-InstanceQuota)\n- [0.3.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.3.0/Google-Cloud-BareMetalSolution-V2-InstanceQuota)\n- [0.2.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.2.0/Google-Cloud-BareMetalSolution-V2-InstanceQuota)\n- [0.1.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.1.0/Google-Cloud-BareMetalSolution-V2-InstanceQuota) \nReference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::InstanceQuota.\n\nA resource budget. \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### #available_machine_count\n\n def available_machine_count() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Number of machines than can be created for the given location and instance_type.\n\n### #available_machine_count=\n\n def available_machine_count=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Number of machines than can be created for the given location and instance_type. \n**Returns**\n\n- (::Integer) --- Number of machines than can be created for the given location and instance_type.\n\n### #gcp_service\n\n def gcp_service() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The gcp service of the provisioning quota.\n\n### #gcp_service=\n\n def gcp_service=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The gcp service of the provisioning quota. \n**Returns**\n\n- (::String) --- The gcp service of the provisioning quota.\n\n### #instance_type\n\n def instance_type() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Instance type. Deprecated: use gcp_service.\n\n### #instance_type=\n\n def instance_type=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Instance type. Deprecated: use gcp_service. \n**Returns**\n\n- (::String) --- Instance type. Deprecated: use gcp_service.\n\n### #location\n\n def location() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Location where the quota applies.\n\n### #location=\n\n def location=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Location where the quota applies. \n**Returns**\n\n- (::String) --- Location where the quota applies.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The name of the instance quota."]]