Discovery Engine v1beta API - Class DataStoreServiceClientImpl (1.0.0-beta13)

public sealed class DataStoreServiceClientImpl : DataStoreServiceClient

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

DataStoreService client wrapper implementation, for convenient use.

Inheritance

object > DataStoreServiceClient > DataStoreServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Remarks

Service for managing [DataStore][google.cloud.discoveryengine.v1beta.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
Name Description
grpcClient DataStoreServiceDataStoreServiceClient

The underlying gRPC client.

settings DataStoreServiceSettings

The base DataStoreServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateDataStoreOperationsClient

public override OperationsClient CreateDataStoreOperationsClient { get; }

The long-running operations client for CreateDataStore.

Property Value
Type Description
OperationsClient
Overrides

DeleteDataStoreOperationsClient

public override OperationsClient DeleteDataStoreOperationsClient { get; }

The long-running operations client for DeleteDataStore.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override DataStoreService.DataStoreServiceClient GrpcClient { get; }

The underlying gRPC DataStoreService client

Property Value
Type Description
DataStoreServiceDataStoreServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CreateDataStore(CreateDataStoreRequest, CallSettings)

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

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

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

Parameters
Name Description
request CreateDataStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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.v1beta.DataStore].

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

Parameters
Name Description
request CreateDataStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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.v1beta.DataStore].

Parameters
Name Description
request DeleteDataStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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.v1beta.DataStore].

Parameters
Name Description
request DeleteDataStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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.v1beta.DataStore].

Parameters
Name Description
request GetDataStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DataStore

The RPC response.

Overrides

GetDataStoreAsync(GetDataStoreRequest, CallSettings)

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

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

Parameters
Name Description
request GetDataStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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.v1beta.DataStore]s associated with the project.

Parameters
Name Description
request ListDataStoresRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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.v1beta.DataStore]s associated with the project.

Parameters
Name Description
request ListDataStoresRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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.v1beta.DataStore]

Parameters
Name Description
request UpdateDataStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DataStore

The RPC response.

Overrides

UpdateDataStoreAsync(UpdateDataStoreRequest, CallSettings)

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

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

Parameters
Name Description
request UpdateDataStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDataStore

A Task containing the RPC response.

Overrides