/var/www/flurhymez/vendor/google/apiclient-services/src/Texttospeech/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Texttospeech/Resource/Text.php (1691B)
* $texttospeechService = new Google\Service\Texttospeech(...);
* $text = $texttospeechService->text;
*
*/
class Text extends \Google\Service\Resource
{
/**
* Synthesizes speech synchronously: receive results after all text input has
* been processed. (text.synthesize)
*
* @param SynthesizeSpeechRequest $postBody
* @param array $optParams Optional parameters.
* @return SynthesizeSpeechResponse
*/
public function synthesize(SynthesizeSpeechRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('synthesize', [$params], SynthesizeSpeechResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Text::class, 'Google_Service_Texttospeech_Resource_Text');