Adds a MonitoredProject with the given project ID to the specified Metrics Scope.
HTTP request
POST https://monitoring.googleapis.com/v1/{parent}/projects
Path parameters
Parameters
parent
string
Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}
[[["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-23 UTC."],[],[],null,["# Method: locations.global.metricsScopes.projects.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_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\nAdds a `MonitoredProject` with the given project ID to the specified `Metrics Scope`.\n\n### HTTP request\n\n`POST https://monitoring.googleapis.com/v1/{parent}/projects`\n\n### Path parameters\n\n### Request body\n\nThe request body contains an instance of [MonitoredProject](/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes.projects#MonitoredProject).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/monitoring/api/ref_v3/rest/v1/operations#Operation).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/monitoring`\n- `\n https://www.googleapis.com/auth/monitoring.write`\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- `monitoring.metricsScopes.link`\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `monitoring.metricsScopes.link`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]