Full name: projects.locations.instances.ontologyRecords.mappingRules.test
Test a MappingRule.
HTTP request
Path parameters
Parameters | |
---|---|
name |
Required. The resource name of the MappingRule to test. Format: projects/{project}/locations/{location}/instances/{instance}/ontologyRecords/{ontologyRecord}/mappingRules/{mappingRule} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "rawDataFieldName": string, "rawDataFieldValue": string } |
Fields | |
---|---|
rawDataFieldName |
Required. The name of the field in the raw data. |
rawDataFieldValue |
Required. The value of the field in the raw data. |
Response body
Response message for mappingRules.test.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "result": [ string ] } |
Fields | |
---|---|
result[] |
The result of the test. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.