# Google Cloud Dialogflow v2beta1 API - Class KnowledgeBasesClientImpl (1.0.0-beta30)

1.0.0-beta30 (latest) 1.0.0-beta29

    public sealed class KnowledgeBasesClientImpl : KnowledgeBasesClient

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class KnowledgeBasesClientImpl.

KnowledgeBases client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [KnowledgeBasesClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient) \> KnowledgeBasesClientImpl

## Inherited Members

[KnowledgeBasesClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_DefaultEndpoint) [KnowledgeBasesClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_DefaultScopes) [KnowledgeBasesClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_ServiceMetadata) [KnowledgeBasesClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_CreateAsync_System_Threading_CancellationToken_) [KnowledgeBasesClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_Create) [KnowledgeBasesClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_ShutdownDefaultChannelsAsync) [KnowledgeBasesClient.ListKnowledgeBases(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_ListKnowledgeBases_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.ListKnowledgeBasesAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_ListKnowledgeBasesAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.ListKnowledgeBases(ProjectName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_ListKnowledgeBases_Google_Api_Gax_ResourceNames_ProjectName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.ListKnowledgeBasesAsync(ProjectName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_ListKnowledgeBasesAsync_Google_Api_Gax_ResourceNames_ProjectName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.ListKnowledgeBases(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_ListKnowledgeBases_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.ListKnowledgeBasesAsync(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_ListKnowledgeBasesAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.GetKnowledgeBaseAsync(GetKnowledgeBaseRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_GetKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_GetKnowledgeBaseRequest_System_Threading_CancellationToken_) [KnowledgeBasesClient.GetKnowledgeBase(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_GetKnowledgeBase_System_String_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.GetKnowledgeBaseAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_GetKnowledgeBaseAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.GetKnowledgeBaseAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_GetKnowledgeBaseAsync_System_String_System_Threading_CancellationToken_) [KnowledgeBasesClient.GetKnowledgeBase(KnowledgeBaseName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_GetKnowledgeBase_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBaseName_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.GetKnowledgeBaseAsync(KnowledgeBaseName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_GetKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBaseName_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.GetKnowledgeBaseAsync(KnowledgeBaseName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_GetKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBaseName_System_Threading_CancellationToken_) [KnowledgeBasesClient.CreateKnowledgeBaseAsync(CreateKnowledgeBaseRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_CreateKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_CreateKnowledgeBaseRequest_System_Threading_CancellationToken_) [KnowledgeBasesClient.CreateKnowledgeBase(string, KnowledgeBase, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_CreateKnowledgeBase_System_String_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.CreateKnowledgeBaseAsync(string, KnowledgeBase, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_CreateKnowledgeBaseAsync_System_String_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.CreateKnowledgeBaseAsync(string, KnowledgeBase, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_CreateKnowledgeBaseAsync_System_String_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_System_Threading_CancellationToken_) [KnowledgeBasesClient.CreateKnowledgeBase(ProjectName, KnowledgeBase, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_CreateKnowledgeBase_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.CreateKnowledgeBaseAsync(ProjectName, KnowledgeBase, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_CreateKnowledgeBaseAsync_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.CreateKnowledgeBaseAsync(ProjectName, KnowledgeBase, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_CreateKnowledgeBaseAsync_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_System_Threading_CancellationToken_) [KnowledgeBasesClient.CreateKnowledgeBase(LocationName, KnowledgeBase, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_CreateKnowledgeBase_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.CreateKnowledgeBaseAsync(LocationName, KnowledgeBase, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_CreateKnowledgeBaseAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.CreateKnowledgeBaseAsync(LocationName, KnowledgeBase, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_CreateKnowledgeBaseAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_System_Threading_CancellationToken_) [KnowledgeBasesClient.DeleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_DeleteKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_DeleteKnowledgeBaseRequest_System_Threading_CancellationToken_) [KnowledgeBasesClient.DeleteKnowledgeBase(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_DeleteKnowledgeBase_System_String_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.DeleteKnowledgeBaseAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_DeleteKnowledgeBaseAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.DeleteKnowledgeBaseAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_DeleteKnowledgeBaseAsync_System_String_System_Threading_CancellationToken_) [KnowledgeBasesClient.DeleteKnowledgeBase(KnowledgeBaseName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_DeleteKnowledgeBase_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBaseName_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.DeleteKnowledgeBaseAsync(KnowledgeBaseName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_DeleteKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBaseName_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.DeleteKnowledgeBaseAsync(KnowledgeBaseName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_DeleteKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBaseName_System_Threading_CancellationToken_) [KnowledgeBasesClient.UpdateKnowledgeBaseAsync(UpdateKnowledgeBaseRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_UpdateKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_UpdateKnowledgeBaseRequest_System_Threading_CancellationToken_) [KnowledgeBasesClient.UpdateKnowledgeBase(KnowledgeBase, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_UpdateKnowledgeBase_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.UpdateKnowledgeBaseAsync(KnowledgeBase, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_UpdateKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.UpdateKnowledgeBaseAsync(KnowledgeBase, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_UpdateKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [KnowledgeBasesClient.UpdateKnowledgeBase(KnowledgeBase, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_UpdateKnowledgeBase_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.UpdateKnowledgeBaseAsync(KnowledgeBase, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_UpdateKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_Google_Api_Gax_Grpc_CallSettings_) [KnowledgeBasesClient.UpdateKnowledgeBaseAsync(KnowledgeBase, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_UpdateKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_KnowledgeBase_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dialogflow.V2Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1)

## Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

## Remarks

Service for managing
\[KnowledgeBases\]\[google.cloud.dialogflow.v2beta1.KnowledgeBase\].

## Constructors

### KnowledgeBasesClientImpl(KnowledgeBasesClient, KnowledgeBasesSettings, ILogger)

    public KnowledgeBasesClientImpl(KnowledgeBases.KnowledgeBasesClient grpcClient, KnowledgeBasesSettings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBaseshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBases.KnowledgeBasesClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesSettings` The base [KnowledgeBasesSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override KnowledgeBases.KnowledgeBasesClient GrpcClient { get; }

The underlying gRPC KnowledgeBases client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBaseshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBases.KnowledgeBasesClient` |   |

**Overrides** [KnowledgeBasesClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_GrpcClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

**Overrides** [KnowledgeBasesClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_LocationsClient)

## Methods

### CreateKnowledgeBase(CreateKnowledgeBaseRequest, CallSettings)

    public override KnowledgeBase CreateKnowledgeBase(CreateKnowledgeBaseRequest request, CallSettings callSettings = null)

Creates a knowledge base.

Note: The `projects.agent.knowledgeBases` resource is deprecated;
only use `projects.knowledgeBases`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.CreateKnowledgeBaseRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBase` | The RPC response. |

**Overrides** [KnowledgeBasesClient.CreateKnowledgeBase(CreateKnowledgeBaseRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_CreateKnowledgeBase_Google_Cloud_Dialogflow_V2Beta1_CreateKnowledgeBaseRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateKnowledgeBaseAsync(CreateKnowledgeBaseRequest, CallSettings)

    public override Task<KnowledgeBase> CreateKnowledgeBaseAsync(CreateKnowledgeBaseRequest request, CallSettings callSettings = null)

Creates a knowledge base.

Note: The `projects.agent.knowledgeBases` resource is deprecated;
only use `projects.knowledgeBases`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.CreateKnowledgeBaseRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBase` | A Task containing the RPC response. |

**Overrides** [KnowledgeBasesClient.CreateKnowledgeBaseAsync(CreateKnowledgeBaseRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_CreateKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_CreateKnowledgeBaseRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteKnowledgeBase(DeleteKnowledgeBaseRequest, CallSettings)

    public override void DeleteKnowledgeBase(DeleteKnowledgeBaseRequest request, CallSettings callSettings = null)

Deletes the specified knowledge base.

Note: The `projects.agent.knowledgeBases` resource is deprecated;
only use `projects.knowledgeBases`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DeleteKnowledgeBaseRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Overrides** [KnowledgeBasesClient.DeleteKnowledgeBase(DeleteKnowledgeBaseRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_DeleteKnowledgeBase_Google_Cloud_Dialogflow_V2Beta1_DeleteKnowledgeBaseRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest, CallSettings)

    public override Task DeleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest request, CallSettings callSettings = null)

Deletes the specified knowledge base.

Note: The `projects.agent.knowledgeBases` resource is deprecated;
only use `projects.knowledgeBases`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DeleteKnowledgeBaseRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Overrides** [KnowledgeBasesClient.DeleteKnowledgeBaseAsync(DeleteKnowledgeBaseRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_DeleteKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_DeleteKnowledgeBaseRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetKnowledgeBase(GetKnowledgeBaseRequest, CallSettings)

    public override KnowledgeBase GetKnowledgeBase(GetKnowledgeBaseRequest request, CallSettings callSettings = null)

Retrieves the specified knowledge base.

Note: The `projects.agent.knowledgeBases` resource is deprecated;
only use `projects.knowledgeBases`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.GetKnowledgeBaseRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBase` | The RPC response. |

**Overrides** [KnowledgeBasesClient.GetKnowledgeBase(GetKnowledgeBaseRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_GetKnowledgeBase_Google_Cloud_Dialogflow_V2Beta1_GetKnowledgeBaseRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetKnowledgeBaseAsync(GetKnowledgeBaseRequest, CallSettings)

    public override Task<KnowledgeBase> GetKnowledgeBaseAsync(GetKnowledgeBaseRequest request, CallSettings callSettings = null)

Retrieves the specified knowledge base.

Note: The `projects.agent.knowledgeBases` resource is deprecated;
only use `projects.knowledgeBases`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.GetKnowledgeBaseRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBase` | A Task containing the RPC response. |

**Overrides** [KnowledgeBasesClient.GetKnowledgeBaseAsync(GetKnowledgeBaseRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_GetKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_GetKnowledgeBaseRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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.

Note: The `projects.agent.knowledgeBases` resource is deprecated;
only use `projects.knowledgeBases`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ListKnowledgeBasesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ListKnowledgeBasesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBase` | A pageable sequence of [KnowledgeBase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBase) resources. |

**Overrides** [KnowledgeBasesClient.ListKnowledgeBases(ListKnowledgeBasesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_ListKnowledgeBases_Google_Cloud_Dialogflow_V2Beta1_ListKnowledgeBasesRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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.

Note: The `projects.agent.knowledgeBases` resource is deprecated;
only use `projects.knowledgeBases`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ListKnowledgeBasesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ListKnowledgeBasesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBase` | A pageable asynchronous sequence of [KnowledgeBase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBase) resources. |

**Overrides** [KnowledgeBasesClient.ListKnowledgeBasesAsync(ListKnowledgeBasesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_ListKnowledgeBasesAsync_Google_Cloud_Dialogflow_V2Beta1_ListKnowledgeBasesRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateKnowledgeBase(UpdateKnowledgeBaseRequest, CallSettings)

    public override KnowledgeBase UpdateKnowledgeBase(UpdateKnowledgeBaseRequest request, CallSettings callSettings = null)

Updates the specified knowledge base.

Note: The `projects.agent.knowledgeBases` resource is deprecated;
only use `projects.knowledgeBases`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.UpdateKnowledgeBaseRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBase` | The RPC response. |

**Overrides** [KnowledgeBasesClient.UpdateKnowledgeBase(UpdateKnowledgeBaseRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_UpdateKnowledgeBase_Google_Cloud_Dialogflow_V2Beta1_UpdateKnowledgeBaseRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateKnowledgeBaseAsync(UpdateKnowledgeBaseRequest, CallSettings)

    public override Task<KnowledgeBase> UpdateKnowledgeBaseAsync(UpdateKnowledgeBaseRequest request, CallSettings callSettings = null)

Updates the specified knowledge base.

Note: The `projects.agent.knowledgeBases` resource is deprecated;
only use `projects.knowledgeBases`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.UpdateKnowledgeBaseRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBase` | A Task containing the RPC response. |

**Overrides** [KnowledgeBasesClient.UpdateKnowledgeBaseAsync(UpdateKnowledgeBaseRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBasesClient#Google_Cloud_Dialogflow_V2Beta1_KnowledgeBasesClient_UpdateKnowledgeBaseAsync_Google_Cloud_Dialogflow_V2Beta1_UpdateKnowledgeBaseRequest_Google_Api_Gax_Grpc_CallSettings_)