[f9c482b] | 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\Compute;
|
---|
| 19 |
|
---|
| 20 | class InstantSnapshot extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var string
|
---|
| 24 | */
|
---|
| 25 | public $architecture;
|
---|
| 26 | /**
|
---|
| 27 | * @var string
|
---|
| 28 | */
|
---|
| 29 | public $creationTimestamp;
|
---|
| 30 | /**
|
---|
| 31 | * @var string
|
---|
| 32 | */
|
---|
| 33 | public $description;
|
---|
| 34 | /**
|
---|
| 35 | * @var string
|
---|
| 36 | */
|
---|
| 37 | public $diskSizeGb;
|
---|
| 38 | /**
|
---|
| 39 | * @var string
|
---|
| 40 | */
|
---|
| 41 | public $id;
|
---|
| 42 | /**
|
---|
| 43 | * @var string
|
---|
| 44 | */
|
---|
| 45 | public $kind;
|
---|
| 46 | /**
|
---|
| 47 | * @var string
|
---|
| 48 | */
|
---|
| 49 | public $labelFingerprint;
|
---|
| 50 | /**
|
---|
| 51 | * @var string[]
|
---|
| 52 | */
|
---|
| 53 | public $labels;
|
---|
| 54 | /**
|
---|
| 55 | * @var string
|
---|
| 56 | */
|
---|
| 57 | public $name;
|
---|
| 58 | /**
|
---|
| 59 | * @var string
|
---|
| 60 | */
|
---|
| 61 | public $region;
|
---|
| 62 | protected $resourceStatusType = InstantSnapshotResourceStatus::class;
|
---|
| 63 | protected $resourceStatusDataType = '';
|
---|
| 64 | /**
|
---|
| 65 | * @var bool
|
---|
| 66 | */
|
---|
| 67 | public $satisfiesPzi;
|
---|
| 68 | /**
|
---|
| 69 | * @var bool
|
---|
| 70 | */
|
---|
| 71 | public $satisfiesPzs;
|
---|
| 72 | /**
|
---|
| 73 | * @var string
|
---|
| 74 | */
|
---|
| 75 | public $selfLink;
|
---|
| 76 | /**
|
---|
| 77 | * @var string
|
---|
| 78 | */
|
---|
| 79 | public $selfLinkWithId;
|
---|
| 80 | /**
|
---|
| 81 | * @var string
|
---|
| 82 | */
|
---|
| 83 | public $sourceDisk;
|
---|
| 84 | /**
|
---|
| 85 | * @var string
|
---|
| 86 | */
|
---|
| 87 | public $sourceDiskId;
|
---|
| 88 | /**
|
---|
| 89 | * @var string
|
---|
| 90 | */
|
---|
| 91 | public $status;
|
---|
| 92 | /**
|
---|
| 93 | * @var string
|
---|
| 94 | */
|
---|
| 95 | public $zone;
|
---|
| 96 |
|
---|
| 97 | /**
|
---|
| 98 | * @param string
|
---|
| 99 | */
|
---|
| 100 | public function setArchitecture($architecture)
|
---|
| 101 | {
|
---|
| 102 | $this->architecture = $architecture;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @return string
|
---|
| 106 | */
|
---|
| 107 | public function getArchitecture()
|
---|
| 108 | {
|
---|
| 109 | return $this->architecture;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @param string
|
---|
| 113 | */
|
---|
| 114 | public function setCreationTimestamp($creationTimestamp)
|
---|
| 115 | {
|
---|
| 116 | $this->creationTimestamp = $creationTimestamp;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @return string
|
---|
| 120 | */
|
---|
| 121 | public function getCreationTimestamp()
|
---|
| 122 | {
|
---|
| 123 | return $this->creationTimestamp;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @param string
|
---|
| 127 | */
|
---|
| 128 | public function setDescription($description)
|
---|
| 129 | {
|
---|
| 130 | $this->description = $description;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @return string
|
---|
| 134 | */
|
---|
| 135 | public function getDescription()
|
---|
| 136 | {
|
---|
| 137 | return $this->description;
|
---|
| 138 | }
|
---|
| 139 | /**
|
---|
| 140 | * @param string
|
---|
| 141 | */
|
---|
| 142 | public function setDiskSizeGb($diskSizeGb)
|
---|
| 143 | {
|
---|
| 144 | $this->diskSizeGb = $diskSizeGb;
|
---|
| 145 | }
|
---|
| 146 | /**
|
---|
| 147 | * @return string
|
---|
| 148 | */
|
---|
| 149 | public function getDiskSizeGb()
|
---|
| 150 | {
|
---|
| 151 | return $this->diskSizeGb;
|
---|
| 152 | }
|
---|
| 153 | /**
|
---|
| 154 | * @param string
|
---|
| 155 | */
|
---|
| 156 | public function setId($id)
|
---|
| 157 | {
|
---|
| 158 | $this->id = $id;
|
---|
| 159 | }
|
---|
| 160 | /**
|
---|
| 161 | * @return string
|
---|
| 162 | */
|
---|
| 163 | public function getId()
|
---|
| 164 | {
|
---|
| 165 | return $this->id;
|
---|
| 166 | }
|
---|
| 167 | /**
|
---|
| 168 | * @param string
|
---|
| 169 | */
|
---|
| 170 | public function setKind($kind)
|
---|
| 171 | {
|
---|
| 172 | $this->kind = $kind;
|
---|
| 173 | }
|
---|
| 174 | /**
|
---|
| 175 | * @return string
|
---|
| 176 | */
|
---|
| 177 | public function getKind()
|
---|
| 178 | {
|
---|
| 179 | return $this->kind;
|
---|
| 180 | }
|
---|
| 181 | /**
|
---|
| 182 | * @param string
|
---|
| 183 | */
|
---|
| 184 | public function setLabelFingerprint($labelFingerprint)
|
---|
| 185 | {
|
---|
| 186 | $this->labelFingerprint = $labelFingerprint;
|
---|
| 187 | }
|
---|
| 188 | /**
|
---|
| 189 | * @return string
|
---|
| 190 | */
|
---|
| 191 | public function getLabelFingerprint()
|
---|
| 192 | {
|
---|
| 193 | return $this->labelFingerprint;
|
---|
| 194 | }
|
---|
| 195 | /**
|
---|
| 196 | * @param string[]
|
---|
| 197 | */
|
---|
| 198 | public function setLabels($labels)
|
---|
| 199 | {
|
---|
| 200 | $this->labels = $labels;
|
---|
| 201 | }
|
---|
| 202 | /**
|
---|
| 203 | * @return string[]
|
---|
| 204 | */
|
---|
| 205 | public function getLabels()
|
---|
| 206 | {
|
---|
| 207 | return $this->labels;
|
---|
| 208 | }
|
---|
| 209 | /**
|
---|
| 210 | * @param string
|
---|
| 211 | */
|
---|
| 212 | public function setName($name)
|
---|
| 213 | {
|
---|
| 214 | $this->name = $name;
|
---|
| 215 | }
|
---|
| 216 | /**
|
---|
| 217 | * @return string
|
---|
| 218 | */
|
---|
| 219 | public function getName()
|
---|
| 220 | {
|
---|
| 221 | return $this->name;
|
---|
| 222 | }
|
---|
| 223 | /**
|
---|
| 224 | * @param string
|
---|
| 225 | */
|
---|
| 226 | public function setRegion($region)
|
---|
| 227 | {
|
---|
| 228 | $this->region = $region;
|
---|
| 229 | }
|
---|
| 230 | /**
|
---|
| 231 | * @return string
|
---|
| 232 | */
|
---|
| 233 | public function getRegion()
|
---|
| 234 | {
|
---|
| 235 | return $this->region;
|
---|
| 236 | }
|
---|
| 237 | /**
|
---|
| 238 | * @param InstantSnapshotResourceStatus
|
---|
| 239 | */
|
---|
| 240 | public function setResourceStatus(InstantSnapshotResourceStatus $resourceStatus)
|
---|
| 241 | {
|
---|
| 242 | $this->resourceStatus = $resourceStatus;
|
---|
| 243 | }
|
---|
| 244 | /**
|
---|
| 245 | * @return InstantSnapshotResourceStatus
|
---|
| 246 | */
|
---|
| 247 | public function getResourceStatus()
|
---|
| 248 | {
|
---|
| 249 | return $this->resourceStatus;
|
---|
| 250 | }
|
---|
| 251 | /**
|
---|
| 252 | * @param bool
|
---|
| 253 | */
|
---|
| 254 | public function setSatisfiesPzi($satisfiesPzi)
|
---|
| 255 | {
|
---|
| 256 | $this->satisfiesPzi = $satisfiesPzi;
|
---|
| 257 | }
|
---|
| 258 | /**
|
---|
| 259 | * @return bool
|
---|
| 260 | */
|
---|
| 261 | public function getSatisfiesPzi()
|
---|
| 262 | {
|
---|
| 263 | return $this->satisfiesPzi;
|
---|
| 264 | }
|
---|
| 265 | /**
|
---|
| 266 | * @param bool
|
---|
| 267 | */
|
---|
| 268 | public function setSatisfiesPzs($satisfiesPzs)
|
---|
| 269 | {
|
---|
| 270 | $this->satisfiesPzs = $satisfiesPzs;
|
---|
| 271 | }
|
---|
| 272 | /**
|
---|
| 273 | * @return bool
|
---|
| 274 | */
|
---|
| 275 | public function getSatisfiesPzs()
|
---|
| 276 | {
|
---|
| 277 | return $this->satisfiesPzs;
|
---|
| 278 | }
|
---|
| 279 | /**
|
---|
| 280 | * @param string
|
---|
| 281 | */
|
---|
| 282 | public function setSelfLink($selfLink)
|
---|
| 283 | {
|
---|
| 284 | $this->selfLink = $selfLink;
|
---|
| 285 | }
|
---|
| 286 | /**
|
---|
| 287 | * @return string
|
---|
| 288 | */
|
---|
| 289 | public function getSelfLink()
|
---|
| 290 | {
|
---|
| 291 | return $this->selfLink;
|
---|
| 292 | }
|
---|
| 293 | /**
|
---|
| 294 | * @param string
|
---|
| 295 | */
|
---|
| 296 | public function setSelfLinkWithId($selfLinkWithId)
|
---|
| 297 | {
|
---|
| 298 | $this->selfLinkWithId = $selfLinkWithId;
|
---|
| 299 | }
|
---|
| 300 | /**
|
---|
| 301 | * @return string
|
---|
| 302 | */
|
---|
| 303 | public function getSelfLinkWithId()
|
---|
| 304 | {
|
---|
| 305 | return $this->selfLinkWithId;
|
---|
| 306 | }
|
---|
| 307 | /**
|
---|
| 308 | * @param string
|
---|
| 309 | */
|
---|
| 310 | public function setSourceDisk($sourceDisk)
|
---|
| 311 | {
|
---|
| 312 | $this->sourceDisk = $sourceDisk;
|
---|
| 313 | }
|
---|
| 314 | /**
|
---|
| 315 | * @return string
|
---|
| 316 | */
|
---|
| 317 | public function getSourceDisk()
|
---|
| 318 | {
|
---|
| 319 | return $this->sourceDisk;
|
---|
| 320 | }
|
---|
| 321 | /**
|
---|
| 322 | * @param string
|
---|
| 323 | */
|
---|
| 324 | public function setSourceDiskId($sourceDiskId)
|
---|
| 325 | {
|
---|
| 326 | $this->sourceDiskId = $sourceDiskId;
|
---|
| 327 | }
|
---|
| 328 | /**
|
---|
| 329 | * @return string
|
---|
| 330 | */
|
---|
| 331 | public function getSourceDiskId()
|
---|
| 332 | {
|
---|
| 333 | return $this->sourceDiskId;
|
---|
| 334 | }
|
---|
| 335 | /**
|
---|
| 336 | * @param string
|
---|
| 337 | */
|
---|
| 338 | public function setStatus($status)
|
---|
| 339 | {
|
---|
| 340 | $this->status = $status;
|
---|
| 341 | }
|
---|
| 342 | /**
|
---|
| 343 | * @return string
|
---|
| 344 | */
|
---|
| 345 | public function getStatus()
|
---|
| 346 | {
|
---|
| 347 | return $this->status;
|
---|
| 348 | }
|
---|
| 349 | /**
|
---|
| 350 | * @param string
|
---|
| 351 | */
|
---|
| 352 | public function setZone($zone)
|
---|
| 353 | {
|
---|
| 354 | $this->zone = $zone;
|
---|
| 355 | }
|
---|
| 356 | /**
|
---|
| 357 | * @return string
|
---|
| 358 | */
|
---|
| 359 | public function getZone()
|
---|
| 360 | {
|
---|
| 361 | return $this->zone;
|
---|
| 362 | }
|
---|
| 363 | }
|
---|
| 364 |
|
---|
| 365 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 366 | class_alias(InstantSnapshot::class, 'Google_Service_Compute_InstantSnapshot');
|
---|