# Google Cloud Vector Search V1 Client - Class BatchCreateDataObjectsResponse (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 BatchCreateDataObjectsResponse.

Response message for
[DataObjectService.BatchCreateDataObjects](https://docs.cloud.google.com/php/docs/reference/cloud-vectorsearch/latest/V1.Client.DataObjectServiceClient#_Google_Cloud_VectorSearch_V1_Client_DataObjectServiceClient__batchCreateDataObjects__).

Generated from protobuf message `google.cloud.vectorsearch.v1.BatchCreateDataObjectsResponse`

## Namespace

Google \\ Cloud \\ VectorSearch \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ data_objects` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-vectorsearch/latest/V1.DataObject>` Output only. DataObjects created. |

### getDataObjects

Output only. DataObjects created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-vectorsearch/latest/V1.DataObject>` |   |

### setDataObjects

Output only. DataObjects created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-vectorsearch/latest/V1.DataObject>` |

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