|
| 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\NetAppFiles; |
| 19 | + |
| 20 | +class CloneDetails extends \Google\Model |
| 21 | +{ |
| 22 | + /** |
| 23 | + * Output only. Shared space in GiB. Determined at volume creation time based |
| 24 | + * on size of source snapshot. |
| 25 | + * |
| 26 | + * @var string |
| 27 | + */ |
| 28 | + public $sharedSpaceGib; |
| 29 | + /** |
| 30 | + * Output only. Specifies the full resource name of the source snapshot from |
| 31 | + * which this volume was cloned. Format: projects/{project}/locations/{locatio |
| 32 | + * n}/volumes/{volume}/snapshots/{snapshot} |
| 33 | + * |
| 34 | + * @var string |
| 35 | + */ |
| 36 | + public $sourceSnapshot; |
| 37 | + /** |
| 38 | + * Output only. Full name of the source volume resource. Format: |
| 39 | + * projects/{project}/locations/{location}/volumes/{volume} |
| 40 | + * |
| 41 | + * @var string |
| 42 | + */ |
| 43 | + public $sourceVolume; |
| 44 | + |
| 45 | + /** |
| 46 | + * Output only. Shared space in GiB. Determined at volume creation time based |
| 47 | + * on size of source snapshot. |
| 48 | + * |
| 49 | + * @param string $sharedSpaceGib |
| 50 | + */ |
| 51 | + public function setSharedSpaceGib($sharedSpaceGib) |
| 52 | + { |
| 53 | + $this->sharedSpaceGib = $sharedSpaceGib; |
| 54 | + } |
| 55 | + /** |
| 56 | + * @return string |
| 57 | + */ |
| 58 | + public function getSharedSpaceGib() |
| 59 | + { |
| 60 | + return $this->sharedSpaceGib; |
| 61 | + } |
| 62 | + /** |
| 63 | + * Output only. Specifies the full resource name of the source snapshot from |
| 64 | + * which this volume was cloned. Format: projects/{project}/locations/{locatio |
| 65 | + * n}/volumes/{volume}/snapshots/{snapshot} |
| 66 | + * |
| 67 | + * @param string $sourceSnapshot |
| 68 | + */ |
| 69 | + public function setSourceSnapshot($sourceSnapshot) |
| 70 | + { |
| 71 | + $this->sourceSnapshot = $sourceSnapshot; |
| 72 | + } |
| 73 | + /** |
| 74 | + * @return string |
| 75 | + */ |
| 76 | + public function getSourceSnapshot() |
| 77 | + { |
| 78 | + return $this->sourceSnapshot; |
| 79 | + } |
| 80 | + /** |
| 81 | + * Output only. Full name of the source volume resource. Format: |
| 82 | + * projects/{project}/locations/{location}/volumes/{volume} |
| 83 | + * |
| 84 | + * @param string $sourceVolume |
| 85 | + */ |
| 86 | + public function setSourceVolume($sourceVolume) |
| 87 | + { |
| 88 | + $this->sourceVolume = $sourceVolume; |
| 89 | + } |
| 90 | + /** |
| 91 | + * @return string |
| 92 | + */ |
| 93 | + public function getSourceVolume() |
| 94 | + { |
| 95 | + return $this->sourceVolume; |
| 96 | + } |
| 97 | +} |
| 98 | + |
| 99 | +// Adding a class alias for backwards compatibility with the previous class name. |
| 100 | +class_alias(CloneDetails::class, 'Google_Service_NetAppFiles_CloneDetails'); |
0 commit comments