diff --git a/src/Dialogflow/GoogleCloudDialogflowV2CompanionSuggestion.php b/src/Dialogflow/GoogleCloudDialogflowV2CompanionSuggestion.php new file mode 100644 index 0000000000..3aa411d615 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2CompanionSuggestion.php @@ -0,0 +1,43 @@ +guidances = $guidances; + } + /** + * @return GoogleCloudDialogflowV2CompanionSuggestionGuidance[] + */ + public function getGuidances() + { + return $this->guidances; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2CompanionSuggestion::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2CompanionSuggestion'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2CompanionSuggestionGuidance.php b/src/Dialogflow/GoogleCloudDialogflowV2CompanionSuggestionGuidance.php new file mode 100644 index 0000000000..36a7bb4c2d --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2CompanionSuggestionGuidance.php @@ -0,0 +1,163 @@ +explanation = $explanation; + } + /** + * @return string + */ + public function getExplanation() + { + return $this->explanation; + } + /** + * @param GoogleCloudDialogflowV2GroundingMetadata $groundingMetadata + */ + public function setGroundingMetadata(GoogleCloudDialogflowV2GroundingMetadata $groundingMetadata) + { + $this->groundingMetadata = $groundingMetadata; + } + /** + * @return GoogleCloudDialogflowV2GroundingMetadata + */ + public function getGroundingMetadata() + { + return $this->groundingMetadata; + } + /** + * @param GoogleCloudDialogflowV2GuidanceInstruction $instructionSource + */ + public function setInstructionSource(GoogleCloudDialogflowV2GuidanceInstruction $instructionSource) + { + $this->instructionSource = $instructionSource; + } + /** + * @return GoogleCloudDialogflowV2GuidanceInstruction + */ + public function getInstructionSource() + { + return $this->instructionSource; + } + /** + * @param GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource[] $knowledgeSources + */ + public function setKnowledgeSources($knowledgeSources) + { + $this->knowledgeSources = $knowledgeSources; + } + /** + * @return GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource[] + */ + public function getKnowledgeSources() + { + return $this->knowledgeSources; + } + /** + * @param string $suggestedAction + */ + public function setSuggestedAction($suggestedAction) + { + $this->suggestedAction = $suggestedAction; + } + /** + * @return string + */ + public function getSuggestedAction() + { + return $this->suggestedAction; + } + /** + * @param string $suggestedReply + */ + public function setSuggestedReply($suggestedReply) + { + $this->suggestedReply = $suggestedReply; + } + /** + * @return string + */ + public function getSuggestedReply() + { + return $this->suggestedReply; + } + /** + * @param GoogleCloudDialogflowV2ToolCallSuggestion[] $toolCalls + */ + public function setToolCalls($toolCalls) + { + $this->toolCalls = $toolCalls; + } + /** + * @return GoogleCloudDialogflowV2ToolCallSuggestion[] + */ + public function getToolCalls() + { + return $this->toolCalls; + } + /** + * @param string[] $triggeringToolCallAnswerRecords + */ + public function setTriggeringToolCallAnswerRecords($triggeringToolCallAnswerRecords) + { + $this->triggeringToolCallAnswerRecords = $triggeringToolCallAnswerRecords; + } + /** + * @return string[] + */ + public function getTriggeringToolCallAnswerRecords() + { + return $this->triggeringToolCallAnswerRecords; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2CompanionSuggestionGuidance::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2CompanionSuggestionGuidance'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource.php b/src/Dialogflow/GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource.php new file mode 100644 index 0000000000..3ed5f487e8 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource.php @@ -0,0 +1,80 @@ +knowledgeArticleTitle = $knowledgeArticleTitle; + } + /** + * @return string + */ + public function getKnowledgeArticleTitle() + { + return $this->knowledgeArticleTitle; + } + /** + * @param string $knowledgeArticleUrl + */ + public function setKnowledgeArticleUrl($knowledgeArticleUrl) + { + $this->knowledgeArticleUrl = $knowledgeArticleUrl; + } + /** + * @return string + */ + public function getKnowledgeArticleUrl() + { + return $this->knowledgeArticleUrl; + } + /** + * @param string $knowledgeSnippet + */ + public function setKnowledgeSnippet($knowledgeSnippet) + { + $this->knowledgeSnippet = $knowledgeSnippet; + } + /** + * @return string + */ + public function getKnowledgeSnippet() + { + return $this->knowledgeSnippet; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.php b/src/Dialogflow/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.php new file mode 100644 index 0000000000..6722e9f3f5 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse.php @@ -0,0 +1,96 @@ +answerRecord = $answerRecord; + } + /** + * @return string + */ + public function getAnswerRecord() + { + return $this->answerRecord; + } + /** + * @param GoogleCloudDialogflowV2CompanionSuggestion $companionSuggestion + */ + public function setCompanionSuggestion(GoogleCloudDialogflowV2CompanionSuggestion $companionSuggestion) + { + $this->companionSuggestion = $companionSuggestion; + } + /** + * @return GoogleCloudDialogflowV2CompanionSuggestion + */ + public function getCompanionSuggestion() + { + return $this->companionSuggestion; + } + /** + * @param string $latestMessage + */ + public function setLatestMessage($latestMessage) + { + $this->latestMessage = $latestMessage; + } + /** + * @return string + */ + public function getLatestMessage() + { + return $this->latestMessage; + } + /** + * @param int $suggestionIndex + */ + public function setSuggestionIndex($suggestionIndex) + { + $this->suggestionIndex = $suggestionIndex; + } + /** + * @return int + */ + public function getSuggestionIndex() + { + return $this->suggestionIndex; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2GroundingChunk.php b/src/Dialogflow/GoogleCloudDialogflowV2GroundingChunk.php new file mode 100644 index 0000000000..66e2f044fd --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2GroundingChunk.php @@ -0,0 +1,58 @@ +retrievedContext = $retrievedContext; + } + /** + * @return GoogleCloudDialogflowV2GroundingChunkRetrievedContext + */ + public function getRetrievedContext() + { + return $this->retrievedContext; + } + /** + * @param GoogleCloudDialogflowV2GroundingChunkWeb $web + */ + public function setWeb(GoogleCloudDialogflowV2GroundingChunkWeb $web) + { + $this->web = $web; + } + /** + * @return GoogleCloudDialogflowV2GroundingChunkWeb + */ + public function getWeb() + { + return $this->web; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2GroundingChunk::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2GroundingChunk'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.php b/src/Dialogflow/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.php new file mode 100644 index 0000000000..f580c957ab --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2GroundingChunkRetrievedContext.php @@ -0,0 +1,80 @@ +text = $text; + } + /** + * @return string + */ + public function getText() + { + return $this->text; + } + /** + * @param string $title + */ + public function setTitle($title) + { + $this->title = $title; + } + /** + * @return string + */ + public function getTitle() + { + return $this->title; + } + /** + * @param string $uri + */ + public function setUri($uri) + { + $this->uri = $uri; + } + /** + * @return string + */ + public function getUri() + { + return $this->uri; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2GroundingChunkRetrievedContext::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2GroundingChunkRetrievedContext'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2GroundingChunkWeb.php b/src/Dialogflow/GoogleCloudDialogflowV2GroundingChunkWeb.php new file mode 100644 index 0000000000..dd206a10a4 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2GroundingChunkWeb.php @@ -0,0 +1,80 @@ +domain = $domain; + } + /** + * @return string + */ + public function getDomain() + { + return $this->domain; + } + /** + * @param string $title + */ + public function setTitle($title) + { + $this->title = $title; + } + /** + * @return string + */ + public function getTitle() + { + return $this->title; + } + /** + * @param string $uri + */ + public function setUri($uri) + { + $this->uri = $uri; + } + /** + * @return string + */ + public function getUri() + { + return $this->uri; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2GroundingChunkWeb::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2GroundingChunkWeb'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2GroundingMetadata.php b/src/Dialogflow/GoogleCloudDialogflowV2GroundingMetadata.php new file mode 100644 index 0000000000..4b9ae53ac9 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2GroundingMetadata.php @@ -0,0 +1,93 @@ +groundingChunks = $groundingChunks; + } + /** + * @return GoogleCloudDialogflowV2GroundingChunk[] + */ + public function getGroundingChunks() + { + return $this->groundingChunks; + } + /** + * @param GoogleCloudDialogflowV2GroundingSupport[] $groundingSupports + */ + public function setGroundingSupports($groundingSupports) + { + $this->groundingSupports = $groundingSupports; + } + /** + * @return GoogleCloudDialogflowV2GroundingSupport[] + */ + public function getGroundingSupports() + { + return $this->groundingSupports; + } + /** + * @param GoogleCloudDialogflowV2SearchEntryPoint $searchEntryPoint + */ + public function setSearchEntryPoint(GoogleCloudDialogflowV2SearchEntryPoint $searchEntryPoint) + { + $this->searchEntryPoint = $searchEntryPoint; + } + /** + * @return GoogleCloudDialogflowV2SearchEntryPoint + */ + public function getSearchEntryPoint() + { + return $this->searchEntryPoint; + } + /** + * @param string[] $webSearchQueries + */ + public function setWebSearchQueries($webSearchQueries) + { + $this->webSearchQueries = $webSearchQueries; + } + /** + * @return string[] + */ + public function getWebSearchQueries() + { + return $this->webSearchQueries; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2GroundingMetadata::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2GroundingMetadata'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2GroundingSupport.php b/src/Dialogflow/GoogleCloudDialogflowV2GroundingSupport.php new file mode 100644 index 0000000000..6e8466df95 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2GroundingSupport.php @@ -0,0 +1,61 @@ +groundingChunkIndices = $groundingChunkIndices; + } + /** + * @return int[] + */ + public function getGroundingChunkIndices() + { + return $this->groundingChunkIndices; + } + /** + * @param GoogleCloudDialogflowV2Segment $segment + */ + public function setSegment(GoogleCloudDialogflowV2Segment $segment) + { + $this->segment = $segment; + } + /** + * @return GoogleCloudDialogflowV2Segment + */ + public function getSegment() + { + return $this->segment; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2GroundingSupport::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2GroundingSupport'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2GuidanceInstruction.php b/src/Dialogflow/GoogleCloudDialogflowV2GuidanceInstruction.php new file mode 100644 index 0000000000..5167cdc5e4 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2GuidanceInstruction.php @@ -0,0 +1,137 @@ +actions = $actions; + } + /** + * @return GoogleCloudDialogflowV2GuidanceInstructionAction[] + */ + public function getActions() + { + return $this->actions; + } + /** + * @param string $condition + */ + public function setCondition($condition) + { + $this->condition = $condition; + } + /** + * @return string + */ + public function getCondition() + { + return $this->condition; + } + /** + * @param bool $disableSuggestedReply + */ + public function setDisableSuggestedReply($disableSuggestedReply) + { + $this->disableSuggestedReply = $disableSuggestedReply; + } + /** + * @return bool + */ + public function getDisableSuggestedReply() + { + return $this->disableSuggestedReply; + } + /** + * @param string $displayDetails + */ + public function setDisplayDetails($displayDetails) + { + $this->displayDetails = $displayDetails; + } + /** + * @return string + */ + public function getDisplayDetails() + { + return $this->displayDetails; + } + /** + * @param string $displayName + */ + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * @param self::TRIGGER_EVENT_* $triggerEvent + */ + public function setTriggerEvent($triggerEvent) + { + $this->triggerEvent = $triggerEvent; + } + /** + * @return self::TRIGGER_EVENT_* + */ + public function getTriggerEvent() + { + return $this->triggerEvent; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2GuidanceInstruction::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2GuidanceInstruction'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2GuidanceInstructionAction.php b/src/Dialogflow/GoogleCloudDialogflowV2GuidanceInstructionAction.php new file mode 100644 index 0000000000..aa57cfab06 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2GuidanceInstructionAction.php @@ -0,0 +1,44 @@ +description = $description; + } + /** + * @return string + */ + public function getDescription() + { + return $this->description; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2GuidanceInstructionAction::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2GuidanceInstructionAction'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2SearchEntryPoint.php b/src/Dialogflow/GoogleCloudDialogflowV2SearchEntryPoint.php new file mode 100644 index 0000000000..c14aa6cc70 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2SearchEntryPoint.php @@ -0,0 +1,44 @@ +renderedContent = $renderedContent; + } + /** + * @return string + */ + public function getRenderedContent() + { + return $this->renderedContent; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2SearchEntryPoint::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2SearchEntryPoint'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2Segment.php b/src/Dialogflow/GoogleCloudDialogflowV2Segment.php new file mode 100644 index 0000000000..6dd510b489 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2Segment.php @@ -0,0 +1,80 @@ +endIndex = $endIndex; + } + /** + * @return int + */ + public function getEndIndex() + { + return $this->endIndex; + } + /** + * @param int $startIndex + */ + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + /** + * @return int + */ + public function getStartIndex() + { + return $this->startIndex; + } + /** + * @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(GoogleCloudDialogflowV2Segment::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Segment'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2SuggestionResult.php b/src/Dialogflow/GoogleCloudDialogflowV2SuggestionResult.php index 96d45165c0..c274a9ef14 100644 --- a/src/Dialogflow/GoogleCloudDialogflowV2SuggestionResult.php +++ b/src/Dialogflow/GoogleCloudDialogflowV2SuggestionResult.php @@ -21,6 +21,8 @@ class GoogleCloudDialogflowV2SuggestionResult extends \Google\Model { protected $errorType = GoogleRpcStatus::class; protected $errorDataType = ''; + protected $generateCompanionSuggestionsResponseType = GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse::class; + protected $generateCompanionSuggestionsResponseDataType = ''; protected $generateSuggestionsResponseType = GoogleCloudDialogflowV2GenerateSuggestionsResponse::class; protected $generateSuggestionsResponseDataType = ''; protected $suggestArticlesResponseType = GoogleCloudDialogflowV2SuggestArticlesResponse::class; @@ -46,6 +48,20 @@ public function getError() { return $this->error; } + /** + * @param GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse $generateCompanionSuggestionsResponse + */ + public function setGenerateCompanionSuggestionsResponse(GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse $generateCompanionSuggestionsResponse) + { + $this->generateCompanionSuggestionsResponse = $generateCompanionSuggestionsResponse; + } + /** + * @return GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse + */ + public function getGenerateCompanionSuggestionsResponse() + { + return $this->generateCompanionSuggestionsResponse; + } /** * @param GoogleCloudDialogflowV2GenerateSuggestionsResponse $generateSuggestionsResponse */ diff --git a/src/Dialogflow/GoogleCloudDialogflowV2ToolCallSuggestion.php b/src/Dialogflow/GoogleCloudDialogflowV2ToolCallSuggestion.php new file mode 100644 index 0000000000..4711f87c8a --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2ToolCallSuggestion.php @@ -0,0 +1,60 @@ +textUpdate = $textUpdate; + } + /** + * @return string + */ + public function getTextUpdate() + { + return $this->textUpdate; + } + /** + * @param GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo $toolCallInfo + */ + public function setToolCallInfo(GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo $toolCallInfo) + { + $this->toolCallInfo = $toolCallInfo; + } + /** + * @return GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo + */ + public function getToolCallInfo() + { + return $this->toolCallInfo; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2ToolCallSuggestion::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2ToolCallSuggestion'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1CompanionSuggestion.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1CompanionSuggestion.php new file mode 100644 index 0000000000..9bd98e95fd --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1CompanionSuggestion.php @@ -0,0 +1,43 @@ +guidances = $guidances; + } + /** + * @return GoogleCloudDialogflowV2beta1CompanionSuggestionGuidance[] + */ + public function getGuidances() + { + return $this->guidances; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2beta1CompanionSuggestion::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1CompanionSuggestion'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1CompanionSuggestionGuidance.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1CompanionSuggestionGuidance.php new file mode 100644 index 0000000000..5e3c38b65d --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1CompanionSuggestionGuidance.php @@ -0,0 +1,163 @@ +explanation = $explanation; + } + /** + * @return string + */ + public function getExplanation() + { + return $this->explanation; + } + /** + * @param GoogleCloudDialogflowV2beta1GroundingMetadata $groundingMetadata + */ + public function setGroundingMetadata(GoogleCloudDialogflowV2beta1GroundingMetadata $groundingMetadata) + { + $this->groundingMetadata = $groundingMetadata; + } + /** + * @return GoogleCloudDialogflowV2beta1GroundingMetadata + */ + public function getGroundingMetadata() + { + return $this->groundingMetadata; + } + /** + * @param GoogleCloudDialogflowV2beta1GuidanceInstruction $instructionSource + */ + public function setInstructionSource(GoogleCloudDialogflowV2beta1GuidanceInstruction $instructionSource) + { + $this->instructionSource = $instructionSource; + } + /** + * @return GoogleCloudDialogflowV2beta1GuidanceInstruction + */ + public function getInstructionSource() + { + return $this->instructionSource; + } + /** + * @param GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource[] $knowledgeSources + */ + public function setKnowledgeSources($knowledgeSources) + { + $this->knowledgeSources = $knowledgeSources; + } + /** + * @return GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource[] + */ + public function getKnowledgeSources() + { + return $this->knowledgeSources; + } + /** + * @param string $suggestedAction + */ + public function setSuggestedAction($suggestedAction) + { + $this->suggestedAction = $suggestedAction; + } + /** + * @return string + */ + public function getSuggestedAction() + { + return $this->suggestedAction; + } + /** + * @param string $suggestedReply + */ + public function setSuggestedReply($suggestedReply) + { + $this->suggestedReply = $suggestedReply; + } + /** + * @return string + */ + public function getSuggestedReply() + { + return $this->suggestedReply; + } + /** + * @param GoogleCloudDialogflowV2beta1ToolCallSuggestion[] $toolCalls + */ + public function setToolCalls($toolCalls) + { + $this->toolCalls = $toolCalls; + } + /** + * @return GoogleCloudDialogflowV2beta1ToolCallSuggestion[] + */ + public function getToolCalls() + { + return $this->toolCalls; + } + /** + * @param string[] $triggeringToolCallAnswerRecords + */ + public function setTriggeringToolCallAnswerRecords($triggeringToolCallAnswerRecords) + { + $this->triggeringToolCallAnswerRecords = $triggeringToolCallAnswerRecords; + } + /** + * @return string[] + */ + public function getTriggeringToolCallAnswerRecords() + { + return $this->triggeringToolCallAnswerRecords; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2beta1CompanionSuggestionGuidance::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1CompanionSuggestionGuidance'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource.php new file mode 100644 index 0000000000..2c41b3e060 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource.php @@ -0,0 +1,80 @@ +knowledgeArticleTitle = $knowledgeArticleTitle; + } + /** + * @return string + */ + public function getKnowledgeArticleTitle() + { + return $this->knowledgeArticleTitle; + } + /** + * @param string $knowledgeArticleUrl + */ + public function setKnowledgeArticleUrl($knowledgeArticleUrl) + { + $this->knowledgeArticleUrl = $knowledgeArticleUrl; + } + /** + * @return string + */ + public function getKnowledgeArticleUrl() + { + return $this->knowledgeArticleUrl; + } + /** + * @param string $knowledgeSnippet + */ + public function setKnowledgeSnippet($knowledgeSnippet) + { + $this->knowledgeSnippet = $knowledgeSnippet; + } + /** + * @return string + */ + public function getKnowledgeSnippet() + { + return $this->knowledgeSnippet; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.php new file mode 100644 index 0000000000..59fd624787 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse.php @@ -0,0 +1,96 @@ +answerRecord = $answerRecord; + } + /** + * @return string + */ + public function getAnswerRecord() + { + return $this->answerRecord; + } + /** + * @param GoogleCloudDialogflowV2beta1CompanionSuggestion $companionSuggestion + */ + public function setCompanionSuggestion(GoogleCloudDialogflowV2beta1CompanionSuggestion $companionSuggestion) + { + $this->companionSuggestion = $companionSuggestion; + } + /** + * @return GoogleCloudDialogflowV2beta1CompanionSuggestion + */ + public function getCompanionSuggestion() + { + return $this->companionSuggestion; + } + /** + * @param string $latestMessage + */ + public function setLatestMessage($latestMessage) + { + $this->latestMessage = $latestMessage; + } + /** + * @return string + */ + public function getLatestMessage() + { + return $this->latestMessage; + } + /** + * @param int $suggestionIndex + */ + public function setSuggestionIndex($suggestionIndex) + { + $this->suggestionIndex = $suggestionIndex; + } + /** + * @return int + */ + public function getSuggestionIndex() + { + return $this->suggestionIndex; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingChunk.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingChunk.php new file mode 100644 index 0000000000..b56ea4731c --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingChunk.php @@ -0,0 +1,58 @@ +retrievedContext = $retrievedContext; + } + /** + * @return GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext + */ + public function getRetrievedContext() + { + return $this->retrievedContext; + } + /** + * @param GoogleCloudDialogflowV2beta1GroundingChunkWeb $web + */ + public function setWeb(GoogleCloudDialogflowV2beta1GroundingChunkWeb $web) + { + $this->web = $web; + } + /** + * @return GoogleCloudDialogflowV2beta1GroundingChunkWeb + */ + public function getWeb() + { + return $this->web; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2beta1GroundingChunk::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1GroundingChunk'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.php new file mode 100644 index 0000000000..e05de230fb --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext.php @@ -0,0 +1,80 @@ +text = $text; + } + /** + * @return string + */ + public function getText() + { + return $this->text; + } + /** + * @param string $title + */ + public function setTitle($title) + { + $this->title = $title; + } + /** + * @return string + */ + public function getTitle() + { + return $this->title; + } + /** + * @param string $uri + */ + public function setUri($uri) + { + $this->uri = $uri; + } + /** + * @return string + */ + public function getUri() + { + return $this->uri; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingChunkWeb.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingChunkWeb.php new file mode 100644 index 0000000000..ec8722e4b8 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingChunkWeb.php @@ -0,0 +1,80 @@ +domain = $domain; + } + /** + * @return string + */ + public function getDomain() + { + return $this->domain; + } + /** + * @param string $title + */ + public function setTitle($title) + { + $this->title = $title; + } + /** + * @return string + */ + public function getTitle() + { + return $this->title; + } + /** + * @param string $uri + */ + public function setUri($uri) + { + $this->uri = $uri; + } + /** + * @return string + */ + public function getUri() + { + return $this->uri; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2beta1GroundingChunkWeb::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1GroundingChunkWeb'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingMetadata.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingMetadata.php new file mode 100644 index 0000000000..dd5ae2a837 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingMetadata.php @@ -0,0 +1,93 @@ +groundingChunks = $groundingChunks; + } + /** + * @return GoogleCloudDialogflowV2beta1GroundingChunk[] + */ + public function getGroundingChunks() + { + return $this->groundingChunks; + } + /** + * @param GoogleCloudDialogflowV2beta1GroundingSupport[] $groundingSupports + */ + public function setGroundingSupports($groundingSupports) + { + $this->groundingSupports = $groundingSupports; + } + /** + * @return GoogleCloudDialogflowV2beta1GroundingSupport[] + */ + public function getGroundingSupports() + { + return $this->groundingSupports; + } + /** + * @param GoogleCloudDialogflowV2beta1SearchEntryPoint $searchEntryPoint + */ + public function setSearchEntryPoint(GoogleCloudDialogflowV2beta1SearchEntryPoint $searchEntryPoint) + { + $this->searchEntryPoint = $searchEntryPoint; + } + /** + * @return GoogleCloudDialogflowV2beta1SearchEntryPoint + */ + public function getSearchEntryPoint() + { + return $this->searchEntryPoint; + } + /** + * @param string[] $webSearchQueries + */ + public function setWebSearchQueries($webSearchQueries) + { + $this->webSearchQueries = $webSearchQueries; + } + /** + * @return string[] + */ + public function getWebSearchQueries() + { + return $this->webSearchQueries; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2beta1GroundingMetadata::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1GroundingMetadata'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingSupport.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingSupport.php new file mode 100644 index 0000000000..830f5a9c7c --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1GroundingSupport.php @@ -0,0 +1,61 @@ +groundingChunkIndices = $groundingChunkIndices; + } + /** + * @return int[] + */ + public function getGroundingChunkIndices() + { + return $this->groundingChunkIndices; + } + /** + * @param GoogleCloudDialogflowV2beta1Segment $segment + */ + public function setSegment(GoogleCloudDialogflowV2beta1Segment $segment) + { + $this->segment = $segment; + } + /** + * @return GoogleCloudDialogflowV2beta1Segment + */ + public function getSegment() + { + return $this->segment; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2beta1GroundingSupport::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1GroundingSupport'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1GuidanceInstruction.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1GuidanceInstruction.php new file mode 100644 index 0000000000..8e36087b61 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1GuidanceInstruction.php @@ -0,0 +1,137 @@ +actions = $actions; + } + /** + * @return GoogleCloudDialogflowV2beta1GuidanceInstructionAction[] + */ + public function getActions() + { + return $this->actions; + } + /** + * @param string $condition + */ + public function setCondition($condition) + { + $this->condition = $condition; + } + /** + * @return string + */ + public function getCondition() + { + return $this->condition; + } + /** + * @param bool $disableSuggestedReply + */ + public function setDisableSuggestedReply($disableSuggestedReply) + { + $this->disableSuggestedReply = $disableSuggestedReply; + } + /** + * @return bool + */ + public function getDisableSuggestedReply() + { + return $this->disableSuggestedReply; + } + /** + * @param string $displayDetails + */ + public function setDisplayDetails($displayDetails) + { + $this->displayDetails = $displayDetails; + } + /** + * @return string + */ + public function getDisplayDetails() + { + return $this->displayDetails; + } + /** + * @param string $displayName + */ + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * @param self::TRIGGER_EVENT_* $triggerEvent + */ + public function setTriggerEvent($triggerEvent) + { + $this->triggerEvent = $triggerEvent; + } + /** + * @return self::TRIGGER_EVENT_* + */ + public function getTriggerEvent() + { + return $this->triggerEvent; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2beta1GuidanceInstruction::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1GuidanceInstruction'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1GuidanceInstructionAction.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1GuidanceInstructionAction.php new file mode 100644 index 0000000000..9e509c6feb --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1GuidanceInstructionAction.php @@ -0,0 +1,44 @@ +description = $description; + } + /** + * @return string + */ + public function getDescription() + { + return $this->description; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2beta1GuidanceInstructionAction::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1GuidanceInstructionAction'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1SearchEntryPoint.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1SearchEntryPoint.php new file mode 100644 index 0000000000..377e89b47f --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1SearchEntryPoint.php @@ -0,0 +1,44 @@ +renderedContent = $renderedContent; + } + /** + * @return string + */ + public function getRenderedContent() + { + return $this->renderedContent; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2beta1SearchEntryPoint::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1SearchEntryPoint'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1Segment.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1Segment.php new file mode 100644 index 0000000000..15d976c9b1 --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1Segment.php @@ -0,0 +1,80 @@ +endIndex = $endIndex; + } + /** + * @return int + */ + public function getEndIndex() + { + return $this->endIndex; + } + /** + * @param int $startIndex + */ + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + /** + * @return int + */ + public function getStartIndex() + { + return $this->startIndex; + } + /** + * @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(GoogleCloudDialogflowV2beta1Segment::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Segment'); diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1SuggestionResult.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1SuggestionResult.php index e07b6d066d..55b6c1c285 100644 --- a/src/Dialogflow/GoogleCloudDialogflowV2beta1SuggestionResult.php +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1SuggestionResult.php @@ -21,6 +21,8 @@ class GoogleCloudDialogflowV2beta1SuggestionResult extends \Google\Model { protected $errorType = GoogleRpcStatus::class; protected $errorDataType = ''; + protected $generateCompanionSuggestionsResponseType = GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse::class; + protected $generateCompanionSuggestionsResponseDataType = ''; protected $generateSuggestionsResponseType = GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse::class; protected $generateSuggestionsResponseDataType = ''; protected $suggestArticlesResponseType = GoogleCloudDialogflowV2beta1SuggestArticlesResponse::class; @@ -50,6 +52,20 @@ public function getError() { return $this->error; } + /** + * @param GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse $generateCompanionSuggestionsResponse + */ + public function setGenerateCompanionSuggestionsResponse(GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse $generateCompanionSuggestionsResponse) + { + $this->generateCompanionSuggestionsResponse = $generateCompanionSuggestionsResponse; + } + /** + * @return GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse + */ + public function getGenerateCompanionSuggestionsResponse() + { + return $this->generateCompanionSuggestionsResponse; + } /** * @param GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse $generateSuggestionsResponse */ diff --git a/src/Dialogflow/GoogleCloudDialogflowV2beta1ToolCallSuggestion.php b/src/Dialogflow/GoogleCloudDialogflowV2beta1ToolCallSuggestion.php new file mode 100644 index 0000000000..10d3f03c9a --- /dev/null +++ b/src/Dialogflow/GoogleCloudDialogflowV2beta1ToolCallSuggestion.php @@ -0,0 +1,60 @@ +textUpdate = $textUpdate; + } + /** + * @return string + */ + public function getTextUpdate() + { + return $this->textUpdate; + } + /** + * @param GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo $toolCallInfo + */ + public function setToolCallInfo(GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo $toolCallInfo) + { + $this->toolCallInfo = $toolCallInfo; + } + /** + * @return GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo + */ + public function getToolCallInfo() + { + return $this->toolCallInfo; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudDialogflowV2beta1ToolCallSuggestion::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1ToolCallSuggestion');