Method: projects.eventThreatDetectionSettings.validateCustomModule

Validates the given Event Threat Detection custom module.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Resource name of the parent to validate the Custom Module under.

Its format is:

  • organizations/{organization}/eventThreatDetectionSettings.
  • folders/{folder}/eventThreatDetectionSettings.
  • projects/{project}/eventThreatDetectionSettings.

Request body

The request body contains data with the following structure:

JSON representation
{
 "rawText": string,
 "type": string
}
Fields
rawText

string

Required. The raw text of the module's contents. Used to generate error messages.

type

string

Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).

Response body

If successful, the response body contains an instance of ValidateEventThreatDetectionCustomModuleResponse .

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年05月27日 UTC.