Required. The server to update. The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/instances/{instance}
[[["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-04 UTC."],[],[],null,["# Google Cloud Bare Metal Solution V2 Client - Class UpdateInstanceRequest (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-bare-metal-solution/latest/V2.UpdateInstanceRequest)\n- [1.0.4](/php/docs/reference/cloud-bare-metal-solution/1.0.4/V2.UpdateInstanceRequest)\n- [0.6.5](/php/docs/reference/cloud-bare-metal-solution/0.6.5/V2.UpdateInstanceRequest)\n- [0.5.2](/php/docs/reference/cloud-bare-metal-solution/0.5.2/V2.UpdateInstanceRequest)\n- [0.4.0](/php/docs/reference/cloud-bare-metal-solution/0.4.0/V2.UpdateInstanceRequest)\n- [0.3.2](/php/docs/reference/cloud-bare-metal-solution/0.3.2/V2.UpdateInstanceRequest)\n- [0.2.8](/php/docs/reference/cloud-bare-metal-solution/0.2.8/V2.UpdateInstanceRequest) \nReference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class UpdateInstanceRequest.\n\nMessage requesting to updating a server.\n\nGenerated from protobuf message `google.cloud.baremetalsolution.v2.UpdateInstanceRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BareMetalSolution \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getInstance\n\nRequired. The server to update.\n\nThe `name` field is used to identify the instance to update.\nFormat: projects/{project}/locations/{location}/instances/{instance}\n\n### hasInstance\n\n### clearInstance\n\n### setInstance\n\nRequired. The server to update.\n\nThe `name` field is used to identify the instance to update.\nFormat: projects/{project}/locations/{location}/instances/{instance}\n\n### getUpdateMask\n\nThe list of fields to update.\n\nThe currently supported fields are:\n`labels`\n`hyperthreading_enabled`\n`os_image`\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nThe list of fields to update.\n\nThe currently supported fields are:\n`labels`\n`hyperthreading_enabled`\n`os_image`\n\n### static::build"]]