Method: mappingRules.patch

Full name: projects.locations.instances.ontologyRecords.mappingRules.patch

Updates an existing mapping rule. This allows for refining the transformation logic, match terms, or enrichment fields for a standardized ontology field.

HTTP request


PATCH https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{mappingRule.name}

Path parameters

Parameters
mappingRule.name

string

Output only. Identifier. Format: projects/{project}/locations/{location}/instances/{instance}/ontologyRecords/{ontologyRecord}/mappingRules/{mappingRule}

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to update. If not included, all fields with default/non-default values 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 MappingRule.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • chronicle.mappingRules.update

For more information, see the IAM documentation.