1.3.0 (latest) 1.2.0 1.1.0 1.0.0

    public sealed class QueryDataObjectsRequest : IMessage<QueryDataObjectsRequest>, IEquatable<QueryDataObjectsRequest>, IDeepCloneable<QueryDataObjectsRequest>, IBufferMessage, IMessage, IPageRequest

Reference documentation and code samples for the Vector Search v1 API class QueryDataObjectsRequest.

Request message for
\[DataObjectSearchService.QueryDataObjects\]\[google.cloud.vectorsearch.v1.DataObjectSearchService.QueryDataObjects\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> QueryDataObjectsRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[QueryDataObjectsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VectorSearch.V1/latest/Google.Cloud.VectorSearch.V1.QueryDataObjectsRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[QueryDataObjectsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VectorSearch.V1/latest/Google.Cloud.VectorSearch.V1.QueryDataObjectsRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[QueryDataObjectsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VectorSearch.V1/latest/Google.Cloud.VectorSearch.V1.QueryDataObjectsRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt), [IPageRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageRequest.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.VectorSearch.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VectorSearch.V1/latest/Google.Cloud.VectorSearch.V1.md.txt)

## Assembly

Google.Cloud.VectorSearch.V1.dll

## Constructors

### QueryDataObjectsRequest()

    public QueryDataObjectsRequest()

### QueryDataObjectsRequest(QueryDataObjectsRequest)

    public QueryDataObjectsRequest(QueryDataObjectsRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `QueryDataObjectsRequest` |

## Properties

### Filter

    public Struct Filter { get; set; }

Optional. A JSON filter expression, e.g. `{"genre": {"$eq": "sci-fi"}}`,
represented as a `google.protobuf.Struct`.

An empty filter (`{}`) matches all data objects. Otherwise, each JSON
object in the filter must have exactly one key: either a field name mapped
to one operator (`{"price": {"$lt": 100}}`), or a logical operator: `$and`
or `$or` with a list of filters, or `$not` with one filter. Field
operators and their values: `$eq` and `$ne` take a string, number or bool;
`$lt`, `$lte`, `$gt` and `$gte` take a number; `$in`, `$nin` and `$all`
take a list of strings; `$exists` takes a bool. Several keys in one object
(implicit AND) and implicit equality (`{"genre": "sci-fi"}`) are rejected;
use `$and` and `$eq` instead.

Logical operators can be nested at most 2 levels deep, e.g.
`{"$and": [{"$or": [{"a": {"$eq": 1}}, {"b": {"$eq": 2}}]}]}`. Deeper
filters are rejected with `INVALID_ARGUMENT`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Struct` |   |

### OutputFields

    public OutputFields OutputFields { get; set; }

Optional. Mask specifying which fields to return.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OutputFields` |   |

### PageSize

    public int PageSize { get; set; }

Optional. The standard list page size. Default is 100.
The maximum value is 1000; values above 1000 will be coerced to 1000.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### PageToken

    public string PageToken { get; set; }

Optional. The standard list page token.
Typically obtained via
\[QueryDataObjectsResponse.next_page_token\]\[google.cloud.vectorsearch.v1.QueryDataObjectsResponse.next_page_token\]
of the previous
\[DataObjectSearchService.QueryDataObjects\]\[google.cloud.vectorsearch.v1.DataObjectSearchService.QueryDataObjects\]
call.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Parent

    public string Parent { get; set; }

Required. The resource name of the Collection for which to query.
Format: `projects/{project}/locations/{location}/collections/{collection}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ParentAsCollectionName

    public CollectionName ParentAsCollectionName { get; set; }

[CollectionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VectorSearch.V1/latest/Google.Cloud.VectorSearch.V1.CollectionName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VectorSearch.V1/latest/Google.Cloud.VectorSearch.V1.QueryDataObjectsRequest.md.txt#Google_Cloud_VectorSearch_V1_QueryDataObjectsRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CollectionName` |   |