Required. A mask to specify the fields in the Hardware to overwrite with this update. The fields specified in the updateMask are relative to the hardware, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask then all fields will be overwritten.
This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".
requestId
string
Optional. An optional unique identifier for this request. See AIP-155.
Request body
The request body contains an instance of Hardware.
Response body
If successful, the response body contains an instance of Operation.
[[["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-07-11 UTC."],[[["\u003cp\u003eThis webpage details how to update hardware parameters using a \u003ccode\u003ePATCH\u003c/code\u003e HTTP request to the specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specific path parameters, including the hardware's name, in the format \u003ccode\u003eprojects/{project}/locations/{location}/hardware/{hardware}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt supports query parameters like \u003ccode\u003eupdateMask\u003c/code\u003e for selective field updates and an optional \u003ccode\u003erequestId\u003c/code\u003e for request tracking.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain an instance of \u003ccode\u003eHardware\u003c/code\u003e, while the response body will return an \u003ccode\u003eOperation\u003c/code\u003e instance upon success.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this action requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003egdchardwaremanagement.hardware.update\u003c/code\u003e on the specified resource.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.hardware.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- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nUpdates hardware parameters.\n\n### HTTP request\n\n`PATCH https://gdchardwaremanagement.googleapis.com/v1alpha/{hardware.name=projects/*/locations/*/hardware/*}`\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 [Hardware](/distributed-cloud/edge/latest/docs/reference/hardware/rest/v1alpha/projects.locations.hardware#Hardware).\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/distributed-cloud/edge/latest/docs/reference/hardware/rest/v1alpha/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](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `gdchardwaremanagement.hardware.update`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]