source: vendor/google/apiclient-services/src/Compute/Subnetwork.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: 8.0 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 Subnetwork extends \Google\Collection
21{
22 protected $collection_key = 'secondaryIpRanges';
23 /**
24 * @var string
25 */
26 public $creationTimestamp;
27 /**
28 * @var string
29 */
30 public $description;
31 /**
32 * @var bool
33 */
34 public $enableFlowLogs;
35 /**
36 * @var string
37 */
38 public $externalIpv6Prefix;
39 /**
40 * @var string
41 */
42 public $fingerprint;
43 /**
44 * @var string
45 */
46 public $gatewayAddress;
47 /**
48 * @var string
49 */
50 public $id;
51 /**
52 * @var string
53 */
54 public $internalIpv6Prefix;
55 /**
56 * @var string
57 */
58 public $ipCidrRange;
59 /**
60 * @var string
61 */
62 public $ipv6AccessType;
63 /**
64 * @var string
65 */
66 public $ipv6CidrRange;
67 /**
68 * @var string
69 */
70 public $kind;
71 protected $logConfigType = SubnetworkLogConfig::class;
72 protected $logConfigDataType = '';
73 /**
74 * @var string
75 */
76 public $name;
77 /**
78 * @var string
79 */
80 public $network;
81 /**
82 * @var bool
83 */
84 public $privateIpGoogleAccess;
85 /**
86 * @var string
87 */
88 public $privateIpv6GoogleAccess;
89 /**
90 * @var string
91 */
92 public $purpose;
93 /**
94 * @var string
95 */
96 public $region;
97 /**
98 * @var string
99 */
100 public $reservedInternalRange;
101 /**
102 * @var string
103 */
104 public $role;
105 protected $secondaryIpRangesType = SubnetworkSecondaryRange::class;
106 protected $secondaryIpRangesDataType = 'array';
107 /**
108 * @var string
109 */
110 public $selfLink;
111 /**
112 * @var string
113 */
114 public $stackType;
115 /**
116 * @var string
117 */
118 public $state;
119
120 /**
121 * @param string
122 */
123 public function setCreationTimestamp($creationTimestamp)
124 {
125 $this->creationTimestamp = $creationTimestamp;
126 }
127 /**
128 * @return string
129 */
130 public function getCreationTimestamp()
131 {
132 return $this->creationTimestamp;
133 }
134 /**
135 * @param string
136 */
137 public function setDescription($description)
138 {
139 $this->description = $description;
140 }
141 /**
142 * @return string
143 */
144 public function getDescription()
145 {
146 return $this->description;
147 }
148 /**
149 * @param bool
150 */
151 public function setEnableFlowLogs($enableFlowLogs)
152 {
153 $this->enableFlowLogs = $enableFlowLogs;
154 }
155 /**
156 * @return bool
157 */
158 public function getEnableFlowLogs()
159 {
160 return $this->enableFlowLogs;
161 }
162 /**
163 * @param string
164 */
165 public function setExternalIpv6Prefix($externalIpv6Prefix)
166 {
167 $this->externalIpv6Prefix = $externalIpv6Prefix;
168 }
169 /**
170 * @return string
171 */
172 public function getExternalIpv6Prefix()
173 {
174 return $this->externalIpv6Prefix;
175 }
176 /**
177 * @param string
178 */
179 public function setFingerprint($fingerprint)
180 {
181 $this->fingerprint = $fingerprint;
182 }
183 /**
184 * @return string
185 */
186 public function getFingerprint()
187 {
188 return $this->fingerprint;
189 }
190 /**
191 * @param string
192 */
193 public function setGatewayAddress($gatewayAddress)
194 {
195 $this->gatewayAddress = $gatewayAddress;
196 }
197 /**
198 * @return string
199 */
200 public function getGatewayAddress()
201 {
202 return $this->gatewayAddress;
203 }
204 /**
205 * @param string
206 */
207 public function setId($id)
208 {
209 $this->id = $id;
210 }
211 /**
212 * @return string
213 */
214 public function getId()
215 {
216 return $this->id;
217 }
218 /**
219 * @param string
220 */
221 public function setInternalIpv6Prefix($internalIpv6Prefix)
222 {
223 $this->internalIpv6Prefix = $internalIpv6Prefix;
224 }
225 /**
226 * @return string
227 */
228 public function getInternalIpv6Prefix()
229 {
230 return $this->internalIpv6Prefix;
231 }
232 /**
233 * @param string
234 */
235 public function setIpCidrRange($ipCidrRange)
236 {
237 $this->ipCidrRange = $ipCidrRange;
238 }
239 /**
240 * @return string
241 */
242 public function getIpCidrRange()
243 {
244 return $this->ipCidrRange;
245 }
246 /**
247 * @param string
248 */
249 public function setIpv6AccessType($ipv6AccessType)
250 {
251 $this->ipv6AccessType = $ipv6AccessType;
252 }
253 /**
254 * @return string
255 */
256 public function getIpv6AccessType()
257 {
258 return $this->ipv6AccessType;
259 }
260 /**
261 * @param string
262 */
263 public function setIpv6CidrRange($ipv6CidrRange)
264 {
265 $this->ipv6CidrRange = $ipv6CidrRange;
266 }
267 /**
268 * @return string
269 */
270 public function getIpv6CidrRange()
271 {
272 return $this->ipv6CidrRange;
273 }
274 /**
275 * @param string
276 */
277 public function setKind($kind)
278 {
279 $this->kind = $kind;
280 }
281 /**
282 * @return string
283 */
284 public function getKind()
285 {
286 return $this->kind;
287 }
288 /**
289 * @param SubnetworkLogConfig
290 */
291 public function setLogConfig(SubnetworkLogConfig $logConfig)
292 {
293 $this->logConfig = $logConfig;
294 }
295 /**
296 * @return SubnetworkLogConfig
297 */
298 public function getLogConfig()
299 {
300 return $this->logConfig;
301 }
302 /**
303 * @param string
304 */
305 public function setName($name)
306 {
307 $this->name = $name;
308 }
309 /**
310 * @return string
311 */
312 public function getName()
313 {
314 return $this->name;
315 }
316 /**
317 * @param string
318 */
319 public function setNetwork($network)
320 {
321 $this->network = $network;
322 }
323 /**
324 * @return string
325 */
326 public function getNetwork()
327 {
328 return $this->network;
329 }
330 /**
331 * @param bool
332 */
333 public function setPrivateIpGoogleAccess($privateIpGoogleAccess)
334 {
335 $this->privateIpGoogleAccess = $privateIpGoogleAccess;
336 }
337 /**
338 * @return bool
339 */
340 public function getPrivateIpGoogleAccess()
341 {
342 return $this->privateIpGoogleAccess;
343 }
344 /**
345 * @param string
346 */
347 public function setPrivateIpv6GoogleAccess($privateIpv6GoogleAccess)
348 {
349 $this->privateIpv6GoogleAccess = $privateIpv6GoogleAccess;
350 }
351 /**
352 * @return string
353 */
354 public function getPrivateIpv6GoogleAccess()
355 {
356 return $this->privateIpv6GoogleAccess;
357 }
358 /**
359 * @param string
360 */
361 public function setPurpose($purpose)
362 {
363 $this->purpose = $purpose;
364 }
365 /**
366 * @return string
367 */
368 public function getPurpose()
369 {
370 return $this->purpose;
371 }
372 /**
373 * @param string
374 */
375 public function setRegion($region)
376 {
377 $this->region = $region;
378 }
379 /**
380 * @return string
381 */
382 public function getRegion()
383 {
384 return $this->region;
385 }
386 /**
387 * @param string
388 */
389 public function setReservedInternalRange($reservedInternalRange)
390 {
391 $this->reservedInternalRange = $reservedInternalRange;
392 }
393 /**
394 * @return string
395 */
396 public function getReservedInternalRange()
397 {
398 return $this->reservedInternalRange;
399 }
400 /**
401 * @param string
402 */
403 public function setRole($role)
404 {
405 $this->role = $role;
406 }
407 /**
408 * @return string
409 */
410 public function getRole()
411 {
412 return $this->role;
413 }
414 /**
415 * @param SubnetworkSecondaryRange[]
416 */
417 public function setSecondaryIpRanges($secondaryIpRanges)
418 {
419 $this->secondaryIpRanges = $secondaryIpRanges;
420 }
421 /**
422 * @return SubnetworkSecondaryRange[]
423 */
424 public function getSecondaryIpRanges()
425 {
426 return $this->secondaryIpRanges;
427 }
428 /**
429 * @param string
430 */
431 public function setSelfLink($selfLink)
432 {
433 $this->selfLink = $selfLink;
434 }
435 /**
436 * @return string
437 */
438 public function getSelfLink()
439 {
440 return $this->selfLink;
441 }
442 /**
443 * @param string
444 */
445 public function setStackType($stackType)
446 {
447 $this->stackType = $stackType;
448 }
449 /**
450 * @return string
451 */
452 public function getStackType()
453 {
454 return $this->stackType;
455 }
456 /**
457 * @param string
458 */
459 public function setState($state)
460 {
461 $this->state = $state;
462 }
463 /**
464 * @return string
465 */
466 public function getState()
467 {
468 return $this->state;
469 }
470}
471
472// Adding a class alias for backwards compatibility with the previous class name.
473class_alias(Subnetwork::class, 'Google_Service_Compute_Subnetwork');
Note: See TracBrowser for help on using the repository browser.