Method: folders.eventThreatDetectionSettings.customModules.patch

Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
eventThreatDetectionCustomModule.name

string

Immutable. The resource name of the Event Threat Detection custom module.

Its format is:

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

Query parameters

Parameters
updateMask

string (FieldMask format)

The list of fields to be updated. If empty all mutable fields will be updated.

Request body

The request body contains an instance of EventThreatDetectionCustomModule.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.