Immutable. The resource name of thisInstance. Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. 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-05-30 UTC."],[[["\u003cp\u003eThis page details how to update a single server instance using a PATCH HTTP request to the specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL utilizes gRPC Transcoding syntax and requires an \u003ccode\u003einstance.name\u003c/code\u003e path parameter that specifies the server's location and project.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateMask\u003c/code\u003e query parameter determines which fields of the instance are to be updated, including \u003ccode\u003elabels\u003c/code\u003e, \u003ccode\u003ehyperthreadingEnabled\u003c/code\u003e, and \u003ccode\u003eosImage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain the \u003ccode\u003eInstance\u003c/code\u003e details for the update, and a successful response will provide an \u003ccode\u003eOperation\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.instances.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdate details of a single server.\n\n### HTTP request\n\n`PATCH https://baremetalsolution.googleapis.com/v2/{instance.name=projects/*/locations/*/instances/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [Instance](/bare-metal/docs/reference/rest/v2/projects.locations.instances#Instance).\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/bare-metal/docs/reference/rest/v2/projects.locations.operations#Operation).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]