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 BackupRun extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $backupKind; 26 /** 27 * @var string 28 */ 29 public $description; 30 protected $diskEncryptionConfigurationType = DiskEncryptionConfiguration::class; 31 protected $diskEncryptionConfigurationDataType = ''; 32 protected $diskEncryptionStatusType = DiskEncryptionStatus::class; 33 protected $diskEncryptionStatusDataType = ''; 34 /** 35 * @var string 36 */ 37 public $endTime; 38 /** 39 * @var string 40 */ 41 public $enqueuedTime; 42 protected $errorType = OperationError::class; 43 protected $errorDataType = ''; 44 /** 45 * @var string 46 */ 47 public $id; 48 /** 49 * @var string 50 */ 51 public $instance; 52 /** 53 * @var string 54 */ 55 public $kind; 56 /** 57 * @var string 58 */ 59 public $location; 60 /** 61 * @var string 62 */ 63 public $selfLink; 64 /** 65 * @var string 66 */ 67 public $startTime; 68 /** 69 * @var string 70 */ 71 public $status; 72 /** 73 * @var string 74 */ 75 public $type; 76 /** 77 * @var string 78 */ 79 public $windowStartTime; 80 81 /** 82 * @param string 83 */ 84 public function setBackupKind($backupKind) 85 { 86 $this->backupKind = $backupKind; 87 } 88 /** 89 * @return string 90 */ 91 public function getBackupKind() 92 { 93 return $this->backupKind; 94 } 95 /** 96 * @param string 97 */ 98 public function setDescription($description) 99 { 100 $this->description = $description; 101 } 102 /** 103 * @return string 104 */ 105 public function getDescription() 106 { 107 return $this->description; 108 } 109 /** 110 * @param DiskEncryptionConfiguration 111 */ 112 public function setDiskEncryptionConfiguration(DiskEncryptionConfiguration $diskEncryptionConfiguration) 113 { 114 $this->diskEncryptionConfiguration = $diskEncryptionConfiguration; 115 } 116 /** 117 * @return DiskEncryptionConfiguration 118 */ 119 public function getDiskEncryptionConfiguration() 120 { 121 return $this->diskEncryptionConfiguration; 122 } 123 /** 124 * @param DiskEncryptionStatus 125 */ 126 public function setDiskEncryptionStatus(DiskEncryptionStatus $diskEncryptionStatus) 127 { 128 $this->diskEncryptionStatus = $diskEncryptionStatus; 129 } 130 /** 131 * @return DiskEncryptionStatus 132 */ 133 public function getDiskEncryptionStatus() 134 { 135 return $this->diskEncryptionStatus; 136 } 137 /** 138 * @param string 139 */ 140 public function setEndTime($endTime) 141 { 142 $this->endTime = $endTime; 143 } 144 /** 145 * @return string 146 */ 147 public function getEndTime() 148 { 149 return $this->endTime; 150 } 151 /** 152 * @param string 153 */ 154 public function setEnqueuedTime($enqueuedTime) 155 { 156 $this->enqueuedTime = $enqueuedTime; 157 } 158 /** 159 * @return string 160 */ 161 public function getEnqueuedTime() 162 { 163 return $this->enqueuedTime; 164 } 165 /** 166 * @param OperationError 167 */ 168 public function setError(OperationError $error) 169 { 170 $this->error = $error; 171 } 172 /** 173 * @return OperationError 174 */ 175 public function getError() 176 { 177 return $this->error; 178 } 179 /** 180 * @param string 181 */ 182 public function setId($id) 183 { 184 $this->id = $id; 185 } 186 /** 187 * @return string 188 */ 189 public function getId() 190 { 191 return $this->id; 192 } 193 /** 194 * @param string 195 */ 196 public function setInstance($instance) 197 { 198 $this->instance = $instance; 199 } 200 /** 201 * @return string 202 */ 203 public function getInstance() 204 { 205 return $this->instance; 206 } 207 /** 208 * @param string 209 */ 210 public function setKind($kind) 211 { 212 $this->kind = $kind; 213 } 214 /** 215 * @return string 216 */ 217 public function getKind() 218 { 219 return $this->kind; 220 } 221 /** 222 * @param string 223 */ 224 public function setLocation($location) 225 { 226 $this->location = $location; 227 } 228 /** 229 * @return string 230 */ 231 public function getLocation() 232 { 233 return $this->location; 234 } 235 /** 236 * @param string 237 */ 238 public function setSelfLink($selfLink) 239 { 240 $this->selfLink = $selfLink; 241 } 242 /** 243 * @return string 244 */ 245 public function getSelfLink() 246 { 247 return $this->selfLink; 248 } 249 /** 250 * @param string 251 */ 252 public function setStartTime($startTime) 253 { 254 $this->startTime = $startTime; 255 } 256 /** 257 * @return string 258 */ 259 public function getStartTime() 260 { 261 return $this->startTime; 262 } 263 /** 264 * @param string 265 */ 266 public function setStatus($status) 267 { 268 $this->status = $status; 269 } 270 /** 271 * @return string 272 */ 273 public function getStatus() 274 { 275 return $this->status; 276 } 277 /** 278 * @param string 279 */ 280 public function setType($type) 281 { 282 $this->type = $type; 283 } 284 /** 285 * @return string 286 */ 287 public function getType() 288 { 289 return $this->type; 290 } 291 /** 292 * @param string 293 */ 294 public function setWindowStartTime($windowStartTime) 295 { 296 $this->windowStartTime = $windowStartTime; 297 } 298 /** 299 * @return string 300 */ 301 public function getWindowStartTime() 302 { 303 return $this->windowStartTime; 304 } 305} 306 307// Adding a class alias for backwards compatibility with the previous class name. 308class_alias(BackupRun::class, 'Google_Service_SQLAdmin_BackupRun'); 309