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 ComputeEngineTargetDefaults extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'networkTags';
|
---|
23 | /**
|
---|
24 | * @var string[]
|
---|
25 | */
|
---|
26 | public $additionalLicenses;
|
---|
27 | protected $appliedLicenseType = AppliedLicense::class;
|
---|
28 | protected $appliedLicenseDataType = '';
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $bootConversion;
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $bootOption;
|
---|
37 | protected $computeSchedulingType = ComputeScheduling::class;
|
---|
38 | protected $computeSchedulingDataType = '';
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $diskType;
|
---|
43 | /**
|
---|
44 | * @var bool
|
---|
45 | */
|
---|
46 | public $enableIntegrityMonitoring;
|
---|
47 | /**
|
---|
48 | * @var bool
|
---|
49 | */
|
---|
50 | public $enableVtpm;
|
---|
51 | protected $encryptionType = Encryption::class;
|
---|
52 | protected $encryptionDataType = '';
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $hostname;
|
---|
57 | /**
|
---|
58 | * @var string[]
|
---|
59 | */
|
---|
60 | public $labels;
|
---|
61 | /**
|
---|
62 | * @var string
|
---|
63 | */
|
---|
64 | public $licenseType;
|
---|
65 | /**
|
---|
66 | * @var string
|
---|
67 | */
|
---|
68 | public $machineType;
|
---|
69 | /**
|
---|
70 | * @var string
|
---|
71 | */
|
---|
72 | public $machineTypeSeries;
|
---|
73 | /**
|
---|
74 | * @var string[]
|
---|
75 | */
|
---|
76 | public $metadata;
|
---|
77 | protected $networkInterfacesType = NetworkInterface::class;
|
---|
78 | protected $networkInterfacesDataType = 'array';
|
---|
79 | /**
|
---|
80 | * @var string[]
|
---|
81 | */
|
---|
82 | public $networkTags;
|
---|
83 | /**
|
---|
84 | * @var bool
|
---|
85 | */
|
---|
86 | public $secureBoot;
|
---|
87 | /**
|
---|
88 | * @var string
|
---|
89 | */
|
---|
90 | public $serviceAccount;
|
---|
91 | /**
|
---|
92 | * @var string
|
---|
93 | */
|
---|
94 | public $targetProject;
|
---|
95 | /**
|
---|
96 | * @var string
|
---|
97 | */
|
---|
98 | public $vmName;
|
---|
99 | /**
|
---|
100 | * @var string
|
---|
101 | */
|
---|
102 | public $zone;
|
---|
103 |
|
---|
104 | /**
|
---|
105 | * @param string[]
|
---|
106 | */
|
---|
107 | public function setAdditionalLicenses($additionalLicenses)
|
---|
108 | {
|
---|
109 | $this->additionalLicenses = $additionalLicenses;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return string[]
|
---|
113 | */
|
---|
114 | public function getAdditionalLicenses()
|
---|
115 | {
|
---|
116 | return $this->additionalLicenses;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param AppliedLicense
|
---|
120 | */
|
---|
121 | public function setAppliedLicense(AppliedLicense $appliedLicense)
|
---|
122 | {
|
---|
123 | $this->appliedLicense = $appliedLicense;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return AppliedLicense
|
---|
127 | */
|
---|
128 | public function getAppliedLicense()
|
---|
129 | {
|
---|
130 | return $this->appliedLicense;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param string
|
---|
134 | */
|
---|
135 | public function setBootConversion($bootConversion)
|
---|
136 | {
|
---|
137 | $this->bootConversion = $bootConversion;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return string
|
---|
141 | */
|
---|
142 | public function getBootConversion()
|
---|
143 | {
|
---|
144 | return $this->bootConversion;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param string
|
---|
148 | */
|
---|
149 | public function setBootOption($bootOption)
|
---|
150 | {
|
---|
151 | $this->bootOption = $bootOption;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return string
|
---|
155 | */
|
---|
156 | public function getBootOption()
|
---|
157 | {
|
---|
158 | return $this->bootOption;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param ComputeScheduling
|
---|
162 | */
|
---|
163 | public function setComputeScheduling(ComputeScheduling $computeScheduling)
|
---|
164 | {
|
---|
165 | $this->computeScheduling = $computeScheduling;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return ComputeScheduling
|
---|
169 | */
|
---|
170 | public function getComputeScheduling()
|
---|
171 | {
|
---|
172 | return $this->computeScheduling;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @param string
|
---|
176 | */
|
---|
177 | public function setDiskType($diskType)
|
---|
178 | {
|
---|
179 | $this->diskType = $diskType;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @return string
|
---|
183 | */
|
---|
184 | public function getDiskType()
|
---|
185 | {
|
---|
186 | return $this->diskType;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @param bool
|
---|
190 | */
|
---|
191 | public function setEnableIntegrityMonitoring($enableIntegrityMonitoring)
|
---|
192 | {
|
---|
193 | $this->enableIntegrityMonitoring = $enableIntegrityMonitoring;
|
---|
194 | }
|
---|
195 | /**
|
---|
196 | * @return bool
|
---|
197 | */
|
---|
198 | public function getEnableIntegrityMonitoring()
|
---|
199 | {
|
---|
200 | return $this->enableIntegrityMonitoring;
|
---|
201 | }
|
---|
202 | /**
|
---|
203 | * @param bool
|
---|
204 | */
|
---|
205 | public function setEnableVtpm($enableVtpm)
|
---|
206 | {
|
---|
207 | $this->enableVtpm = $enableVtpm;
|
---|
208 | }
|
---|
209 | /**
|
---|
210 | * @return bool
|
---|
211 | */
|
---|
212 | public function getEnableVtpm()
|
---|
213 | {
|
---|
214 | return $this->enableVtpm;
|
---|
215 | }
|
---|
216 | /**
|
---|
217 | * @param Encryption
|
---|
218 | */
|
---|
219 | public function setEncryption(Encryption $encryption)
|
---|
220 | {
|
---|
221 | $this->encryption = $encryption;
|
---|
222 | }
|
---|
223 | /**
|
---|
224 | * @return Encryption
|
---|
225 | */
|
---|
226 | public function getEncryption()
|
---|
227 | {
|
---|
228 | return $this->encryption;
|
---|
229 | }
|
---|
230 | /**
|
---|
231 | * @param string
|
---|
232 | */
|
---|
233 | public function setHostname($hostname)
|
---|
234 | {
|
---|
235 | $this->hostname = $hostname;
|
---|
236 | }
|
---|
237 | /**
|
---|
238 | * @return string
|
---|
239 | */
|
---|
240 | public function getHostname()
|
---|
241 | {
|
---|
242 | return $this->hostname;
|
---|
243 | }
|
---|
244 | /**
|
---|
245 | * @param string[]
|
---|
246 | */
|
---|
247 | public function setLabels($labels)
|
---|
248 | {
|
---|
249 | $this->labels = $labels;
|
---|
250 | }
|
---|
251 | /**
|
---|
252 | * @return string[]
|
---|
253 | */
|
---|
254 | public function getLabels()
|
---|
255 | {
|
---|
256 | return $this->labels;
|
---|
257 | }
|
---|
258 | /**
|
---|
259 | * @param string
|
---|
260 | */
|
---|
261 | public function setLicenseType($licenseType)
|
---|
262 | {
|
---|
263 | $this->licenseType = $licenseType;
|
---|
264 | }
|
---|
265 | /**
|
---|
266 | * @return string
|
---|
267 | */
|
---|
268 | public function getLicenseType()
|
---|
269 | {
|
---|
270 | return $this->licenseType;
|
---|
271 | }
|
---|
272 | /**
|
---|
273 | * @param string
|
---|
274 | */
|
---|
275 | public function setMachineType($machineType)
|
---|
276 | {
|
---|
277 | $this->machineType = $machineType;
|
---|
278 | }
|
---|
279 | /**
|
---|
280 | * @return string
|
---|
281 | */
|
---|
282 | public function getMachineType()
|
---|
283 | {
|
---|
284 | return $this->machineType;
|
---|
285 | }
|
---|
286 | /**
|
---|
287 | * @param string
|
---|
288 | */
|
---|
289 | public function setMachineTypeSeries($machineTypeSeries)
|
---|
290 | {
|
---|
291 | $this->machineTypeSeries = $machineTypeSeries;
|
---|
292 | }
|
---|
293 | /**
|
---|
294 | * @return string
|
---|
295 | */
|
---|
296 | public function getMachineTypeSeries()
|
---|
297 | {
|
---|
298 | return $this->machineTypeSeries;
|
---|
299 | }
|
---|
300 | /**
|
---|
301 | * @param string[]
|
---|
302 | */
|
---|
303 | public function setMetadata($metadata)
|
---|
304 | {
|
---|
305 | $this->metadata = $metadata;
|
---|
306 | }
|
---|
307 | /**
|
---|
308 | * @return string[]
|
---|
309 | */
|
---|
310 | public function getMetadata()
|
---|
311 | {
|
---|
312 | return $this->metadata;
|
---|
313 | }
|
---|
314 | /**
|
---|
315 | * @param NetworkInterface[]
|
---|
316 | */
|
---|
317 | public function setNetworkInterfaces($networkInterfaces)
|
---|
318 | {
|
---|
319 | $this->networkInterfaces = $networkInterfaces;
|
---|
320 | }
|
---|
321 | /**
|
---|
322 | * @return NetworkInterface[]
|
---|
323 | */
|
---|
324 | public function getNetworkInterfaces()
|
---|
325 | {
|
---|
326 | return $this->networkInterfaces;
|
---|
327 | }
|
---|
328 | /**
|
---|
329 | * @param string[]
|
---|
330 | */
|
---|
331 | public function setNetworkTags($networkTags)
|
---|
332 | {
|
---|
333 | $this->networkTags = $networkTags;
|
---|
334 | }
|
---|
335 | /**
|
---|
336 | * @return string[]
|
---|
337 | */
|
---|
338 | public function getNetworkTags()
|
---|
339 | {
|
---|
340 | return $this->networkTags;
|
---|
341 | }
|
---|
342 | /**
|
---|
343 | * @param bool
|
---|
344 | */
|
---|
345 | public function setSecureBoot($secureBoot)
|
---|
346 | {
|
---|
347 | $this->secureBoot = $secureBoot;
|
---|
348 | }
|
---|
349 | /**
|
---|
350 | * @return bool
|
---|
351 | */
|
---|
352 | public function getSecureBoot()
|
---|
353 | {
|
---|
354 | return $this->secureBoot;
|
---|
355 | }
|
---|
356 | /**
|
---|
357 | * @param string
|
---|
358 | */
|
---|
359 | public function setServiceAccount($serviceAccount)
|
---|
360 | {
|
---|
361 | $this->serviceAccount = $serviceAccount;
|
---|
362 | }
|
---|
363 | /**
|
---|
364 | * @return string
|
---|
365 | */
|
---|
366 | public function getServiceAccount()
|
---|
367 | {
|
---|
368 | return $this->serviceAccount;
|
---|
369 | }
|
---|
370 | /**
|
---|
371 | * @param string
|
---|
372 | */
|
---|
373 | public function setTargetProject($targetProject)
|
---|
374 | {
|
---|
375 | $this->targetProject = $targetProject;
|
---|
376 | }
|
---|
377 | /**
|
---|
378 | * @return string
|
---|
379 | */
|
---|
380 | public function getTargetProject()
|
---|
381 | {
|
---|
382 | return $this->targetProject;
|
---|
383 | }
|
---|
384 | /**
|
---|
385 | * @param string
|
---|
386 | */
|
---|
387 | public function setVmName($vmName)
|
---|
388 | {
|
---|
389 | $this->vmName = $vmName;
|
---|
390 | }
|
---|
391 | /**
|
---|
392 | * @return string
|
---|
393 | */
|
---|
394 | public function getVmName()
|
---|
395 | {
|
---|
396 | return $this->vmName;
|
---|
397 | }
|
---|
398 | /**
|
---|
399 | * @param string
|
---|
400 | */
|
---|
401 | public function setZone($zone)
|
---|
402 | {
|
---|
403 | $this->zone = $zone;
|
---|
404 | }
|
---|
405 | /**
|
---|
406 | * @return string
|
---|
407 | */
|
---|
408 | public function getZone()
|
---|
409 | {
|
---|
410 | return $this->zone;
|
---|
411 | }
|
---|
412 | }
|
---|
413 |
|
---|
414 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
415 | class_alias(ComputeEngineTargetDefaults::class, 'Google_Service_VMMigrationService_ComputeEngineTargetDefaults');
|
---|