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\BackupforGKE; 19 20class VolumeBackup extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $completeTime; 26 /** 27 * @var string 28 */ 29 public $createTime; 30 /** 31 * @var string 32 */ 33 public $diskSizeBytes; 34 /** 35 * @var string 36 */ 37 public $etag; 38 /** 39 * @var string 40 */ 41 public $format; 42 /** 43 * @var string 44 */ 45 public $name; 46 protected $sourcePvcType = NamespacedName::class; 47 protected $sourcePvcDataType = ''; 48 /** 49 * @var string 50 */ 51 public $state; 52 /** 53 * @var string 54 */ 55 public $stateMessage; 56 /** 57 * @var string 58 */ 59 public $storageBytes; 60 /** 61 * @var string 62 */ 63 public $uid; 64 /** 65 * @var string 66 */ 67 public $updateTime; 68 /** 69 * @var string 70 */ 71 public $volumeBackupHandle; 72 73 /** 74 * @param string 75 */ 76 public function setCompleteTime($completeTime) 77 { 78 $this->completeTime = $completeTime; 79 } 80 /** 81 * @return string 82 */ 83 public function getCompleteTime() 84 { 85 return $this->completeTime; 86 } 87 /** 88 * @param string 89 */ 90 public function setCreateTime($createTime) 91 { 92 $this->createTime = $createTime; 93 } 94 /** 95 * @return string 96 */ 97 public function getCreateTime() 98 { 99 return $this->createTime; 100 } 101 /** 102 * @param string 103 */ 104 public function setDiskSizeBytes($diskSizeBytes) 105 { 106 $this->diskSizeBytes = $diskSizeBytes; 107 } 108 /** 109 * @return string 110 */ 111 public function getDiskSizeBytes() 112 { 113 return $this->diskSizeBytes; 114 } 115 /** 116 * @param string 117 */ 118 public function setEtag($etag) 119 { 120 $this->etag = $etag; 121 } 122 /** 123 * @return string 124 */ 125 public function getEtag() 126 { 127 return $this->etag; 128 } 129 /** 130 * @param string 131 */ 132 public function setFormat($format) 133 { 134 $this->format = $format; 135 } 136 /** 137 * @return string 138 */ 139 public function getFormat() 140 { 141 return $this->format; 142 } 143 /** 144 * @param string 145 */ 146 public function setName($name) 147 { 148 $this->name = $name; 149 } 150 /** 151 * @return string 152 */ 153 public function getName() 154 { 155 return $this->name; 156 } 157 /** 158 * @param NamespacedName 159 */ 160 public function setSourcePvc(NamespacedName $sourcePvc) 161 { 162 $this->sourcePvc = $sourcePvc; 163 } 164 /** 165 * @return NamespacedName 166 */ 167 public function getSourcePvc() 168 { 169 return $this->sourcePvc; 170 } 171 /** 172 * @param string 173 */ 174 public function setState($state) 175 { 176 $this->state = $state; 177 } 178 /** 179 * @return string 180 */ 181 public function getState() 182 { 183 return $this->state; 184 } 185 /** 186 * @param string 187 */ 188 public function setStateMessage($stateMessage) 189 { 190 $this->stateMessage = $stateMessage; 191 } 192 /** 193 * @return string 194 */ 195 public function getStateMessage() 196 { 197 return $this->stateMessage; 198 } 199 /** 200 * @param string 201 */ 202 public function setStorageBytes($storageBytes) 203 { 204 $this->storageBytes = $storageBytes; 205 } 206 /** 207 * @return string 208 */ 209 public function getStorageBytes() 210 { 211 return $this->storageBytes; 212 } 213 /** 214 * @param string 215 */ 216 public function setUid($uid) 217 { 218 $this->uid = $uid; 219 } 220 /** 221 * @return string 222 */ 223 public function getUid() 224 { 225 return $this->uid; 226 } 227 /** 228 * @param string 229 */ 230 public function setUpdateTime($updateTime) 231 { 232 $this->updateTime = $updateTime; 233 } 234 /** 235 * @return string 236 */ 237 public function getUpdateTime() 238 { 239 return $this->updateTime; 240 } 241 /** 242 * @param string 243 */ 244 public function setVolumeBackupHandle($volumeBackupHandle) 245 { 246 $this->volumeBackupHandle = $volumeBackupHandle; 247 } 248 /** 249 * @return string 250 */ 251 public function getVolumeBackupHandle() 252 { 253 return $this->volumeBackupHandle; 254 } 255} 256 257// Adding a class alias for backwards compatibility with the previous class name. 258class_alias(VolumeBackup::class, 'Google_Service_BackupforGKE_VolumeBackup'); 259