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 |
|
---|
18 | namespace Google\Service\DiscoveryEngine;
|
---|
19 |
|
---|
20 | class GoogleCloudDiscoveryengineV1alphaEngine extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'dataStoreIds';
|
---|
23 | protected $chatEngineConfigType = GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig::class;
|
---|
24 | protected $chatEngineConfigDataType = '';
|
---|
25 | protected $chatEngineMetadataType = GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata::class;
|
---|
26 | protected $chatEngineMetadataDataType = '';
|
---|
27 | protected $commonConfigType = GoogleCloudDiscoveryengineV1alphaEngineCommonConfig::class;
|
---|
28 | protected $commonConfigDataType = '';
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $createTime;
|
---|
33 | /**
|
---|
34 | * @var string[]
|
---|
35 | */
|
---|
36 | public $dataStoreIds;
|
---|
37 | /**
|
---|
38 | * @var bool
|
---|
39 | */
|
---|
40 | public $disableAnalytics;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $displayName;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $industryVertical;
|
---|
49 | protected $mediaRecommendationEngineConfigType = GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig::class;
|
---|
50 | protected $mediaRecommendationEngineConfigDataType = '';
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $name;
|
---|
55 | protected $recommendationMetadataType = GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata::class;
|
---|
56 | protected $recommendationMetadataDataType = '';
|
---|
57 | protected $searchEngineConfigType = GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig::class;
|
---|
58 | protected $searchEngineConfigDataType = '';
|
---|
59 | protected $similarDocumentsConfigType = GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig::class;
|
---|
60 | protected $similarDocumentsConfigDataType = '';
|
---|
61 | /**
|
---|
62 | * @var string
|
---|
63 | */
|
---|
64 | public $solutionType;
|
---|
65 | /**
|
---|
66 | * @var string
|
---|
67 | */
|
---|
68 | public $updateTime;
|
---|
69 |
|
---|
70 | /**
|
---|
71 | * @param GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig
|
---|
72 | */
|
---|
73 | public function setChatEngineConfig(GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig $chatEngineConfig)
|
---|
74 | {
|
---|
75 | $this->chatEngineConfig = $chatEngineConfig;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @return GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig
|
---|
79 | */
|
---|
80 | public function getChatEngineConfig()
|
---|
81 | {
|
---|
82 | return $this->chatEngineConfig;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @param GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata
|
---|
86 | */
|
---|
87 | public function setChatEngineMetadata(GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata $chatEngineMetadata)
|
---|
88 | {
|
---|
89 | $this->chatEngineMetadata = $chatEngineMetadata;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @return GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata
|
---|
93 | */
|
---|
94 | public function getChatEngineMetadata()
|
---|
95 | {
|
---|
96 | return $this->chatEngineMetadata;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @param GoogleCloudDiscoveryengineV1alphaEngineCommonConfig
|
---|
100 | */
|
---|
101 | public function setCommonConfig(GoogleCloudDiscoveryengineV1alphaEngineCommonConfig $commonConfig)
|
---|
102 | {
|
---|
103 | $this->commonConfig = $commonConfig;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @return GoogleCloudDiscoveryengineV1alphaEngineCommonConfig
|
---|
107 | */
|
---|
108 | public function getCommonConfig()
|
---|
109 | {
|
---|
110 | return $this->commonConfig;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @param string
|
---|
114 | */
|
---|
115 | public function setCreateTime($createTime)
|
---|
116 | {
|
---|
117 | $this->createTime = $createTime;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @return string
|
---|
121 | */
|
---|
122 | public function getCreateTime()
|
---|
123 | {
|
---|
124 | return $this->createTime;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @param string[]
|
---|
128 | */
|
---|
129 | public function setDataStoreIds($dataStoreIds)
|
---|
130 | {
|
---|
131 | $this->dataStoreIds = $dataStoreIds;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return string[]
|
---|
135 | */
|
---|
136 | public function getDataStoreIds()
|
---|
137 | {
|
---|
138 | return $this->dataStoreIds;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @param bool
|
---|
142 | */
|
---|
143 | public function setDisableAnalytics($disableAnalytics)
|
---|
144 | {
|
---|
145 | $this->disableAnalytics = $disableAnalytics;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @return bool
|
---|
149 | */
|
---|
150 | public function getDisableAnalytics()
|
---|
151 | {
|
---|
152 | return $this->disableAnalytics;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @param string
|
---|
156 | */
|
---|
157 | public function setDisplayName($displayName)
|
---|
158 | {
|
---|
159 | $this->displayName = $displayName;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @return string
|
---|
163 | */
|
---|
164 | public function getDisplayName()
|
---|
165 | {
|
---|
166 | return $this->displayName;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @param string
|
---|
170 | */
|
---|
171 | public function setIndustryVertical($industryVertical)
|
---|
172 | {
|
---|
173 | $this->industryVertical = $industryVertical;
|
---|
174 | }
|
---|
175 | /**
|
---|
176 | * @return string
|
---|
177 | */
|
---|
178 | public function getIndustryVertical()
|
---|
179 | {
|
---|
180 | return $this->industryVertical;
|
---|
181 | }
|
---|
182 | /**
|
---|
183 | * @param GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig
|
---|
184 | */
|
---|
185 | public function setMediaRecommendationEngineConfig(GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig $mediaRecommendationEngineConfig)
|
---|
186 | {
|
---|
187 | $this->mediaRecommendationEngineConfig = $mediaRecommendationEngineConfig;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @return GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig
|
---|
191 | */
|
---|
192 | public function getMediaRecommendationEngineConfig()
|
---|
193 | {
|
---|
194 | return $this->mediaRecommendationEngineConfig;
|
---|
195 | }
|
---|
196 | /**
|
---|
197 | * @param string
|
---|
198 | */
|
---|
199 | public function setName($name)
|
---|
200 | {
|
---|
201 | $this->name = $name;
|
---|
202 | }
|
---|
203 | /**
|
---|
204 | * @return string
|
---|
205 | */
|
---|
206 | public function getName()
|
---|
207 | {
|
---|
208 | return $this->name;
|
---|
209 | }
|
---|
210 | /**
|
---|
211 | * @param GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata
|
---|
212 | */
|
---|
213 | public function setRecommendationMetadata(GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata $recommendationMetadata)
|
---|
214 | {
|
---|
215 | $this->recommendationMetadata = $recommendationMetadata;
|
---|
216 | }
|
---|
217 | /**
|
---|
218 | * @return GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata
|
---|
219 | */
|
---|
220 | public function getRecommendationMetadata()
|
---|
221 | {
|
---|
222 | return $this->recommendationMetadata;
|
---|
223 | }
|
---|
224 | /**
|
---|
225 | * @param GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig
|
---|
226 | */
|
---|
227 | public function setSearchEngineConfig(GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig $searchEngineConfig)
|
---|
228 | {
|
---|
229 | $this->searchEngineConfig = $searchEngineConfig;
|
---|
230 | }
|
---|
231 | /**
|
---|
232 | * @return GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig
|
---|
233 | */
|
---|
234 | public function getSearchEngineConfig()
|
---|
235 | {
|
---|
236 | return $this->searchEngineConfig;
|
---|
237 | }
|
---|
238 | /**
|
---|
239 | * @param GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig
|
---|
240 | */
|
---|
241 | public function setSimilarDocumentsConfig(GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig $similarDocumentsConfig)
|
---|
242 | {
|
---|
243 | $this->similarDocumentsConfig = $similarDocumentsConfig;
|
---|
244 | }
|
---|
245 | /**
|
---|
246 | * @return GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig
|
---|
247 | */
|
---|
248 | public function getSimilarDocumentsConfig()
|
---|
249 | {
|
---|
250 | return $this->similarDocumentsConfig;
|
---|
251 | }
|
---|
252 | /**
|
---|
253 | * @param string
|
---|
254 | */
|
---|
255 | public function setSolutionType($solutionType)
|
---|
256 | {
|
---|
257 | $this->solutionType = $solutionType;
|
---|
258 | }
|
---|
259 | /**
|
---|
260 | * @return string
|
---|
261 | */
|
---|
262 | public function getSolutionType()
|
---|
263 | {
|
---|
264 | return $this->solutionType;
|
---|
265 | }
|
---|
266 | /**
|
---|
267 | * @param string
|
---|
268 | */
|
---|
269 | public function setUpdateTime($updateTime)
|
---|
270 | {
|
---|
271 | $this->updateTime = $updateTime;
|
---|
272 | }
|
---|
273 | /**
|
---|
274 | * @return string
|
---|
275 | */
|
---|
276 | public function getUpdateTime()
|
---|
277 | {
|
---|
278 | return $this->updateTime;
|
---|
279 | }
|
---|
280 | }
|
---|
281 |
|
---|
282 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
283 | class_alias(GoogleCloudDiscoveryengineV1alphaEngine::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine');
|
---|