📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/Texttospeech
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AdvancedVoiceOptions.php
▶ Open 📄 View Source
🐘 AudioConfig.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CustomPronunciationParams.php
▶ Open 📄 View Source
🐘 CustomPronunciations.php
▶ Open 📄 View Source
🐘 CustomVoiceParams.php
▶ Open 📄 View Source
🐘 GenerateVoiceCloningKeyRequest.php
▶ Open 📄 View Source
🐘 GenerateVoiceCloningKeyResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata.php
▶ Open 📄 View Source
🐘 ImportDataRequest.php
▶ Open 📄 View Source
🐘 InputAudio.php
▶ Open 📄 View Source
🐘 InputAudioConfig.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListVoicesResponse.php
▶ Open 📄 View Source
🐘 MultiSpeakerMarkup.php
▶ Open 📄 View Source
🐘 MultiSpeakerVoiceConfig.php
▶ Open 📄 View Source
🐘 MultispeakerPrebuiltVoice.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 SafetySetting.php
▶ Open 📄 View Source
🐘 SafetySettings.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 SynthesisInput.php
▶ Open 📄 View Source
🐘 SynthesizeLongAudioMetadata.php
▶ Open 📄 View Source
🐘 SynthesizeLongAudioRequest.php
▶ Open 📄 View Source
🐘 SynthesizeSpeechRequest.php
▶ Open 📄 View Source
🐘 SynthesizeSpeechResponse.php
▶ Open 📄 View Source
🐘 TexttospeechEmpty.php
▶ Open 📄 View Source
🐘 Turn.php
▶ Open 📄 View Source
🐘 Voice.php
▶ Open 📄 View Source
🐘 VoiceCloneParams.php
▶ Open 📄 View Source
🐘 VoiceSelectionParams.php
▶ Open 📄 View Source

📄 Source: Turn.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Texttospeech;

class Turn extends \Google\Model
{
  /**
   * Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to
   * documentation for available speakers.
   *
   * @var string
   */
  public $speaker;
  /**
   * Required. The text to speak.
   *
   * @var string
   */
  public $text;

  /**
   * Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to
   * documentation for available speakers.
   *
   * @param string $speaker
   */
  public function setSpeaker($speaker)
  {
    $this->speaker = $speaker;
  }
  /**
   * @return string
   */
  public function getSpeaker()
  {
    return $this->speaker;
  }
  /**
   * Required. The text to speak.
   *
   * @param string $text
   */
  public function setText($text)
  {
    $this->text = $text;
  }
  /**
   * @return string
   */
  public function getText()
  {
    return $this->text;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Turn::class, 'Google_Service_Texttospeech_Turn');
← Back