public sealed class SynthesizeSpeechResponse : IMessage<SynthesizeSpeechResponse>, IEquatable<SynthesizeSpeechResponse>, IDeepCloneable<SynthesizeSpeechResponse>, IBufferMessage, IMessage
The message returned to the client by the SynthesizeSpeech method.
The audio data bytes encoded as specified in the request, including the
header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS).
For LINEAR16 audio, we include the WAV header. Note: as
with all bytes fields, protobuffers use a pure binary representation,
whereas JSON representations use base64.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e class, which is the message returned by the \u003ccode\u003eSynthesizeSpeech\u003c/code\u003e method in the Google Cloud Text-to-Speech API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e class is found within the \u003ccode\u003eGoogle.Cloud.TextToSpeech.V1\u003c/code\u003e namespace and is defined in the \u003ccode\u003eGoogle.Cloud.TextToSpeech.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API described on the page is 3.10.0, with the page displaying the definition for version 2.4.0, and offering historical versions ranging from 2.2.0 to 3.10.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<SynthesizeSpeechResponse>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<SynthesizeSpeechResponse>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has an \u003ccode\u003eAudioContent\u003c/code\u003e property of type \u003ccode\u003eByteString\u003c/code\u003e, representing the audio data returned by the Text-to-Speech engine.\u003c/p\u003e\n"]]],[],null,[]]