source: vendor/google/apiclient-services/src/Compute/AttachedDiskInitializeParams.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 6.8 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\Compute;
19
20class AttachedDiskInitializeParams extends \Google\Collection
21{
22 protected $collection_key = 'resourcePolicies';
23 /**
24 * @var string
25 */
26 public $architecture;
27 /**
28 * @var string
29 */
30 public $description;
31 /**
32 * @var string
33 */
34 public $diskName;
35 /**
36 * @var string
37 */
38 public $diskSizeGb;
39 /**
40 * @var string
41 */
42 public $diskType;
43 /**
44 * @var bool
45 */
46 public $enableConfidentialCompute;
47 /**
48 * @var string[]
49 */
50 public $labels;
51 /**
52 * @var string[]
53 */
54 public $licenses;
55 /**
56 * @var string
57 */
58 public $onUpdateAction;
59 /**
60 * @var string
61 */
62 public $provisionedIops;
63 /**
64 * @var string
65 */
66 public $provisionedThroughput;
67 /**
68 * @var string[]
69 */
70 public $replicaZones;
71 /**
72 * @var string[]
73 */
74 public $resourceManagerTags;
75 /**
76 * @var string[]
77 */
78 public $resourcePolicies;
79 /**
80 * @var string
81 */
82 public $sourceImage;
83 protected $sourceImageEncryptionKeyType = CustomerEncryptionKey::class;
84 protected $sourceImageEncryptionKeyDataType = '';
85 /**
86 * @var string
87 */
88 public $sourceSnapshot;
89 protected $sourceSnapshotEncryptionKeyType = CustomerEncryptionKey::class;
90 protected $sourceSnapshotEncryptionKeyDataType = '';
91 /**
92 * @var string
93 */
94 public $storagePool;
95
96 /**
97 * @param string
98 */
99 public function setArchitecture($architecture)
100 {
101 $this->architecture = $architecture;
102 }
103 /**
104 * @return string
105 */
106 public function getArchitecture()
107 {
108 return $this->architecture;
109 }
110 /**
111 * @param string
112 */
113 public function setDescription($description)
114 {
115 $this->description = $description;
116 }
117 /**
118 * @return string
119 */
120 public function getDescription()
121 {
122 return $this->description;
123 }
124 /**
125 * @param string
126 */
127 public function setDiskName($diskName)
128 {
129 $this->diskName = $diskName;
130 }
131 /**
132 * @return string
133 */
134 public function getDiskName()
135 {
136 return $this->diskName;
137 }
138 /**
139 * @param string
140 */
141 public function setDiskSizeGb($diskSizeGb)
142 {
143 $this->diskSizeGb = $diskSizeGb;
144 }
145 /**
146 * @return string
147 */
148 public function getDiskSizeGb()
149 {
150 return $this->diskSizeGb;
151 }
152 /**
153 * @param string
154 */
155 public function setDiskType($diskType)
156 {
157 $this->diskType = $diskType;
158 }
159 /**
160 * @return string
161 */
162 public function getDiskType()
163 {
164 return $this->diskType;
165 }
166 /**
167 * @param bool
168 */
169 public function setEnableConfidentialCompute($enableConfidentialCompute)
170 {
171 $this->enableConfidentialCompute = $enableConfidentialCompute;
172 }
173 /**
174 * @return bool
175 */
176 public function getEnableConfidentialCompute()
177 {
178 return $this->enableConfidentialCompute;
179 }
180 /**
181 * @param string[]
182 */
183 public function setLabels($labels)
184 {
185 $this->labels = $labels;
186 }
187 /**
188 * @return string[]
189 */
190 public function getLabels()
191 {
192 return $this->labels;
193 }
194 /**
195 * @param string[]
196 */
197 public function setLicenses($licenses)
198 {
199 $this->licenses = $licenses;
200 }
201 /**
202 * @return string[]
203 */
204 public function getLicenses()
205 {
206 return $this->licenses;
207 }
208 /**
209 * @param string
210 */
211 public function setOnUpdateAction($onUpdateAction)
212 {
213 $this->onUpdateAction = $onUpdateAction;
214 }
215 /**
216 * @return string
217 */
218 public function getOnUpdateAction()
219 {
220 return $this->onUpdateAction;
221 }
222 /**
223 * @param string
224 */
225 public function setProvisionedIops($provisionedIops)
226 {
227 $this->provisionedIops = $provisionedIops;
228 }
229 /**
230 * @return string
231 */
232 public function getProvisionedIops()
233 {
234 return $this->provisionedIops;
235 }
236 /**
237 * @param string
238 */
239 public function setProvisionedThroughput($provisionedThroughput)
240 {
241 $this->provisionedThroughput = $provisionedThroughput;
242 }
243 /**
244 * @return string
245 */
246 public function getProvisionedThroughput()
247 {
248 return $this->provisionedThroughput;
249 }
250 /**
251 * @param string[]
252 */
253 public function setReplicaZones($replicaZones)
254 {
255 $this->replicaZones = $replicaZones;
256 }
257 /**
258 * @return string[]
259 */
260 public function getReplicaZones()
261 {
262 return $this->replicaZones;
263 }
264 /**
265 * @param string[]
266 */
267 public function setResourceManagerTags($resourceManagerTags)
268 {
269 $this->resourceManagerTags = $resourceManagerTags;
270 }
271 /**
272 * @return string[]
273 */
274 public function getResourceManagerTags()
275 {
276 return $this->resourceManagerTags;
277 }
278 /**
279 * @param string[]
280 */
281 public function setResourcePolicies($resourcePolicies)
282 {
283 $this->resourcePolicies = $resourcePolicies;
284 }
285 /**
286 * @return string[]
287 */
288 public function getResourcePolicies()
289 {
290 return $this->resourcePolicies;
291 }
292 /**
293 * @param string
294 */
295 public function setSourceImage($sourceImage)
296 {
297 $this->sourceImage = $sourceImage;
298 }
299 /**
300 * @return string
301 */
302 public function getSourceImage()
303 {
304 return $this->sourceImage;
305 }
306 /**
307 * @param CustomerEncryptionKey
308 */
309 public function setSourceImageEncryptionKey(CustomerEncryptionKey $sourceImageEncryptionKey)
310 {
311 $this->sourceImageEncryptionKey = $sourceImageEncryptionKey;
312 }
313 /**
314 * @return CustomerEncryptionKey
315 */
316 public function getSourceImageEncryptionKey()
317 {
318 return $this->sourceImageEncryptionKey;
319 }
320 /**
321 * @param string
322 */
323 public function setSourceSnapshot($sourceSnapshot)
324 {
325 $this->sourceSnapshot = $sourceSnapshot;
326 }
327 /**
328 * @return string
329 */
330 public function getSourceSnapshot()
331 {
332 return $this->sourceSnapshot;
333 }
334 /**
335 * @param CustomerEncryptionKey
336 */
337 public function setSourceSnapshotEncryptionKey(CustomerEncryptionKey $sourceSnapshotEncryptionKey)
338 {
339 $this->sourceSnapshotEncryptionKey = $sourceSnapshotEncryptionKey;
340 }
341 /**
342 * @return CustomerEncryptionKey
343 */
344 public function getSourceSnapshotEncryptionKey()
345 {
346 return $this->sourceSnapshotEncryptionKey;
347 }
348 /**
349 * @param string
350 */
351 public function setStoragePool($storagePool)
352 {
353 $this->storagePool = $storagePool;
354 }
355 /**
356 * @return string
357 */
358 public function getStoragePool()
359 {
360 return $this->storagePool;
361 }
362}
363
364// Adding a class alias for backwards compatibility with the previous class name.
365class_alias(AttachedDiskInitializeParams::class, 'Google_Service_Compute_AttachedDiskInitializeParams');
Note: See TracBrowser for help on using the repository browser.