[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\Firestore;
|
---|
| 19 |
|
---|
| 20 | class GoogleFirestoreAdminV1Database extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var string
|
---|
| 24 | */
|
---|
| 25 | public $appEngineIntegrationMode;
|
---|
| 26 | protected $cmekConfigType = GoogleFirestoreAdminV1CmekConfig::class;
|
---|
| 27 | protected $cmekConfigDataType = '';
|
---|
| 28 | /**
|
---|
| 29 | * @var string
|
---|
| 30 | */
|
---|
| 31 | public $concurrencyMode;
|
---|
| 32 | /**
|
---|
| 33 | * @var string
|
---|
| 34 | */
|
---|
| 35 | public $createTime;
|
---|
| 36 | /**
|
---|
| 37 | * @var string
|
---|
| 38 | */
|
---|
| 39 | public $deleteProtectionState;
|
---|
| 40 | /**
|
---|
| 41 | * @var string
|
---|
| 42 | */
|
---|
| 43 | public $deleteTime;
|
---|
| 44 | /**
|
---|
| 45 | * @var string
|
---|
| 46 | */
|
---|
| 47 | public $earliestVersionTime;
|
---|
| 48 | /**
|
---|
| 49 | * @var string
|
---|
| 50 | */
|
---|
| 51 | public $etag;
|
---|
| 52 | /**
|
---|
| 53 | * @var string
|
---|
| 54 | */
|
---|
| 55 | public $keyPrefix;
|
---|
| 56 | /**
|
---|
| 57 | * @var string
|
---|
| 58 | */
|
---|
| 59 | public $locationId;
|
---|
| 60 | /**
|
---|
| 61 | * @var string
|
---|
| 62 | */
|
---|
| 63 | public $name;
|
---|
| 64 | /**
|
---|
| 65 | * @var string
|
---|
| 66 | */
|
---|
| 67 | public $pointInTimeRecoveryEnablement;
|
---|
| 68 | /**
|
---|
| 69 | * @var string
|
---|
| 70 | */
|
---|
| 71 | public $previousId;
|
---|
| 72 | protected $sourceInfoType = GoogleFirestoreAdminV1SourceInfo::class;
|
---|
| 73 | protected $sourceInfoDataType = '';
|
---|
| 74 | /**
|
---|
| 75 | * @var string
|
---|
| 76 | */
|
---|
| 77 | public $type;
|
---|
| 78 | /**
|
---|
| 79 | * @var string
|
---|
| 80 | */
|
---|
| 81 | public $uid;
|
---|
| 82 | /**
|
---|
| 83 | * @var string
|
---|
| 84 | */
|
---|
| 85 | public $updateTime;
|
---|
| 86 | /**
|
---|
| 87 | * @var string
|
---|
| 88 | */
|
---|
| 89 | public $versionRetentionPeriod;
|
---|
| 90 |
|
---|
| 91 | /**
|
---|
| 92 | * @param string
|
---|
| 93 | */
|
---|
| 94 | public function setAppEngineIntegrationMode($appEngineIntegrationMode)
|
---|
| 95 | {
|
---|
| 96 | $this->appEngineIntegrationMode = $appEngineIntegrationMode;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @return string
|
---|
| 100 | */
|
---|
| 101 | public function getAppEngineIntegrationMode()
|
---|
| 102 | {
|
---|
| 103 | return $this->appEngineIntegrationMode;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @param GoogleFirestoreAdminV1CmekConfig
|
---|
| 107 | */
|
---|
| 108 | public function setCmekConfig(GoogleFirestoreAdminV1CmekConfig $cmekConfig)
|
---|
| 109 | {
|
---|
| 110 | $this->cmekConfig = $cmekConfig;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @return GoogleFirestoreAdminV1CmekConfig
|
---|
| 114 | */
|
---|
| 115 | public function getCmekConfig()
|
---|
| 116 | {
|
---|
| 117 | return $this->cmekConfig;
|
---|
| 118 | }
|
---|
| 119 | /**
|
---|
| 120 | * @param string
|
---|
| 121 | */
|
---|
| 122 | public function setConcurrencyMode($concurrencyMode)
|
---|
| 123 | {
|
---|
| 124 | $this->concurrencyMode = $concurrencyMode;
|
---|
| 125 | }
|
---|
| 126 | /**
|
---|
| 127 | * @return string
|
---|
| 128 | */
|
---|
| 129 | public function getConcurrencyMode()
|
---|
| 130 | {
|
---|
| 131 | return $this->concurrencyMode;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @param string
|
---|
| 135 | */
|
---|
| 136 | public function setCreateTime($createTime)
|
---|
| 137 | {
|
---|
| 138 | $this->createTime = $createTime;
|
---|
| 139 | }
|
---|
| 140 | /**
|
---|
| 141 | * @return string
|
---|
| 142 | */
|
---|
| 143 | public function getCreateTime()
|
---|
| 144 | {
|
---|
| 145 | return $this->createTime;
|
---|
| 146 | }
|
---|
| 147 | /**
|
---|
| 148 | * @param string
|
---|
| 149 | */
|
---|
| 150 | public function setDeleteProtectionState($deleteProtectionState)
|
---|
| 151 | {
|
---|
| 152 | $this->deleteProtectionState = $deleteProtectionState;
|
---|
| 153 | }
|
---|
| 154 | /**
|
---|
| 155 | * @return string
|
---|
| 156 | */
|
---|
| 157 | public function getDeleteProtectionState()
|
---|
| 158 | {
|
---|
| 159 | return $this->deleteProtectionState;
|
---|
| 160 | }
|
---|
| 161 | /**
|
---|
| 162 | * @param string
|
---|
| 163 | */
|
---|
| 164 | public function setDeleteTime($deleteTime)
|
---|
| 165 | {
|
---|
| 166 | $this->deleteTime = $deleteTime;
|
---|
| 167 | }
|
---|
| 168 | /**
|
---|
| 169 | * @return string
|
---|
| 170 | */
|
---|
| 171 | public function getDeleteTime()
|
---|
| 172 | {
|
---|
| 173 | return $this->deleteTime;
|
---|
| 174 | }
|
---|
| 175 | /**
|
---|
| 176 | * @param string
|
---|
| 177 | */
|
---|
| 178 | public function setEarliestVersionTime($earliestVersionTime)
|
---|
| 179 | {
|
---|
| 180 | $this->earliestVersionTime = $earliestVersionTime;
|
---|
| 181 | }
|
---|
| 182 | /**
|
---|
| 183 | * @return string
|
---|
| 184 | */
|
---|
| 185 | public function getEarliestVersionTime()
|
---|
| 186 | {
|
---|
| 187 | return $this->earliestVersionTime;
|
---|
| 188 | }
|
---|
| 189 | /**
|
---|
| 190 | * @param string
|
---|
| 191 | */
|
---|
| 192 | public function setEtag($etag)
|
---|
| 193 | {
|
---|
| 194 | $this->etag = $etag;
|
---|
| 195 | }
|
---|
| 196 | /**
|
---|
| 197 | * @return string
|
---|
| 198 | */
|
---|
| 199 | public function getEtag()
|
---|
| 200 | {
|
---|
| 201 | return $this->etag;
|
---|
| 202 | }
|
---|
| 203 | /**
|
---|
| 204 | * @param string
|
---|
| 205 | */
|
---|
| 206 | public function setKeyPrefix($keyPrefix)
|
---|
| 207 | {
|
---|
| 208 | $this->keyPrefix = $keyPrefix;
|
---|
| 209 | }
|
---|
| 210 | /**
|
---|
| 211 | * @return string
|
---|
| 212 | */
|
---|
| 213 | public function getKeyPrefix()
|
---|
| 214 | {
|
---|
| 215 | return $this->keyPrefix;
|
---|
| 216 | }
|
---|
| 217 | /**
|
---|
| 218 | * @param string
|
---|
| 219 | */
|
---|
| 220 | public function setLocationId($locationId)
|
---|
| 221 | {
|
---|
| 222 | $this->locationId = $locationId;
|
---|
| 223 | }
|
---|
| 224 | /**
|
---|
| 225 | * @return string
|
---|
| 226 | */
|
---|
| 227 | public function getLocationId()
|
---|
| 228 | {
|
---|
| 229 | return $this->locationId;
|
---|
| 230 | }
|
---|
| 231 | /**
|
---|
| 232 | * @param string
|
---|
| 233 | */
|
---|
| 234 | public function setName($name)
|
---|
| 235 | {
|
---|
| 236 | $this->name = $name;
|
---|
| 237 | }
|
---|
| 238 | /**
|
---|
| 239 | * @return string
|
---|
| 240 | */
|
---|
| 241 | public function getName()
|
---|
| 242 | {
|
---|
| 243 | return $this->name;
|
---|
| 244 | }
|
---|
| 245 | /**
|
---|
| 246 | * @param string
|
---|
| 247 | */
|
---|
| 248 | public function setPointInTimeRecoveryEnablement($pointInTimeRecoveryEnablement)
|
---|
| 249 | {
|
---|
| 250 | $this->pointInTimeRecoveryEnablement = $pointInTimeRecoveryEnablement;
|
---|
| 251 | }
|
---|
| 252 | /**
|
---|
| 253 | * @return string
|
---|
| 254 | */
|
---|
| 255 | public function getPointInTimeRecoveryEnablement()
|
---|
| 256 | {
|
---|
| 257 | return $this->pointInTimeRecoveryEnablement;
|
---|
| 258 | }
|
---|
| 259 | /**
|
---|
| 260 | * @param string
|
---|
| 261 | */
|
---|
| 262 | public function setPreviousId($previousId)
|
---|
| 263 | {
|
---|
| 264 | $this->previousId = $previousId;
|
---|
| 265 | }
|
---|
| 266 | /**
|
---|
| 267 | * @return string
|
---|
| 268 | */
|
---|
| 269 | public function getPreviousId()
|
---|
| 270 | {
|
---|
| 271 | return $this->previousId;
|
---|
| 272 | }
|
---|
| 273 | /**
|
---|
| 274 | * @param GoogleFirestoreAdminV1SourceInfo
|
---|
| 275 | */
|
---|
| 276 | public function setSourceInfo(GoogleFirestoreAdminV1SourceInfo $sourceInfo)
|
---|
| 277 | {
|
---|
| 278 | $this->sourceInfo = $sourceInfo;
|
---|
| 279 | }
|
---|
| 280 | /**
|
---|
| 281 | * @return GoogleFirestoreAdminV1SourceInfo
|
---|
| 282 | */
|
---|
| 283 | public function getSourceInfo()
|
---|
| 284 | {
|
---|
| 285 | return $this->sourceInfo;
|
---|
| 286 | }
|
---|
| 287 | /**
|
---|
| 288 | * @param string
|
---|
| 289 | */
|
---|
| 290 | public function setType($type)
|
---|
| 291 | {
|
---|
| 292 | $this->type = $type;
|
---|
| 293 | }
|
---|
| 294 | /**
|
---|
| 295 | * @return string
|
---|
| 296 | */
|
---|
| 297 | public function getType()
|
---|
| 298 | {
|
---|
| 299 | return $this->type;
|
---|
| 300 | }
|
---|
| 301 | /**
|
---|
| 302 | * @param string
|
---|
| 303 | */
|
---|
| 304 | public function setUid($uid)
|
---|
| 305 | {
|
---|
| 306 | $this->uid = $uid;
|
---|
| 307 | }
|
---|
| 308 | /**
|
---|
| 309 | * @return string
|
---|
| 310 | */
|
---|
| 311 | public function getUid()
|
---|
| 312 | {
|
---|
| 313 | return $this->uid;
|
---|
| 314 | }
|
---|
| 315 | /**
|
---|
| 316 | * @param string
|
---|
| 317 | */
|
---|
| 318 | public function setUpdateTime($updateTime)
|
---|
| 319 | {
|
---|
| 320 | $this->updateTime = $updateTime;
|
---|
| 321 | }
|
---|
| 322 | /**
|
---|
| 323 | * @return string
|
---|
| 324 | */
|
---|
| 325 | public function getUpdateTime()
|
---|
| 326 | {
|
---|
| 327 | return $this->updateTime;
|
---|
| 328 | }
|
---|
| 329 | /**
|
---|
| 330 | * @param string
|
---|
| 331 | */
|
---|
| 332 | public function setVersionRetentionPeriod($versionRetentionPeriod)
|
---|
| 333 | {
|
---|
| 334 | $this->versionRetentionPeriod = $versionRetentionPeriod;
|
---|
| 335 | }
|
---|
| 336 | /**
|
---|
| 337 | * @return string
|
---|
| 338 | */
|
---|
| 339 | public function getVersionRetentionPeriod()
|
---|
| 340 | {
|
---|
| 341 | return $this->versionRetentionPeriod;
|
---|
| 342 | }
|
---|
| 343 | }
|
---|
| 344 |
|
---|
| 345 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 346 | class_alias(GoogleFirestoreAdminV1Database::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1Database');
|
---|