public sealed class SynthesizeLongAudioRequest : IMessage<SynthesizeLongAudioRequest>, IEquatable<SynthesizeLongAudioRequest>, IDeepCloneable<SynthesizeLongAudioRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 API class SynthesizeLongAudioRequest.
The top-level message sent by the client for the
SynthesizeLongAudio
method.
Implements
IMessageSynthesizeLongAudioRequest, IEquatableSynthesizeLongAudioRequest, IDeepCloneableSynthesizeLongAudioRequest, IBufferMessage, IMessageNamespace
Google.Cloud.TextToSpeech.V1Beta1Assembly
Google.Cloud.TextToSpeech.V1Beta1.dll
Constructors
SynthesizeLongAudioRequest()
public SynthesizeLongAudioRequest()
SynthesizeLongAudioRequest(SynthesizeLongAudioRequest)
public SynthesizeLongAudioRequest(SynthesizeLongAudioRequest other)
Parameter | |
---|---|
Name | Description |
other | SynthesizeLongAudioRequest |
Properties
AudioConfig
public AudioConfig AudioConfig { get; set; }
Required. The configuration of the synthesized audio.
Property Value | |
---|---|
Type | Description |
AudioConfig |
Input
public SynthesisInput Input { get; set; }
Required. The Synthesizer requires either plain text or SSML as input. While Long Audio is in preview, SSML is temporarily unsupported.
Property Value | |
---|---|
Type | Description |
SynthesisInput |
OutputGcsUri
public string OutputGcsUri { get; set; }
Required. Specifies a Cloud Storage URI for the synthesis results. Must be
specified in the format: gs://bucket_name/object_name
, and the bucket
must already exist.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
The resource states of the request in the form of
projects/*/locations/*
.
Property Value | |
---|---|
Type | Description |
string |
Voice
public VoiceSelectionParams Voice { get; set; }
Required. The desired voice of the synthesized audio.
Property Value | |
---|---|
Type | Description |
VoiceSelectionParams |