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 2024-10-10 UTC."],[[["This webpage details the process of creating new hardware within a specified project and location using the Google Cloud Hardware Management API."],["The API endpoint for creating hardware is a POST request to a URL that follows gRPC Transcoding syntax, requiring a project and location as path parameters."],["An optional `hardwareId` query parameter can be used to define a custom ID for the hardware, with constraints on the allowed characters and length."],["The request body needs to include an instance of the `Hardware` resource, while a successful response returns an instance of an `Operation` resource."],["Creating new hardware requires the `gdchardwaremanagement.hardware.create` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]