# VectorSearchSDKManager

> **Class** in `langchain_google_vertexai`

📖 [View in docs](https://reference.langchain.com/python/langchain-google-vertexai/vectorstores/_sdk_manager/VectorSearchSDKManager)

Class in charge of building all Google Cloud SDK Objects needed to build
VectorStores from `project_id`, credentials or other specifications.

Abstracts away the authentication layer.

## Signature

```python
VectorSearchSDKManager(
    self,
    *,
    project_id: str,
    region: str,
    api_version: str = 'v1',
    credentials: Credentials | None = None,
    credentials_path: str | None = None,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `project_id` | `str` | Yes | Id of the project. |
| `region` | `str` | Yes | Region of the project. e.g. `'us-central1'` |
| `credentials` | `Credentials \| None` | No | Google cloud Credentials object. (default: `None`) |
| `credentials_path` | `str \| None` | No | Google Cloud Credentials json file path. (default: `None`) |

## Constructors

```python
__init__(
    self,
    *,
    project_id: str,
    region: str,
    api_version: str = 'v1',
    credentials: Credentials | None = None,
    credentials_path: str | None = None,
) -> None
```

| Name | Type |
|------|------|
| `project_id` | `str` |
| `region` | `str` |
| `api_version` | `str` |
| `credentials` | `Credentials \| None` |
| `credentials_path` | `str \| None` |


## Methods

- [`initialize_aiplatform()`](https://reference.langchain.com/python/langchain-google-vertexai/vectorstores/_sdk_manager/VectorSearchSDKManager/initialize_aiplatform)
- [`get_gcs_client()`](https://reference.langchain.com/python/langchain-google-vertexai/vectorstores/_sdk_manager/VectorSearchSDKManager/get_gcs_client)
- [`get_gcs_bucket()`](https://reference.langchain.com/python/langchain-google-vertexai/vectorstores/_sdk_manager/VectorSearchSDKManager/get_gcs_bucket)
- [`get_index()`](https://reference.langchain.com/python/langchain-google-vertexai/vectorstores/_sdk_manager/VectorSearchSDKManager/get_index)
- [`get_collection()`](https://reference.langchain.com/python/langchain-google-vertexai/vectorstores/_sdk_manager/VectorSearchSDKManager/get_collection)
- [`get_endpoint()`](https://reference.langchain.com/python/langchain-google-vertexai/vectorstores/_sdk_manager/VectorSearchSDKManager/get_endpoint)
- [`get_datastore_client()`](https://reference.langchain.com/python/langchain-google-vertexai/vectorstores/_sdk_manager/VectorSearchSDKManager/get_datastore_client)
- [`get_v2_client()`](https://reference.langchain.com/python/langchain-google-vertexai/vectorstores/_sdk_manager/VectorSearchSDKManager/get_v2_client)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/a3f016b2a6c4af535df275545f76fa7424aa39e5/libs/vertexai/langchain_google_vertexai/vectorstores/_sdk_manager.py#L17)