public sealed class SynthesizeSpeechResponse : IMessage<SynthesizeSpeechResponse>, IEquatable<SynthesizeSpeechResponse>, IDeepCloneable<SynthesizeSpeechResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 API class SynthesizeSpeechResponse.
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e class within the Google Cloud Text-to-Speech v1beta1 API, specifically detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e class, which is returned by the \u003ccode\u003eSynthesizeSpeech\u003c/code\u003e method, represents the message that is sent back to the client, and it inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors: a default one and another that takes another \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e as a parameter for creating a copy.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eSynthesizeSpeechResponse\u003c/code\u003e include \u003ccode\u003eAudioConfig\u003c/code\u003e, which holds audio metadata, \u003ccode\u003eAudioContent\u003c/code\u003e, containing the encoded audio data, and \u003ccode\u003eTimepoints\u003c/code\u003e, providing a link between input positions and audio timestamps.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers three versions of this API class: version 2.0.0-beta12 (latest), 2.0.0-beta11, and 1.0.0-beta04, all within the same namespace \u003ccode\u003eGoogle.Cloud.TextToSpeech.V1Beta1\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]