Discovery Engine v1 API - Class DataStoreServiceClientImpl (1.0.0-beta04)

public sealed class DataStoreServiceClientImpl : DataStoreServiceClient

Reference documentation and code samples for the Discovery Engine v1 API class DataStoreServiceClientImpl.

DataStoreService client wrapper implementation, for convenient use.

Inheritance

object > DataStoreServiceClient > DataStoreServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Remarks

Service for managing [DataStore][google.cloud.discoveryengine.v1.DataStore] configuration.

Constructors

DataStoreServiceClientImpl(DataStoreServiceClient, DataStoreServiceSettings, ILogger)

public DataStoreServiceClientImpl(DataStoreService.DataStoreServiceClient grpcClient, DataStoreServiceSettings settings, ILogger logger)

Constructs a client wrapper for the DataStoreService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientDataStoreServiceDataStoreServiceClient

The underlying gRPC client.

settingsDataStoreServiceSettings

The base DataStoreServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateDataStoreOperationsClient

public override OperationsClient CreateDataStoreOperationsClient { get; }

The long-running operations client for CreateDataStore.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteDataStoreOperationsClient

public override OperationsClient DeleteDataStoreOperationsClient { get; }

The long-running operations client for DeleteDataStore.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override DataStoreService.DataStoreServiceClient GrpcClient { get; }

The underlying gRPC DataStoreService client

Property Value
TypeDescription
DataStoreServiceDataStoreServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

CreateDataStore(CreateDataStoreRequest, CallSettings)

public override Operation<DataStore, CreateDataStoreMetadata> CreateDataStore(CreateDataStoreRequest request, CallSettings callSettings = null)

Creates a [DataStore][google.cloud.discoveryengine.v1.DataStore].

DataStore is for storing [Documents][google.cloud.discoveryengine.v1.Document]. To serve these documents for Search, or Recommendation use case, an [Engine][google.cloud.discoveryengine.v1.Engine] needs to be created separately.

Parameters
NameDescription
requestCreateDataStoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDataStoreCreateDataStoreMetadata

The RPC response.

Overrides

CreateDataStoreAsync(CreateDataStoreRequest, CallSettings)

public override Task<Operation<DataStore, CreateDataStoreMetadata>> CreateDataStoreAsync(CreateDataStoreRequest request, CallSettings callSettings = null)

Creates a [DataStore][google.cloud.discoveryengine.v1.DataStore].

DataStore is for storing [Documents][google.cloud.discoveryengine.v1.Document]. To serve these documents for Search, or Recommendation use case, an [Engine][google.cloud.discoveryengine.v1.Engine] needs to be created separately.

Parameters
NameDescription
requestCreateDataStoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDataStoreCreateDataStoreMetadata

A Task containing the RPC response.

Overrides

DeleteDataStore(DeleteDataStoreRequest, CallSettings)

public override Operation<Empty, DeleteDataStoreMetadata> DeleteDataStore(DeleteDataStoreRequest request, CallSettings callSettings = null)

Deletes a [DataStore][google.cloud.discoveryengine.v1.DataStore].

Parameters
NameDescription
requestDeleteDataStoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteDataStoreMetadata

The RPC response.

Overrides

DeleteDataStoreAsync(DeleteDataStoreRequest, CallSettings)

public override Task<Operation<Empty, DeleteDataStoreMetadata>> DeleteDataStoreAsync(DeleteDataStoreRequest request, CallSettings callSettings = null)

Deletes a [DataStore][google.cloud.discoveryengine.v1.DataStore].

Parameters
NameDescription
requestDeleteDataStoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteDataStoreMetadata

A Task containing the RPC response.

Overrides

GetDataStore(GetDataStoreRequest, CallSettings)

public override DataStore GetDataStore(GetDataStoreRequest request, CallSettings callSettings = null)

Gets a [DataStore][google.cloud.discoveryengine.v1.DataStore].

Parameters
NameDescription
requestGetDataStoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DataStore

The RPC response.

Overrides

GetDataStoreAsync(GetDataStoreRequest, CallSettings)

public override Task<DataStore> GetDataStoreAsync(GetDataStoreRequest request, CallSettings callSettings = null)

Gets a [DataStore][google.cloud.discoveryengine.v1.DataStore].

Parameters
NameDescription
requestGetDataStoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskDataStore

A Task containing the RPC response.

Overrides

ListDataStores(ListDataStoresRequest, CallSettings)

public override PagedEnumerable<ListDataStoresResponse, DataStore> ListDataStores(ListDataStoresRequest request, CallSettings callSettings = null)

Lists all the [DataStore][google.cloud.discoveryengine.v1.DataStore]s associated with the project.

Parameters
NameDescription
requestListDataStoresRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListDataStoresResponseDataStore

A pageable sequence of DataStore resources.

Overrides

ListDataStoresAsync(ListDataStoresRequest, CallSettings)

public override PagedAsyncEnumerable<ListDataStoresResponse, DataStore> ListDataStoresAsync(ListDataStoresRequest request, CallSettings callSettings = null)

Lists all the [DataStore][google.cloud.discoveryengine.v1.DataStore]s associated with the project.

Parameters
NameDescription
requestListDataStoresRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListDataStoresResponseDataStore

A pageable asynchronous sequence of DataStore resources.

Overrides

UpdateDataStore(UpdateDataStoreRequest, CallSettings)

public override DataStore UpdateDataStore(UpdateDataStoreRequest request, CallSettings callSettings = null)

Updates a [DataStore][google.cloud.discoveryengine.v1.DataStore]

Parameters
NameDescription
requestUpdateDataStoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DataStore

The RPC response.

Overrides

UpdateDataStoreAsync(UpdateDataStoreRequest, CallSettings)

public override Task<DataStore> UpdateDataStoreAsync(UpdateDataStoreRequest request, CallSettings callSettings = null)

Updates a [DataStore][google.cloud.discoveryengine.v1.DataStore]

Parameters
NameDescription
requestUpdateDataStoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskDataStore

A Task containing the RPC response.

Overrides