source: vendor/google/apiclient-services/src/DatabaseMigrationService/MigrationJob.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 9.6 KB
Line 
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
18namespace Google\Service\DatabaseMigrationService;
19
20class MigrationJob extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $cmekKeyName;
26 protected $conversionWorkspaceType = ConversionWorkspaceInfo::class;
27 protected $conversionWorkspaceDataType = '';
28 /**
29 * @var string
30 */
31 public $createTime;
32 /**
33 * @var string
34 */
35 public $destination;
36 protected $destinationDatabaseType = DatabaseType::class;
37 protected $destinationDatabaseDataType = '';
38 /**
39 * @var string
40 */
41 public $displayName;
42 protected $dumpFlagsType = DumpFlags::class;
43 protected $dumpFlagsDataType = '';
44 /**
45 * @var string
46 */
47 public $dumpPath;
48 /**
49 * @var string
50 */
51 public $dumpType;
52 /**
53 * @var string
54 */
55 public $duration;
56 /**
57 * @var string
58 */
59 public $endTime;
60 protected $errorType = Status::class;
61 protected $errorDataType = '';
62 /**
63 * @var string
64 */
65 public $filter;
66 /**
67 * @var string[]
68 */
69 public $labels;
70 /**
71 * @var string
72 */
73 public $name;
74 protected $oracleToPostgresConfigType = OracleToPostgresConfig::class;
75 protected $oracleToPostgresConfigDataType = '';
76 protected $performanceConfigType = PerformanceConfig::class;
77 protected $performanceConfigDataType = '';
78 /**
79 * @var string
80 */
81 public $phase;
82 protected $reverseSshConnectivityType = ReverseSshConnectivity::class;
83 protected $reverseSshConnectivityDataType = '';
84 /**
85 * @var string
86 */
87 public $source;
88 protected $sourceDatabaseType = DatabaseType::class;
89 protected $sourceDatabaseDataType = '';
90 protected $sqlserverHomogeneousMigrationJobConfigType = SqlServerHomogeneousMigrationJobConfig::class;
91 protected $sqlserverHomogeneousMigrationJobConfigDataType = '';
92 /**
93 * @var string
94 */
95 public $state;
96 protected $staticIpConnectivityType = StaticIpConnectivity::class;
97 protected $staticIpConnectivityDataType = '';
98 /**
99 * @var string
100 */
101 public $type;
102 /**
103 * @var string
104 */
105 public $updateTime;
106 protected $vpcPeeringConnectivityType = VpcPeeringConnectivity::class;
107 protected $vpcPeeringConnectivityDataType = '';
108
109 /**
110 * @param string
111 */
112 public function setCmekKeyName($cmekKeyName)
113 {
114 $this->cmekKeyName = $cmekKeyName;
115 }
116 /**
117 * @return string
118 */
119 public function getCmekKeyName()
120 {
121 return $this->cmekKeyName;
122 }
123 /**
124 * @param ConversionWorkspaceInfo
125 */
126 public function setConversionWorkspace(ConversionWorkspaceInfo $conversionWorkspace)
127 {
128 $this->conversionWorkspace = $conversionWorkspace;
129 }
130 /**
131 * @return ConversionWorkspaceInfo
132 */
133 public function getConversionWorkspace()
134 {
135 return $this->conversionWorkspace;
136 }
137 /**
138 * @param string
139 */
140 public function setCreateTime($createTime)
141 {
142 $this->createTime = $createTime;
143 }
144 /**
145 * @return string
146 */
147 public function getCreateTime()
148 {
149 return $this->createTime;
150 }
151 /**
152 * @param string
153 */
154 public function setDestination($destination)
155 {
156 $this->destination = $destination;
157 }
158 /**
159 * @return string
160 */
161 public function getDestination()
162 {
163 return $this->destination;
164 }
165 /**
166 * @param DatabaseType
167 */
168 public function setDestinationDatabase(DatabaseType $destinationDatabase)
169 {
170 $this->destinationDatabase = $destinationDatabase;
171 }
172 /**
173 * @return DatabaseType
174 */
175 public function getDestinationDatabase()
176 {
177 return $this->destinationDatabase;
178 }
179 /**
180 * @param string
181 */
182 public function setDisplayName($displayName)
183 {
184 $this->displayName = $displayName;
185 }
186 /**
187 * @return string
188 */
189 public function getDisplayName()
190 {
191 return $this->displayName;
192 }
193 /**
194 * @param DumpFlags
195 */
196 public function setDumpFlags(DumpFlags $dumpFlags)
197 {
198 $this->dumpFlags = $dumpFlags;
199 }
200 /**
201 * @return DumpFlags
202 */
203 public function getDumpFlags()
204 {
205 return $this->dumpFlags;
206 }
207 /**
208 * @param string
209 */
210 public function setDumpPath($dumpPath)
211 {
212 $this->dumpPath = $dumpPath;
213 }
214 /**
215 * @return string
216 */
217 public function getDumpPath()
218 {
219 return $this->dumpPath;
220 }
221 /**
222 * @param string
223 */
224 public function setDumpType($dumpType)
225 {
226 $this->dumpType = $dumpType;
227 }
228 /**
229 * @return string
230 */
231 public function getDumpType()
232 {
233 return $this->dumpType;
234 }
235 /**
236 * @param string
237 */
238 public function setDuration($duration)
239 {
240 $this->duration = $duration;
241 }
242 /**
243 * @return string
244 */
245 public function getDuration()
246 {
247 return $this->duration;
248 }
249 /**
250 * @param string
251 */
252 public function setEndTime($endTime)
253 {
254 $this->endTime = $endTime;
255 }
256 /**
257 * @return string
258 */
259 public function getEndTime()
260 {
261 return $this->endTime;
262 }
263 /**
264 * @param Status
265 */
266 public function setError(Status $error)
267 {
268 $this->error = $error;
269 }
270 /**
271 * @return Status
272 */
273 public function getError()
274 {
275 return $this->error;
276 }
277 /**
278 * @param string
279 */
280 public function setFilter($filter)
281 {
282 $this->filter = $filter;
283 }
284 /**
285 * @return string
286 */
287 public function getFilter()
288 {
289 return $this->filter;
290 }
291 /**
292 * @param string[]
293 */
294 public function setLabels($labels)
295 {
296 $this->labels = $labels;
297 }
298 /**
299 * @return string[]
300 */
301 public function getLabels()
302 {
303 return $this->labels;
304 }
305 /**
306 * @param string
307 */
308 public function setName($name)
309 {
310 $this->name = $name;
311 }
312 /**
313 * @return string
314 */
315 public function getName()
316 {
317 return $this->name;
318 }
319 /**
320 * @param OracleToPostgresConfig
321 */
322 public function setOracleToPostgresConfig(OracleToPostgresConfig $oracleToPostgresConfig)
323 {
324 $this->oracleToPostgresConfig = $oracleToPostgresConfig;
325 }
326 /**
327 * @return OracleToPostgresConfig
328 */
329 public function getOracleToPostgresConfig()
330 {
331 return $this->oracleToPostgresConfig;
332 }
333 /**
334 * @param PerformanceConfig
335 */
336 public function setPerformanceConfig(PerformanceConfig $performanceConfig)
337 {
338 $this->performanceConfig = $performanceConfig;
339 }
340 /**
341 * @return PerformanceConfig
342 */
343 public function getPerformanceConfig()
344 {
345 return $this->performanceConfig;
346 }
347 /**
348 * @param string
349 */
350 public function setPhase($phase)
351 {
352 $this->phase = $phase;
353 }
354 /**
355 * @return string
356 */
357 public function getPhase()
358 {
359 return $this->phase;
360 }
361 /**
362 * @param ReverseSshConnectivity
363 */
364 public function setReverseSshConnectivity(ReverseSshConnectivity $reverseSshConnectivity)
365 {
366 $this->reverseSshConnectivity = $reverseSshConnectivity;
367 }
368 /**
369 * @return ReverseSshConnectivity
370 */
371 public function getReverseSshConnectivity()
372 {
373 return $this->reverseSshConnectivity;
374 }
375 /**
376 * @param string
377 */
378 public function setSource($source)
379 {
380 $this->source = $source;
381 }
382 /**
383 * @return string
384 */
385 public function getSource()
386 {
387 return $this->source;
388 }
389 /**
390 * @param DatabaseType
391 */
392 public function setSourceDatabase(DatabaseType $sourceDatabase)
393 {
394 $this->sourceDatabase = $sourceDatabase;
395 }
396 /**
397 * @return DatabaseType
398 */
399 public function getSourceDatabase()
400 {
401 return $this->sourceDatabase;
402 }
403 /**
404 * @param SqlServerHomogeneousMigrationJobConfig
405 */
406 public function setSqlserverHomogeneousMigrationJobConfig(SqlServerHomogeneousMigrationJobConfig $sqlserverHomogeneousMigrationJobConfig)
407 {
408 $this->sqlserverHomogeneousMigrationJobConfig = $sqlserverHomogeneousMigrationJobConfig;
409 }
410 /**
411 * @return SqlServerHomogeneousMigrationJobConfig
412 */
413 public function getSqlserverHomogeneousMigrationJobConfig()
414 {
415 return $this->sqlserverHomogeneousMigrationJobConfig;
416 }
417 /**
418 * @param string
419 */
420 public function setState($state)
421 {
422 $this->state = $state;
423 }
424 /**
425 * @return string
426 */
427 public function getState()
428 {
429 return $this->state;
430 }
431 /**
432 * @param StaticIpConnectivity
433 */
434 public function setStaticIpConnectivity(StaticIpConnectivity $staticIpConnectivity)
435 {
436 $this->staticIpConnectivity = $staticIpConnectivity;
437 }
438 /**
439 * @return StaticIpConnectivity
440 */
441 public function getStaticIpConnectivity()
442 {
443 return $this->staticIpConnectivity;
444 }
445 /**
446 * @param string
447 */
448 public function setType($type)
449 {
450 $this->type = $type;
451 }
452 /**
453 * @return string
454 */
455 public function getType()
456 {
457 return $this->type;
458 }
459 /**
460 * @param string
461 */
462 public function setUpdateTime($updateTime)
463 {
464 $this->updateTime = $updateTime;
465 }
466 /**
467 * @return string
468 */
469 public function getUpdateTime()
470 {
471 return $this->updateTime;
472 }
473 /**
474 * @param VpcPeeringConnectivity
475 */
476 public function setVpcPeeringConnectivity(VpcPeeringConnectivity $vpcPeeringConnectivity)
477 {
478 $this->vpcPeeringConnectivity = $vpcPeeringConnectivity;
479 }
480 /**
481 * @return VpcPeeringConnectivity
482 */
483 public function getVpcPeeringConnectivity()
484 {
485 return $this->vpcPeeringConnectivity;
486 }
487}
488
489// Adding a class alias for backwards compatibility with the previous class name.
490class_alias(MigrationJob::class, 'Google_Service_DatabaseMigrationService_MigrationJob');
Note: See TracBrowser for help on using the repository browser.