public sealed class DataObjectServiceClientImpl : DataObjectServiceClientReference documentation and code samples for the Vector Search v1 API class DataObjectServiceClientImpl.
DataObjectService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.VectorSearch.V1Assembly
Google.Cloud.VectorSearch.V1.dll
Remarks
Service for creating and managing data objects.
Constructors
DataObjectServiceClientImpl(DataObjectServiceClient, DataObjectServiceSettings, ILogger)
public DataObjectServiceClientImpl(DataObjectService.DataObjectServiceClient grpcClient, DataObjectServiceSettings settings, ILogger logger)Constructs a client wrapper for the DataObjectService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
DataObjectServiceDataObjectServiceClientThe underlying gRPC client. |
settings |
DataObjectServiceSettingsThe base DataObjectServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override DataObjectService.DataObjectServiceClient GrpcClient { get; }The underlying gRPC DataObjectService client
| Property Value | |
|---|---|
| Type | Description |
DataObjectServiceDataObjectServiceClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
BatchCreateDataObjects(BatchCreateDataObjectsRequest, CallSettings)
public override BatchCreateDataObjectsResponse BatchCreateDataObjects(BatchCreateDataObjectsRequest request, CallSettings callSettings = null)Creates a batch of dataObjects.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchCreateDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BatchCreateDataObjectsResponse |
The RPC response. |
BatchCreateDataObjectsAsync(BatchCreateDataObjectsRequest, CallSettings)
public override Task<BatchCreateDataObjectsResponse> BatchCreateDataObjectsAsync(BatchCreateDataObjectsRequest request, CallSettings callSettings = null)Creates a batch of dataObjects.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchCreateDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskBatchCreateDataObjectsResponse |
A Task containing the RPC response. |
BatchDeleteDataObjects(BatchDeleteDataObjectsRequest, CallSettings)
public override void BatchDeleteDataObjects(BatchDeleteDataObjectsRequest request, CallSettings callSettings = null)Deletes dataObjects in a batch.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchDeleteDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
BatchDeleteDataObjectsAsync(BatchDeleteDataObjectsRequest, CallSettings)
public override Task BatchDeleteDataObjectsAsync(BatchDeleteDataObjectsRequest request, CallSettings callSettings = null)Deletes dataObjects in a batch.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchDeleteDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
BatchUpdateDataObjects(BatchUpdateDataObjectsRequest, CallSettings)
public override BatchUpdateDataObjectsResponse BatchUpdateDataObjects(BatchUpdateDataObjectsRequest request, CallSettings callSettings = null)Updates dataObjects in a batch.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchUpdateDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateDataObjectsResponse |
The RPC response. |
BatchUpdateDataObjectsAsync(BatchUpdateDataObjectsRequest, CallSettings)
public override Task<BatchUpdateDataObjectsResponse> BatchUpdateDataObjectsAsync(BatchUpdateDataObjectsRequest request, CallSettings callSettings = null)Updates dataObjects in a batch.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchUpdateDataObjectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskBatchUpdateDataObjectsResponse |
A Task containing the RPC response. |
CreateDataObject(CreateDataObjectRequest, CallSettings)
public override DataObject CreateDataObject(CreateDataObjectRequest request, CallSettings callSettings = null)Creates a dataObject.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDataObjectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DataObject |
The RPC response. |
CreateDataObjectAsync(CreateDataObjectRequest, CallSettings)
public override Task<DataObject> CreateDataObjectAsync(CreateDataObjectRequest request, CallSettings callSettings = null)Creates a dataObject.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDataObjectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDataObject |
A Task containing the RPC response. |
DeleteDataObject(DeleteDataObjectRequest, CallSettings)
public override void DeleteDataObject(DeleteDataObjectRequest request, CallSettings callSettings = null)Deletes a dataObject.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDataObjectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteDataObjectAsync(DeleteDataObjectRequest, CallSettings)
public override Task DeleteDataObjectAsync(DeleteDataObjectRequest request, CallSettings callSettings = null)Deletes a dataObject.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDataObjectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetDataObject(GetDataObjectRequest, CallSettings)
public override DataObject GetDataObject(GetDataObjectRequest request, CallSettings callSettings = null)Gets a data object.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDataObjectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DataObject |
The RPC response. |
GetDataObjectAsync(GetDataObjectRequest, CallSettings)
public override Task<DataObject> GetDataObjectAsync(GetDataObjectRequest request, CallSettings callSettings = null)Gets a data object.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDataObjectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDataObject |
A Task containing the RPC response. |
UpdateDataObject(UpdateDataObjectRequest, CallSettings)
public override DataObject UpdateDataObject(UpdateDataObjectRequest request, CallSettings callSettings = null)Updates a dataObject.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDataObjectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DataObject |
The RPC response. |
UpdateDataObjectAsync(UpdateDataObjectRequest, CallSettings)
public override Task<DataObject> UpdateDataObjectAsync(UpdateDataObjectRequest request, CallSettings callSettings = null)Updates a dataObject.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDataObjectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDataObject |
A Task containing the RPC response. |