# Google Cloud Natural Language v1 API - Class LanguageServiceClientImpl (3.8.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.8.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClientImpl)
- [3.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/3.7.0/Google.Cloud.Language.V1.LanguageServiceClientImpl)
- [3.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/3.6.0/Google.Cloud.Language.V1.LanguageServiceClientImpl)
- [3.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/3.5.0/Google.Cloud.Language.V1.LanguageServiceClientImpl)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/3.4.0/Google.Cloud.Language.V1.LanguageServiceClientImpl)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/3.3.0/Google.Cloud.Language.V1.LanguageServiceClientImpl)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/3.2.0/Google.Cloud.Language.V1.LanguageServiceClientImpl)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/3.1.0/Google.Cloud.Language.V1.LanguageServiceClientImpl)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/3.0.0/Google.Cloud.Language.V1.LanguageServiceClientImpl)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/2.3.0/Google.Cloud.Language.V1.LanguageServiceClientImpl)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/2.2.0/Google.Cloud.Language.V1.LanguageServiceClientImpl)

    public sealed class LanguageServiceClientImpl : LanguageServiceClient

Reference documentation and code samples for the Google Cloud Natural Language v1 API class LanguageServiceClientImpl.

LanguageService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [LanguageServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient) \> LanguageServiceClientImpl

## Inherited Members

[LanguageServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_DefaultEndpoint) [LanguageServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_DefaultScopes) [LanguageServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ServiceMetadata) [LanguageServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_CreateAsync_System_Threading_CancellationToken_) [LanguageServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_Create) [LanguageServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ShutdownDefaultChannelsAsync) [LanguageServiceClient.AnalyzeSentimentAsync(AnalyzeSentimentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSentimentAsync_Google_Cloud_Language_V1_AnalyzeSentimentRequest_System_Threading_CancellationToken_) [LanguageServiceClient.AnalyzeSentiment(Document, EncodingType, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSentiment_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_EncodingType_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeSentimentAsync(Document, EncodingType, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSentimentAsync_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_EncodingType_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeSentimentAsync(Document, EncodingType, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSentimentAsync_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_EncodingType_System_Threading_CancellationToken_) [LanguageServiceClient.AnalyzeSentiment(Document, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSentiment_Google_Cloud_Language_V1_Document_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeSentimentAsync(Document, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSentimentAsync_Google_Cloud_Language_V1_Document_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeSentimentAsync(Document, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSentimentAsync_Google_Cloud_Language_V1_Document_System_Threading_CancellationToken_) [LanguageServiceClient.AnalyzeEntitiesAsync(AnalyzeEntitiesRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitiesAsync_Google_Cloud_Language_V1_AnalyzeEntitiesRequest_System_Threading_CancellationToken_) [LanguageServiceClient.AnalyzeEntities(Document, EncodingType, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntities_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_EncodingType_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeEntitiesAsync(Document, EncodingType, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitiesAsync_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_EncodingType_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeEntitiesAsync(Document, EncodingType, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitiesAsync_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_EncodingType_System_Threading_CancellationToken_) [LanguageServiceClient.AnalyzeEntitySentimentAsync(AnalyzeEntitySentimentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitySentimentAsync_Google_Cloud_Language_V1_AnalyzeEntitySentimentRequest_System_Threading_CancellationToken_) [LanguageServiceClient.AnalyzeEntitySentiment(Document, EncodingType, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitySentiment_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_EncodingType_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeEntitySentimentAsync(Document, EncodingType, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitySentimentAsync_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_EncodingType_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeEntitySentimentAsync(Document, EncodingType, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitySentimentAsync_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_EncodingType_System_Threading_CancellationToken_) [LanguageServiceClient.AnalyzeSyntaxAsync(AnalyzeSyntaxRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSyntaxAsync_Google_Cloud_Language_V1_AnalyzeSyntaxRequest_System_Threading_CancellationToken_) [LanguageServiceClient.AnalyzeSyntax(Document, EncodingType, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSyntax_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_EncodingType_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeSyntaxAsync(Document, EncodingType, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSyntaxAsync_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_EncodingType_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeSyntaxAsync(Document, EncodingType, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSyntaxAsync_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_EncodingType_System_Threading_CancellationToken_) [LanguageServiceClient.ClassifyTextAsync(ClassifyTextRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ClassifyTextAsync_Google_Cloud_Language_V1_ClassifyTextRequest_System_Threading_CancellationToken_) [LanguageServiceClient.ClassifyText(Document, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ClassifyText_Google_Cloud_Language_V1_Document_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.ClassifyTextAsync(Document, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ClassifyTextAsync_Google_Cloud_Language_V1_Document_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.ClassifyTextAsync(Document, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ClassifyTextAsync_Google_Cloud_Language_V1_Document_System_Threading_CancellationToken_) [LanguageServiceClient.ModerateTextAsync(ModerateTextRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ModerateTextAsync_Google_Cloud_Language_V1_ModerateTextRequest_System_Threading_CancellationToken_) [LanguageServiceClient.ModerateText(Document, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ModerateText_Google_Cloud_Language_V1_Document_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.ModerateTextAsync(Document, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ModerateTextAsync_Google_Cloud_Language_V1_Document_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.ModerateTextAsync(Document, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ModerateTextAsync_Google_Cloud_Language_V1_Document_System_Threading_CancellationToken_) [LanguageServiceClient.AnnotateTextAsync(AnnotateTextRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnnotateTextAsync_Google_Cloud_Language_V1_AnnotateTextRequest_System_Threading_CancellationToken_) [LanguageServiceClient.AnnotateText(Document, AnnotateTextRequest.Types.Features, EncodingType, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnnotateText_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_AnnotateTextRequest_Types_Features_Google_Cloud_Language_V1_EncodingType_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnnotateTextAsync(Document, AnnotateTextRequest.Types.Features, EncodingType, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnnotateTextAsync_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_AnnotateTextRequest_Types_Features_Google_Cloud_Language_V1_EncodingType_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnnotateTextAsync(Document, AnnotateTextRequest.Types.Features, EncodingType, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnnotateTextAsync_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_AnnotateTextRequest_Types_Features_Google_Cloud_Language_V1_EncodingType_System_Threading_CancellationToken_) [LanguageServiceClient.AnalyzeEntities(Document, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntities_Google_Cloud_Language_V1_Document_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeEntitiesAsync(Document, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitiesAsync_Google_Cloud_Language_V1_Document_System_Threading_CancellationToken_) [LanguageServiceClient.AnalyzeEntitiesAsync(Document, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitiesAsync_Google_Cloud_Language_V1_Document_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeSyntax(Document, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSyntax_Google_Cloud_Language_V1_Document_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeSyntaxAsync(Document, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSyntaxAsync_Google_Cloud_Language_V1_Document_System_Threading_CancellationToken_) [LanguageServiceClient.AnalyzeSyntaxAsync(Document, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSyntaxAsync_Google_Cloud_Language_V1_Document_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnnotateText(Document, AnnotateTextRequest.Types.Features, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnnotateText_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_AnnotateTextRequest_Types_Features_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnnotateTextAsync(Document, AnnotateTextRequest.Types.Features, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnnotateTextAsync_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_AnnotateTextRequest_Types_Features_System_Threading_CancellationToken_) [LanguageServiceClient.AnnotateTextAsync(Document, AnnotateTextRequest.Types.Features, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnnotateTextAsync_Google_Cloud_Language_V1_Document_Google_Cloud_Language_V1_AnnotateTextRequest_Types_Features_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeEntitySentiment(Document, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitySentiment_Google_Cloud_Language_V1_Document_Google_Api_Gax_Grpc_CallSettings_) [LanguageServiceClient.AnalyzeEntitySentimentAsync(Document, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitySentimentAsync_Google_Cloud_Language_V1_Document_System_Threading_CancellationToken_) [LanguageServiceClient.AnalyzeEntitySentimentAsync(Document, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitySentimentAsync_Google_Cloud_Language_V1_Document_Google_Api_Gax_Grpc_CallSettings_) [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.Language.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1)

## Assembly

Google.Cloud.Language.V1.dll

## Remarks

Provides text analysis operations such as sentiment analysis and entity
recognition.

## Constructors

### LanguageServiceClientImpl(LanguageServiceClient, LanguageServiceSettings, ILogger)

    public LanguageServiceClientImpl(LanguageService.LanguageServiceClient grpcClient, LanguageServiceSettings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageService.LanguageServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceSettings` The base [LanguageServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceSettings) 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 LanguageService.LanguageServiceClient GrpcClient { get; }

The underlying gRPC LanguageService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageService.LanguageServiceClient` |   |

**Overrides** [LanguageServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_GrpcClient)

## Methods

### AnalyzeEntities(AnalyzeEntitiesRequest, CallSettings)

    public override AnalyzeEntitiesResponse AnalyzeEntities(AnalyzeEntitiesRequest request, CallSettings callSettings = null)

Finds named entities (currently proper names and common nouns) in the text
along with entity types, salience, mentions for each entity, and
other properties.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeEntitiesRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeEntitiesResponse` | The RPC response. |

**Overrides** [LanguageServiceClient.AnalyzeEntities(AnalyzeEntitiesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntities_Google_Cloud_Language_V1_AnalyzeEntitiesRequest_Google_Api_Gax_Grpc_CallSettings_)

### AnalyzeEntitiesAsync(AnalyzeEntitiesRequest, CallSettings)

    public override Task<AnalyzeEntitiesResponse> AnalyzeEntitiesAsync(AnalyzeEntitiesRequest request, CallSettings callSettings = null)

Finds named entities (currently proper names and common nouns) in the text
along with entity types, salience, mentions for each entity, and
other properties.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeEntitiesRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeEntitiesResponse` | A Task containing the RPC response. |

**Overrides** [LanguageServiceClient.AnalyzeEntitiesAsync(AnalyzeEntitiesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitiesAsync_Google_Cloud_Language_V1_AnalyzeEntitiesRequest_Google_Api_Gax_Grpc_CallSettings_)

### AnalyzeEntitySentiment(AnalyzeEntitySentimentRequest, CallSettings)

    public override AnalyzeEntitySentimentResponse AnalyzeEntitySentiment(AnalyzeEntitySentimentRequest request, CallSettings callSettings = null)

Finds entities, similar to
\[AnalyzeEntities\]\[google.cloud.language.v1.LanguageService.AnalyzeEntities\]
in the text and analyzes sentiment associated with each entity and its
mentions.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeEntitySentimentRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeEntitySentimentResponse` | The RPC response. |

**Overrides** [LanguageServiceClient.AnalyzeEntitySentiment(AnalyzeEntitySentimentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitySentiment_Google_Cloud_Language_V1_AnalyzeEntitySentimentRequest_Google_Api_Gax_Grpc_CallSettings_)

### AnalyzeEntitySentimentAsync(AnalyzeEntitySentimentRequest, CallSettings)

    public override Task<AnalyzeEntitySentimentResponse> AnalyzeEntitySentimentAsync(AnalyzeEntitySentimentRequest request, CallSettings callSettings = null)

Finds entities, similar to
\[AnalyzeEntities\]\[google.cloud.language.v1.LanguageService.AnalyzeEntities\]
in the text and analyzes sentiment associated with each entity and its
mentions.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeEntitySentimentRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeEntitySentimentResponse` | A Task containing the RPC response. |

**Overrides** [LanguageServiceClient.AnalyzeEntitySentimentAsync(AnalyzeEntitySentimentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeEntitySentimentAsync_Google_Cloud_Language_V1_AnalyzeEntitySentimentRequest_Google_Api_Gax_Grpc_CallSettings_)

### AnalyzeSentiment(AnalyzeSentimentRequest, CallSettings)

    public override AnalyzeSentimentResponse AnalyzeSentiment(AnalyzeSentimentRequest request, CallSettings callSettings = null)

Analyzes the sentiment of the provided text.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeSentimentRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeSentimentResponse` | The RPC response. |

**Overrides** [LanguageServiceClient.AnalyzeSentiment(AnalyzeSentimentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSentiment_Google_Cloud_Language_V1_AnalyzeSentimentRequest_Google_Api_Gax_Grpc_CallSettings_)

### AnalyzeSentimentAsync(AnalyzeSentimentRequest, CallSettings)

    public override Task<AnalyzeSentimentResponse> AnalyzeSentimentAsync(AnalyzeSentimentRequest request, CallSettings callSettings = null)

Analyzes the sentiment of the provided text.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeSentimentRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeSentimentResponse` | A Task containing the RPC response. |

**Overrides** [LanguageServiceClient.AnalyzeSentimentAsync(AnalyzeSentimentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSentimentAsync_Google_Cloud_Language_V1_AnalyzeSentimentRequest_Google_Api_Gax_Grpc_CallSettings_)

### AnalyzeSyntax(AnalyzeSyntaxRequest, CallSettings)

    public override AnalyzeSyntaxResponse AnalyzeSyntax(AnalyzeSyntaxRequest request, CallSettings callSettings = null)

Analyzes the syntax of the text and provides sentence boundaries and
tokenization along with part of speech tags, dependency trees, and other
properties.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeSyntaxRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeSyntaxResponse` | The RPC response. |

**Overrides** [LanguageServiceClient.AnalyzeSyntax(AnalyzeSyntaxRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSyntax_Google_Cloud_Language_V1_AnalyzeSyntaxRequest_Google_Api_Gax_Grpc_CallSettings_)

### AnalyzeSyntaxAsync(AnalyzeSyntaxRequest, CallSettings)

    public override Task<AnalyzeSyntaxResponse> AnalyzeSyntaxAsync(AnalyzeSyntaxRequest request, CallSettings callSettings = null)

Analyzes the syntax of the text and provides sentence boundaries and
tokenization along with part of speech tags, dependency trees, and other
properties.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeSyntaxRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.AnalyzeSyntaxResponse` | A Task containing the RPC response. |

**Overrides** [LanguageServiceClient.AnalyzeSyntaxAsync(AnalyzeSyntaxRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnalyzeSyntaxAsync_Google_Cloud_Language_V1_AnalyzeSyntaxRequest_Google_Api_Gax_Grpc_CallSettings_)

### AnnotateText(AnnotateTextRequest, CallSettings)

    public override AnnotateTextResponse AnnotateText(AnnotateTextRequest request, CallSettings callSettings = null)

A convenience method that provides all the features that analyzeSentiment,
analyzeEntities, and analyzeSyntax provide in one call.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.AnnotateTextRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.AnnotateTextResponse` | The RPC response. |

**Overrides** [LanguageServiceClient.AnnotateText(AnnotateTextRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnnotateText_Google_Cloud_Language_V1_AnnotateTextRequest_Google_Api_Gax_Grpc_CallSettings_)

### AnnotateTextAsync(AnnotateTextRequest, CallSettings)

    public override Task<AnnotateTextResponse> AnnotateTextAsync(AnnotateTextRequest request, CallSettings callSettings = null)

A convenience method that provides all the features that analyzeSentiment,
analyzeEntities, and analyzeSyntax provide in one call.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.AnnotateTextRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.AnnotateTextResponse` | A Task containing the RPC response. |

**Overrides** [LanguageServiceClient.AnnotateTextAsync(AnnotateTextRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_AnnotateTextAsync_Google_Cloud_Language_V1_AnnotateTextRequest_Google_Api_Gax_Grpc_CallSettings_)

### ClassifyText(ClassifyTextRequest, CallSettings)

    public override ClassifyTextResponse ClassifyText(ClassifyTextRequest request, CallSettings callSettings = null)

Classifies a document into categories.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.ClassifyTextRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.ClassifyTextResponse` | The RPC response. |

**Overrides** [LanguageServiceClient.ClassifyText(ClassifyTextRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ClassifyText_Google_Cloud_Language_V1_ClassifyTextRequest_Google_Api_Gax_Grpc_CallSettings_)

### ClassifyTextAsync(ClassifyTextRequest, CallSettings)

    public override Task<ClassifyTextResponse> ClassifyTextAsync(ClassifyTextRequest request, CallSettings callSettings = null)

Classifies a document into categories.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.ClassifyTextRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.ClassifyTextResponse` | A Task containing the RPC response. |

**Overrides** [LanguageServiceClient.ClassifyTextAsync(ClassifyTextRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ClassifyTextAsync_Google_Cloud_Language_V1_ClassifyTextRequest_Google_Api_Gax_Grpc_CallSettings_)

### ModerateText(ModerateTextRequest, CallSettings)

    public override ModerateTextResponse ModerateText(ModerateTextRequest request, CallSettings callSettings = null)

Moderates a document for harmful and sensitive categories.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.ModerateTextRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.ModerateTextResponse` | The RPC response. |

**Overrides** [LanguageServiceClient.ModerateText(ModerateTextRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ModerateText_Google_Cloud_Language_V1_ModerateTextRequest_Google_Api_Gax_Grpc_CallSettings_)

### ModerateTextAsync(ModerateTextRequest, CallSettings)

    public override Task<ModerateTextResponse> ModerateTextAsync(ModerateTextRequest request, CallSettings callSettings = null)

Moderates a document for harmful and sensitive categories.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.ModerateTextRequest` 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.Language.V1/latest/Google.Cloud.Language.V1.ModerateTextResponse` | A Task containing the RPC response. |

**Overrides** [LanguageServiceClient.ModerateTextAsync(ModerateTextRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageServiceClient#Google_Cloud_Language_V1_LanguageServiceClient_ModerateTextAsync_Google_Cloud_Language_V1_ModerateTextRequest_Google_Api_Gax_Grpc_CallSettings_)