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 GoogleCloudDiscoveryengineV1ImportDocumentsRequest extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $alloyDbSourceType = GoogleCloudDiscoveryengineV1AlloyDbSource::class;
|
---|
23 | protected $alloyDbSourceDataType = '';
|
---|
24 | /**
|
---|
25 | * @var bool
|
---|
26 | */
|
---|
27 | public $autoGenerateIds;
|
---|
28 | protected $bigquerySourceType = GoogleCloudDiscoveryengineV1BigQuerySource::class;
|
---|
29 | protected $bigquerySourceDataType = '';
|
---|
30 | protected $bigtableSourceType = GoogleCloudDiscoveryengineV1BigtableSource::class;
|
---|
31 | protected $bigtableSourceDataType = '';
|
---|
32 | protected $cloudSqlSourceType = GoogleCloudDiscoveryengineV1CloudSqlSource::class;
|
---|
33 | protected $cloudSqlSourceDataType = '';
|
---|
34 | protected $errorConfigType = GoogleCloudDiscoveryengineV1ImportErrorConfig::class;
|
---|
35 | protected $errorConfigDataType = '';
|
---|
36 | protected $fhirStoreSourceType = GoogleCloudDiscoveryengineV1FhirStoreSource::class;
|
---|
37 | protected $fhirStoreSourceDataType = '';
|
---|
38 | protected $firestoreSourceType = GoogleCloudDiscoveryengineV1FirestoreSource::class;
|
---|
39 | protected $firestoreSourceDataType = '';
|
---|
40 | protected $gcsSourceType = GoogleCloudDiscoveryengineV1GcsSource::class;
|
---|
41 | protected $gcsSourceDataType = '';
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $idField;
|
---|
46 | protected $inlineSourceType = GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource::class;
|
---|
47 | protected $inlineSourceDataType = '';
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $reconciliationMode;
|
---|
52 | protected $spannerSourceType = GoogleCloudDiscoveryengineV1SpannerSource::class;
|
---|
53 | protected $spannerSourceDataType = '';
|
---|
54 | /**
|
---|
55 | * @var string
|
---|
56 | */
|
---|
57 | public $updateMask;
|
---|
58 |
|
---|
59 | /**
|
---|
60 | * @param GoogleCloudDiscoveryengineV1AlloyDbSource
|
---|
61 | */
|
---|
62 | public function setAlloyDbSource(GoogleCloudDiscoveryengineV1AlloyDbSource $alloyDbSource)
|
---|
63 | {
|
---|
64 | $this->alloyDbSource = $alloyDbSource;
|
---|
65 | }
|
---|
66 | /**
|
---|
67 | * @return GoogleCloudDiscoveryengineV1AlloyDbSource
|
---|
68 | */
|
---|
69 | public function getAlloyDbSource()
|
---|
70 | {
|
---|
71 | return $this->alloyDbSource;
|
---|
72 | }
|
---|
73 | /**
|
---|
74 | * @param bool
|
---|
75 | */
|
---|
76 | public function setAutoGenerateIds($autoGenerateIds)
|
---|
77 | {
|
---|
78 | $this->autoGenerateIds = $autoGenerateIds;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @return bool
|
---|
82 | */
|
---|
83 | public function getAutoGenerateIds()
|
---|
84 | {
|
---|
85 | return $this->autoGenerateIds;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @param GoogleCloudDiscoveryengineV1BigQuerySource
|
---|
89 | */
|
---|
90 | public function setBigquerySource(GoogleCloudDiscoveryengineV1BigQuerySource $bigquerySource)
|
---|
91 | {
|
---|
92 | $this->bigquerySource = $bigquerySource;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @return GoogleCloudDiscoveryengineV1BigQuerySource
|
---|
96 | */
|
---|
97 | public function getBigquerySource()
|
---|
98 | {
|
---|
99 | return $this->bigquerySource;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @param GoogleCloudDiscoveryengineV1BigtableSource
|
---|
103 | */
|
---|
104 | public function setBigtableSource(GoogleCloudDiscoveryengineV1BigtableSource $bigtableSource)
|
---|
105 | {
|
---|
106 | $this->bigtableSource = $bigtableSource;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @return GoogleCloudDiscoveryengineV1BigtableSource
|
---|
110 | */
|
---|
111 | public function getBigtableSource()
|
---|
112 | {
|
---|
113 | return $this->bigtableSource;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @param GoogleCloudDiscoveryengineV1CloudSqlSource
|
---|
117 | */
|
---|
118 | public function setCloudSqlSource(GoogleCloudDiscoveryengineV1CloudSqlSource $cloudSqlSource)
|
---|
119 | {
|
---|
120 | $this->cloudSqlSource = $cloudSqlSource;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @return GoogleCloudDiscoveryengineV1CloudSqlSource
|
---|
124 | */
|
---|
125 | public function getCloudSqlSource()
|
---|
126 | {
|
---|
127 | return $this->cloudSqlSource;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @param GoogleCloudDiscoveryengineV1ImportErrorConfig
|
---|
131 | */
|
---|
132 | public function setErrorConfig(GoogleCloudDiscoveryengineV1ImportErrorConfig $errorConfig)
|
---|
133 | {
|
---|
134 | $this->errorConfig = $errorConfig;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @return GoogleCloudDiscoveryengineV1ImportErrorConfig
|
---|
138 | */
|
---|
139 | public function getErrorConfig()
|
---|
140 | {
|
---|
141 | return $this->errorConfig;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @param GoogleCloudDiscoveryengineV1FhirStoreSource
|
---|
145 | */
|
---|
146 | public function setFhirStoreSource(GoogleCloudDiscoveryengineV1FhirStoreSource $fhirStoreSource)
|
---|
147 | {
|
---|
148 | $this->fhirStoreSource = $fhirStoreSource;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @return GoogleCloudDiscoveryengineV1FhirStoreSource
|
---|
152 | */
|
---|
153 | public function getFhirStoreSource()
|
---|
154 | {
|
---|
155 | return $this->fhirStoreSource;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @param GoogleCloudDiscoveryengineV1FirestoreSource
|
---|
159 | */
|
---|
160 | public function setFirestoreSource(GoogleCloudDiscoveryengineV1FirestoreSource $firestoreSource)
|
---|
161 | {
|
---|
162 | $this->firestoreSource = $firestoreSource;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @return GoogleCloudDiscoveryengineV1FirestoreSource
|
---|
166 | */
|
---|
167 | public function getFirestoreSource()
|
---|
168 | {
|
---|
169 | return $this->firestoreSource;
|
---|
170 | }
|
---|
171 | /**
|
---|
172 | * @param GoogleCloudDiscoveryengineV1GcsSource
|
---|
173 | */
|
---|
174 | public function setGcsSource(GoogleCloudDiscoveryengineV1GcsSource $gcsSource)
|
---|
175 | {
|
---|
176 | $this->gcsSource = $gcsSource;
|
---|
177 | }
|
---|
178 | /**
|
---|
179 | * @return GoogleCloudDiscoveryengineV1GcsSource
|
---|
180 | */
|
---|
181 | public function getGcsSource()
|
---|
182 | {
|
---|
183 | return $this->gcsSource;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @param string
|
---|
187 | */
|
---|
188 | public function setIdField($idField)
|
---|
189 | {
|
---|
190 | $this->idField = $idField;
|
---|
191 | }
|
---|
192 | /**
|
---|
193 | * @return string
|
---|
194 | */
|
---|
195 | public function getIdField()
|
---|
196 | {
|
---|
197 | return $this->idField;
|
---|
198 | }
|
---|
199 | /**
|
---|
200 | * @param GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource
|
---|
201 | */
|
---|
202 | public function setInlineSource(GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource $inlineSource)
|
---|
203 | {
|
---|
204 | $this->inlineSource = $inlineSource;
|
---|
205 | }
|
---|
206 | /**
|
---|
207 | * @return GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource
|
---|
208 | */
|
---|
209 | public function getInlineSource()
|
---|
210 | {
|
---|
211 | return $this->inlineSource;
|
---|
212 | }
|
---|
213 | /**
|
---|
214 | * @param string
|
---|
215 | */
|
---|
216 | public function setReconciliationMode($reconciliationMode)
|
---|
217 | {
|
---|
218 | $this->reconciliationMode = $reconciliationMode;
|
---|
219 | }
|
---|
220 | /**
|
---|
221 | * @return string
|
---|
222 | */
|
---|
223 | public function getReconciliationMode()
|
---|
224 | {
|
---|
225 | return $this->reconciliationMode;
|
---|
226 | }
|
---|
227 | /**
|
---|
228 | * @param GoogleCloudDiscoveryengineV1SpannerSource
|
---|
229 | */
|
---|
230 | public function setSpannerSource(GoogleCloudDiscoveryengineV1SpannerSource $spannerSource)
|
---|
231 | {
|
---|
232 | $this->spannerSource = $spannerSource;
|
---|
233 | }
|
---|
234 | /**
|
---|
235 | * @return GoogleCloudDiscoveryengineV1SpannerSource
|
---|
236 | */
|
---|
237 | public function getSpannerSource()
|
---|
238 | {
|
---|
239 | return $this->spannerSource;
|
---|
240 | }
|
---|
241 | /**
|
---|
242 | * @param string
|
---|
243 | */
|
---|
244 | public function setUpdateMask($updateMask)
|
---|
245 | {
|
---|
246 | $this->updateMask = $updateMask;
|
---|
247 | }
|
---|
248 | /**
|
---|
249 | * @return string
|
---|
250 | */
|
---|
251 | public function getUpdateMask()
|
---|
252 | {
|
---|
253 | return $this->updateMask;
|
---|
254 | }
|
---|
255 | }
|
---|
256 |
|
---|
257 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
258 | class_alias(GoogleCloudDiscoveryengineV1ImportDocumentsRequest::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest');
|
---|