Google Cloud Vector Search V1 Client - Class QueryDataObjectsResponse (0.3.0)

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

Response message for DataObjectSearchService.QueryDataObjects.

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

Namespace

Google \ Cloud \ VectorSearch \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data_objects array<DataObject>

Output only. The list of dataObjects that match the query.

↳ next_page_token string

Output only. A token to retrieve next page of results. Pass to DataObjectSearchService.QueryDataObjectsRequest.page_token to obtain that page.

getDataObjects

Output only. The list of dataObjects that match the query.

Returns
Type Description
Google\Protobuf\RepeatedField<DataObject>

setDataObjects

Output only. The list of dataObjects that match the query.

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

getNextPageToken

Output only. A token to retrieve next page of results.

Pass to DataObjectSearchService.QueryDataObjectsRequest.page_token to obtain that page.

Returns
Type Description
string

setNextPageToken

Output only. A token to retrieve next page of results.

Pass to DataObjectSearchService.QueryDataObjectsRequest.page_token to obtain that page.

Parameter
Name Description
var string
Returns
Type Description
$this