Required. The project and location to create hardware in. Format: projects/{project}/locations/{location}
Query parameters
Parameters
hardwareId
string
Optional. ID used to uniquely identify the Hardware within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and - are accepted. The - character cannot be the first or the last one. A system generated ID will be used if the field is not set.
The hardware.name field in the request will be ignored.
Request body
The request body contains an instance of Hardware.
Response body
If successful, the response body contains a newly created 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."],[[["This webpage details the process of creating new hardware within a specified project and location using the Google Cloud API."],["The HTTP request to create hardware is a POST request to a specific URL, which includes project and location identifiers within the path."],["The request requires `parent` as a path parameter, and optionally accepts a `hardwareId` as a query parameter to uniquely identify the hardware being created."],["The request body should contain an instance of `Hardware`, and a successful response will provide a newly created instance of `Operation`."],["Creating new hardware requires OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the `gdchardwaremanagement.hardware.create` IAM permission on the parent resource."]]],[]]