📂 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: SynthesizeLongAudioRequest.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 SynthesizeLongAudioRequest extends \Google\Model
{
  protected $audioConfigType = AudioConfig::class;
  protected $audioConfigDataType = '';
  protected $inputType = SynthesisInput::class;
  protected $inputDataType = '';
  /**
   * Required. Specifies a Cloud Storage URI for the synthesis results. Must be
   * specified in the format: `gs://bucket_name/object_name`, and the bucket
   * must already exist.
   *
   * @var string
   */
  public $outputGcsUri;
  protected $voiceType = VoiceSelectionParams::class;
  protected $voiceDataType = '';

  /**
   * Required. The configuration of the synthesized audio.
   *
   * @param AudioConfig $audioConfig
   */
  public function setAudioConfig(AudioConfig $audioConfig)
  {
    $this->audioConfig = $audioConfig;
  }
  /**
   * @return AudioConfig
   */
  public function getAudioConfig()
  {
    return $this->audioConfig;
  }
  /**
   * Required. The Synthesizer requires either plain text or SSML as input.
   *
   * @param SynthesisInput $input
   */
  public function setInput(SynthesisInput $input)
  {
    $this->input = $input;
  }
  /**
   * @return SynthesisInput
   */
  public function getInput()
  {
    return $this->input;
  }
  /**
   * Required. Specifies a Cloud Storage URI for the synthesis results. Must be
   * specified in the format: `gs://bucket_name/object_name`, and the bucket
   * must already exist.
   *
   * @param string $outputGcsUri
   */
  public function setOutputGcsUri($outputGcsUri)
  {
    $this->outputGcsUri = $outputGcsUri;
  }
  /**
   * @return string
   */
  public function getOutputGcsUri()
  {
    return $this->outputGcsUri;
  }
  /**
   * Required. The desired voice of the synthesized audio.
   *
   * @param VoiceSelectionParams $voice
   */
  public function setVoice(VoiceSelectionParams $voice)
  {
    $this->voice = $voice;
  }
  /**
   * @return VoiceSelectionParams
   */
  public function getVoice()
  {
    return $this->voice;
  }
}

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