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 CloudSqlSettings extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $activationPolicy;
26  /**
27   * @var bool
28   */
29  public $autoStorageIncrease;
30  /**
31   * @var string
32   */
33  public $cmekKeyName;
34  /**
35   * @var string
36   */
37  public $collation;
38  /**
39   * @var string
40   */
41  public $dataDiskSizeGb;
42  /**
43   * @var string
44   */
45  public $dataDiskType;
46  /**
47   * @var string[]
48   */
49  public $databaseFlags;
50  /**
51   * @var string
52   */
53  public $databaseVersion;
54  protected $ipConfigType = SqlIpConfig::class;
55  protected $ipConfigDataType = '';
56  /**
57   * @var string
58   */
59  public $rootPassword;
60  /**
61   * @var bool
62   */
63  public $rootPasswordSet;
64  /**
65   * @var string
66   */
67  public $sourceId;
68  /**
69   * @var string
70   */
71  public $storageAutoResizeLimit;
72  /**
73   * @var string
74   */
75  public $tier;
76  /**
77   * @var string[]
78   */
79  public $userLabels;
80  /**
81   * @var string
82   */
83  public $zone;
84
85  /**
86   * @param string
87   */
88  public function setActivationPolicy($activationPolicy)
89  {
90    $this->activationPolicy = $activationPolicy;
91  }
92  /**
93   * @return string
94   */
95  public function getActivationPolicy()
96  {
97    return $this->activationPolicy;
98  }
99  /**
100   * @param bool
101   */
102  public function setAutoStorageIncrease($autoStorageIncrease)
103  {
104    $this->autoStorageIncrease = $autoStorageIncrease;
105  }
106  /**
107   * @return bool
108   */
109  public function getAutoStorageIncrease()
110  {
111    return $this->autoStorageIncrease;
112  }
113  /**
114   * @param string
115   */
116  public function setCmekKeyName($cmekKeyName)
117  {
118    $this->cmekKeyName = $cmekKeyName;
119  }
120  /**
121   * @return string
122   */
123  public function getCmekKeyName()
124  {
125    return $this->cmekKeyName;
126  }
127  /**
128   * @param string
129   */
130  public function setCollation($collation)
131  {
132    $this->collation = $collation;
133  }
134  /**
135   * @return string
136   */
137  public function getCollation()
138  {
139    return $this->collation;
140  }
141  /**
142   * @param string
143   */
144  public function setDataDiskSizeGb($dataDiskSizeGb)
145  {
146    $this->dataDiskSizeGb = $dataDiskSizeGb;
147  }
148  /**
149   * @return string
150   */
151  public function getDataDiskSizeGb()
152  {
153    return $this->dataDiskSizeGb;
154  }
155  /**
156   * @param string
157   */
158  public function setDataDiskType($dataDiskType)
159  {
160    $this->dataDiskType = $dataDiskType;
161  }
162  /**
163   * @return string
164   */
165  public function getDataDiskType()
166  {
167    return $this->dataDiskType;
168  }
169  /**
170   * @param string[]
171   */
172  public function setDatabaseFlags($databaseFlags)
173  {
174    $this->databaseFlags = $databaseFlags;
175  }
176  /**
177   * @return string[]
178   */
179  public function getDatabaseFlags()
180  {
181    return $this->databaseFlags;
182  }
183  /**
184   * @param string
185   */
186  public function setDatabaseVersion($databaseVersion)
187  {
188    $this->databaseVersion = $databaseVersion;
189  }
190  /**
191   * @return string
192   */
193  public function getDatabaseVersion()
194  {
195    return $this->databaseVersion;
196  }
197  /**
198   * @param SqlIpConfig
199   */
200  public function setIpConfig(SqlIpConfig $ipConfig)
201  {
202    $this->ipConfig = $ipConfig;
203  }
204  /**
205   * @return SqlIpConfig
206   */
207  public function getIpConfig()
208  {
209    return $this->ipConfig;
210  }
211  /**
212   * @param string
213   */
214  public function setRootPassword($rootPassword)
215  {
216    $this->rootPassword = $rootPassword;
217  }
218  /**
219   * @return string
220   */
221  public function getRootPassword()
222  {
223    return $this->rootPassword;
224  }
225  /**
226   * @param bool
227   */
228  public function setRootPasswordSet($rootPasswordSet)
229  {
230    $this->rootPasswordSet = $rootPasswordSet;
231  }
232  /**
233   * @return bool
234   */
235  public function getRootPasswordSet()
236  {
237    return $this->rootPasswordSet;
238  }
239  /**
240   * @param string
241   */
242  public function setSourceId($sourceId)
243  {
244    $this->sourceId = $sourceId;
245  }
246  /**
247   * @return string
248   */
249  public function getSourceId()
250  {
251    return $this->sourceId;
252  }
253  /**
254   * @param string
255   */
256  public function setStorageAutoResizeLimit($storageAutoResizeLimit)
257  {
258    $this->storageAutoResizeLimit = $storageAutoResizeLimit;
259  }
260  /**
261   * @return string
262   */
263  public function getStorageAutoResizeLimit()
264  {
265    return $this->storageAutoResizeLimit;
266  }
267  /**
268   * @param string
269   */
270  public function setTier($tier)
271  {
272    $this->tier = $tier;
273  }
274  /**
275   * @return string
276   */
277  public function getTier()
278  {
279    return $this->tier;
280  }
281  /**
282   * @param string[]
283   */
284  public function setUserLabels($userLabels)
285  {
286    $this->userLabels = $userLabels;
287  }
288  /**
289   * @return string[]
290   */
291  public function getUserLabels()
292  {
293    return $this->userLabels;
294  }
295  /**
296   * @param string
297   */
298  public function setZone($zone)
299  {
300    $this->zone = $zone;
301  }
302  /**
303   * @return string
304   */
305  public function getZone()
306  {
307    return $this->zone;
308  }
309}
310
311// Adding a class alias for backwards compatibility with the previous class name.
312class_alias(CloudSqlSettings::class, 'Google_Service_DatabaseMigrationService_CloudSqlSettings');
313