- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- DependencyInstallationResult
- Try it!
Full name: projects.locations.instances.integrations.import
Import an integration from a file. Integration zip file containes python files and dependencies. The zip file is uploaded to the server and the server returns the integration id. Each time you can only upload one integration.
HTTP request
* Upload URI, for media upload requests:
POST https://chronicle.africa-south1.rep.googleapis.com/upload/v1alpha/{parent}/integrations:import * Metadata URI, for metadata-only requests:POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{parent}/integrations:import Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent, which owns this collection of integrations. Format: projects/{project}/locations/{location}/instances/{instance} |
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 |
staging |
Required. Whether the integration is in staging. Here is a doc that explains the staging concept: https://cloud.google.com/chronicle/docs/soar/respond/ide/test-integrations-in-staging-mode |
Response body
Response message for importing an integration.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "integration": string, "integrationVersion": string, "failedDependencies": [ { object ( |
| Fields | |
|---|---|
integration |
Required. The integration id of the imported integration. |
integrationVersion |
Required. The integration version of the imported integration. |
failedDependencies[] |
Optional. The failed dependencies of the imported integration. |
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 parent resource:
chronicle.integrations.update
For more information, see the IAM documentation.
DependencyInstallationResult
Response message for importing an integration.
| JSON representation |
|---|
{ "dependencyId": string, "dependencyMessage": string } |
| Fields | |
|---|---|
dependencyId |
Output only. The dependency name. |
dependencyMessage |
Optional. The dependency message. |