Full name: projects.locations.instances.ontologyRecords.import
Import ontology records.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{parent}/ontologyRecords:import Path parameters
| Parameters | |
|---|---|
parent |
Required. The instance into which OntologyRecords should be imported. Format: projects/{project}/locations/{location}/instances/{instance}/ontologyRecords |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "content": string, "overrideExistingRecords": boolean } |
| Fields | |
|---|---|
content |
Required. The CSV file content containing OntologyRecords to import. A base64-encoded string. |
overrideExistingRecords |
Optional. Whether to override existing ontology records during import. |
Response body
If successful, the response body is an empty JSON object.
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 parent resource:
chronicle.ontologyRecords.update
For more information, see the IAM documentation.