- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.integrations.importIntegrationItems
Import integration items from a file. Items can be: actions, jobs, connectors, managers, transformers. The imported items will be imported as custom items. Each folder includes json files of ObjectResponseDtos and a python file for the script. Includes metadata.json file. The zip file is uploaded to the server. Each time you can only upload one zip file for one integration.
HTTP request
* Upload URI, for media upload requests:
POST https://chronicle.africa-south1.rep.googleapis.com/upload/v1alpha/{name}:importItems * Metadata URI, for metadata-only requests:POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{name}:importItems Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the integration to import items into. Format: projects/{projectId}/locations/{region}/instances/{instance}/integrations/{integration} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "media": { object ( |
| Fields | |
|---|---|
media |
Information representing the imported data. Information representing the imported data |
mediaInfo |
Metadata about the media upload request. Information representing the imported data |
Response body
Response message for importing integration items.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"mediaInfo": {
object ( |
| Fields | |
|---|---|
mediaInfo |
Metadata about media upload response. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
chronicle.integrations.update
For more information, see the IAM documentation.