The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of TextToSpeechClient.
The optional options argument may be used to configure aspects of the returned TextToSpeechConnection. Expected options are any of the types in the following option lists:
[[["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-14 UTC."],[[["\u003cp\u003eThis page provides documentation for the Google Cloud Text-to-Speech C++ client library, with the latest release being version 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers a range of Text-to-Speech C++ client library versions, from 2.11.0 up to the latest version, allowing users to navigate through different releases.\u003c/p\u003e\n"],["\u003cp\u003eKey classes for interacting with the Text-to-Speech API include \u003ccode\u003eTextToSpeechClient\u003c/code\u003e and \u003ccode\u003eTextToSpeechConnection\u003c/code\u003e, which provide the primary means for service interaction.\u003c/p\u003e\n"],["\u003cp\u003eThe page details various retry and backoff policies, such as \u003ccode\u003eTextToSpeechLimitedErrorCountRetryPolicy\u003c/code\u003e and \u003ccode\u003eTextToSpeechLimitedTimeRetryPolicy\u003c/code\u003e, enabling developers to customize error handling and retry logic.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes factory function \u003ccode\u003eMakeTextToSpeechConnection\u003c/code\u003e to create \u003ccode\u003eTextToSpeechConnection\u003c/code\u003e object, and \u003ccode\u003eMakeDefaultTextToSpeechConnectionIdempotencyPolicy\u003c/code\u003e to create the default policy.\u003c/p\u003e\n"]]],[],null,[]]