pub struct SynthesizeLongAudioRequest {
pub audio_config: Option<AudioConfig>,
pub input: Option<SynthesisInput>,
pub output_gcs_uri: Option<String>,
pub voice: Option<VoiceSelectionParams>,
}
Expand description
The top-level message sent by the client for the SynthesizeLongAudio
method.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations synthesize long audio projects (request)
Fields§
§audio_config: Option<AudioConfig>
Required. The configuration of the synthesized audio.
input: Option<SynthesisInput>
Required. The Synthesizer requires either plain text or SSML as input. While Long Audio is in preview, SSML is temporarily unsupported.
output_gcs_uri: Option<String>
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.
voice: Option<VoiceSelectionParams>
Required. The desired voice of the synthesized audio.
Trait Implementations§
source§impl Clone for SynthesizeLongAudioRequest
impl Clone for SynthesizeLongAudioRequest
source§fn clone(&self) -> SynthesizeLongAudioRequest
fn clone(&self) -> SynthesizeLongAudioRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SynthesizeLongAudioRequest
impl Debug for SynthesizeLongAudioRequest
source§impl Default for SynthesizeLongAudioRequest
impl Default for SynthesizeLongAudioRequest
source§fn default() -> SynthesizeLongAudioRequest
fn default() -> SynthesizeLongAudioRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SynthesizeLongAudioRequest
impl<'de> Deserialize<'de> for SynthesizeLongAudioRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for SynthesizeLongAudioRequest
Auto Trait Implementations§
impl RefUnwindSafe for SynthesizeLongAudioRequest
impl Send for SynthesizeLongAudioRequest
impl Sync for SynthesizeLongAudioRequest
impl Unpin for SynthesizeLongAudioRequest
impl UnwindSafe for SynthesizeLongAudioRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more