Full name: projects.locations.instances.ontologyRecords.import
Import ontology records.
HTTP request
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 the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.