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 > TextToSpeechLongAudioSynthesizeClient > TextToSpeechLongAudioSynthesizeClientImplNamespace
Google.Cloud.TextToSpeech.V1Assembly
Google.Cloud.TextToSpeech.V1.dll
Remarks
Service that implements Google Cloud Text-to-Speech API.
Constructors
TextToSpeechLongAudioSynthesizeClientImpl(TextToSpeechLongAudioSynthesize.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 | TextToSpeechLongAudioSynthesize.TextToSpeechLongAudioSynthesizeClient The underlying gRPC client. |
settings | TextToSpeechLongAudioSynthesizeSettings The base TextToSpeechLongAudioSynthesizeSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override TextToSpeechLongAudioSynthesize.TextToSpeechLongAudioSynthesizeClient GrpcClient { get; }
The underlying gRPC TextToSpeechLongAudioSynthesize client
Property Value | |
---|---|
Type | Description |
TextToSpeechLongAudioSynthesize.TextToSpeechLongAudioSynthesizeClient |
SynthesizeLongAudioOperationsClient
public override OperationsClient SynthesizeLongAudioOperationsClient { get; }
The long-running operations client for SynthesizeLongAudio
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
SynthesizeLongAudio(SynthesizeLongAudioRequest, CallSettings)
public override Operation<SynthesizeLongAudioResponse, SynthesizeLongAudioMetadata> SynthesizeLongAudio(SynthesizeLongAudioRequest request, CallSettings callSettings = null)
Synthesizes long form text asynchronously.
Parameters | |
---|---|
Name | Description |
request | SynthesizeLongAudioRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<SynthesizeLongAudioResponse, SynthesizeLongAudioMetadata> | The RPC response. |
SynthesizeLongAudioAsync(SynthesizeLongAudioRequest, CallSettings)
public override async Task<Operation<SynthesizeLongAudioResponse, SynthesizeLongAudioMetadata>> SynthesizeLongAudioAsync(SynthesizeLongAudioRequest request, CallSettings callSettings = null)
Synthesizes long form text asynchronously.
Parameters | |
---|---|
Name | Description |
request | SynthesizeLongAudioRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<SynthesizeLongAudioResponse, SynthesizeLongAudioMetadata>> | A Task containing the RPC response. |