Mise à jour des librairies
This commit is contained in:
@@ -19,6 +19,7 @@ class Google_Service_Dialogflow_GoogleCloudDialogflowV2OriginalDetectIntentReque
|
||||
{
|
||||
public $payload;
|
||||
public $source;
|
||||
public $version;
|
||||
|
||||
public function setPayload($payload)
|
||||
{
|
||||
@@ -36,4 +37,12 @@ class Google_Service_Dialogflow_GoogleCloudDialogflowV2OriginalDetectIntentReque
|
||||
{
|
||||
return $this->source;
|
||||
}
|
||||
public function setVersion($version)
|
||||
{
|
||||
$this->version = $version;
|
||||
}
|
||||
public function getVersion()
|
||||
{
|
||||
return $this->version;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@ class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Intent extends Googl
|
||||
public $action;
|
||||
public $defaultResponsePlatforms;
|
||||
public $displayName;
|
||||
public $endInteraction;
|
||||
public $events;
|
||||
protected $followupIntentInfoType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo';
|
||||
protected $followupIntentInfoDataType = 'array';
|
||||
@@ -67,6 +68,14 @@ class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Intent extends Googl
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setEndInteraction($endInteraction)
|
||||
{
|
||||
$this->endInteraction = $endInteraction;
|
||||
}
|
||||
public function getEndInteraction()
|
||||
{
|
||||
return $this->endInteraction;
|
||||
}
|
||||
public function setEvents($events)
|
||||
{
|
||||
$this->events = $events;
|
||||
|
||||
@@ -37,6 +37,12 @@ class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage extend
|
||||
protected $simpleResponsesDataType = '';
|
||||
protected $suggestionsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSuggestions';
|
||||
protected $suggestionsDataType = '';
|
||||
protected $telephonyPlayAudioType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio';
|
||||
protected $telephonyPlayAudioDataType = '';
|
||||
protected $telephonySynthesizeSpeechType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech';
|
||||
protected $telephonySynthesizeSpeechDataType = '';
|
||||
protected $telephonyTransferCallType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall';
|
||||
protected $telephonyTransferCallDataType = '';
|
||||
protected $textType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageText';
|
||||
protected $textDataType = '';
|
||||
|
||||
@@ -182,6 +188,48 @@ class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage extend
|
||||
{
|
||||
return $this->suggestions;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
|
||||
*/
|
||||
public function setTelephonyPlayAudio(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio $telephonyPlayAudio)
|
||||
{
|
||||
$this->telephonyPlayAudio = $telephonyPlayAudio;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
|
||||
*/
|
||||
public function getTelephonyPlayAudio()
|
||||
{
|
||||
return $this->telephonyPlayAudio;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
|
||||
*/
|
||||
public function setTelephonySynthesizeSpeech(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech $telephonySynthesizeSpeech)
|
||||
{
|
||||
$this->telephonySynthesizeSpeech = $telephonySynthesizeSpeech;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
|
||||
*/
|
||||
public function getTelephonySynthesizeSpeech()
|
||||
{
|
||||
return $this->telephonySynthesizeSpeech;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall
|
||||
*/
|
||||
public function setTelephonyTransferCall(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall $telephonyTransferCall)
|
||||
{
|
||||
$this->telephonyTransferCall = $telephonyTransferCall;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall
|
||||
*/
|
||||
public function getTelephonyTransferCall()
|
||||
{
|
||||
return $this->telephonyTransferCall;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageText
|
||||
*/
|
||||
|
||||
@@ -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_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio extends Google_Model
|
||||
{
|
||||
public $audioUri;
|
||||
|
||||
public function setAudioUri($audioUri)
|
||||
{
|
||||
$this->audioUri = $audioUri;
|
||||
}
|
||||
public function getAudioUri()
|
||||
{
|
||||
return $this->audioUri;
|
||||
}
|
||||
}
|
||||
@@ -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_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech 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;
|
||||
}
|
||||
}
|
||||
@@ -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_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall extends Google_Model
|
||||
{
|
||||
public $phoneNumber;
|
||||
|
||||
public function setPhoneNumber($phoneNumber)
|
||||
{
|
||||
$this->phoneNumber = $phoneNumber;
|
||||
}
|
||||
public function getPhoneNumber()
|
||||
{
|
||||
return $this->phoneNumber;
|
||||
}
|
||||
}
|
||||
@@ -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_Dialogflow_GoogleCloudDialogflowV2beta1KnowledgeAnswers extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'answers';
|
||||
protected $answersType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer';
|
||||
protected $answersDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
|
||||
*/
|
||||
public function setAnswers($answers)
|
||||
{
|
||||
$this->answers = $answers;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
|
||||
*/
|
||||
public function getAnswers()
|
||||
{
|
||||
return $this->answers;
|
||||
}
|
||||
}
|
||||
@@ -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_Dialogflow_GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer extends Google_Model
|
||||
{
|
||||
public $answer;
|
||||
public $faqQuestion;
|
||||
public $matchConfidence;
|
||||
public $matchConfidenceLevel;
|
||||
public $source;
|
||||
|
||||
public function setAnswer($answer)
|
||||
{
|
||||
$this->answer = $answer;
|
||||
}
|
||||
public function getAnswer()
|
||||
{
|
||||
return $this->answer;
|
||||
}
|
||||
public function setFaqQuestion($faqQuestion)
|
||||
{
|
||||
$this->faqQuestion = $faqQuestion;
|
||||
}
|
||||
public function getFaqQuestion()
|
||||
{
|
||||
return $this->faqQuestion;
|
||||
}
|
||||
public function setMatchConfidence($matchConfidence)
|
||||
{
|
||||
$this->matchConfidence = $matchConfidence;
|
||||
}
|
||||
public function getMatchConfidence()
|
||||
{
|
||||
return $this->matchConfidence;
|
||||
}
|
||||
public function setMatchConfidenceLevel($matchConfidenceLevel)
|
||||
{
|
||||
$this->matchConfidenceLevel = $matchConfidenceLevel;
|
||||
}
|
||||
public function getMatchConfidenceLevel()
|
||||
{
|
||||
return $this->matchConfidenceLevel;
|
||||
}
|
||||
public function setSource($source)
|
||||
{
|
||||
$this->source = $source;
|
||||
}
|
||||
public function getSource()
|
||||
{
|
||||
return $this->source;
|
||||
}
|
||||
}
|
||||
@@ -19,6 +19,7 @@ class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1OriginalDetectIntent
|
||||
{
|
||||
public $payload;
|
||||
public $source;
|
||||
public $version;
|
||||
|
||||
public function setPayload($payload)
|
||||
{
|
||||
@@ -36,4 +37,12 @@ class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1OriginalDetectIntent
|
||||
{
|
||||
return $this->source;
|
||||
}
|
||||
public function setVersion($version)
|
||||
{
|
||||
$this->version = $version;
|
||||
}
|
||||
public function getVersion()
|
||||
{
|
||||
return $this->version;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,11 +27,15 @@ class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult extends
|
||||
protected $intentType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Intent';
|
||||
protected $intentDataType = '';
|
||||
public $intentDetectionConfidence;
|
||||
protected $knowledgeAnswersType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1KnowledgeAnswers';
|
||||
protected $knowledgeAnswersDataType = '';
|
||||
public $languageCode;
|
||||
protected $outputContextsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Context';
|
||||
protected $outputContextsDataType = 'array';
|
||||
public $parameters;
|
||||
public $queryText;
|
||||
protected $sentimentAnalysisResultType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1SentimentAnalysisResult';
|
||||
protected $sentimentAnalysisResultDataType = '';
|
||||
public $speechRecognitionConfidence;
|
||||
public $webhookPayload;
|
||||
public $webhookSource;
|
||||
@@ -104,6 +108,20 @@ class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult extends
|
||||
{
|
||||
return $this->intentDetectionConfidence;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1KnowledgeAnswers
|
||||
*/
|
||||
public function setKnowledgeAnswers(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1KnowledgeAnswers $knowledgeAnswers)
|
||||
{
|
||||
$this->knowledgeAnswers = $knowledgeAnswers;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1KnowledgeAnswers
|
||||
*/
|
||||
public function getKnowledgeAnswers()
|
||||
{
|
||||
return $this->knowledgeAnswers;
|
||||
}
|
||||
public function setLanguageCode($languageCode)
|
||||
{
|
||||
$this->languageCode = $languageCode;
|
||||
@@ -142,6 +160,20 @@ class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult extends
|
||||
{
|
||||
return $this->queryText;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1SentimentAnalysisResult
|
||||
*/
|
||||
public function setSentimentAnalysisResult(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1SentimentAnalysisResult $sentimentAnalysisResult)
|
||||
{
|
||||
$this->sentimentAnalysisResult = $sentimentAnalysisResult;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1SentimentAnalysisResult
|
||||
*/
|
||||
public function getSentimentAnalysisResult()
|
||||
{
|
||||
return $this->sentimentAnalysisResult;
|
||||
}
|
||||
public function setSpeechRecognitionConfidence($speechRecognitionConfidence)
|
||||
{
|
||||
$this->speechRecognitionConfidence = $speechRecognitionConfidence;
|
||||
|
||||
@@ -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_Dialogflow_GoogleCloudDialogflowV2beta1Sentiment extends Google_Model
|
||||
{
|
||||
public $magnitude;
|
||||
public $score;
|
||||
|
||||
public function setMagnitude($magnitude)
|
||||
{
|
||||
$this->magnitude = $magnitude;
|
||||
}
|
||||
public function getMagnitude()
|
||||
{
|
||||
return $this->magnitude;
|
||||
}
|
||||
public function setScore($score)
|
||||
{
|
||||
$this->score = $score;
|
||||
}
|
||||
public function getScore()
|
||||
{
|
||||
return $this->score;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?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_Dialogflow_GoogleCloudDialogflowV2beta1SentimentAnalysisResult extends Google_Model
|
||||
{
|
||||
protected $queryTextSentimentType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Sentiment';
|
||||
protected $queryTextSentimentDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Sentiment
|
||||
*/
|
||||
public function setQueryTextSentiment(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Sentiment $queryTextSentiment)
|
||||
{
|
||||
$this->queryTextSentiment = $queryTextSentiment;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Sentiment
|
||||
*/
|
||||
public function getQueryTextSentiment()
|
||||
{
|
||||
return $this->queryTextSentiment;
|
||||
}
|
||||
}
|
||||
@@ -15,8 +15,11 @@
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1WebhookRequest extends Google_Model
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1WebhookRequest extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'alternativeQueryResults';
|
||||
protected $alternativeQueryResultsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult';
|
||||
protected $alternativeQueryResultsDataType = 'array';
|
||||
protected $originalDetectIntentRequestType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest';
|
||||
protected $originalDetectIntentRequestDataType = '';
|
||||
protected $queryResultType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult';
|
||||
@@ -24,6 +27,20 @@ class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1WebhookRequest exten
|
||||
public $responseId;
|
||||
public $session;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult
|
||||
*/
|
||||
public function setAlternativeQueryResults($alternativeQueryResults)
|
||||
{
|
||||
$this->alternativeQueryResults = $alternativeQueryResults;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult
|
||||
*/
|
||||
public function getAlternativeQueryResults()
|
||||
{
|
||||
return $this->alternativeQueryResults;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
||||
*/
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1WebhookResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'outputContexts';
|
||||
public $endInteraction;
|
||||
protected $followupEventInputType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EventInput';
|
||||
protected $followupEventInputDataType = '';
|
||||
protected $fulfillmentMessagesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage';
|
||||
@@ -28,6 +29,14 @@ class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1WebhookResponse exte
|
||||
public $payload;
|
||||
public $source;
|
||||
|
||||
public function setEndInteraction($endInteraction)
|
||||
{
|
||||
$this->endInteraction = $endInteraction;
|
||||
}
|
||||
public function getEndInteraction()
|
||||
{
|
||||
return $this->endInteraction;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EventInput
|
||||
*/
|
||||
|
||||
@@ -96,10 +96,10 @@ class Google_Service_Dialogflow_Resource_ProjectsAgent extends Google_Service_Re
|
||||
* `projects/`.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string pageToken Optional. The next_page_token value returned from
|
||||
* a previous list request.
|
||||
* @opt_param int pageSize Optional. The maximum number of items to return in a
|
||||
* single page. By default 100 and at most 1000.
|
||||
* @opt_param string pageToken Optional. The next_page_token value returned from
|
||||
* a previous list request.
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2SearchAgentsResponse
|
||||
*/
|
||||
public function search($parent, $optParams = array())
|
||||
|
||||
@@ -142,8 +142,8 @@ class Google_Service_Dialogflow_Resource_ProjectsAgentEntityTypes extends Google
|
||||
/**
|
||||
* Updates the specified entity type. (entityTypes.patch)
|
||||
*
|
||||
* @param string $name Required for all methods except `create` (`create`
|
||||
* populates the name automatically. The unique identifier of the entity type.
|
||||
* @param string $name The unique identifier of the entity type. Required for
|
||||
* EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods.
|
||||
* Format: `projects//agent/entityTypes/`.
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityType $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
|
||||
@@ -26,8 +26,7 @@
|
||||
class Google_Service_Dialogflow_Resource_ProjectsAgentEntityTypesEntities extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates multiple new entities in the specified entity type (extends the
|
||||
* existing collection of entries).
|
||||
* Creates multiple new entities in the specified entity type.
|
||||
*
|
||||
* Operation (entities.batchCreate)
|
||||
*
|
||||
@@ -61,13 +60,14 @@ class Google_Service_Dialogflow_Resource_ProjectsAgentEntityTypesEntities extend
|
||||
return $this->call('batchDelete', array($params), "Google_Service_Dialogflow_GoogleLongrunningOperation");
|
||||
}
|
||||
/**
|
||||
* Updates entities in the specified entity type (replaces the existing
|
||||
* collection of entries).
|
||||
* Updates or creates multiple entities in the specified entity type. This
|
||||
* method does not affect entities in the entity type that aren't explicitly
|
||||
* specified in the request.
|
||||
*
|
||||
* Operation (entities.batchUpdate)
|
||||
*
|
||||
* @param string $parent Required. The name of the entity type to update the
|
||||
* entities in. Format: `projects//agent/entityTypes/`.
|
||||
* @param string $parent Required. The name of the entity type to update or
|
||||
* create entities in. Format: `projects//agent/entityTypes/`.
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2BatchUpdateEntitiesRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Dialogflow_GoogleLongrunningOperation
|
||||
|
||||
@@ -83,9 +83,11 @@ class Google_Service_Dialogflow_Resource_ProjectsAgentIntents extends Google_Ser
|
||||
return $this->call('create', array($params), "Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent");
|
||||
}
|
||||
/**
|
||||
* Deletes the specified intent. (intents.delete)
|
||||
* Deletes the specified intent and its direct or indirect followup intents.
|
||||
* (intents.delete)
|
||||
*
|
||||
* @param string $name Required. The name of the intent to delete. Format:
|
||||
* @param string $name Required. The name of the intent to delete. If this
|
||||
* intent has direct or indirect followup intents, we also delete them. Format:
|
||||
* `projects//agent/intents/`.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Dialogflow_GoogleProtobufEmpty
|
||||
@@ -103,13 +105,13 @@ class Google_Service_Dialogflow_Resource_ProjectsAgentIntents extends Google_Ser
|
||||
* `projects//agent/intents/`.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string intentView Optional. The resource view to apply to the
|
||||
* returned intent.
|
||||
* @opt_param string languageCode Optional. The language to retrieve training
|
||||
* phrases, parameters and rich messages for. If not specified, the agent's
|
||||
* default language is used. [More than a dozen
|
||||
* languages](https://dialogflow.com/docs/reference/language) are supported.
|
||||
* Note: languages must be enabled in the agent, before they can be used.
|
||||
* @opt_param string intentView Optional. The resource view to apply to the
|
||||
* returned intent.
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
@@ -126,8 +128,6 @@ class Google_Service_Dialogflow_Resource_ProjectsAgentIntents extends Google_Ser
|
||||
* `projects//agent`.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string intentView Optional. The resource view to apply to the
|
||||
* returned intent.
|
||||
* @opt_param string languageCode Optional. The language to list training
|
||||
* phrases, parameters and rich messages for. If not specified, the agent's
|
||||
* default language is used. [More than a dozen
|
||||
@@ -137,6 +137,8 @@ class Google_Service_Dialogflow_Resource_ProjectsAgentIntents extends Google_Ser
|
||||
* a previous list request.
|
||||
* @opt_param int pageSize Optional. The maximum number of items to return in a
|
||||
* single page. By default 100 and at most 1000.
|
||||
* @opt_param string intentView Optional. The resource view to apply to the
|
||||
* returned intent.
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2ListIntentsResponse
|
||||
*/
|
||||
public function listProjectsAgentIntents($parent, $optParams = array())
|
||||
@@ -148,9 +150,9 @@ class Google_Service_Dialogflow_Resource_ProjectsAgentIntents extends Google_Ser
|
||||
/**
|
||||
* Updates the specified intent. (intents.patch)
|
||||
*
|
||||
* @param string $name Required for all methods except `create` (`create`
|
||||
* populates the name automatically. The unique identifier of this intent.
|
||||
* Format: `projects//agent/intents/`.
|
||||
* @param string $name The unique identifier of this intent. Required for
|
||||
* Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format:
|
||||
* `projects//agent/intents/`.
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
|
||||
@@ -26,7 +26,10 @@
|
||||
class Google_Service_Dialogflow_Resource_ProjectsAgentSessionsContexts extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a context. (contexts.create)
|
||||
* Creates a context.
|
||||
*
|
||||
* If the specified context already exists, overrides the context.
|
||||
* (contexts.create)
|
||||
*
|
||||
* @param string $parent Required. The session to create a context for. Format:
|
||||
* `projects//agent/sessions/`.
|
||||
@@ -93,6 +96,9 @@ class Google_Service_Dialogflow_Resource_ProjectsAgentSessionsContexts extends G
|
||||
*
|
||||
* @param string $name Required. The unique identifier of the context. Format:
|
||||
* `projects//agent/sessions//contexts/`.
|
||||
*
|
||||
* The `Context ID` is always converted to lowercase, may only contain
|
||||
* characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Context $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
|
||||
@@ -26,7 +26,10 @@
|
||||
class Google_Service_Dialogflow_Resource_ProjectsAgentSessionsEntityTypes extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a session entity type. (entityTypes.create)
|
||||
* Creates a session entity type.
|
||||
*
|
||||
* If the specified session entity type already exists, overrides the session
|
||||
* entity type. (entityTypes.create)
|
||||
*
|
||||
* @param string $parent Required. The session to create a session entity type
|
||||
* for. Format: `projects//agent/sessions/`.
|
||||
@@ -93,6 +96,9 @@ class Google_Service_Dialogflow_Resource_ProjectsAgentSessionsEntityTypes extend
|
||||
*
|
||||
* @param string $name Required. The unique identifier of this session entity
|
||||
* type. Format: `projects//agent/sessions//entityTypes/`.
|
||||
*
|
||||
* `` must be the display name of an existing entity type in the same agent that
|
||||
* will be overridden or supplemented.
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2SessionEntityType $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user