# Google Cloud Text-to-Speech v1beta1 API - Class TextToSpeechLongAudioSynthesizeClientImpl (2.0.0-beta18)

2.0.0-beta18 (latest) 2.0.0-beta17 1.0.0-beta04

    public sealed class TextToSpeechLongAudioSynthesizeClientImpl : TextToSpeechLongAudioSynthesizeClient

Reference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 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.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeClient) \> TextToSpeechLongAudioSynthesizeClientImpl

## Inherited Members

[TextToSpeechLongAudioSynthesizeClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1Beta1_TextToSpeechLongAudioSynthesizeClient_DefaultEndpoint) [TextToSpeechLongAudioSynthesizeClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1Beta1_TextToSpeechLongAudioSynthesizeClient_DefaultScopes) [TextToSpeechLongAudioSynthesizeClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1Beta1_TextToSpeechLongAudioSynthesizeClient_ServiceMetadata) [TextToSpeechLongAudioSynthesizeClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1Beta1_TextToSpeechLongAudioSynthesizeClient_CreateAsync_System_Threading_CancellationToken_) [TextToSpeechLongAudioSynthesizeClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1Beta1_TextToSpeechLongAudioSynthesizeClient_Create) [TextToSpeechLongAudioSynthesizeClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1Beta1_TextToSpeechLongAudioSynthesizeClient_ShutdownDefaultChannelsAsync) [TextToSpeechLongAudioSynthesizeClient.SynthesizeLongAudioAsync(SynthesizeLongAudioRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1Beta1_TextToSpeechLongAudioSynthesizeClient_SynthesizeLongAudioAsync_Google_Cloud_TextToSpeech_V1Beta1_SynthesizeLongAudioRequest_System_Threading_CancellationToken_) [TextToSpeechLongAudioSynthesizeClient.PollOnceSynthesizeLongAudio(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1Beta1_TextToSpeechLongAudioSynthesizeClient_PollOnceSynthesizeLongAudio_System_String_Google_Api_Gax_Grpc_CallSettings_) [TextToSpeechLongAudioSynthesizeClient.PollOnceSynthesizeLongAudioAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1Beta1_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.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1)

## Assembly

Google.Cloud.TextToSpeech.V1Beta1.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.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesize.TextToSpeechLongAudioSynthesizeClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeSettings` The base [TextToSpeechLongAudioSynthesizeSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.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.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesize.TextToSpeechLongAudioSynthesizeClient` |   |

**Overrides** [TextToSpeechLongAudioSynthesizeClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1Beta1_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.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1Beta1_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.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.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.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.SynthesizeLongAudioResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.SynthesizeLongAudioMetadata` | The RPC response. |

**Overrides** [TextToSpeechLongAudioSynthesizeClient.SynthesizeLongAudio(SynthesizeLongAudioRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.TextToSpeechLongAudioSynthesizeClient#Google_Cloud_TextToSpeech_V1Beta1_TextToSpeechLongAudioSynthesizeClient_SynthesizeLongAudio_Google_Cloud_TextToSpeech_V1Beta1_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.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.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.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.SynthesizeLongAudioResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.SynthesizeLongAudioMetadata` | A Task containing the RPC response. |

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