Full name: projects.locations.instances.legacyCases.importCustomCase
Imports a custom simulated case from a JSON package. This allows users to restore previously exported case simulation scenarios into their environment.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{name}/legacyCases:importCustomCase Path parameters
| Parameters | |
|---|---|
name |
Required. The resource name of the LegacyCase to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/LegacyCases |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "cases": [ { object ( |
| Fields | |
|---|---|
cases[] |
Required. Cases is a list of case information items. |
type |
Optional. Type is the case type. |
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 name resource:
chronicle.legacyCases.importJson
For more information, see the IAM documentation.