- [HTTP request](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacyPublisher/legacyGetIntegrationDependencies#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacyPublisher/legacyGetIntegrationDependencies#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacyPublisher/legacyGetIntegrationDependencies#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacyPublisher/legacyGetIntegrationDependencies#body.request_body)
- [Response body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacyPublisher/legacyGetIntegrationDependencies#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacyPublisher/legacyGetIntegrationDependencies#body.LegacyGetIntegrationDependenciesResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacyPublisher/legacyGetIntegrationDependencies#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacyPublisher/legacyGetIntegrationDependencies#body.aspect_1)
- [DependenciesInfo](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacyPublisher/legacyGetIntegrationDependencies#DependenciesInfo)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacyPublisher/legacyGetIntegrationDependencies#DependenciesInfo.SCHEMA_REPRESENTATION)

**Full name**: projects.locations.instances.legacyPublisher.legacyGetIntegrationDependencies

Retrieves the full set of functional dependencies required for a specific integration to operate correctly on a remote agent.

### HTTP request

`GET https://{endpoint}/v1alpha/{instance}/legacyPublisher:legacyGetIntegrationDependencies`

Where `{endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/chronicle/docs/reference/rest#rest_endpoints).

### Path parameters

| Parameters ||
|---|---|
| `instance` | `string` Required. The instance of the legacy publisher. Format: projects/{project}/locations/{location}/instances/{instance}/legacyPublisher |

### Query parameters

| Parameters ||
|---|---|
| `integration_identifier` | `string` Required. The integration identifier to get the dependencies for. |
| `integration_version` | `string` Required. The integration version to get the dependencies for. |
| `agent_identifier` | `string` Required. The agent identifier to get the dependencies for. |

### Request body

The request body must be empty.

### Response body

Response message for legacyPublisher.legacyGetIntegrationDependencies.

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

| JSON representation |
|---|
| ``` { "python_version": string, "last_integration_definition_update": string, "dependencies_info": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacyPublisher/legacyGetIntegrationDependencies#DependenciesInfo`) } ] } ``` |

| Fields ||
|---|---|
| `python_version` | `string` Output only. The python version of the integration. |
| `last_integration_definition_update` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The last integration definition update time. |
| `dependencies_info[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacyPublisher/legacyGetIntegrationDependencies#DependenciesInfo`)`` Output only. The dependencies info. |

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud-platform`
- `
  https://www.googleapis.com/auth/chronicle`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `instance` resource:

- `chronicle.legacyPublisher.get`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).

## DependenciesInfo

Response message for legacyPublisher.legacyGetIntegrationDependencies.

| JSON representation |
|---|
| ``` { "OsType": string, "FileName": string, "Hash": string } ``` |

| Fields ||
|---|---|
| `OsType` | `string` Output only. The OS type of the dependency. |
| `FileName` | `string` Output only. The file name of the dependency. |
| `Hash` | `string` Output only. The hash of the dependency. |