Creates a new DnsThreatDetector in a given project and location.
HTTP request
POST https://networksecurity.googleapis.com/v1beta1/{parent=projects/*/locations/*}/dnsThreatDetectors
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Value for parent of the DnsThreatDetector resource. |
Query parameters
Parameters | |
---|---|
dnsThreatDetectorId |
Optional. Id of the requesting DnsThreatDetector object. If this field is not supplied, the service will generate an identifier. |
Request body
The request body contains an instance of DnsThreatDetector
.
Response body
If successful, the response body contains a newly created instance of DnsThreatDetector
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
networksecurity.dnsThreatDetectors.create
For more information, see the IAM documentation.