Google Cloud Vector Search V1 Client - Class BatchSearchDataObjectsResponse (0.2.0)

Reference documentation and code samples for the Google Cloud Vector Search V1 Client class BatchSearchDataObjectsResponse.

A response from a batch search operation.

Generated from protobuf message google.cloud.vectorsearch.v1.BatchSearchDataObjectsResponse

Namespace

Google \ Cloud \ VectorSearch \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ results array<SearchDataObjectsResponse>

Output only. A list of search responses, one for each request in the batch. If a ranker is used, a single ranked list of results is returned.

getResults

Output only. A list of search responses, one for each request in the batch.

If a ranker is used, a single ranked list of results is returned.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setResults

Output only. A list of search responses, one for each request in the batch.

If a ranker is used, a single ranked list of results is returned.

Parameter
Name Description
var array<SearchDataObjectsResponse>
Returns
Type Description
$this