Class SynthesizeSpeechRequest (2.3.0)

public sealed class SynthesizeSpeechRequest : IMessage<SynthesizeSpeechRequest>, IEquatable<SynthesizeSpeechRequest>, IDeepCloneable<SynthesizeSpeechRequest>, IBufferMessage, IMessage

The top-level message sent by the client for the SynthesizeSpeech method.

Inheritance

Object > SynthesizeSpeechRequest

Namespace

Google.Cloud.TextToSpeech.V1

Assembly

Google.Cloud.TextToSpeech.V1.dll

Constructors

SynthesizeSpeechRequest()

public SynthesizeSpeechRequest()

SynthesizeSpeechRequest(SynthesizeSpeechRequest)

public SynthesizeSpeechRequest(SynthesizeSpeechRequest other)
Parameter
Name Description
other SynthesizeSpeechRequest

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.

Property Value
Type Description
SynthesisInput

Voice

public VoiceSelectionParams Voice { get; set; }

Required. The desired voice of the synthesized audio.

Property Value
Type Description
VoiceSelectionParams

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.