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\BigQueryDataTransfer;
|
---|
19 |
|
---|
20 | class TransferConfig extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var int
|
---|
24 | */
|
---|
25 | public $dataRefreshWindowDays;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $dataSourceId;
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $datasetRegion;
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $destinationDatasetId;
|
---|
38 | /**
|
---|
39 | * @var bool
|
---|
40 | */
|
---|
41 | public $disabled;
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $displayName;
|
---|
46 | protected $emailPreferencesType = EmailPreferences::class;
|
---|
47 | protected $emailPreferencesDataType = '';
|
---|
48 | protected $encryptionConfigurationType = EncryptionConfiguration::class;
|
---|
49 | protected $encryptionConfigurationDataType = '';
|
---|
50 | protected $errorType = Status::class;
|
---|
51 | protected $errorDataType = '';
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $name;
|
---|
56 | /**
|
---|
57 | * @var string
|
---|
58 | */
|
---|
59 | public $nextRunTime;
|
---|
60 | /**
|
---|
61 | * @var string
|
---|
62 | */
|
---|
63 | public $notificationPubsubTopic;
|
---|
64 | protected $ownerInfoType = UserInfo::class;
|
---|
65 | protected $ownerInfoDataType = '';
|
---|
66 | /**
|
---|
67 | * @var array[]
|
---|
68 | */
|
---|
69 | public $params;
|
---|
70 | /**
|
---|
71 | * @var string
|
---|
72 | */
|
---|
73 | public $schedule;
|
---|
74 | protected $scheduleOptionsType = ScheduleOptions::class;
|
---|
75 | protected $scheduleOptionsDataType = '';
|
---|
76 | protected $scheduleOptionsV2Type = ScheduleOptionsV2::class;
|
---|
77 | protected $scheduleOptionsV2DataType = '';
|
---|
78 | /**
|
---|
79 | * @var string
|
---|
80 | */
|
---|
81 | public $state;
|
---|
82 | /**
|
---|
83 | * @var string
|
---|
84 | */
|
---|
85 | public $updateTime;
|
---|
86 | /**
|
---|
87 | * @var string
|
---|
88 | */
|
---|
89 | public $userId;
|
---|
90 |
|
---|
91 | /**
|
---|
92 | * @param int
|
---|
93 | */
|
---|
94 | public function setDataRefreshWindowDays($dataRefreshWindowDays)
|
---|
95 | {
|
---|
96 | $this->dataRefreshWindowDays = $dataRefreshWindowDays;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @return int
|
---|
100 | */
|
---|
101 | public function getDataRefreshWindowDays()
|
---|
102 | {
|
---|
103 | return $this->dataRefreshWindowDays;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @param string
|
---|
107 | */
|
---|
108 | public function setDataSourceId($dataSourceId)
|
---|
109 | {
|
---|
110 | $this->dataSourceId = $dataSourceId;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @return string
|
---|
114 | */
|
---|
115 | public function getDataSourceId()
|
---|
116 | {
|
---|
117 | return $this->dataSourceId;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @param string
|
---|
121 | */
|
---|
122 | public function setDatasetRegion($datasetRegion)
|
---|
123 | {
|
---|
124 | $this->datasetRegion = $datasetRegion;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @return string
|
---|
128 | */
|
---|
129 | public function getDatasetRegion()
|
---|
130 | {
|
---|
131 | return $this->datasetRegion;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @param string
|
---|
135 | */
|
---|
136 | public function setDestinationDatasetId($destinationDatasetId)
|
---|
137 | {
|
---|
138 | $this->destinationDatasetId = $destinationDatasetId;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @return string
|
---|
142 | */
|
---|
143 | public function getDestinationDatasetId()
|
---|
144 | {
|
---|
145 | return $this->destinationDatasetId;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @param bool
|
---|
149 | */
|
---|
150 | public function setDisabled($disabled)
|
---|
151 | {
|
---|
152 | $this->disabled = $disabled;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @return bool
|
---|
156 | */
|
---|
157 | public function getDisabled()
|
---|
158 | {
|
---|
159 | return $this->disabled;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @param string
|
---|
163 | */
|
---|
164 | public function setDisplayName($displayName)
|
---|
165 | {
|
---|
166 | $this->displayName = $displayName;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @return string
|
---|
170 | */
|
---|
171 | public function getDisplayName()
|
---|
172 | {
|
---|
173 | return $this->displayName;
|
---|
174 | }
|
---|
175 | /**
|
---|
176 | * @param EmailPreferences
|
---|
177 | */
|
---|
178 | public function setEmailPreferences(EmailPreferences $emailPreferences)
|
---|
179 | {
|
---|
180 | $this->emailPreferences = $emailPreferences;
|
---|
181 | }
|
---|
182 | /**
|
---|
183 | * @return EmailPreferences
|
---|
184 | */
|
---|
185 | public function getEmailPreferences()
|
---|
186 | {
|
---|
187 | return $this->emailPreferences;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @param EncryptionConfiguration
|
---|
191 | */
|
---|
192 | public function setEncryptionConfiguration(EncryptionConfiguration $encryptionConfiguration)
|
---|
193 | {
|
---|
194 | $this->encryptionConfiguration = $encryptionConfiguration;
|
---|
195 | }
|
---|
196 | /**
|
---|
197 | * @return EncryptionConfiguration
|
---|
198 | */
|
---|
199 | public function getEncryptionConfiguration()
|
---|
200 | {
|
---|
201 | return $this->encryptionConfiguration;
|
---|
202 | }
|
---|
203 | /**
|
---|
204 | * @param Status
|
---|
205 | */
|
---|
206 | public function setError(Status $error)
|
---|
207 | {
|
---|
208 | $this->error = $error;
|
---|
209 | }
|
---|
210 | /**
|
---|
211 | * @return Status
|
---|
212 | */
|
---|
213 | public function getError()
|
---|
214 | {
|
---|
215 | return $this->error;
|
---|
216 | }
|
---|
217 | /**
|
---|
218 | * @param string
|
---|
219 | */
|
---|
220 | public function setName($name)
|
---|
221 | {
|
---|
222 | $this->name = $name;
|
---|
223 | }
|
---|
224 | /**
|
---|
225 | * @return string
|
---|
226 | */
|
---|
227 | public function getName()
|
---|
228 | {
|
---|
229 | return $this->name;
|
---|
230 | }
|
---|
231 | /**
|
---|
232 | * @param string
|
---|
233 | */
|
---|
234 | public function setNextRunTime($nextRunTime)
|
---|
235 | {
|
---|
236 | $this->nextRunTime = $nextRunTime;
|
---|
237 | }
|
---|
238 | /**
|
---|
239 | * @return string
|
---|
240 | */
|
---|
241 | public function getNextRunTime()
|
---|
242 | {
|
---|
243 | return $this->nextRunTime;
|
---|
244 | }
|
---|
245 | /**
|
---|
246 | * @param string
|
---|
247 | */
|
---|
248 | public function setNotificationPubsubTopic($notificationPubsubTopic)
|
---|
249 | {
|
---|
250 | $this->notificationPubsubTopic = $notificationPubsubTopic;
|
---|
251 | }
|
---|
252 | /**
|
---|
253 | * @return string
|
---|
254 | */
|
---|
255 | public function getNotificationPubsubTopic()
|
---|
256 | {
|
---|
257 | return $this->notificationPubsubTopic;
|
---|
258 | }
|
---|
259 | /**
|
---|
260 | * @param UserInfo
|
---|
261 | */
|
---|
262 | public function setOwnerInfo(UserInfo $ownerInfo)
|
---|
263 | {
|
---|
264 | $this->ownerInfo = $ownerInfo;
|
---|
265 | }
|
---|
266 | /**
|
---|
267 | * @return UserInfo
|
---|
268 | */
|
---|
269 | public function getOwnerInfo()
|
---|
270 | {
|
---|
271 | return $this->ownerInfo;
|
---|
272 | }
|
---|
273 | /**
|
---|
274 | * @param array[]
|
---|
275 | */
|
---|
276 | public function setParams($params)
|
---|
277 | {
|
---|
278 | $this->params = $params;
|
---|
279 | }
|
---|
280 | /**
|
---|
281 | * @return array[]
|
---|
282 | */
|
---|
283 | public function getParams()
|
---|
284 | {
|
---|
285 | return $this->params;
|
---|
286 | }
|
---|
287 | /**
|
---|
288 | * @param string
|
---|
289 | */
|
---|
290 | public function setSchedule($schedule)
|
---|
291 | {
|
---|
292 | $this->schedule = $schedule;
|
---|
293 | }
|
---|
294 | /**
|
---|
295 | * @return string
|
---|
296 | */
|
---|
297 | public function getSchedule()
|
---|
298 | {
|
---|
299 | return $this->schedule;
|
---|
300 | }
|
---|
301 | /**
|
---|
302 | * @param ScheduleOptions
|
---|
303 | */
|
---|
304 | public function setScheduleOptions(ScheduleOptions $scheduleOptions)
|
---|
305 | {
|
---|
306 | $this->scheduleOptions = $scheduleOptions;
|
---|
307 | }
|
---|
308 | /**
|
---|
309 | * @return ScheduleOptions
|
---|
310 | */
|
---|
311 | public function getScheduleOptions()
|
---|
312 | {
|
---|
313 | return $this->scheduleOptions;
|
---|
314 | }
|
---|
315 | /**
|
---|
316 | * @param ScheduleOptionsV2
|
---|
317 | */
|
---|
318 | public function setScheduleOptionsV2(ScheduleOptionsV2 $scheduleOptionsV2)
|
---|
319 | {
|
---|
320 | $this->scheduleOptionsV2 = $scheduleOptionsV2;
|
---|
321 | }
|
---|
322 | /**
|
---|
323 | * @return ScheduleOptionsV2
|
---|
324 | */
|
---|
325 | public function getScheduleOptionsV2()
|
---|
326 | {
|
---|
327 | return $this->scheduleOptionsV2;
|
---|
328 | }
|
---|
329 | /**
|
---|
330 | * @param string
|
---|
331 | */
|
---|
332 | public function setState($state)
|
---|
333 | {
|
---|
334 | $this->state = $state;
|
---|
335 | }
|
---|
336 | /**
|
---|
337 | * @return string
|
---|
338 | */
|
---|
339 | public function getState()
|
---|
340 | {
|
---|
341 | return $this->state;
|
---|
342 | }
|
---|
343 | /**
|
---|
344 | * @param string
|
---|
345 | */
|
---|
346 | public function setUpdateTime($updateTime)
|
---|
347 | {
|
---|
348 | $this->updateTime = $updateTime;
|
---|
349 | }
|
---|
350 | /**
|
---|
351 | * @return string
|
---|
352 | */
|
---|
353 | public function getUpdateTime()
|
---|
354 | {
|
---|
355 | return $this->updateTime;
|
---|
356 | }
|
---|
357 | /**
|
---|
358 | * @param string
|
---|
359 | */
|
---|
360 | public function setUserId($userId)
|
---|
361 | {
|
---|
362 | $this->userId = $userId;
|
---|
363 | }
|
---|
364 | /**
|
---|
365 | * @return string
|
---|
366 | */
|
---|
367 | public function getUserId()
|
---|
368 | {
|
---|
369 | return $this->userId;
|
---|
370 | }
|
---|
371 | }
|
---|
372 |
|
---|
373 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
374 | class_alias(TransferConfig::class, 'Google_Service_BigQueryDataTransfer_TransferConfig');
|
---|