GoogleCloudContactcenterinsightsV1Dataset.php 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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 GoogleCloudContactcenterinsightsV1Dataset extends \Google\Model
  19. {
  20. /**
  21. * Default value for unspecified.
  22. */
  23. public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
  24. /**
  25. * For evals only.
  26. */
  27. public const TYPE_EVAL = 'EVAL';
  28. /**
  29. * Dataset with new conversations coming in regularly (Insights legacy
  30. * conversations and AI trainer)
  31. */
  32. public const TYPE_LIVE = 'LIVE';
  33. /**
  34. * Output only. Dataset create time.
  35. *
  36. * @var string
  37. */
  38. public $createTime;
  39. /**
  40. * Dataset description.
  41. *
  42. * @var string
  43. */
  44. public $description;
  45. /**
  46. * Display name for the dataaset
  47. *
  48. * @var string
  49. */
  50. public $displayName;
  51. /**
  52. * Immutable. Identifier. Resource name of the dataset. Format:
  53. * projects/{project}/locations/{location}/datasets/{dataset}
  54. *
  55. * @var string
  56. */
  57. public $name;
  58. /**
  59. * Optional. Option TTL for the dataset.
  60. *
  61. * @var string
  62. */
  63. public $ttl;
  64. /**
  65. * Dataset usage type.
  66. *
  67. * @var string
  68. */
  69. public $type;
  70. /**
  71. * Output only. Dataset update time.
  72. *
  73. * @var string
  74. */
  75. public $updateTime;
  76. /**
  77. * Output only. Dataset create time.
  78. *
  79. * @param string $createTime
  80. */
  81. public function setCreateTime($createTime)
  82. {
  83. $this->createTime = $createTime;
  84. }
  85. /**
  86. * @return string
  87. */
  88. public function getCreateTime()
  89. {
  90. return $this->createTime;
  91. }
  92. /**
  93. * Dataset description.
  94. *
  95. * @param string $description
  96. */
  97. public function setDescription($description)
  98. {
  99. $this->description = $description;
  100. }
  101. /**
  102. * @return string
  103. */
  104. public function getDescription()
  105. {
  106. return $this->description;
  107. }
  108. /**
  109. * Display name for the dataaset
  110. *
  111. * @param string $displayName
  112. */
  113. public function setDisplayName($displayName)
  114. {
  115. $this->displayName = $displayName;
  116. }
  117. /**
  118. * @return string
  119. */
  120. public function getDisplayName()
  121. {
  122. return $this->displayName;
  123. }
  124. /**
  125. * Immutable. Identifier. Resource name of the dataset. Format:
  126. * projects/{project}/locations/{location}/datasets/{dataset}
  127. *
  128. * @param string $name
  129. */
  130. public function setName($name)
  131. {
  132. $this->name = $name;
  133. }
  134. /**
  135. * @return string
  136. */
  137. public function getName()
  138. {
  139. return $this->name;
  140. }
  141. /**
  142. * Optional. Option TTL for the dataset.
  143. *
  144. * @param string $ttl
  145. */
  146. public function setTtl($ttl)
  147. {
  148. $this->ttl = $ttl;
  149. }
  150. /**
  151. * @return string
  152. */
  153. public function getTtl()
  154. {
  155. return $this->ttl;
  156. }
  157. /**
  158. * Dataset usage type.
  159. *
  160. * Accepted values: TYPE_UNSPECIFIED, EVAL, LIVE
  161. *
  162. * @param self::TYPE_* $type
  163. */
  164. public function setType($type)
  165. {
  166. $this->type = $type;
  167. }
  168. /**
  169. * @return self::TYPE_*
  170. */
  171. public function getType()
  172. {
  173. return $this->type;
  174. }
  175. /**
  176. * Output only. Dataset update time.
  177. *
  178. * @param string $updateTime
  179. */
  180. public function setUpdateTime($updateTime)
  181. {
  182. $this->updateTime = $updateTime;
  183. }
  184. /**
  185. * @return string
  186. */
  187. public function getUpdateTime()
  188. {
  189. return $this->updateTime;
  190. }
  191. }
  192. // Adding a class alias for backwards compatibility with the previous class name.
  193. class_alias(GoogleCloudContactcenterinsightsV1Dataset::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset');