Nouveaux fichier suite maj librairies vendor
This commit is contained in:
66
vendor/google/apiclient-services/src/Google/Service/Texttospeech/AudioConfig.php
vendored
Normal file
66
vendor/google/apiclient-services/src/Google/Service/Texttospeech/AudioConfig.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
class Google_Service_Texttospeech_AudioConfig extends Google_Model
|
||||
{
|
||||
public $audioEncoding;
|
||||
public $pitch;
|
||||
public $sampleRateHertz;
|
||||
public $speakingRate;
|
||||
public $volumeGainDb;
|
||||
|
||||
public function setAudioEncoding($audioEncoding)
|
||||
{
|
||||
$this->audioEncoding = $audioEncoding;
|
||||
}
|
||||
public function getAudioEncoding()
|
||||
{
|
||||
return $this->audioEncoding;
|
||||
}
|
||||
public function setPitch($pitch)
|
||||
{
|
||||
$this->pitch = $pitch;
|
||||
}
|
||||
public function getPitch()
|
||||
{
|
||||
return $this->pitch;
|
||||
}
|
||||
public function setSampleRateHertz($sampleRateHertz)
|
||||
{
|
||||
$this->sampleRateHertz = $sampleRateHertz;
|
||||
}
|
||||
public function getSampleRateHertz()
|
||||
{
|
||||
return $this->sampleRateHertz;
|
||||
}
|
||||
public function setSpeakingRate($speakingRate)
|
||||
{
|
||||
$this->speakingRate = $speakingRate;
|
||||
}
|
||||
public function getSpeakingRate()
|
||||
{
|
||||
return $this->speakingRate;
|
||||
}
|
||||
public function setVolumeGainDb($volumeGainDb)
|
||||
{
|
||||
$this->volumeGainDb = $volumeGainDb;
|
||||
}
|
||||
public function getVolumeGainDb()
|
||||
{
|
||||
return $this->volumeGainDb;
|
||||
}
|
||||
}
|
||||
38
vendor/google/apiclient-services/src/Google/Service/Texttospeech/ListVoicesResponse.php
vendored
Normal file
38
vendor/google/apiclient-services/src/Google/Service/Texttospeech/ListVoicesResponse.php
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
class Google_Service_Texttospeech_ListVoicesResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'voices';
|
||||
protected $voicesType = 'Google_Service_Texttospeech_Voice';
|
||||
protected $voicesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Texttospeech_Voice
|
||||
*/
|
||||
public function setVoices($voices)
|
||||
{
|
||||
$this->voices = $voices;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Texttospeech_Voice
|
||||
*/
|
||||
public function getVoices()
|
||||
{
|
||||
return $this->voices;
|
||||
}
|
||||
}
|
||||
42
vendor/google/apiclient-services/src/Google/Service/Texttospeech/Resource/Text.php
vendored
Normal file
42
vendor/google/apiclient-services/src/Google/Service/Texttospeech/Resource/Text.php
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "text" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $texttospeechService = new Google_Service_Texttospeech(...);
|
||||
* $text = $texttospeechService->text;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Texttospeech_Resource_Text extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Synthesizes speech synchronously: receive results after all text input has
|
||||
* been processed. (text.synthesize)
|
||||
*
|
||||
* @param Google_Service_Texttospeech_SynthesizeSpeechRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Texttospeech_SynthesizeSpeechResponse
|
||||
*/
|
||||
public function synthesize(Google_Service_Texttospeech_SynthesizeSpeechRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('synthesize', array($params), "Google_Service_Texttospeech_SynthesizeSpeechResponse");
|
||||
}
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/Texttospeech/Resource/Voices.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/Texttospeech/Resource/Voices.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "voices" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $texttospeechService = new Google_Service_Texttospeech(...);
|
||||
* $voices = $texttospeechService->voices;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Texttospeech_Resource_Voices extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Returns a list of Voice supported for synthesis. (voices.listVoices)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string languageCode Optional (but recommended)
|
||||
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
|
||||
* specified, the ListVoices call will only return voices that can be used to
|
||||
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
|
||||
* supported "en-*" voices; when specifying "no", you will get supported "no-*"
|
||||
* (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh" will also
|
||||
* get supported "cmn-*" voices; specifying "zh-hk" will also get supported
|
||||
* "yue-*" voices.
|
||||
* @return Google_Service_Texttospeech_ListVoicesResponse
|
||||
*/
|
||||
public function listVoices($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Texttospeech_ListVoicesResponse");
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Texttospeech/SynthesisInput.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Texttospeech/SynthesisInput.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
class Google_Service_Texttospeech_SynthesisInput extends Google_Model
|
||||
{
|
||||
public $ssml;
|
||||
public $text;
|
||||
|
||||
public function setSsml($ssml)
|
||||
{
|
||||
$this->ssml = $ssml;
|
||||
}
|
||||
public function getSsml()
|
||||
{
|
||||
return $this->ssml;
|
||||
}
|
||||
public function setText($text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
public function getText()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
}
|
||||
69
vendor/google/apiclient-services/src/Google/Service/Texttospeech/SynthesizeSpeechRequest.php
vendored
Normal file
69
vendor/google/apiclient-services/src/Google/Service/Texttospeech/SynthesizeSpeechRequest.php
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
class Google_Service_Texttospeech_SynthesizeSpeechRequest extends Google_Model
|
||||
{
|
||||
protected $audioConfigType = 'Google_Service_Texttospeech_AudioConfig';
|
||||
protected $audioConfigDataType = '';
|
||||
protected $inputType = 'Google_Service_Texttospeech_SynthesisInput';
|
||||
protected $inputDataType = '';
|
||||
protected $voiceType = 'Google_Service_Texttospeech_VoiceSelectionParams';
|
||||
protected $voiceDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Texttospeech_AudioConfig
|
||||
*/
|
||||
public function setAudioConfig(Google_Service_Texttospeech_AudioConfig $audioConfig)
|
||||
{
|
||||
$this->audioConfig = $audioConfig;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Texttospeech_AudioConfig
|
||||
*/
|
||||
public function getAudioConfig()
|
||||
{
|
||||
return $this->audioConfig;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Texttospeech_SynthesisInput
|
||||
*/
|
||||
public function setInput(Google_Service_Texttospeech_SynthesisInput $input)
|
||||
{
|
||||
$this->input = $input;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Texttospeech_SynthesisInput
|
||||
*/
|
||||
public function getInput()
|
||||
{
|
||||
return $this->input;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Texttospeech_VoiceSelectionParams
|
||||
*/
|
||||
public function setVoice(Google_Service_Texttospeech_VoiceSelectionParams $voice)
|
||||
{
|
||||
$this->voice = $voice;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Texttospeech_VoiceSelectionParams
|
||||
*/
|
||||
public function getVoice()
|
||||
{
|
||||
return $this->voice;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Texttospeech/SynthesizeSpeechResponse.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Texttospeech/SynthesizeSpeechResponse.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
class Google_Service_Texttospeech_SynthesizeSpeechResponse extends Google_Model
|
||||
{
|
||||
public $audioContent;
|
||||
|
||||
public function setAudioContent($audioContent)
|
||||
{
|
||||
$this->audioContent = $audioContent;
|
||||
}
|
||||
public function getAudioContent()
|
||||
{
|
||||
return $this->audioContent;
|
||||
}
|
||||
}
|
||||
58
vendor/google/apiclient-services/src/Google/Service/Texttospeech/Voice.php
vendored
Normal file
58
vendor/google/apiclient-services/src/Google/Service/Texttospeech/Voice.php
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
class Google_Service_Texttospeech_Voice extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'languageCodes';
|
||||
public $languageCodes;
|
||||
public $name;
|
||||
public $naturalSampleRateHertz;
|
||||
public $ssmlGender;
|
||||
|
||||
public function setLanguageCodes($languageCodes)
|
||||
{
|
||||
$this->languageCodes = $languageCodes;
|
||||
}
|
||||
public function getLanguageCodes()
|
||||
{
|
||||
return $this->languageCodes;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setNaturalSampleRateHertz($naturalSampleRateHertz)
|
||||
{
|
||||
$this->naturalSampleRateHertz = $naturalSampleRateHertz;
|
||||
}
|
||||
public function getNaturalSampleRateHertz()
|
||||
{
|
||||
return $this->naturalSampleRateHertz;
|
||||
}
|
||||
public function setSsmlGender($ssmlGender)
|
||||
{
|
||||
$this->ssmlGender = $ssmlGender;
|
||||
}
|
||||
public function getSsmlGender()
|
||||
{
|
||||
return $this->ssmlGender;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/Texttospeech/VoiceSelectionParams.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/Texttospeech/VoiceSelectionParams.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
class Google_Service_Texttospeech_VoiceSelectionParams extends Google_Model
|
||||
{
|
||||
public $languageCode;
|
||||
public $name;
|
||||
public $ssmlGender;
|
||||
|
||||
public function setLanguageCode($languageCode)
|
||||
{
|
||||
$this->languageCode = $languageCode;
|
||||
}
|
||||
public function getLanguageCode()
|
||||
{
|
||||
return $this->languageCode;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setSsmlGender($ssmlGender)
|
||||
{
|
||||
$this->ssmlGender = $ssmlGender;
|
||||
}
|
||||
public function getSsmlGender()
|
||||
{
|
||||
return $this->ssmlGender;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user