Method: integrations.importIntegrationDependency

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

Upload an integration dependency to an existing integration.

HTTP request


* Upload URI, for media upload requests:
POST https://chronicle.africa-south1.rep.googleapis.com/upload/v1alpha/{name}:uploadDependency * Metadata URI, for metadata-only requests:
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{name}:uploadDependency

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,
  "media": {
    object (Media)
  },
  "mediaInfo": {
    object (MediaRequestInfo)
  }
}
Fields
dependency

string

Required. The dependency name to upload, limited to a maximum length of 255 chars. This is the name of the dependency that will be in the integration. For example, if the integration has a dependency named "mysql", then the dependency would be "mysql".

media

object (Media)

Information representing the imported data

mediaInfo

object (MediaRequestInfo)

Metadata about the media upload request.

Response body

Response message for importing an integration dependency.

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

JSON representation
{
  "mediaInfo": {
    object (MediaResponseInfo)
  }
}
Fields
mediaInfo

object (MediaResponseInfo)

Info about a media upload request from Scotty.

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.