source: vendor/google/apiclient-services/src/SQLAdmin/DatabaseInstance.php

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

Upload project files

  • Property mode set to 100644
File size: 16.1 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\SQLAdmin;
19
20class DatabaseInstance extends \Google\Collection
21{
22 protected $collection_key = 'upgradableDatabaseVersions';
23 /**
24 * @var string[]
25 */
26 public $availableMaintenanceVersions;
27 /**
28 * @var string
29 */
30 public $backendType;
31 /**
32 * @var string
33 */
34 public $connectionName;
35 /**
36 * @var string
37 */
38 public $createTime;
39 /**
40 * @var string
41 */
42 public $currentDiskSize;
43 /**
44 * @var string
45 */
46 public $databaseInstalledVersion;
47 /**
48 * @var string
49 */
50 public $databaseVersion;
51 protected $diskEncryptionConfigurationType = DiskEncryptionConfiguration::class;
52 protected $diskEncryptionConfigurationDataType = '';
53 protected $diskEncryptionStatusType = DiskEncryptionStatus::class;
54 protected $diskEncryptionStatusDataType = '';
55 /**
56 * @var string
57 */
58 public $dnsName;
59 /**
60 * @var string
61 */
62 public $etag;
63 protected $failoverReplicaType = DatabaseInstanceFailoverReplica::class;
64 protected $failoverReplicaDataType = '';
65 /**
66 * @var string
67 */
68 public $gceZone;
69 protected $geminiConfigType = GeminiInstanceConfig::class;
70 protected $geminiConfigDataType = '';
71 /**
72 * @var string
73 */
74 public $instanceType;
75 protected $ipAddressesType = IpMapping::class;
76 protected $ipAddressesDataType = 'array';
77 /**
78 * @var string
79 */
80 public $ipv6Address;
81 /**
82 * @var string
83 */
84 public $kind;
85 /**
86 * @var string
87 */
88 public $maintenanceVersion;
89 /**
90 * @var string
91 */
92 public $masterInstanceName;
93 /**
94 * @var string
95 */
96 public $maxDiskSize;
97 /**
98 * @var string
99 */
100 public $name;
101 protected $onPremisesConfigurationType = OnPremisesConfiguration::class;
102 protected $onPremisesConfigurationDataType = '';
103 protected $outOfDiskReportType = SqlOutOfDiskReport::class;
104 protected $outOfDiskReportDataType = '';
105 /**
106 * @var string
107 */
108 public $primaryDnsName;
109 /**
110 * @var string
111 */
112 public $project;
113 /**
114 * @var string
115 */
116 public $pscServiceAttachmentLink;
117 /**
118 * @var string
119 */
120 public $region;
121 protected $replicaConfigurationType = ReplicaConfiguration::class;
122 protected $replicaConfigurationDataType = '';
123 /**
124 * @var string[]
125 */
126 public $replicaNames;
127 protected $replicationClusterType = ReplicationCluster::class;
128 protected $replicationClusterDataType = '';
129 /**
130 * @var string
131 */
132 public $rootPassword;
133 /**
134 * @var bool
135 */
136 public $satisfiesPzi;
137 /**
138 * @var bool
139 */
140 public $satisfiesPzs;
141 protected $scheduledMaintenanceType = SqlScheduledMaintenance::class;
142 protected $scheduledMaintenanceDataType = '';
143 /**
144 * @var string
145 */
146 public $secondaryGceZone;
147 /**
148 * @var string
149 */
150 public $selfLink;
151 protected $serverCaCertType = SslCert::class;
152 protected $serverCaCertDataType = '';
153 /**
154 * @var string
155 */
156 public $serviceAccountEmailAddress;
157 protected $settingsType = Settings::class;
158 protected $settingsDataType = '';
159 /**
160 * @var string
161 */
162 public $sqlNetworkArchitecture;
163 /**
164 * @var string
165 */
166 public $state;
167 /**
168 * @var string[]
169 */
170 public $suspensionReason;
171 /**
172 * @var bool
173 */
174 public $switchTransactionLogsToCloudStorageEnabled;
175 protected $upgradableDatabaseVersionsType = AvailableDatabaseVersion::class;
176 protected $upgradableDatabaseVersionsDataType = 'array';
177 /**
178 * @var string
179 */
180 public $writeEndpoint;
181
182 /**
183 * @param string[]
184 */
185 public function setAvailableMaintenanceVersions($availableMaintenanceVersions)
186 {
187 $this->availableMaintenanceVersions = $availableMaintenanceVersions;
188 }
189 /**
190 * @return string[]
191 */
192 public function getAvailableMaintenanceVersions()
193 {
194 return $this->availableMaintenanceVersions;
195 }
196 /**
197 * @param string
198 */
199 public function setBackendType($backendType)
200 {
201 $this->backendType = $backendType;
202 }
203 /**
204 * @return string
205 */
206 public function getBackendType()
207 {
208 return $this->backendType;
209 }
210 /**
211 * @param string
212 */
213 public function setConnectionName($connectionName)
214 {
215 $this->connectionName = $connectionName;
216 }
217 /**
218 * @return string
219 */
220 public function getConnectionName()
221 {
222 return $this->connectionName;
223 }
224 /**
225 * @param string
226 */
227 public function setCreateTime($createTime)
228 {
229 $this->createTime = $createTime;
230 }
231 /**
232 * @return string
233 */
234 public function getCreateTime()
235 {
236 return $this->createTime;
237 }
238 /**
239 * @param string
240 */
241 public function setCurrentDiskSize($currentDiskSize)
242 {
243 $this->currentDiskSize = $currentDiskSize;
244 }
245 /**
246 * @return string
247 */
248 public function getCurrentDiskSize()
249 {
250 return $this->currentDiskSize;
251 }
252 /**
253 * @param string
254 */
255 public function setDatabaseInstalledVersion($databaseInstalledVersion)
256 {
257 $this->databaseInstalledVersion = $databaseInstalledVersion;
258 }
259 /**
260 * @return string
261 */
262 public function getDatabaseInstalledVersion()
263 {
264 return $this->databaseInstalledVersion;
265 }
266 /**
267 * @param string
268 */
269 public function setDatabaseVersion($databaseVersion)
270 {
271 $this->databaseVersion = $databaseVersion;
272 }
273 /**
274 * @return string
275 */
276 public function getDatabaseVersion()
277 {
278 return $this->databaseVersion;
279 }
280 /**
281 * @param DiskEncryptionConfiguration
282 */
283 public function setDiskEncryptionConfiguration(DiskEncryptionConfiguration $diskEncryptionConfiguration)
284 {
285 $this->diskEncryptionConfiguration = $diskEncryptionConfiguration;
286 }
287 /**
288 * @return DiskEncryptionConfiguration
289 */
290 public function getDiskEncryptionConfiguration()
291 {
292 return $this->diskEncryptionConfiguration;
293 }
294 /**
295 * @param DiskEncryptionStatus
296 */
297 public function setDiskEncryptionStatus(DiskEncryptionStatus $diskEncryptionStatus)
298 {
299 $this->diskEncryptionStatus = $diskEncryptionStatus;
300 }
301 /**
302 * @return DiskEncryptionStatus
303 */
304 public function getDiskEncryptionStatus()
305 {
306 return $this->diskEncryptionStatus;
307 }
308 /**
309 * @param string
310 */
311 public function setDnsName($dnsName)
312 {
313 $this->dnsName = $dnsName;
314 }
315 /**
316 * @return string
317 */
318 public function getDnsName()
319 {
320 return $this->dnsName;
321 }
322 /**
323 * @param string
324 */
325 public function setEtag($etag)
326 {
327 $this->etag = $etag;
328 }
329 /**
330 * @return string
331 */
332 public function getEtag()
333 {
334 return $this->etag;
335 }
336 /**
337 * @param DatabaseInstanceFailoverReplica
338 */
339 public function setFailoverReplica(DatabaseInstanceFailoverReplica $failoverReplica)
340 {
341 $this->failoverReplica = $failoverReplica;
342 }
343 /**
344 * @return DatabaseInstanceFailoverReplica
345 */
346 public function getFailoverReplica()
347 {
348 return $this->failoverReplica;
349 }
350 /**
351 * @param string
352 */
353 public function setGceZone($gceZone)
354 {
355 $this->gceZone = $gceZone;
356 }
357 /**
358 * @return string
359 */
360 public function getGceZone()
361 {
362 return $this->gceZone;
363 }
364 /**
365 * @param GeminiInstanceConfig
366 */
367 public function setGeminiConfig(GeminiInstanceConfig $geminiConfig)
368 {
369 $this->geminiConfig = $geminiConfig;
370 }
371 /**
372 * @return GeminiInstanceConfig
373 */
374 public function getGeminiConfig()
375 {
376 return $this->geminiConfig;
377 }
378 /**
379 * @param string
380 */
381 public function setInstanceType($instanceType)
382 {
383 $this->instanceType = $instanceType;
384 }
385 /**
386 * @return string
387 */
388 public function getInstanceType()
389 {
390 return $this->instanceType;
391 }
392 /**
393 * @param IpMapping[]
394 */
395 public function setIpAddresses($ipAddresses)
396 {
397 $this->ipAddresses = $ipAddresses;
398 }
399 /**
400 * @return IpMapping[]
401 */
402 public function getIpAddresses()
403 {
404 return $this->ipAddresses;
405 }
406 /**
407 * @param string
408 */
409 public function setIpv6Address($ipv6Address)
410 {
411 $this->ipv6Address = $ipv6Address;
412 }
413 /**
414 * @return string
415 */
416 public function getIpv6Address()
417 {
418 return $this->ipv6Address;
419 }
420 /**
421 * @param string
422 */
423 public function setKind($kind)
424 {
425 $this->kind = $kind;
426 }
427 /**
428 * @return string
429 */
430 public function getKind()
431 {
432 return $this->kind;
433 }
434 /**
435 * @param string
436 */
437 public function setMaintenanceVersion($maintenanceVersion)
438 {
439 $this->maintenanceVersion = $maintenanceVersion;
440 }
441 /**
442 * @return string
443 */
444 public function getMaintenanceVersion()
445 {
446 return $this->maintenanceVersion;
447 }
448 /**
449 * @param string
450 */
451 public function setMasterInstanceName($masterInstanceName)
452 {
453 $this->masterInstanceName = $masterInstanceName;
454 }
455 /**
456 * @return string
457 */
458 public function getMasterInstanceName()
459 {
460 return $this->masterInstanceName;
461 }
462 /**
463 * @param string
464 */
465 public function setMaxDiskSize($maxDiskSize)
466 {
467 $this->maxDiskSize = $maxDiskSize;
468 }
469 /**
470 * @return string
471 */
472 public function getMaxDiskSize()
473 {
474 return $this->maxDiskSize;
475 }
476 /**
477 * @param string
478 */
479 public function setName($name)
480 {
481 $this->name = $name;
482 }
483 /**
484 * @return string
485 */
486 public function getName()
487 {
488 return $this->name;
489 }
490 /**
491 * @param OnPremisesConfiguration
492 */
493 public function setOnPremisesConfiguration(OnPremisesConfiguration $onPremisesConfiguration)
494 {
495 $this->onPremisesConfiguration = $onPremisesConfiguration;
496 }
497 /**
498 * @return OnPremisesConfiguration
499 */
500 public function getOnPremisesConfiguration()
501 {
502 return $this->onPremisesConfiguration;
503 }
504 /**
505 * @param SqlOutOfDiskReport
506 */
507 public function setOutOfDiskReport(SqlOutOfDiskReport $outOfDiskReport)
508 {
509 $this->outOfDiskReport = $outOfDiskReport;
510 }
511 /**
512 * @return SqlOutOfDiskReport
513 */
514 public function getOutOfDiskReport()
515 {
516 return $this->outOfDiskReport;
517 }
518 /**
519 * @param string
520 */
521 public function setPrimaryDnsName($primaryDnsName)
522 {
523 $this->primaryDnsName = $primaryDnsName;
524 }
525 /**
526 * @return string
527 */
528 public function getPrimaryDnsName()
529 {
530 return $this->primaryDnsName;
531 }
532 /**
533 * @param string
534 */
535 public function setProject($project)
536 {
537 $this->project = $project;
538 }
539 /**
540 * @return string
541 */
542 public function getProject()
543 {
544 return $this->project;
545 }
546 /**
547 * @param string
548 */
549 public function setPscServiceAttachmentLink($pscServiceAttachmentLink)
550 {
551 $this->pscServiceAttachmentLink = $pscServiceAttachmentLink;
552 }
553 /**
554 * @return string
555 */
556 public function getPscServiceAttachmentLink()
557 {
558 return $this->pscServiceAttachmentLink;
559 }
560 /**
561 * @param string
562 */
563 public function setRegion($region)
564 {
565 $this->region = $region;
566 }
567 /**
568 * @return string
569 */
570 public function getRegion()
571 {
572 return $this->region;
573 }
574 /**
575 * @param ReplicaConfiguration
576 */
577 public function setReplicaConfiguration(ReplicaConfiguration $replicaConfiguration)
578 {
579 $this->replicaConfiguration = $replicaConfiguration;
580 }
581 /**
582 * @return ReplicaConfiguration
583 */
584 public function getReplicaConfiguration()
585 {
586 return $this->replicaConfiguration;
587 }
588 /**
589 * @param string[]
590 */
591 public function setReplicaNames($replicaNames)
592 {
593 $this->replicaNames = $replicaNames;
594 }
595 /**
596 * @return string[]
597 */
598 public function getReplicaNames()
599 {
600 return $this->replicaNames;
601 }
602 /**
603 * @param ReplicationCluster
604 */
605 public function setReplicationCluster(ReplicationCluster $replicationCluster)
606 {
607 $this->replicationCluster = $replicationCluster;
608 }
609 /**
610 * @return ReplicationCluster
611 */
612 public function getReplicationCluster()
613 {
614 return $this->replicationCluster;
615 }
616 /**
617 * @param string
618 */
619 public function setRootPassword($rootPassword)
620 {
621 $this->rootPassword = $rootPassword;
622 }
623 /**
624 * @return string
625 */
626 public function getRootPassword()
627 {
628 return $this->rootPassword;
629 }
630 /**
631 * @param bool
632 */
633 public function setSatisfiesPzi($satisfiesPzi)
634 {
635 $this->satisfiesPzi = $satisfiesPzi;
636 }
637 /**
638 * @return bool
639 */
640 public function getSatisfiesPzi()
641 {
642 return $this->satisfiesPzi;
643 }
644 /**
645 * @param bool
646 */
647 public function setSatisfiesPzs($satisfiesPzs)
648 {
649 $this->satisfiesPzs = $satisfiesPzs;
650 }
651 /**
652 * @return bool
653 */
654 public function getSatisfiesPzs()
655 {
656 return $this->satisfiesPzs;
657 }
658 /**
659 * @param SqlScheduledMaintenance
660 */
661 public function setScheduledMaintenance(SqlScheduledMaintenance $scheduledMaintenance)
662 {
663 $this->scheduledMaintenance = $scheduledMaintenance;
664 }
665 /**
666 * @return SqlScheduledMaintenance
667 */
668 public function getScheduledMaintenance()
669 {
670 return $this->scheduledMaintenance;
671 }
672 /**
673 * @param string
674 */
675 public function setSecondaryGceZone($secondaryGceZone)
676 {
677 $this->secondaryGceZone = $secondaryGceZone;
678 }
679 /**
680 * @return string
681 */
682 public function getSecondaryGceZone()
683 {
684 return $this->secondaryGceZone;
685 }
686 /**
687 * @param string
688 */
689 public function setSelfLink($selfLink)
690 {
691 $this->selfLink = $selfLink;
692 }
693 /**
694 * @return string
695 */
696 public function getSelfLink()
697 {
698 return $this->selfLink;
699 }
700 /**
701 * @param SslCert
702 */
703 public function setServerCaCert(SslCert $serverCaCert)
704 {
705 $this->serverCaCert = $serverCaCert;
706 }
707 /**
708 * @return SslCert
709 */
710 public function getServerCaCert()
711 {
712 return $this->serverCaCert;
713 }
714 /**
715 * @param string
716 */
717 public function setServiceAccountEmailAddress($serviceAccountEmailAddress)
718 {
719 $this->serviceAccountEmailAddress = $serviceAccountEmailAddress;
720 }
721 /**
722 * @return string
723 */
724 public function getServiceAccountEmailAddress()
725 {
726 return $this->serviceAccountEmailAddress;
727 }
728 /**
729 * @param Settings
730 */
731 public function setSettings(Settings $settings)
732 {
733 $this->settings = $settings;
734 }
735 /**
736 * @return Settings
737 */
738 public function getSettings()
739 {
740 return $this->settings;
741 }
742 /**
743 * @param string
744 */
745 public function setSqlNetworkArchitecture($sqlNetworkArchitecture)
746 {
747 $this->sqlNetworkArchitecture = $sqlNetworkArchitecture;
748 }
749 /**
750 * @return string
751 */
752 public function getSqlNetworkArchitecture()
753 {
754 return $this->sqlNetworkArchitecture;
755 }
756 /**
757 * @param string
758 */
759 public function setState($state)
760 {
761 $this->state = $state;
762 }
763 /**
764 * @return string
765 */
766 public function getState()
767 {
768 return $this->state;
769 }
770 /**
771 * @param string[]
772 */
773 public function setSuspensionReason($suspensionReason)
774 {
775 $this->suspensionReason = $suspensionReason;
776 }
777 /**
778 * @return string[]
779 */
780 public function getSuspensionReason()
781 {
782 return $this->suspensionReason;
783 }
784 /**
785 * @param bool
786 */
787 public function setSwitchTransactionLogsToCloudStorageEnabled($switchTransactionLogsToCloudStorageEnabled)
788 {
789 $this->switchTransactionLogsToCloudStorageEnabled = $switchTransactionLogsToCloudStorageEnabled;
790 }
791 /**
792 * @return bool
793 */
794 public function getSwitchTransactionLogsToCloudStorageEnabled()
795 {
796 return $this->switchTransactionLogsToCloudStorageEnabled;
797 }
798 /**
799 * @param AvailableDatabaseVersion[]
800 */
801 public function setUpgradableDatabaseVersions($upgradableDatabaseVersions)
802 {
803 $this->upgradableDatabaseVersions = $upgradableDatabaseVersions;
804 }
805 /**
806 * @return AvailableDatabaseVersion[]
807 */
808 public function getUpgradableDatabaseVersions()
809 {
810 return $this->upgradableDatabaseVersions;
811 }
812 /**
813 * @param string
814 */
815 public function setWriteEndpoint($writeEndpoint)
816 {
817 $this->writeEndpoint = $writeEndpoint;
818 }
819 /**
820 * @return string
821 */
822 public function getWriteEndpoint()
823 {
824 return $this->writeEndpoint;
825 }
826}
827
828// Adding a class alias for backwards compatibility with the previous class name.
829class_alias(DatabaseInstance::class, 'Google_Service_SQLAdmin_DatabaseInstance');
Note: See TracBrowser for help on using the repository browser.