Mise à jour des librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:43:32 +02:00
parent b67375ae8e
commit d776be73fc
5211 changed files with 59115 additions and 25863 deletions

View File

@@ -1,41 +0,0 @@
<?php
/*
* Copyright 2016 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_Speech_AsyncRecognizeRequest extends Google_Model
{
protected $audioType = 'Google_Service_Speech_RecognitionAudio';
protected $audioDataType = '';
protected $configType = 'Google_Service_Speech_RecognitionConfig';
protected $configDataType = '';
public function setAudio(Google_Service_Speech_RecognitionAudio $audio)
{
$this->audio = $audio;
}
public function getAudio()
{
return $this->audio;
}
public function setConfig(Google_Service_Speech_RecognitionConfig $config)
{
$this->config = $config;
}
public function getConfig()
{
return $this->config;
}
}

View File

@@ -1,20 +0,0 @@
<?php
/*
* Copyright 2016 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_Speech_CancelOperationRequest extends Google_Model
{
}

View File

@@ -1,41 +0,0 @@
<?php
/*
* Copyright 2016 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_Speech_ListOperationsResponse extends Google_Collection
{
protected $collection_key = 'operations';
public $nextPageToken;
protected $operationsType = 'Google_Service_Speech_Operation';
protected $operationsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
public function setOperations($operations)
{
$this->operations = $operations;
}
public function getOperations()
{
return $this->operations;
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -32,10 +32,16 @@ class Google_Service_Speech_Operation extends Google_Model
{
return $this->done;
}
/**
* @param Google_Service_Speech_Status
*/
public function setError(Google_Service_Speech_Status $error)
{
$this->error = $error;
}
/**
* @return Google_Service_Speech_Status
*/
public function getError()
{
return $this->error;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -15,16 +15,26 @@
* the License.
*/
class Google_Service_Speech_RecognitionConfig extends Google_Model
class Google_Service_Speech_RecognitionConfig extends Google_Collection
{
protected $collection_key = 'speechContexts';
public $enableWordTimeOffsets;
public $encoding;
public $languageCode;
public $maxAlternatives;
public $profanityFilter;
public $sampleRate;
protected $speechContextType = 'Google_Service_Speech_SpeechContext';
protected $speechContextDataType = '';
public $sampleRateHertz;
protected $speechContextsType = 'Google_Service_Speech_SpeechContext';
protected $speechContextsDataType = 'array';
public function setEnableWordTimeOffsets($enableWordTimeOffsets)
{
$this->enableWordTimeOffsets = $enableWordTimeOffsets;
}
public function getEnableWordTimeOffsets()
{
return $this->enableWordTimeOffsets;
}
public function setEncoding($encoding)
{
$this->encoding = $encoding;
@@ -57,20 +67,26 @@ class Google_Service_Speech_RecognitionConfig extends Google_Model
{
return $this->profanityFilter;
}
public function setSampleRate($sampleRate)
public function setSampleRateHertz($sampleRateHertz)
{
$this->sampleRate = $sampleRate;
$this->sampleRateHertz = $sampleRateHertz;
}
public function getSampleRate()
public function getSampleRateHertz()
{
return $this->sampleRate;
return $this->sampleRateHertz;
}
public function setSpeechContext(Google_Service_Speech_SpeechContext $speechContext)
/**
* @param Google_Service_Speech_SpeechContext
*/
public function setSpeechContexts($speechContexts)
{
$this->speechContext = $speechContext;
$this->speechContexts = $speechContexts;
}
public function getSpeechContext()
/**
* @return Google_Service_Speech_SpeechContext
*/
public function getSpeechContexts()
{
return $this->speechContext;
return $this->speechContexts;
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -25,43 +25,6 @@
*/
class Google_Service_Speech_Resource_Operations extends Google_Service_Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param array $optParams Optional parameters.
* @return Google_Service_Speech_SpeechEmpty
*/
public function cancel($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('cancel', array($params), "Google_Service_Speech_SpeechEmpty");
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return Google_Service_Speech_SpeechEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_Speech_SpeechEmpty");
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
@@ -77,26 +40,4 @@ class Google_Service_Speech_Resource_Operations extends Google_Service_Resource
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Speech_Operation");
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
*
* NOTE: the `name` binding below allows API services to override the binding to
* use different resource name schemes, such as `users/operations`.
* (operations.listOperations)
*
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param string name The name of the operation collection.
* @opt_param string pageToken The standard list page token.
* @opt_param int pageSize The standard list page size.
* @return Google_Service_Speech_ListOperationsResponse
*/
public function listOperations($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Speech_ListOperationsResponse");
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -27,33 +27,32 @@ class Google_Service_Speech_Resource_Speech extends Google_Service_Resource
{
/**
* Performs asynchronous speech recognition: receive results via the
* [google.longrunning.Operations]
* (/speech/reference/rest/v1beta1/operations#Operation) interface. Returns
* either an `Operation.error` or an `Operation.response` which contains an
* `AsyncRecognizeResponse` message. (speech.asyncrecognize)
* google.longrunning.Operations interface. Returns either an `Operation.error`
* or an `Operation.response` which contains a `LongRunningRecognizeResponse`
* message. (speech.longrunningrecognize)
*
* @param Google_Service_Speech_AsyncRecognizeRequest $postBody
* @param Google_Service_Speech_LongRunningRecognizeRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Speech_Operation
*/
public function asyncrecognize(Google_Service_Speech_AsyncRecognizeRequest $postBody, $optParams = array())
public function longrunningrecognize(Google_Service_Speech_LongRunningRecognizeRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('asyncrecognize', array($params), "Google_Service_Speech_Operation");
return $this->call('longrunningrecognize', array($params), "Google_Service_Speech_Operation");
}
/**
* Performs synchronous speech recognition: receive results after all audio has
* been sent and processed. (speech.syncrecognize)
* been sent and processed. (speech.recognize)
*
* @param Google_Service_Speech_SyncRecognizeRequest $postBody
* @param Google_Service_Speech_RecognizeRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Speech_SyncRecognizeResponse
* @return Google_Service_Speech_RecognizeResponse
*/
public function syncrecognize(Google_Service_Speech_SyncRecognizeRequest $postBody, $optParams = array())
public function recognize(Google_Service_Speech_RecognizeRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('syncrecognize', array($params), "Google_Service_Speech_SyncRecognizeResponse");
return $this->call('recognize', array($params), "Google_Service_Speech_RecognizeResponse");
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,20 +0,0 @@
<?php
/*
* Copyright 2016 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_Speech_SpeechEmpty extends Google_Model
{
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -15,10 +15,13 @@
* the License.
*/
class Google_Service_Speech_SpeechRecognitionAlternative extends Google_Model
class Google_Service_Speech_SpeechRecognitionAlternative extends Google_Collection
{
protected $collection_key = 'words';
public $confidence;
public $transcript;
protected $wordsType = 'Google_Service_Speech_WordInfo';
protected $wordsDataType = 'array';
public function setConfidence($confidence)
{
@@ -36,4 +39,18 @@ class Google_Service_Speech_SpeechRecognitionAlternative extends Google_Model
{
return $this->transcript;
}
/**
* @param Google_Service_Speech_WordInfo
*/
public function setWords($words)
{
$this->words = $words;
}
/**
* @return Google_Service_Speech_WordInfo
*/
public function getWords()
{
return $this->words;
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -21,10 +21,16 @@ class Google_Service_Speech_SpeechRecognitionResult extends Google_Collection
protected $alternativesType = 'Google_Service_Speech_SpeechRecognitionAlternative';
protected $alternativesDataType = 'array';
/**
* @param Google_Service_Speech_SpeechRecognitionAlternative
*/
public function setAlternatives($alternatives)
{
$this->alternatives = $alternatives;
}
/**
* @return Google_Service_Speech_SpeechRecognitionAlternative
*/
public function getAlternatives()
{
return $this->alternatives;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,41 +0,0 @@
<?php
/*
* Copyright 2016 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_Speech_SyncRecognizeRequest extends Google_Model
{
protected $audioType = 'Google_Service_Speech_RecognitionAudio';
protected $audioDataType = '';
protected $configType = 'Google_Service_Speech_RecognitionConfig';
protected $configDataType = '';
public function setAudio(Google_Service_Speech_RecognitionAudio $audio)
{
$this->audio = $audio;
}
public function getAudio()
{
return $this->audio;
}
public function setConfig(Google_Service_Speech_RecognitionConfig $config)
{
$this->config = $config;
}
public function getConfig()
{
return $this->config;
}
}

View File

@@ -1,32 +0,0 @@
<?php
/*
* Copyright 2016 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_Speech_SyncRecognizeResponse extends Google_Collection
{
protected $collection_key = 'results';
protected $resultsType = 'Google_Service_Speech_SpeechRecognitionResult';
protected $resultsDataType = 'array';
public function setResults($results)
{
$this->results = $results;
}
public function getResults()
{
return $this->results;
}
}