Reference documentation and code samples for the Google Cloud Vector Search V1 Client class QueryDataObjectsRequest.
Request message for DataObjectSearchService.QueryDataObjects .
Generated from protobuf message google.cloud.vectorsearch.v1.QueryDataObjectsRequest
Namespace
Google \ Cloud \ VectorSearch \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the Collection for which to query. Format: projects/{project}/locations/{location}/collections/{collection}
↳ filter
Google\Protobuf\Struct
Optional. A JSON filter expression, e.g. {"genre": {"$eq": "sci-fi"}}, represented as a google.protobuf.Struct.
↳ output_fields
↳ page_size
int
Optional. The standard list page size. Default is 100. The maximum value is 1000; values above 1000 will be coerced to 1000.
↳ page_token
string
Optional. The standard list page token. Typically obtained via QueryDataObjectsResponse.next_page_token of the previous DataObjectSearchService.QueryDataObjects call.
getParent
Required. The resource name of the Collection for which to query.
Format: projects/{project}/locations/{location}/collections/{collection}
string
setParent
Required. The resource name of the Collection for which to query.
Format: projects/{project}/locations/{location}/collections/{collection}
var
string
$this
getFilter
Optional. A JSON filter expression, e.g. {"genre": {"$eq": "sci-fi"}}, represented as a google.protobuf.Struct.
hasFilter
clearFilter
setFilter
Optional. A JSON filter expression, e.g. {"genre": {"$eq": "sci-fi"}}, represented as a google.protobuf.Struct.
$this
getOutputFields
Optional. Mask specifying which fields to return.
hasOutputFields
clearOutputFields
setOutputFields
Optional. Mask specifying which fields to return.
$this
getPageSize
Optional. The standard list page size. Default is 100.
The maximum value is 1000; values above 1000 will be coerced to 1000.
int
setPageSize
Optional. The standard list page size. Default is 100.
The maximum value is 1000; values above 1000 will be coerced to 1000.
var
int
$this
getPageToken
Optional. The standard list page token.
Typically obtained via QueryDataObjectsResponse.next_page_token of the previous DataObjectSearchService.QueryDataObjects call.
string
setPageToken
Optional. The standard list page token.
Typically obtained via QueryDataObjectsResponse.next_page_token of the previous DataObjectSearchService.QueryDataObjects call.
var
string
$this

