Required. The project and location to create the site in. Format: projects/{project}/locations/{location}
Query parameters
Parameters
siteId
string
Optional. ID used to uniquely identify the Site 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 site.name field in the request will be ignored.
requestId
string
Optional. An optional unique identifier for this request. See AIP-155.
[[["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 endpoint allows you to create a new site within a specified project and location using a POST request to the provided URL."],["The `parent` parameter is required and defines the project and location where the site will be created, formatted as `projects/{project}/locations/{location}`."],["Optional query parameters, including `siteId` to specify a unique identifier for the site and `requestId` for request tracking, can be used when constructing the request."],["The request body must contain an instance of the `Site` resource, while a successful response will include an instance of the `Operation` resource."],["To use this endpoint, you need the `gdchardwaremanagement.sites.create` IAM permission on the `parent` resource and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]