public sealed class KnowledgeBasesClientImpl : KnowledgeBasesClientKnowledgeBases client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Remarks
Service for managing [KnowledgeBases][google.cloud.dialogflow.v2.KnowledgeBase].
Constructors
KnowledgeBasesClientImpl(KnowledgeBases.KnowledgeBasesClient, KnowledgeBasesSettings)
public KnowledgeBasesClientImpl(KnowledgeBases.KnowledgeBasesClient grpcClient, KnowledgeBasesSettings settings)Constructs a client wrapper for the KnowledgeBases service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description | 
| grpcClient | KnowledgeBases.KnowledgeBasesClientThe underlying gRPC client. | 
| settings | KnowledgeBasesSettingsThe base KnowledgeBasesSettings used within this client. | 
Properties
GrpcClient
public override KnowledgeBases.KnowledgeBasesClient GrpcClient { get; }The underlying gRPC KnowledgeBases client
| Property Value | |
|---|---|
| Type | Description | 
| KnowledgeBases.KnowledgeBasesClient | |
Methods
CreateKnowledgeBase(CreateKnowledgeBaseRequest, CallSettings)
public override KnowledgeBase CreateKnowledgeBase(CreateKnowledgeBaseRequest request, CallSettings callSettings = null)Creates a knowledge base.
| Parameters | |
|---|---|
| Name | Description | 
| request | CreateKnowledgeBaseRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| KnowledgeBase | The RPC response. | 
CreateKnowledgeBaseAsync(CreateKnowledgeBaseRequest, CallSettings)
public override Task<KnowledgeBase> CreateKnowledgeBaseAsync(CreateKnowledgeBaseRequest request, CallSettings callSettings = null)Creates a knowledge base.
| Parameters | |
|---|---|
| Name | Description | 
| request | CreateKnowledgeBaseRequestThe 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<KnowledgeBase> | A Task containing the RPC response. | 
DeleteKnowledgeBase(DeleteKnowledgeBaseRequest, CallSettings)
public override void DeleteKnowledgeBase(DeleteKnowledgeBaseRequest request, CallSettings callSettings = null)Deletes the specified knowledge base.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteKnowledgeBaseRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
DeleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest, CallSettings)
public override Task DeleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest request, CallSettings callSettings = null)Deletes the specified knowledge base.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteKnowledgeBaseRequestThe 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. | 
GetKnowledgeBase(GetKnowledgeBaseRequest, CallSettings)
public override KnowledgeBase GetKnowledgeBase(GetKnowledgeBaseRequest request, CallSettings callSettings = null)Retrieves the specified knowledge base.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetKnowledgeBaseRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| KnowledgeBase | The RPC response. | 
GetKnowledgeBaseAsync(GetKnowledgeBaseRequest, CallSettings)
public override Task<KnowledgeBase> GetKnowledgeBaseAsync(GetKnowledgeBaseRequest request, CallSettings callSettings = null)Retrieves the specified knowledge base.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetKnowledgeBaseRequestThe 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<KnowledgeBase> | A Task containing the RPC response. | 
ListKnowledgeBases(ListKnowledgeBasesRequest, CallSettings)
public override PagedEnumerable<ListKnowledgeBasesResponse, KnowledgeBase> ListKnowledgeBases(ListKnowledgeBasesRequest request, CallSettings callSettings = null)Returns the list of all knowledge bases of the specified agent.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListKnowledgeBasesRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedEnumerable<ListKnowledgeBasesResponse, KnowledgeBase> | A pageable sequence of KnowledgeBase resources. | 
ListKnowledgeBasesAsync(ListKnowledgeBasesRequest, CallSettings)
public override PagedAsyncEnumerable<ListKnowledgeBasesResponse, KnowledgeBase> ListKnowledgeBasesAsync(ListKnowledgeBasesRequest request, CallSettings callSettings = null)Returns the list of all knowledge bases of the specified agent.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListKnowledgeBasesRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedAsyncEnumerable<ListKnowledgeBasesResponse, KnowledgeBase> | A pageable asynchronous sequence of KnowledgeBase resources. | 
UpdateKnowledgeBase(UpdateKnowledgeBaseRequest, CallSettings)
public override KnowledgeBase UpdateKnowledgeBase(UpdateKnowledgeBaseRequest request, CallSettings callSettings = null)Updates the specified knowledge base.
| Parameters | |
|---|---|
| Name | Description | 
| request | UpdateKnowledgeBaseRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| KnowledgeBase | The RPC response. | 
UpdateKnowledgeBaseAsync(UpdateKnowledgeBaseRequest, CallSettings)
public override Task<KnowledgeBase> UpdateKnowledgeBaseAsync(UpdateKnowledgeBaseRequest request, CallSettings callSettings = null)Updates the specified knowledge base.
| Parameters | |
|---|---|
| Name | Description | 
| request | UpdateKnowledgeBaseRequestThe 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<KnowledgeBase> | A Task containing the RPC response. |