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