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 DisksMigrationVmTargetDefaults extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'networkTags';
|
---|
23 | /**
|
---|
24 | * @var string[]
|
---|
25 | */
|
---|
26 | public $additionalLicenses;
|
---|
27 | protected $bootDiskDefaultsType = BootDiskDefaults::class;
|
---|
28 | protected $bootDiskDefaultsDataType = '';
|
---|
29 | protected $computeSchedulingType = ComputeScheduling::class;
|
---|
30 | protected $computeSchedulingDataType = '';
|
---|
31 | /**
|
---|
32 | * @var bool
|
---|
33 | */
|
---|
34 | public $enableIntegrityMonitoring;
|
---|
35 | /**
|
---|
36 | * @var bool
|
---|
37 | */
|
---|
38 | public $enableVtpm;
|
---|
39 | protected $encryptionType = Encryption::class;
|
---|
40 | protected $encryptionDataType = '';
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $hostname;
|
---|
45 | /**
|
---|
46 | * @var string[]
|
---|
47 | */
|
---|
48 | public $labels;
|
---|
49 | /**
|
---|
50 | * @var string
|
---|
51 | */
|
---|
52 | public $machineType;
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $machineTypeSeries;
|
---|
57 | /**
|
---|
58 | * @var string[]
|
---|
59 | */
|
---|
60 | public $metadata;
|
---|
61 | protected $networkInterfacesType = NetworkInterface::class;
|
---|
62 | protected $networkInterfacesDataType = 'array';
|
---|
63 | /**
|
---|
64 | * @var string[]
|
---|
65 | */
|
---|
66 | public $networkTags;
|
---|
67 | /**
|
---|
68 | * @var bool
|
---|
69 | */
|
---|
70 | public $secureBoot;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $serviceAccount;
|
---|
75 | /**
|
---|
76 | * @var string
|
---|
77 | */
|
---|
78 | public $vmName;
|
---|
79 |
|
---|
80 | /**
|
---|
81 | * @param string[]
|
---|
82 | */
|
---|
83 | public function setAdditionalLicenses($additionalLicenses)
|
---|
84 | {
|
---|
85 | $this->additionalLicenses = $additionalLicenses;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @return string[]
|
---|
89 | */
|
---|
90 | public function getAdditionalLicenses()
|
---|
91 | {
|
---|
92 | return $this->additionalLicenses;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @param BootDiskDefaults
|
---|
96 | */
|
---|
97 | public function setBootDiskDefaults(BootDiskDefaults $bootDiskDefaults)
|
---|
98 | {
|
---|
99 | $this->bootDiskDefaults = $bootDiskDefaults;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @return BootDiskDefaults
|
---|
103 | */
|
---|
104 | public function getBootDiskDefaults()
|
---|
105 | {
|
---|
106 | return $this->bootDiskDefaults;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @param ComputeScheduling
|
---|
110 | */
|
---|
111 | public function setComputeScheduling(ComputeScheduling $computeScheduling)
|
---|
112 | {
|
---|
113 | $this->computeScheduling = $computeScheduling;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @return ComputeScheduling
|
---|
117 | */
|
---|
118 | public function getComputeScheduling()
|
---|
119 | {
|
---|
120 | return $this->computeScheduling;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @param bool
|
---|
124 | */
|
---|
125 | public function setEnableIntegrityMonitoring($enableIntegrityMonitoring)
|
---|
126 | {
|
---|
127 | $this->enableIntegrityMonitoring = $enableIntegrityMonitoring;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @return bool
|
---|
131 | */
|
---|
132 | public function getEnableIntegrityMonitoring()
|
---|
133 | {
|
---|
134 | return $this->enableIntegrityMonitoring;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @param bool
|
---|
138 | */
|
---|
139 | public function setEnableVtpm($enableVtpm)
|
---|
140 | {
|
---|
141 | $this->enableVtpm = $enableVtpm;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @return bool
|
---|
145 | */
|
---|
146 | public function getEnableVtpm()
|
---|
147 | {
|
---|
148 | return $this->enableVtpm;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @param Encryption
|
---|
152 | */
|
---|
153 | public function setEncryption(Encryption $encryption)
|
---|
154 | {
|
---|
155 | $this->encryption = $encryption;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @return Encryption
|
---|
159 | */
|
---|
160 | public function getEncryption()
|
---|
161 | {
|
---|
162 | return $this->encryption;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @param string
|
---|
166 | */
|
---|
167 | public function setHostname($hostname)
|
---|
168 | {
|
---|
169 | $this->hostname = $hostname;
|
---|
170 | }
|
---|
171 | /**
|
---|
172 | * @return string
|
---|
173 | */
|
---|
174 | public function getHostname()
|
---|
175 | {
|
---|
176 | return $this->hostname;
|
---|
177 | }
|
---|
178 | /**
|
---|
179 | * @param string[]
|
---|
180 | */
|
---|
181 | public function setLabels($labels)
|
---|
182 | {
|
---|
183 | $this->labels = $labels;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @return string[]
|
---|
187 | */
|
---|
188 | public function getLabels()
|
---|
189 | {
|
---|
190 | return $this->labels;
|
---|
191 | }
|
---|
192 | /**
|
---|
193 | * @param string
|
---|
194 | */
|
---|
195 | public function setMachineType($machineType)
|
---|
196 | {
|
---|
197 | $this->machineType = $machineType;
|
---|
198 | }
|
---|
199 | /**
|
---|
200 | * @return string
|
---|
201 | */
|
---|
202 | public function getMachineType()
|
---|
203 | {
|
---|
204 | return $this->machineType;
|
---|
205 | }
|
---|
206 | /**
|
---|
207 | * @param string
|
---|
208 | */
|
---|
209 | public function setMachineTypeSeries($machineTypeSeries)
|
---|
210 | {
|
---|
211 | $this->machineTypeSeries = $machineTypeSeries;
|
---|
212 | }
|
---|
213 | /**
|
---|
214 | * @return string
|
---|
215 | */
|
---|
216 | public function getMachineTypeSeries()
|
---|
217 | {
|
---|
218 | return $this->machineTypeSeries;
|
---|
219 | }
|
---|
220 | /**
|
---|
221 | * @param string[]
|
---|
222 | */
|
---|
223 | public function setMetadata($metadata)
|
---|
224 | {
|
---|
225 | $this->metadata = $metadata;
|
---|
226 | }
|
---|
227 | /**
|
---|
228 | * @return string[]
|
---|
229 | */
|
---|
230 | public function getMetadata()
|
---|
231 | {
|
---|
232 | return $this->metadata;
|
---|
233 | }
|
---|
234 | /**
|
---|
235 | * @param NetworkInterface[]
|
---|
236 | */
|
---|
237 | public function setNetworkInterfaces($networkInterfaces)
|
---|
238 | {
|
---|
239 | $this->networkInterfaces = $networkInterfaces;
|
---|
240 | }
|
---|
241 | /**
|
---|
242 | * @return NetworkInterface[]
|
---|
243 | */
|
---|
244 | public function getNetworkInterfaces()
|
---|
245 | {
|
---|
246 | return $this->networkInterfaces;
|
---|
247 | }
|
---|
248 | /**
|
---|
249 | * @param string[]
|
---|
250 | */
|
---|
251 | public function setNetworkTags($networkTags)
|
---|
252 | {
|
---|
253 | $this->networkTags = $networkTags;
|
---|
254 | }
|
---|
255 | /**
|
---|
256 | * @return string[]
|
---|
257 | */
|
---|
258 | public function getNetworkTags()
|
---|
259 | {
|
---|
260 | return $this->networkTags;
|
---|
261 | }
|
---|
262 | /**
|
---|
263 | * @param bool
|
---|
264 | */
|
---|
265 | public function setSecureBoot($secureBoot)
|
---|
266 | {
|
---|
267 | $this->secureBoot = $secureBoot;
|
---|
268 | }
|
---|
269 | /**
|
---|
270 | * @return bool
|
---|
271 | */
|
---|
272 | public function getSecureBoot()
|
---|
273 | {
|
---|
274 | return $this->secureBoot;
|
---|
275 | }
|
---|
276 | /**
|
---|
277 | * @param string
|
---|
278 | */
|
---|
279 | public function setServiceAccount($serviceAccount)
|
---|
280 | {
|
---|
281 | $this->serviceAccount = $serviceAccount;
|
---|
282 | }
|
---|
283 | /**
|
---|
284 | * @return string
|
---|
285 | */
|
---|
286 | public function getServiceAccount()
|
---|
287 | {
|
---|
288 | return $this->serviceAccount;
|
---|
289 | }
|
---|
290 | /**
|
---|
291 | * @param string
|
---|
292 | */
|
---|
293 | public function setVmName($vmName)
|
---|
294 | {
|
---|
295 | $this->vmName = $vmName;
|
---|
296 | }
|
---|
297 | /**
|
---|
298 | * @return string
|
---|
299 | */
|
---|
300 | public function getVmName()
|
---|
301 | {
|
---|
302 | return $this->vmName;
|
---|
303 | }
|
---|
304 | }
|
---|
305 |
|
---|
306 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
307 | class_alias(DisksMigrationVmTargetDefaults::class, 'Google_Service_VMMigrationService_DisksMigrationVmTargetDefaults');
|
---|