[[["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-08-29 UTC."],[],[],null,["Creates a new DnsThreatDetector in a given project and location.\n\nHTTP request\n\n`POST https://networksecurity.googleapis.com/v1beta1/{parent=projects/*/locations/*}/dnsThreatDetectors`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|----------|--------------------------------------------------------------------------------|\n| `parent` | `string` Required. The value for the parent of the DnsThreatDetector resource. |\n\nQuery parameters\n\n| Parameters ||\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| `dnsThreatDetectorId` | `string` Optional. The ID of the requesting DnsThreatDetector object. If this field is not supplied, the service generates an identifier. |\n\nRequest body\n\nThe request body contains an instance of [DnsThreatDetector](/dns/docs/reference/dns-armor/rest/v1beta1/projects.locations.dnsThreatDetectors#DnsThreatDetector).\n\nResponse body\n\nIf successful, the response body contains a newly created instance of [DnsThreatDetector](/dns/docs/reference/dns-armor/rest/v1beta1/projects.locations.dnsThreatDetectors#DnsThreatDetector).\n\nAuthorization 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\nIAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `networksecurity.dnsThreatDetectors.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]