GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation.php 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. namespace Google\Service\Contactcenterinsights;
  18. class GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation extends \Google\Model
  19. {
  20. /**
  21. * The unique identifier of the annotation. Format: projects/{project}/locatio
  22. * ns/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_it
  23. * em}/conversationAnnotations/{annotation}
  24. *
  25. * @var string
  26. */
  27. public $annotationId;
  28. protected $answerFeedbackType = GoogleCloudContactcenterinsightsV1mainAnswerFeedback::class;
  29. protected $answerFeedbackDataType = '';
  30. protected $articleSuggestionType = GoogleCloudContactcenterinsightsV1mainArticleSuggestionData::class;
  31. protected $articleSuggestionDataType = '';
  32. protected $conversationSummarizationSuggestionType = GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData::class;
  33. protected $conversationSummarizationSuggestionDataType = '';
  34. /**
  35. * The time at which this annotation was created.
  36. *
  37. * @var string
  38. */
  39. public $createTime;
  40. protected $dialogflowInteractionType = GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData::class;
  41. protected $dialogflowInteractionDataType = '';
  42. protected $endBoundaryType = GoogleCloudContactcenterinsightsV1mainAnnotationBoundary::class;
  43. protected $endBoundaryDataType = '';
  44. protected $faqAnswerType = GoogleCloudContactcenterinsightsV1mainFaqAnswerData::class;
  45. protected $faqAnswerDataType = '';
  46. protected $smartComposeSuggestionType = GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData::class;
  47. protected $smartComposeSuggestionDataType = '';
  48. protected $smartReplyType = GoogleCloudContactcenterinsightsV1mainSmartReplyData::class;
  49. protected $smartReplyDataType = '';
  50. protected $startBoundaryType = GoogleCloudContactcenterinsightsV1mainAnnotationBoundary::class;
  51. protected $startBoundaryDataType = '';
  52. protected $userInputType = GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput::class;
  53. protected $userInputDataType = '';
  54. /**
  55. * The unique identifier of the annotation. Format: projects/{project}/locatio
  56. * ns/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_it
  57. * em}/conversationAnnotations/{annotation}
  58. *
  59. * @param string $annotationId
  60. */
  61. public function setAnnotationId($annotationId)
  62. {
  63. $this->annotationId = $annotationId;
  64. }
  65. /**
  66. * @return string
  67. */
  68. public function getAnnotationId()
  69. {
  70. return $this->annotationId;
  71. }
  72. /**
  73. * The feedback that the customer has about the answer in `data`.
  74. *
  75. * @param GoogleCloudContactcenterinsightsV1mainAnswerFeedback $answerFeedback
  76. */
  77. public function setAnswerFeedback(GoogleCloudContactcenterinsightsV1mainAnswerFeedback $answerFeedback)
  78. {
  79. $this->answerFeedback = $answerFeedback;
  80. }
  81. /**
  82. * @return GoogleCloudContactcenterinsightsV1mainAnswerFeedback
  83. */
  84. public function getAnswerFeedback()
  85. {
  86. return $this->answerFeedback;
  87. }
  88. /**
  89. * Agent Assist Article Suggestion data.
  90. *
  91. * @param GoogleCloudContactcenterinsightsV1mainArticleSuggestionData $articleSuggestion
  92. */
  93. public function setArticleSuggestion(GoogleCloudContactcenterinsightsV1mainArticleSuggestionData $articleSuggestion)
  94. {
  95. $this->articleSuggestion = $articleSuggestion;
  96. }
  97. /**
  98. * @return GoogleCloudContactcenterinsightsV1mainArticleSuggestionData
  99. */
  100. public function getArticleSuggestion()
  101. {
  102. return $this->articleSuggestion;
  103. }
  104. /**
  105. * Conversation summarization suggestion data.
  106. *
  107. * @param GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData $conversationSummarizationSuggestion
  108. */
  109. public function setConversationSummarizationSuggestion(GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData $conversationSummarizationSuggestion)
  110. {
  111. $this->conversationSummarizationSuggestion = $conversationSummarizationSuggestion;
  112. }
  113. /**
  114. * @return GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData
  115. */
  116. public function getConversationSummarizationSuggestion()
  117. {
  118. return $this->conversationSummarizationSuggestion;
  119. }
  120. /**
  121. * The time at which this annotation was created.
  122. *
  123. * @param string $createTime
  124. */
  125. public function setCreateTime($createTime)
  126. {
  127. $this->createTime = $createTime;
  128. }
  129. /**
  130. * @return string
  131. */
  132. public function getCreateTime()
  133. {
  134. return $this->createTime;
  135. }
  136. /**
  137. * Dialogflow interaction data.
  138. *
  139. * @param GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData $dialogflowInteraction
  140. */
  141. public function setDialogflowInteraction(GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData $dialogflowInteraction)
  142. {
  143. $this->dialogflowInteraction = $dialogflowInteraction;
  144. }
  145. /**
  146. * @return GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData
  147. */
  148. public function getDialogflowInteraction()
  149. {
  150. return $this->dialogflowInteraction;
  151. }
  152. /**
  153. * The boundary in the conversation where the annotation ends, inclusive.
  154. *
  155. * @param GoogleCloudContactcenterinsightsV1mainAnnotationBoundary $endBoundary
  156. */
  157. public function setEndBoundary(GoogleCloudContactcenterinsightsV1mainAnnotationBoundary $endBoundary)
  158. {
  159. $this->endBoundary = $endBoundary;
  160. }
  161. /**
  162. * @return GoogleCloudContactcenterinsightsV1mainAnnotationBoundary
  163. */
  164. public function getEndBoundary()
  165. {
  166. return $this->endBoundary;
  167. }
  168. /**
  169. * Agent Assist FAQ answer data.
  170. *
  171. * @param GoogleCloudContactcenterinsightsV1mainFaqAnswerData $faqAnswer
  172. */
  173. public function setFaqAnswer(GoogleCloudContactcenterinsightsV1mainFaqAnswerData $faqAnswer)
  174. {
  175. $this->faqAnswer = $faqAnswer;
  176. }
  177. /**
  178. * @return GoogleCloudContactcenterinsightsV1mainFaqAnswerData
  179. */
  180. public function getFaqAnswer()
  181. {
  182. return $this->faqAnswer;
  183. }
  184. /**
  185. * Agent Assist Smart Compose suggestion data.
  186. *
  187. * @param GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData $smartComposeSuggestion
  188. */
  189. public function setSmartComposeSuggestion(GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData $smartComposeSuggestion)
  190. {
  191. $this->smartComposeSuggestion = $smartComposeSuggestion;
  192. }
  193. /**
  194. * @return GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData
  195. */
  196. public function getSmartComposeSuggestion()
  197. {
  198. return $this->smartComposeSuggestion;
  199. }
  200. /**
  201. * Agent Assist Smart Reply data.
  202. *
  203. * @param GoogleCloudContactcenterinsightsV1mainSmartReplyData $smartReply
  204. */
  205. public function setSmartReply(GoogleCloudContactcenterinsightsV1mainSmartReplyData $smartReply)
  206. {
  207. $this->smartReply = $smartReply;
  208. }
  209. /**
  210. * @return GoogleCloudContactcenterinsightsV1mainSmartReplyData
  211. */
  212. public function getSmartReply()
  213. {
  214. return $this->smartReply;
  215. }
  216. /**
  217. * The boundary in the conversation where the annotation starts, inclusive.
  218. *
  219. * @param GoogleCloudContactcenterinsightsV1mainAnnotationBoundary $startBoundary
  220. */
  221. public function setStartBoundary(GoogleCloudContactcenterinsightsV1mainAnnotationBoundary $startBoundary)
  222. {
  223. $this->startBoundary = $startBoundary;
  224. }
  225. /**
  226. * @return GoogleCloudContactcenterinsightsV1mainAnnotationBoundary
  227. */
  228. public function getStartBoundary()
  229. {
  230. return $this->startBoundary;
  231. }
  232. /**
  233. * Explicit input used for generating the answer
  234. *
  235. * @param GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput $userInput
  236. */
  237. public function setUserInput(GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput $userInput)
  238. {
  239. $this->userInput = $userInput;
  240. }
  241. /**
  242. * @return GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput
  243. */
  244. public function getUserInput()
  245. {
  246. return $this->userInput;
  247. }
  248. }
  249. // Adding a class alias for backwards compatibility with the previous class name.
  250. class_alias(GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation');