Method: organizations.eventThreatDetectionSettings.customModules.patch

Updates an Event Threat Detection custom module.

HTTP request

PATCH https://securitycenter.googleapis.com/v1/{eventThreatDetectionCustomModule.name=organizations/*/eventThreatDetectionSettings/customModules/*}

The URL uses 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.

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 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.