# Google Cloud Vector Search V1 Client - Class GcsImportConfig (0.4.0)

0.4.0 (latest) 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vector Search V1 Client class GcsImportConfig.

Google Cloud Storage configuration for the import.

Generated from protobuf message `google.cloud.vectorsearch.v1.ImportDataObjectsRequest.GcsImportConfig`

## Namespace

Google \\ Cloud \\ VectorSearch \\ V1 \\ ImportDataObjectsRequest

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ contents_uri` | `string` Required. URI prefix of the Cloud Storage DataObjects to import. |
| `↳ error_uri` | `string` Required. URI prefix of the Cloud Storage location to write any errors encountered during the import. |
| `↳ output_uri` | `string` Optional. URI prefix of the Cloud Storage location to write DataObject `IDs` and `etags` of DataObjects that were successfully imported. The service will write the successfully imported DataObjects to sharded files under this prefix. If this field is empty, no output will be written. |

### getContentsUri

Required. URI prefix of the Cloud Storage DataObjects to import.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setContentsUri

Required. URI prefix of the Cloud Storage DataObjects to import.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getErrorUri

Required. URI prefix of the Cloud Storage location to write any errors
encountered during the import.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setErrorUri

Required. URI prefix of the Cloud Storage location to write any errors
encountered during the import.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getOutputUri

Optional. URI prefix of the Cloud Storage location to write DataObject
`IDs` and `etags` of DataObjects that were successfully imported. The
service will write the successfully imported DataObjects to sharded files
under this prefix. If this field is empty, no output will be written.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setOutputUri

Optional. URI prefix of the Cloud Storage location to write DataObject
`IDs` and `etags` of DataObjects that were successfully imported. The
service will write the successfully imported DataObjects to sharded files
under this prefix. If this field is empty, no output will be written.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |