Method: projects.locations.dnsThreatDetectors.patch

Updates the parameters of a single DnsThreatDetector.

HTTP request

PATCH https://networksecurity.googleapis.com/v1alpha1/{dnsThreatDetector.name=projects/*/locations/*/dnsThreatDetectors/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
dnsThreatDetector.name

string

Immutable. Identifier. Name of the DnsThreatDetector resource.

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. Field mask is used to specify the fields to be overwritten in the DnsThreatDetector resource by the update. The fields specified in the updateMask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not provided then all fields present in the request will be overwritten.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of DnsThreatDetector.

Response body

If successful, the response body contains an 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 name resource:

  • networksecurity.dnsThreatDetectors.update

For more information, see the IAM documentation.