[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\VMMigrationService;
|
---|
| 19 |
|
---|
| 20 | class MachineImageTargetDetails extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'tags';
|
---|
| 23 | /**
|
---|
| 24 | * @var string[]
|
---|
| 25 | */
|
---|
| 26 | public $additionalLicenses;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $description;
|
---|
| 31 | protected $encryptionType = Encryption::class;
|
---|
| 32 | protected $encryptionDataType = '';
|
---|
| 33 | /**
|
---|
| 34 | * @var string[]
|
---|
| 35 | */
|
---|
| 36 | public $labels;
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $machineImageName;
|
---|
| 41 | protected $machineImageParametersOverridesType = MachineImageParametersOverrides::class;
|
---|
| 42 | protected $machineImageParametersOverridesDataType = '';
|
---|
| 43 | protected $networkInterfacesType = NetworkInterface::class;
|
---|
| 44 | protected $networkInterfacesDataType = 'array';
|
---|
| 45 | protected $osAdaptationParametersType = ImageImportOsAdaptationParameters::class;
|
---|
| 46 | protected $osAdaptationParametersDataType = '';
|
---|
| 47 | protected $serviceAccountType = ServiceAccount::class;
|
---|
| 48 | protected $serviceAccountDataType = '';
|
---|
| 49 | protected $shieldedInstanceConfigType = ShieldedInstanceConfig::class;
|
---|
| 50 | protected $shieldedInstanceConfigDataType = '';
|
---|
| 51 | /**
|
---|
| 52 | * @var bool
|
---|
| 53 | */
|
---|
| 54 | public $singleRegionStorage;
|
---|
| 55 | protected $skipOsAdaptationType = SkipOsAdaptation::class;
|
---|
| 56 | protected $skipOsAdaptationDataType = '';
|
---|
| 57 | /**
|
---|
| 58 | * @var string[]
|
---|
| 59 | */
|
---|
| 60 | public $tags;
|
---|
| 61 | /**
|
---|
| 62 | * @var string
|
---|
| 63 | */
|
---|
| 64 | public $targetProject;
|
---|
| 65 |
|
---|
| 66 | /**
|
---|
| 67 | * @param string[]
|
---|
| 68 | */
|
---|
| 69 | public function setAdditionalLicenses($additionalLicenses)
|
---|
| 70 | {
|
---|
| 71 | $this->additionalLicenses = $additionalLicenses;
|
---|
| 72 | }
|
---|
| 73 | /**
|
---|
| 74 | * @return string[]
|
---|
| 75 | */
|
---|
| 76 | public function getAdditionalLicenses()
|
---|
| 77 | {
|
---|
| 78 | return $this->additionalLicenses;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @param string
|
---|
| 82 | */
|
---|
| 83 | public function setDescription($description)
|
---|
| 84 | {
|
---|
| 85 | $this->description = $description;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @return string
|
---|
| 89 | */
|
---|
| 90 | public function getDescription()
|
---|
| 91 | {
|
---|
| 92 | return $this->description;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @param Encryption
|
---|
| 96 | */
|
---|
| 97 | public function setEncryption(Encryption $encryption)
|
---|
| 98 | {
|
---|
| 99 | $this->encryption = $encryption;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @return Encryption
|
---|
| 103 | */
|
---|
| 104 | public function getEncryption()
|
---|
| 105 | {
|
---|
| 106 | return $this->encryption;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @param string[]
|
---|
| 110 | */
|
---|
| 111 | public function setLabels($labels)
|
---|
| 112 | {
|
---|
| 113 | $this->labels = $labels;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @return string[]
|
---|
| 117 | */
|
---|
| 118 | public function getLabels()
|
---|
| 119 | {
|
---|
| 120 | return $this->labels;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @param string
|
---|
| 124 | */
|
---|
| 125 | public function setMachineImageName($machineImageName)
|
---|
| 126 | {
|
---|
| 127 | $this->machineImageName = $machineImageName;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @return string
|
---|
| 131 | */
|
---|
| 132 | public function getMachineImageName()
|
---|
| 133 | {
|
---|
| 134 | return $this->machineImageName;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @param MachineImageParametersOverrides
|
---|
| 138 | */
|
---|
| 139 | public function setMachineImageParametersOverrides(MachineImageParametersOverrides $machineImageParametersOverrides)
|
---|
| 140 | {
|
---|
| 141 | $this->machineImageParametersOverrides = $machineImageParametersOverrides;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @return MachineImageParametersOverrides
|
---|
| 145 | */
|
---|
| 146 | public function getMachineImageParametersOverrides()
|
---|
| 147 | {
|
---|
| 148 | return $this->machineImageParametersOverrides;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @param NetworkInterface[]
|
---|
| 152 | */
|
---|
| 153 | public function setNetworkInterfaces($networkInterfaces)
|
---|
| 154 | {
|
---|
| 155 | $this->networkInterfaces = $networkInterfaces;
|
---|
| 156 | }
|
---|
| 157 | /**
|
---|
| 158 | * @return NetworkInterface[]
|
---|
| 159 | */
|
---|
| 160 | public function getNetworkInterfaces()
|
---|
| 161 | {
|
---|
| 162 | return $this->networkInterfaces;
|
---|
| 163 | }
|
---|
| 164 | /**
|
---|
| 165 | * @param ImageImportOsAdaptationParameters
|
---|
| 166 | */
|
---|
| 167 | public function setOsAdaptationParameters(ImageImportOsAdaptationParameters $osAdaptationParameters)
|
---|
| 168 | {
|
---|
| 169 | $this->osAdaptationParameters = $osAdaptationParameters;
|
---|
| 170 | }
|
---|
| 171 | /**
|
---|
| 172 | * @return ImageImportOsAdaptationParameters
|
---|
| 173 | */
|
---|
| 174 | public function getOsAdaptationParameters()
|
---|
| 175 | {
|
---|
| 176 | return $this->osAdaptationParameters;
|
---|
| 177 | }
|
---|
| 178 | /**
|
---|
| 179 | * @param ServiceAccount
|
---|
| 180 | */
|
---|
| 181 | public function setServiceAccount(ServiceAccount $serviceAccount)
|
---|
| 182 | {
|
---|
| 183 | $this->serviceAccount = $serviceAccount;
|
---|
| 184 | }
|
---|
| 185 | /**
|
---|
| 186 | * @return ServiceAccount
|
---|
| 187 | */
|
---|
| 188 | public function getServiceAccount()
|
---|
| 189 | {
|
---|
| 190 | return $this->serviceAccount;
|
---|
| 191 | }
|
---|
| 192 | /**
|
---|
| 193 | * @param ShieldedInstanceConfig
|
---|
| 194 | */
|
---|
| 195 | public function setShieldedInstanceConfig(ShieldedInstanceConfig $shieldedInstanceConfig)
|
---|
| 196 | {
|
---|
| 197 | $this->shieldedInstanceConfig = $shieldedInstanceConfig;
|
---|
| 198 | }
|
---|
| 199 | /**
|
---|
| 200 | * @return ShieldedInstanceConfig
|
---|
| 201 | */
|
---|
| 202 | public function getShieldedInstanceConfig()
|
---|
| 203 | {
|
---|
| 204 | return $this->shieldedInstanceConfig;
|
---|
| 205 | }
|
---|
| 206 | /**
|
---|
| 207 | * @param bool
|
---|
| 208 | */
|
---|
| 209 | public function setSingleRegionStorage($singleRegionStorage)
|
---|
| 210 | {
|
---|
| 211 | $this->singleRegionStorage = $singleRegionStorage;
|
---|
| 212 | }
|
---|
| 213 | /**
|
---|
| 214 | * @return bool
|
---|
| 215 | */
|
---|
| 216 | public function getSingleRegionStorage()
|
---|
| 217 | {
|
---|
| 218 | return $this->singleRegionStorage;
|
---|
| 219 | }
|
---|
| 220 | /**
|
---|
| 221 | * @param SkipOsAdaptation
|
---|
| 222 | */
|
---|
| 223 | public function setSkipOsAdaptation(SkipOsAdaptation $skipOsAdaptation)
|
---|
| 224 | {
|
---|
| 225 | $this->skipOsAdaptation = $skipOsAdaptation;
|
---|
| 226 | }
|
---|
| 227 | /**
|
---|
| 228 | * @return SkipOsAdaptation
|
---|
| 229 | */
|
---|
| 230 | public function getSkipOsAdaptation()
|
---|
| 231 | {
|
---|
| 232 | return $this->skipOsAdaptation;
|
---|
| 233 | }
|
---|
| 234 | /**
|
---|
| 235 | * @param string[]
|
---|
| 236 | */
|
---|
| 237 | public function setTags($tags)
|
---|
| 238 | {
|
---|
| 239 | $this->tags = $tags;
|
---|
| 240 | }
|
---|
| 241 | /**
|
---|
| 242 | * @return string[]
|
---|
| 243 | */
|
---|
| 244 | public function getTags()
|
---|
| 245 | {
|
---|
| 246 | return $this->tags;
|
---|
| 247 | }
|
---|
| 248 | /**
|
---|
| 249 | * @param string
|
---|
| 250 | */
|
---|
| 251 | public function setTargetProject($targetProject)
|
---|
| 252 | {
|
---|
| 253 | $this->targetProject = $targetProject;
|
---|
| 254 | }
|
---|
| 255 | /**
|
---|
| 256 | * @return string
|
---|
| 257 | */
|
---|
| 258 | public function getTargetProject()
|
---|
| 259 | {
|
---|
| 260 | return $this->targetProject;
|
---|
| 261 | }
|
---|
| 262 | }
|
---|
| 263 |
|
---|
| 264 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 265 | class_alias(MachineImageTargetDetails::class, 'Google_Service_VMMigrationService_MachineImageTargetDetails');
|
---|