public sealed class DataObjectSearchServiceClientImpl : DataObjectSearchServiceClientReference documentation and code samples for the Vector Search v1 API class DataObjectSearchServiceClientImpl.
DataObjectSearchService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.VectorSearch.V1Assembly
Google.Cloud.VectorSearch.V1.dll
Remarks
Service for searching data objects.
Constructors
DataObjectSearchServiceClientImpl(DataObjectSearchServiceClient, DataObjectSearchServiceSettings, ILogger)
public DataObjectSearchServiceClientImpl(DataObjectSearchService.DataObjectSearchServiceClient grpcClient, DataObjectSearchServiceSettings settings, ILogger logger)Constructs a client wrapper for the DataObjectSearchService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
DataObjectSearchServiceDataObjectSearchServiceClientThe underlying gRPC client. |
settings |
DataObjectSearchServiceSettingsThe base DataObjectSearchServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override DataObjectSearchService.DataObjectSearchServiceClient GrpcClient { get; }The underlying gRPC DataObjectSearchService client
| Property Value | |
|---|---|
| Type | Description |
DataObjectSearchServiceDataObjectSearchServiceClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
AggregateDataObjects(AggregateDataObjectsRequest, CallSettings)
public override AggregateDataObjectsResponse AggregateDataObjects(AggregateDataObjectsRequest request, CallSettings callSettings = null)Aggregates data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregateDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AggregateDataObjectsResponse |
The RPC response. |
AggregateDataObjectsAsync(AggregateDataObjectsRequest, CallSettings)
public override Task<AggregateDataObjectsResponse> AggregateDataObjectsAsync(AggregateDataObjectsRequest request, CallSettings callSettings = null)Aggregates data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregateDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAggregateDataObjectsResponse |
A Task containing the RPC response. |
BatchSearchDataObjects(BatchSearchDataObjectsRequest, CallSettings)
public override BatchSearchDataObjectsResponse BatchSearchDataObjects(BatchSearchDataObjectsRequest request, CallSettings callSettings = null)Batch searches data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchSearchDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BatchSearchDataObjectsResponse |
The RPC response. |
BatchSearchDataObjectsAsync(BatchSearchDataObjectsRequest, CallSettings)
public override Task<BatchSearchDataObjectsResponse> BatchSearchDataObjectsAsync(BatchSearchDataObjectsRequest request, CallSettings callSettings = null)Batch searches data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchSearchDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskBatchSearchDataObjectsResponse |
A Task containing the RPC response. |
QueryDataObjects(QueryDataObjectsRequest, CallSettings)
public override PagedEnumerable<QueryDataObjectsResponse, DataObject> QueryDataObjects(QueryDataObjectsRequest request, CallSettings callSettings = null)Queries data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryDataObjectsResponseDataObject |
A pageable sequence of DataObject resources. |
QueryDataObjectsAsync(QueryDataObjectsRequest, CallSettings)
public override PagedAsyncEnumerable<QueryDataObjectsResponse, DataObject> QueryDataObjectsAsync(QueryDataObjectsRequest request, CallSettings callSettings = null)Queries data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryDataObjectsResponseDataObject |
A pageable asynchronous sequence of DataObject resources. |
SearchDataObjects(SearchDataObjectsRequest, CallSettings)
public override PagedEnumerable<SearchDataObjectsResponse, SearchResult> SearchDataObjects(SearchDataObjectsRequest request, CallSettings callSettings = null)Searches data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableSearchDataObjectsResponseSearchResult |
A pageable sequence of SearchResult resources. |
SearchDataObjectsAsync(SearchDataObjectsRequest, CallSettings)
public override PagedAsyncEnumerable<SearchDataObjectsResponse, SearchResult> SearchDataObjectsAsync(SearchDataObjectsRequest request, CallSettings callSettings = null)Searches data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableSearchDataObjectsResponseSearchResult |
A pageable asynchronous sequence of SearchResult resources. |