# Google Cloud Text-to-Speech v1 API - Class TextToSpeechLongAudioSynthesizeClientImpl (3.18.0)

3.18.0 (latest) 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.5.0 2.4.0 2.3.0 2.2.0

    public sealed class TextToSpeechLongAudioSynthesizeClientImpl : TextToSpeechLongAudioSynthesizeClient

Reference documentation and code samples for the Google Cloud Text-to-Speech v1 API class TextToSpeechLongAudioSynthesizeClientImpl.

TextToSpeechLongAudioSynthesize client wrapper implementation, for convenient use.

## Inheritance

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

## Inherited Members

[TextToSpeechLongAudioSynthesizeClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1_TextToSpeechLongAudioSynthesizeClient_DefaultEndpoint) [TextToSpeechLongAudioSynthesizeClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1_TextToSpeechLongAudioSynthesizeClient_DefaultScopes) [TextToSpeechLongAudioSynthesizeClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1_TextToSpeechLongAudioSynthesizeClient_ServiceMetadata) [TextToSpeechLongAudioSynthesizeClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1_TextToSpeechLongAudioSynthesizeClient_CreateAsync_System_Threading_CancellationToken_) [TextToSpeechLongAudioSynthesizeClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1_TextToSpeechLongAudioSynthesizeClient_Create) [TextToSpeechLongAudioSynthesizeClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1_TextToSpeechLongAudioSynthesizeClient_ShutdownDefaultChannelsAsync) [TextToSpeechLongAudioSynthesizeClient.SynthesizeLongAudioAsync(SynthesizeLongAudioRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1_TextToSpeechLongAudioSynthesizeClient_SynthesizeLongAudioAsync_Google_Cloud_TextToSpeech_V1_SynthesizeLongAudioRequest_System_Threading_CancellationToken_) [TextToSpeechLongAudioSynthesizeClient.PollOnceSynthesizeLongAudio(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1_TextToSpeechLongAudioSynthesizeClient_PollOnceSynthesizeLongAudio_System_String_Google_Api_Gax_Grpc_CallSettings_) [TextToSpeechLongAudioSynthesizeClient.PollOnceSynthesizeLongAudioAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1_TextToSpeechLongAudioSynthesizeClient_PollOnceSynthesizeLongAudioAsync_System_String_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.TextToSpeech.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1)

## Assembly

Google.Cloud.TextToSpeech.V1.dll

## Remarks

Service that implements Google Cloud Text-to-Speech API.

## Constructors

### TextToSpeechLongAudioSynthesizeClientImpl(TextToSpeechLongAudioSynthesizeClient, TextToSpeechLongAudioSynthesizeSettings, ILogger)

    public TextToSpeechLongAudioSynthesizeClientImpl(TextToSpeechLongAudioSynthesize.TextToSpeechLongAudioSynthesizeClient grpcClient, TextToSpeechLongAudioSynthesizeSettings settings, ILogger logger)

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

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

The underlying gRPC TextToSpeechLongAudioSynthesize client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesize.TextToSpeechLongAudioSynthesizeClient` |   |

**Overrides** [TextToSpeechLongAudioSynthesizeClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1_TextToSpeechLongAudioSynthesizeClient_GrpcClient)

### SynthesizeLongAudioOperationsClient

    public override OperationsClient SynthesizeLongAudioOperationsClient { get; }

The long-running operations client for `SynthesizeLongAudio`.

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

**Overrides** [TextToSpeechLongAudioSynthesizeClient.SynthesizeLongAudioOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1_TextToSpeechLongAudioSynthesizeClient_SynthesizeLongAudioOperationsClient)

## Methods

### SynthesizeLongAudio(SynthesizeLongAudioRequest, CallSettings)

    public override Operation<SynthesizeLongAudioResponse, SynthesizeLongAudioMetadata> SynthesizeLongAudio(SynthesizeLongAudioRequest request, CallSettings callSettings = null)

Synthesizes long form text asynchronously.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.SynthesizeLongAudioRequest` 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.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.SynthesizeLongAudioResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.SynthesizeLongAudioMetadata` | The RPC response. |

**Overrides** [TextToSpeechLongAudioSynthesizeClient.SynthesizeLongAudio(SynthesizeLongAudioRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1_TextToSpeechLongAudioSynthesizeClient_SynthesizeLongAudio_Google_Cloud_TextToSpeech_V1_SynthesizeLongAudioRequest_Google_Api_Gax_Grpc_CallSettings_)

### SynthesizeLongAudioAsync(SynthesizeLongAudioRequest, CallSettings)

    public override Task<Operation<SynthesizeLongAudioResponse, SynthesizeLongAudioMetadata>> SynthesizeLongAudioAsync(SynthesizeLongAudioRequest request, CallSettings callSettings = null)

Synthesizes long form text asynchronously.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.SynthesizeLongAudioRequest` 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.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.SynthesizeLongAudioResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.SynthesizeLongAudioMetadata` | A Task containing the RPC response. |

**Overrides** [TextToSpeechLongAudioSynthesizeClient.SynthesizeLongAudioAsync(SynthesizeLongAudioRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1_TextToSpeechLongAudioSynthesizeClient_SynthesizeLongAudioAsync_Google_Cloud_TextToSpeech_V1_SynthesizeLongAudioRequest_Google_Api_Gax_Grpc_CallSettings_)