source: vendor/google/apiclient-services/src/SQLAdmin/Settings.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: 12.7 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 Settings extends \Google\Collection
21{
22 protected $collection_key = 'denyMaintenancePeriods';
23 /**
24 * @var string
25 */
26 public $activationPolicy;
27 protected $activeDirectoryConfigType = SqlActiveDirectoryConfig::class;
28 protected $activeDirectoryConfigDataType = '';
29 protected $advancedMachineFeaturesType = AdvancedMachineFeatures::class;
30 protected $advancedMachineFeaturesDataType = '';
31 /**
32 * @var string[]
33 */
34 public $authorizedGaeApplications;
35 /**
36 * @var string
37 */
38 public $availabilityType;
39 protected $backupConfigurationType = BackupConfiguration::class;
40 protected $backupConfigurationDataType = '';
41 /**
42 * @var string
43 */
44 public $collation;
45 /**
46 * @var string
47 */
48 public $connectorEnforcement;
49 /**
50 * @var bool
51 */
52 public $crashSafeReplicationEnabled;
53 protected $dataCacheConfigType = DataCacheConfig::class;
54 protected $dataCacheConfigDataType = '';
55 /**
56 * @var string
57 */
58 public $dataDiskSizeGb;
59 /**
60 * @var string
61 */
62 public $dataDiskType;
63 protected $databaseFlagsType = DatabaseFlags::class;
64 protected $databaseFlagsDataType = 'array';
65 /**
66 * @var bool
67 */
68 public $databaseReplicationEnabled;
69 /**
70 * @var bool
71 */
72 public $deletionProtectionEnabled;
73 protected $denyMaintenancePeriodsType = DenyMaintenancePeriod::class;
74 protected $denyMaintenancePeriodsDataType = 'array';
75 /**
76 * @var string
77 */
78 public $edition;
79 /**
80 * @var bool
81 */
82 public $enableDataplexIntegration;
83 /**
84 * @var bool
85 */
86 public $enableGoogleMlIntegration;
87 protected $insightsConfigType = InsightsConfig::class;
88 protected $insightsConfigDataType = '';
89 protected $ipConfigurationType = IpConfiguration::class;
90 protected $ipConfigurationDataType = '';
91 /**
92 * @var string
93 */
94 public $kind;
95 protected $locationPreferenceType = LocationPreference::class;
96 protected $locationPreferenceDataType = '';
97 protected $maintenanceWindowType = MaintenanceWindow::class;
98 protected $maintenanceWindowDataType = '';
99 protected $passwordValidationPolicyType = PasswordValidationPolicy::class;
100 protected $passwordValidationPolicyDataType = '';
101 /**
102 * @var string
103 */
104 public $pricingPlan;
105 /**
106 * @var string
107 */
108 public $replicationType;
109 /**
110 * @var string
111 */
112 public $settingsVersion;
113 protected $sqlServerAuditConfigType = SqlServerAuditConfig::class;
114 protected $sqlServerAuditConfigDataType = '';
115 /**
116 * @var bool
117 */
118 public $storageAutoResize;
119 /**
120 * @var string
121 */
122 public $storageAutoResizeLimit;
123 /**
124 * @var string
125 */
126 public $tier;
127 /**
128 * @var string
129 */
130 public $timeZone;
131 /**
132 * @var string[]
133 */
134 public $userLabels;
135
136 /**
137 * @param string
138 */
139 public function setActivationPolicy($activationPolicy)
140 {
141 $this->activationPolicy = $activationPolicy;
142 }
143 /**
144 * @return string
145 */
146 public function getActivationPolicy()
147 {
148 return $this->activationPolicy;
149 }
150 /**
151 * @param SqlActiveDirectoryConfig
152 */
153 public function setActiveDirectoryConfig(SqlActiveDirectoryConfig $activeDirectoryConfig)
154 {
155 $this->activeDirectoryConfig = $activeDirectoryConfig;
156 }
157 /**
158 * @return SqlActiveDirectoryConfig
159 */
160 public function getActiveDirectoryConfig()
161 {
162 return $this->activeDirectoryConfig;
163 }
164 /**
165 * @param AdvancedMachineFeatures
166 */
167 public function setAdvancedMachineFeatures(AdvancedMachineFeatures $advancedMachineFeatures)
168 {
169 $this->advancedMachineFeatures = $advancedMachineFeatures;
170 }
171 /**
172 * @return AdvancedMachineFeatures
173 */
174 public function getAdvancedMachineFeatures()
175 {
176 return $this->advancedMachineFeatures;
177 }
178 /**
179 * @param string[]
180 */
181 public function setAuthorizedGaeApplications($authorizedGaeApplications)
182 {
183 $this->authorizedGaeApplications = $authorizedGaeApplications;
184 }
185 /**
186 * @return string[]
187 */
188 public function getAuthorizedGaeApplications()
189 {
190 return $this->authorizedGaeApplications;
191 }
192 /**
193 * @param string
194 */
195 public function setAvailabilityType($availabilityType)
196 {
197 $this->availabilityType = $availabilityType;
198 }
199 /**
200 * @return string
201 */
202 public function getAvailabilityType()
203 {
204 return $this->availabilityType;
205 }
206 /**
207 * @param BackupConfiguration
208 */
209 public function setBackupConfiguration(BackupConfiguration $backupConfiguration)
210 {
211 $this->backupConfiguration = $backupConfiguration;
212 }
213 /**
214 * @return BackupConfiguration
215 */
216 public function getBackupConfiguration()
217 {
218 return $this->backupConfiguration;
219 }
220 /**
221 * @param string
222 */
223 public function setCollation($collation)
224 {
225 $this->collation = $collation;
226 }
227 /**
228 * @return string
229 */
230 public function getCollation()
231 {
232 return $this->collation;
233 }
234 /**
235 * @param string
236 */
237 public function setConnectorEnforcement($connectorEnforcement)
238 {
239 $this->connectorEnforcement = $connectorEnforcement;
240 }
241 /**
242 * @return string
243 */
244 public function getConnectorEnforcement()
245 {
246 return $this->connectorEnforcement;
247 }
248 /**
249 * @param bool
250 */
251 public function setCrashSafeReplicationEnabled($crashSafeReplicationEnabled)
252 {
253 $this->crashSafeReplicationEnabled = $crashSafeReplicationEnabled;
254 }
255 /**
256 * @return bool
257 */
258 public function getCrashSafeReplicationEnabled()
259 {
260 return $this->crashSafeReplicationEnabled;
261 }
262 /**
263 * @param DataCacheConfig
264 */
265 public function setDataCacheConfig(DataCacheConfig $dataCacheConfig)
266 {
267 $this->dataCacheConfig = $dataCacheConfig;
268 }
269 /**
270 * @return DataCacheConfig
271 */
272 public function getDataCacheConfig()
273 {
274 return $this->dataCacheConfig;
275 }
276 /**
277 * @param string
278 */
279 public function setDataDiskSizeGb($dataDiskSizeGb)
280 {
281 $this->dataDiskSizeGb = $dataDiskSizeGb;
282 }
283 /**
284 * @return string
285 */
286 public function getDataDiskSizeGb()
287 {
288 return $this->dataDiskSizeGb;
289 }
290 /**
291 * @param string
292 */
293 public function setDataDiskType($dataDiskType)
294 {
295 $this->dataDiskType = $dataDiskType;
296 }
297 /**
298 * @return string
299 */
300 public function getDataDiskType()
301 {
302 return $this->dataDiskType;
303 }
304 /**
305 * @param DatabaseFlags[]
306 */
307 public function setDatabaseFlags($databaseFlags)
308 {
309 $this->databaseFlags = $databaseFlags;
310 }
311 /**
312 * @return DatabaseFlags[]
313 */
314 public function getDatabaseFlags()
315 {
316 return $this->databaseFlags;
317 }
318 /**
319 * @param bool
320 */
321 public function setDatabaseReplicationEnabled($databaseReplicationEnabled)
322 {
323 $this->databaseReplicationEnabled = $databaseReplicationEnabled;
324 }
325 /**
326 * @return bool
327 */
328 public function getDatabaseReplicationEnabled()
329 {
330 return $this->databaseReplicationEnabled;
331 }
332 /**
333 * @param bool
334 */
335 public function setDeletionProtectionEnabled($deletionProtectionEnabled)
336 {
337 $this->deletionProtectionEnabled = $deletionProtectionEnabled;
338 }
339 /**
340 * @return bool
341 */
342 public function getDeletionProtectionEnabled()
343 {
344 return $this->deletionProtectionEnabled;
345 }
346 /**
347 * @param DenyMaintenancePeriod[]
348 */
349 public function setDenyMaintenancePeriods($denyMaintenancePeriods)
350 {
351 $this->denyMaintenancePeriods = $denyMaintenancePeriods;
352 }
353 /**
354 * @return DenyMaintenancePeriod[]
355 */
356 public function getDenyMaintenancePeriods()
357 {
358 return $this->denyMaintenancePeriods;
359 }
360 /**
361 * @param string
362 */
363 public function setEdition($edition)
364 {
365 $this->edition = $edition;
366 }
367 /**
368 * @return string
369 */
370 public function getEdition()
371 {
372 return $this->edition;
373 }
374 /**
375 * @param bool
376 */
377 public function setEnableDataplexIntegration($enableDataplexIntegration)
378 {
379 $this->enableDataplexIntegration = $enableDataplexIntegration;
380 }
381 /**
382 * @return bool
383 */
384 public function getEnableDataplexIntegration()
385 {
386 return $this->enableDataplexIntegration;
387 }
388 /**
389 * @param bool
390 */
391 public function setEnableGoogleMlIntegration($enableGoogleMlIntegration)
392 {
393 $this->enableGoogleMlIntegration = $enableGoogleMlIntegration;
394 }
395 /**
396 * @return bool
397 */
398 public function getEnableGoogleMlIntegration()
399 {
400 return $this->enableGoogleMlIntegration;
401 }
402 /**
403 * @param InsightsConfig
404 */
405 public function setInsightsConfig(InsightsConfig $insightsConfig)
406 {
407 $this->insightsConfig = $insightsConfig;
408 }
409 /**
410 * @return InsightsConfig
411 */
412 public function getInsightsConfig()
413 {
414 return $this->insightsConfig;
415 }
416 /**
417 * @param IpConfiguration
418 */
419 public function setIpConfiguration(IpConfiguration $ipConfiguration)
420 {
421 $this->ipConfiguration = $ipConfiguration;
422 }
423 /**
424 * @return IpConfiguration
425 */
426 public function getIpConfiguration()
427 {
428 return $this->ipConfiguration;
429 }
430 /**
431 * @param string
432 */
433 public function setKind($kind)
434 {
435 $this->kind = $kind;
436 }
437 /**
438 * @return string
439 */
440 public function getKind()
441 {
442 return $this->kind;
443 }
444 /**
445 * @param LocationPreference
446 */
447 public function setLocationPreference(LocationPreference $locationPreference)
448 {
449 $this->locationPreference = $locationPreference;
450 }
451 /**
452 * @return LocationPreference
453 */
454 public function getLocationPreference()
455 {
456 return $this->locationPreference;
457 }
458 /**
459 * @param MaintenanceWindow
460 */
461 public function setMaintenanceWindow(MaintenanceWindow $maintenanceWindow)
462 {
463 $this->maintenanceWindow = $maintenanceWindow;
464 }
465 /**
466 * @return MaintenanceWindow
467 */
468 public function getMaintenanceWindow()
469 {
470 return $this->maintenanceWindow;
471 }
472 /**
473 * @param PasswordValidationPolicy
474 */
475 public function setPasswordValidationPolicy(PasswordValidationPolicy $passwordValidationPolicy)
476 {
477 $this->passwordValidationPolicy = $passwordValidationPolicy;
478 }
479 /**
480 * @return PasswordValidationPolicy
481 */
482 public function getPasswordValidationPolicy()
483 {
484 return $this->passwordValidationPolicy;
485 }
486 /**
487 * @param string
488 */
489 public function setPricingPlan($pricingPlan)
490 {
491 $this->pricingPlan = $pricingPlan;
492 }
493 /**
494 * @return string
495 */
496 public function getPricingPlan()
497 {
498 return $this->pricingPlan;
499 }
500 /**
501 * @param string
502 */
503 public function setReplicationType($replicationType)
504 {
505 $this->replicationType = $replicationType;
506 }
507 /**
508 * @return string
509 */
510 public function getReplicationType()
511 {
512 return $this->replicationType;
513 }
514 /**
515 * @param string
516 */
517 public function setSettingsVersion($settingsVersion)
518 {
519 $this->settingsVersion = $settingsVersion;
520 }
521 /**
522 * @return string
523 */
524 public function getSettingsVersion()
525 {
526 return $this->settingsVersion;
527 }
528 /**
529 * @param SqlServerAuditConfig
530 */
531 public function setSqlServerAuditConfig(SqlServerAuditConfig $sqlServerAuditConfig)
532 {
533 $this->sqlServerAuditConfig = $sqlServerAuditConfig;
534 }
535 /**
536 * @return SqlServerAuditConfig
537 */
538 public function getSqlServerAuditConfig()
539 {
540 return $this->sqlServerAuditConfig;
541 }
542 /**
543 * @param bool
544 */
545 public function setStorageAutoResize($storageAutoResize)
546 {
547 $this->storageAutoResize = $storageAutoResize;
548 }
549 /**
550 * @return bool
551 */
552 public function getStorageAutoResize()
553 {
554 return $this->storageAutoResize;
555 }
556 /**
557 * @param string
558 */
559 public function setStorageAutoResizeLimit($storageAutoResizeLimit)
560 {
561 $this->storageAutoResizeLimit = $storageAutoResizeLimit;
562 }
563 /**
564 * @return string
565 */
566 public function getStorageAutoResizeLimit()
567 {
568 return $this->storageAutoResizeLimit;
569 }
570 /**
571 * @param string
572 */
573 public function setTier($tier)
574 {
575 $this->tier = $tier;
576 }
577 /**
578 * @return string
579 */
580 public function getTier()
581 {
582 return $this->tier;
583 }
584 /**
585 * @param string
586 */
587 public function setTimeZone($timeZone)
588 {
589 $this->timeZone = $timeZone;
590 }
591 /**
592 * @return string
593 */
594 public function getTimeZone()
595 {
596 return $this->timeZone;
597 }
598 /**
599 * @param string[]
600 */
601 public function setUserLabels($userLabels)
602 {
603 $this->userLabels = $userLabels;
604 }
605 /**
606 * @return string[]
607 */
608 public function getUserLabels()
609 {
610 return $this->userLabels;
611 }
612}
613
614// Adding a class alias for backwards compatibility with the previous class name.
615class_alias(Settings::class, 'Google_Service_SQLAdmin_Settings');
Note: See TracBrowser for help on using the repository browser.