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

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

Upload project files

  • Property mode set to 100644
File size: 4.2 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 BackupConfiguration extends \Google\Model
21{
22 protected $backupRetentionSettingsType = BackupRetentionSettings::class;
23 protected $backupRetentionSettingsDataType = '';
24 /**
25 * @var bool
26 */
27 public $binaryLogEnabled;
28 /**
29 * @var bool
30 */
31 public $enabled;
32 /**
33 * @var string
34 */
35 public $kind;
36 /**
37 * @var string
38 */
39 public $location;
40 /**
41 * @var bool
42 */
43 public $pointInTimeRecoveryEnabled;
44 /**
45 * @var bool
46 */
47 public $replicationLogArchivingEnabled;
48 /**
49 * @var string
50 */
51 public $startTime;
52 /**
53 * @var int
54 */
55 public $transactionLogRetentionDays;
56 /**
57 * @var string
58 */
59 public $transactionalLogStorageState;
60
61 /**
62 * @param BackupRetentionSettings
63 */
64 public function setBackupRetentionSettings(BackupRetentionSettings $backupRetentionSettings)
65 {
66 $this->backupRetentionSettings = $backupRetentionSettings;
67 }
68 /**
69 * @return BackupRetentionSettings
70 */
71 public function getBackupRetentionSettings()
72 {
73 return $this->backupRetentionSettings;
74 }
75 /**
76 * @param bool
77 */
78 public function setBinaryLogEnabled($binaryLogEnabled)
79 {
80 $this->binaryLogEnabled = $binaryLogEnabled;
81 }
82 /**
83 * @return bool
84 */
85 public function getBinaryLogEnabled()
86 {
87 return $this->binaryLogEnabled;
88 }
89 /**
90 * @param bool
91 */
92 public function setEnabled($enabled)
93 {
94 $this->enabled = $enabled;
95 }
96 /**
97 * @return bool
98 */
99 public function getEnabled()
100 {
101 return $this->enabled;
102 }
103 /**
104 * @param string
105 */
106 public function setKind($kind)
107 {
108 $this->kind = $kind;
109 }
110 /**
111 * @return string
112 */
113 public function getKind()
114 {
115 return $this->kind;
116 }
117 /**
118 * @param string
119 */
120 public function setLocation($location)
121 {
122 $this->location = $location;
123 }
124 /**
125 * @return string
126 */
127 public function getLocation()
128 {
129 return $this->location;
130 }
131 /**
132 * @param bool
133 */
134 public function setPointInTimeRecoveryEnabled($pointInTimeRecoveryEnabled)
135 {
136 $this->pointInTimeRecoveryEnabled = $pointInTimeRecoveryEnabled;
137 }
138 /**
139 * @return bool
140 */
141 public function getPointInTimeRecoveryEnabled()
142 {
143 return $this->pointInTimeRecoveryEnabled;
144 }
145 /**
146 * @param bool
147 */
148 public function setReplicationLogArchivingEnabled($replicationLogArchivingEnabled)
149 {
150 $this->replicationLogArchivingEnabled = $replicationLogArchivingEnabled;
151 }
152 /**
153 * @return bool
154 */
155 public function getReplicationLogArchivingEnabled()
156 {
157 return $this->replicationLogArchivingEnabled;
158 }
159 /**
160 * @param string
161 */
162 public function setStartTime($startTime)
163 {
164 $this->startTime = $startTime;
165 }
166 /**
167 * @return string
168 */
169 public function getStartTime()
170 {
171 return $this->startTime;
172 }
173 /**
174 * @param int
175 */
176 public function setTransactionLogRetentionDays($transactionLogRetentionDays)
177 {
178 $this->transactionLogRetentionDays = $transactionLogRetentionDays;
179 }
180 /**
181 * @return int
182 */
183 public function getTransactionLogRetentionDays()
184 {
185 return $this->transactionLogRetentionDays;
186 }
187 /**
188 * @param string
189 */
190 public function setTransactionalLogStorageState($transactionalLogStorageState)
191 {
192 $this->transactionalLogStorageState = $transactionalLogStorageState;
193 }
194 /**
195 * @return string
196 */
197 public function getTransactionalLogStorageState()
198 {
199 return $this->transactionalLogStorageState;
200 }
201}
202
203// Adding a class alias for backwards compatibility with the previous class name.
204class_alias(BackupConfiguration::class, 'Google_Service_SQLAdmin_BackupConfiguration');
Note: See TracBrowser for help on using the repository browser.