Method: integrations.downloadDependency

Full name: projects.locations.instances.integrations.downloadDependency

Initiates the download of a Python dependency (e.g., a library from PyPI) for a custom integration. After downloading, the integration must be updated for the dependency to be available during execution.

HTTP request


POST https://chronicle.africa-south1.rep.googleapis.com/v1beta/{name}:downloadDependency

Path parameters

Parameters
name

string

Required. The unique name of the integration. Format: projects/{project}/locations/{location}/instances/{instance}/integrations/{integration}

Request body

The request body contains data with the following structure:

JSON representation
{
  "dependency": string
}
Fields
dependency

string

Required. The dependency name to download. It can contain the version or the repository.

Response body

Response message for downloading a Python dependency to be used by a specific integration.

If successful, the response body contains data with the following structure:

JSON representation
{
  "error": string,
  "successful": boolean
}
Fields
error

string

Optional. An error message in case of an error.

successful

boolean

Required. True if the installation was successful.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/chronicle
  • https://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.integrations.get

For more information, see the IAM documentation.