source: vendor/google/apiclient-services/src/Backupdr/ComputeInstanceRestoreProperties.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload new project files

  • Property mode set to 100644
File size: 9.5 KB
Line 
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
18namespace Google\Service\Backupdr;
19
20class ComputeInstanceRestoreProperties extends \Google\Collection
21{
22 protected $collection_key = 'serviceAccounts';
23 protected $advancedMachineFeaturesType = AdvancedMachineFeatures::class;
24 protected $advancedMachineFeaturesDataType = '';
25 /**
26 * @var bool
27 */
28 public $canIpForward;
29 protected $confidentialInstanceConfigType = ConfidentialInstanceConfig::class;
30 protected $confidentialInstanceConfigDataType = '';
31 /**
32 * @var bool
33 */
34 public $deletionProtection;
35 /**
36 * @var string
37 */
38 public $description;
39 protected $disksType = AttachedDisk::class;
40 protected $disksDataType = 'array';
41 protected $displayDeviceType = DisplayDevice::class;
42 protected $displayDeviceDataType = '';
43 protected $guestAcceleratorsType = AcceleratorConfig::class;
44 protected $guestAcceleratorsDataType = 'array';
45 /**
46 * @var string
47 */
48 public $hostname;
49 protected $instanceEncryptionKeyType = CustomerEncryptionKey::class;
50 protected $instanceEncryptionKeyDataType = '';
51 /**
52 * @var string
53 */
54 public $keyRevocationActionType;
55 /**
56 * @var string[]
57 */
58 public $labels;
59 /**
60 * @var string
61 */
62 public $machineType;
63 protected $metadataType = Metadata::class;
64 protected $metadataDataType = '';
65 /**
66 * @var string
67 */
68 public $minCpuPlatform;
69 /**
70 * @var string
71 */
72 public $name;
73 protected $networkInterfacesType = NetworkInterface::class;
74 protected $networkInterfacesDataType = 'array';
75 protected $networkPerformanceConfigType = NetworkPerformanceConfig::class;
76 protected $networkPerformanceConfigDataType = '';
77 protected $paramsType = InstanceParams::class;
78 protected $paramsDataType = '';
79 /**
80 * @var string
81 */
82 public $privateIpv6GoogleAccess;
83 protected $reservationAffinityType = AllocationAffinity::class;
84 protected $reservationAffinityDataType = '';
85 /**
86 * @var string[]
87 */
88 public $resourcePolicies;
89 protected $schedulingType = Scheduling::class;
90 protected $schedulingDataType = '';
91 protected $serviceAccountsType = ServiceAccount::class;
92 protected $serviceAccountsDataType = 'array';
93 protected $tagsType = Tags::class;
94 protected $tagsDataType = '';
95
96 /**
97 * @param AdvancedMachineFeatures
98 */
99 public function setAdvancedMachineFeatures(AdvancedMachineFeatures $advancedMachineFeatures)
100 {
101 $this->advancedMachineFeatures = $advancedMachineFeatures;
102 }
103 /**
104 * @return AdvancedMachineFeatures
105 */
106 public function getAdvancedMachineFeatures()
107 {
108 return $this->advancedMachineFeatures;
109 }
110 /**
111 * @param bool
112 */
113 public function setCanIpForward($canIpForward)
114 {
115 $this->canIpForward = $canIpForward;
116 }
117 /**
118 * @return bool
119 */
120 public function getCanIpForward()
121 {
122 return $this->canIpForward;
123 }
124 /**
125 * @param ConfidentialInstanceConfig
126 */
127 public function setConfidentialInstanceConfig(ConfidentialInstanceConfig $confidentialInstanceConfig)
128 {
129 $this->confidentialInstanceConfig = $confidentialInstanceConfig;
130 }
131 /**
132 * @return ConfidentialInstanceConfig
133 */
134 public function getConfidentialInstanceConfig()
135 {
136 return $this->confidentialInstanceConfig;
137 }
138 /**
139 * @param bool
140 */
141 public function setDeletionProtection($deletionProtection)
142 {
143 $this->deletionProtection = $deletionProtection;
144 }
145 /**
146 * @return bool
147 */
148 public function getDeletionProtection()
149 {
150 return $this->deletionProtection;
151 }
152 /**
153 * @param string
154 */
155 public function setDescription($description)
156 {
157 $this->description = $description;
158 }
159 /**
160 * @return string
161 */
162 public function getDescription()
163 {
164 return $this->description;
165 }
166 /**
167 * @param AttachedDisk[]
168 */
169 public function setDisks($disks)
170 {
171 $this->disks = $disks;
172 }
173 /**
174 * @return AttachedDisk[]
175 */
176 public function getDisks()
177 {
178 return $this->disks;
179 }
180 /**
181 * @param DisplayDevice
182 */
183 public function setDisplayDevice(DisplayDevice $displayDevice)
184 {
185 $this->displayDevice = $displayDevice;
186 }
187 /**
188 * @return DisplayDevice
189 */
190 public function getDisplayDevice()
191 {
192 return $this->displayDevice;
193 }
194 /**
195 * @param AcceleratorConfig[]
196 */
197 public function setGuestAccelerators($guestAccelerators)
198 {
199 $this->guestAccelerators = $guestAccelerators;
200 }
201 /**
202 * @return AcceleratorConfig[]
203 */
204 public function getGuestAccelerators()
205 {
206 return $this->guestAccelerators;
207 }
208 /**
209 * @param string
210 */
211 public function setHostname($hostname)
212 {
213 $this->hostname = $hostname;
214 }
215 /**
216 * @return string
217 */
218 public function getHostname()
219 {
220 return $this->hostname;
221 }
222 /**
223 * @param CustomerEncryptionKey
224 */
225 public function setInstanceEncryptionKey(CustomerEncryptionKey $instanceEncryptionKey)
226 {
227 $this->instanceEncryptionKey = $instanceEncryptionKey;
228 }
229 /**
230 * @return CustomerEncryptionKey
231 */
232 public function getInstanceEncryptionKey()
233 {
234 return $this->instanceEncryptionKey;
235 }
236 /**
237 * @param string
238 */
239 public function setKeyRevocationActionType($keyRevocationActionType)
240 {
241 $this->keyRevocationActionType = $keyRevocationActionType;
242 }
243 /**
244 * @return string
245 */
246 public function getKeyRevocationActionType()
247 {
248 return $this->keyRevocationActionType;
249 }
250 /**
251 * @param string[]
252 */
253 public function setLabels($labels)
254 {
255 $this->labels = $labels;
256 }
257 /**
258 * @return string[]
259 */
260 public function getLabels()
261 {
262 return $this->labels;
263 }
264 /**
265 * @param string
266 */
267 public function setMachineType($machineType)
268 {
269 $this->machineType = $machineType;
270 }
271 /**
272 * @return string
273 */
274 public function getMachineType()
275 {
276 return $this->machineType;
277 }
278 /**
279 * @param Metadata
280 */
281 public function setMetadata(Metadata $metadata)
282 {
283 $this->metadata = $metadata;
284 }
285 /**
286 * @return Metadata
287 */
288 public function getMetadata()
289 {
290 return $this->metadata;
291 }
292 /**
293 * @param string
294 */
295 public function setMinCpuPlatform($minCpuPlatform)
296 {
297 $this->minCpuPlatform = $minCpuPlatform;
298 }
299 /**
300 * @return string
301 */
302 public function getMinCpuPlatform()
303 {
304 return $this->minCpuPlatform;
305 }
306 /**
307 * @param string
308 */
309 public function setName($name)
310 {
311 $this->name = $name;
312 }
313 /**
314 * @return string
315 */
316 public function getName()
317 {
318 return $this->name;
319 }
320 /**
321 * @param NetworkInterface[]
322 */
323 public function setNetworkInterfaces($networkInterfaces)
324 {
325 $this->networkInterfaces = $networkInterfaces;
326 }
327 /**
328 * @return NetworkInterface[]
329 */
330 public function getNetworkInterfaces()
331 {
332 return $this->networkInterfaces;
333 }
334 /**
335 * @param NetworkPerformanceConfig
336 */
337 public function setNetworkPerformanceConfig(NetworkPerformanceConfig $networkPerformanceConfig)
338 {
339 $this->networkPerformanceConfig = $networkPerformanceConfig;
340 }
341 /**
342 * @return NetworkPerformanceConfig
343 */
344 public function getNetworkPerformanceConfig()
345 {
346 return $this->networkPerformanceConfig;
347 }
348 /**
349 * @param InstanceParams
350 */
351 public function setParams(InstanceParams $params)
352 {
353 $this->params = $params;
354 }
355 /**
356 * @return InstanceParams
357 */
358 public function getParams()
359 {
360 return $this->params;
361 }
362 /**
363 * @param string
364 */
365 public function setPrivateIpv6GoogleAccess($privateIpv6GoogleAccess)
366 {
367 $this->privateIpv6GoogleAccess = $privateIpv6GoogleAccess;
368 }
369 /**
370 * @return string
371 */
372 public function getPrivateIpv6GoogleAccess()
373 {
374 return $this->privateIpv6GoogleAccess;
375 }
376 /**
377 * @param AllocationAffinity
378 */
379 public function setReservationAffinity(AllocationAffinity $reservationAffinity)
380 {
381 $this->reservationAffinity = $reservationAffinity;
382 }
383 /**
384 * @return AllocationAffinity
385 */
386 public function getReservationAffinity()
387 {
388 return $this->reservationAffinity;
389 }
390 /**
391 * @param string[]
392 */
393 public function setResourcePolicies($resourcePolicies)
394 {
395 $this->resourcePolicies = $resourcePolicies;
396 }
397 /**
398 * @return string[]
399 */
400 public function getResourcePolicies()
401 {
402 return $this->resourcePolicies;
403 }
404 /**
405 * @param Scheduling
406 */
407 public function setScheduling(Scheduling $scheduling)
408 {
409 $this->scheduling = $scheduling;
410 }
411 /**
412 * @return Scheduling
413 */
414 public function getScheduling()
415 {
416 return $this->scheduling;
417 }
418 /**
419 * @param ServiceAccount[]
420 */
421 public function setServiceAccounts($serviceAccounts)
422 {
423 $this->serviceAccounts = $serviceAccounts;
424 }
425 /**
426 * @return ServiceAccount[]
427 */
428 public function getServiceAccounts()
429 {
430 return $this->serviceAccounts;
431 }
432 /**
433 * @param Tags
434 */
435 public function setTags(Tags $tags)
436 {
437 $this->tags = $tags;
438 }
439 /**
440 * @return Tags
441 */
442 public function getTags()
443 {
444 return $this->tags;
445 }
446}
447
448// Adding a class alias for backwards compatibility with the previous class name.
449class_alias(ComputeInstanceRestoreProperties::class, 'Google_Service_Backupdr_ComputeInstanceRestoreProperties');
Note: See TracBrowser for help on using the repository browser.