Full name: projects.locations.instances.slaDefinitions.import
Imports SlaDefinitions from a CSV file. Use this method to bulk upload multiple response time commitments into the system. Supports optional overwriting of existing records.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1beta/{parent}/slaDefinitions:import Path parameters
| Parameters | |
|---|---|
parent |
Required. The instance into which SlaDefinitions should be imported. Format: projects/{project}/locations/{location}/instances/{instance}/slaDefinitions |
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 SlaDefinitions to import. A base64-encoded string. |
overrideExistingRecords |
Optional. Whether to override existing SlaDefinition 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.slaDefinitions.update
For more information, see the IAM documentation.