- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
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 |
Output only. Identifier. Format: projects/{project}/locations/{location}/instances/{instance}/ontologyRecords/{ontologyRecord}/mappingRules/{mappingRule} |
Query parameters
| Parameters | |
|---|---|
updateMask |
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: |
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-platformhttps://www.googleapis.com/auth/chroniclehttps://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.