public class DataObjectSearchService.DataObjectSearchServiceClient : ClientBase<DataObjectSearchService.DataObjectSearchServiceClient>Reference documentation and code samples for the Vector Search v1 API class DataObjectSearchService.DataObjectSearchServiceClient.
Client for DataObjectSearchService
Inheritance
object > ClientBase > ClientBaseDataObjectSearchServiceDataObjectSearchServiceClient > DataObjectSearchService.DataObjectSearchServiceClientNamespace
Google.Cloud.VectorSearch.V1Assembly
Google.Cloud.VectorSearch.V1.dll
Constructors
DataObjectSearchServiceClient()
protected DataObjectSearchServiceClient()Protected parameterless constructor to allow creation of test doubles.
DataObjectSearchServiceClient(CallInvoker)
public DataObjectSearchServiceClient(CallInvoker callInvoker)Creates a new client for DataObjectSearchService that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
DataObjectSearchServiceClient(ChannelBase)
public DataObjectSearchServiceClient(ChannelBase channel)Creates a new client for DataObjectSearchService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
DataObjectSearchServiceClient(ClientBaseConfiguration)
protected DataObjectSearchServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
AggregateDataObjects(AggregateDataObjectsRequest, CallOptions)
public virtual AggregateDataObjectsResponse AggregateDataObjects(AggregateDataObjectsRequest request, CallOptions options)Aggregates data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregateDataObjectsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AggregateDataObjectsResponse |
The response received from the server. |
AggregateDataObjects(AggregateDataObjectsRequest, Metadata, DateTime?, CancellationToken)
public virtual AggregateDataObjectsResponse AggregateDataObjects(AggregateDataObjectsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Aggregates data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregateDataObjectsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AggregateDataObjectsResponse |
The response received from the server. |
AggregateDataObjectsAsync(AggregateDataObjectsRequest, CallOptions)
public virtual AsyncUnaryCall<AggregateDataObjectsResponse> AggregateDataObjectsAsync(AggregateDataObjectsRequest request, CallOptions options)Aggregates data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregateDataObjectsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAggregateDataObjectsResponse |
The call object. |
AggregateDataObjectsAsync(AggregateDataObjectsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AggregateDataObjectsResponse> AggregateDataObjectsAsync(AggregateDataObjectsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Aggregates data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregateDataObjectsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAggregateDataObjectsResponse |
The call object. |
BatchSearchDataObjects(BatchSearchDataObjectsRequest, CallOptions)
public virtual BatchSearchDataObjectsResponse BatchSearchDataObjects(BatchSearchDataObjectsRequest request, CallOptions options)Batch searches data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchSearchDataObjectsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
BatchSearchDataObjectsResponse |
The response received from the server. |
BatchSearchDataObjects(BatchSearchDataObjectsRequest, Metadata, DateTime?, CancellationToken)
public virtual BatchSearchDataObjectsResponse BatchSearchDataObjects(BatchSearchDataObjectsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Batch searches data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchSearchDataObjectsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
BatchSearchDataObjectsResponse |
The response received from the server. |
BatchSearchDataObjectsAsync(BatchSearchDataObjectsRequest, CallOptions)
public virtual AsyncUnaryCall<BatchSearchDataObjectsResponse> BatchSearchDataObjectsAsync(BatchSearchDataObjectsRequest request, CallOptions options)Batch searches data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchSearchDataObjectsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallBatchSearchDataObjectsResponse |
The call object. |
BatchSearchDataObjectsAsync(BatchSearchDataObjectsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<BatchSearchDataObjectsResponse> BatchSearchDataObjectsAsync(BatchSearchDataObjectsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Batch searches data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchSearchDataObjectsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallBatchSearchDataObjectsResponse |
The call object. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
NewInstance(ClientBaseConfiguration)
protected override DataObjectSearchService.DataObjectSearchServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
DataObjectSearchServiceDataObjectSearchServiceClient |
|
QueryDataObjects(QueryDataObjectsRequest, CallOptions)
public virtual QueryDataObjectsResponse QueryDataObjects(QueryDataObjectsRequest request, CallOptions options)Queries data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryDataObjectsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse |
The response received from the server. |
QueryDataObjects(QueryDataObjectsRequest, Metadata, DateTime?, CancellationToken)
public virtual QueryDataObjectsResponse QueryDataObjects(QueryDataObjectsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Queries data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryDataObjectsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
QueryDataObjectsResponse |
The response received from the server. |
QueryDataObjectsAsync(QueryDataObjectsRequest, CallOptions)
public virtual AsyncUnaryCall<QueryDataObjectsResponse> QueryDataObjectsAsync(QueryDataObjectsRequest request, CallOptions options)Queries data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryDataObjectsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallQueryDataObjectsResponse |
The call object. |
QueryDataObjectsAsync(QueryDataObjectsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<QueryDataObjectsResponse> QueryDataObjectsAsync(QueryDataObjectsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Queries data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryDataObjectsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallQueryDataObjectsResponse |
The call object. |
SearchDataObjects(SearchDataObjectsRequest, CallOptions)
public virtual SearchDataObjectsResponse SearchDataObjects(SearchDataObjectsRequest request, CallOptions options)Searches data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchDataObjectsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
SearchDataObjectsResponse |
The response received from the server. |
SearchDataObjects(SearchDataObjectsRequest, Metadata, DateTime?, CancellationToken)
public virtual SearchDataObjectsResponse SearchDataObjects(SearchDataObjectsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Searches data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchDataObjectsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
SearchDataObjectsResponse |
The response received from the server. |
SearchDataObjectsAsync(SearchDataObjectsRequest, CallOptions)
public virtual AsyncUnaryCall<SearchDataObjectsResponse> SearchDataObjectsAsync(SearchDataObjectsRequest request, CallOptions options)Searches data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchDataObjectsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSearchDataObjectsResponse |
The call object. |
SearchDataObjectsAsync(SearchDataObjectsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<SearchDataObjectsResponse> SearchDataObjectsAsync(SearchDataObjectsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Searches data objects.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchDataObjectsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSearchDataObjectsResponse |
The call object. |