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\Compute;
|
---|
19 |
|
---|
20 | class InterconnectAttachment extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'ipsecInternalAddresses';
|
---|
23 | /**
|
---|
24 | * @var bool
|
---|
25 | */
|
---|
26 | public $adminEnabled;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $bandwidth;
|
---|
31 | /**
|
---|
32 | * @var string[]
|
---|
33 | */
|
---|
34 | public $candidateIpv6Subnets;
|
---|
35 | /**
|
---|
36 | * @var string[]
|
---|
37 | */
|
---|
38 | public $candidateSubnets;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $cloudRouterIpAddress;
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $cloudRouterIpv6Address;
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $cloudRouterIpv6InterfaceId;
|
---|
51 | protected $configurationConstraintsType = InterconnectAttachmentConfigurationConstraints::class;
|
---|
52 | protected $configurationConstraintsDataType = '';
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $creationTimestamp;
|
---|
57 | /**
|
---|
58 | * @var string
|
---|
59 | */
|
---|
60 | public $customerRouterIpAddress;
|
---|
61 | /**
|
---|
62 | * @var string
|
---|
63 | */
|
---|
64 | public $customerRouterIpv6Address;
|
---|
65 | /**
|
---|
66 | * @var string
|
---|
67 | */
|
---|
68 | public $customerRouterIpv6InterfaceId;
|
---|
69 | /**
|
---|
70 | * @var int
|
---|
71 | */
|
---|
72 | public $dataplaneVersion;
|
---|
73 | /**
|
---|
74 | * @var string
|
---|
75 | */
|
---|
76 | public $description;
|
---|
77 | /**
|
---|
78 | * @var string
|
---|
79 | */
|
---|
80 | public $edgeAvailabilityDomain;
|
---|
81 | /**
|
---|
82 | * @var string
|
---|
83 | */
|
---|
84 | public $encryption;
|
---|
85 | /**
|
---|
86 | * @var string
|
---|
87 | */
|
---|
88 | public $googleReferenceId;
|
---|
89 | /**
|
---|
90 | * @var string
|
---|
91 | */
|
---|
92 | public $id;
|
---|
93 | /**
|
---|
94 | * @var string
|
---|
95 | */
|
---|
96 | public $interconnect;
|
---|
97 | /**
|
---|
98 | * @var string[]
|
---|
99 | */
|
---|
100 | public $ipsecInternalAddresses;
|
---|
101 | /**
|
---|
102 | * @var string
|
---|
103 | */
|
---|
104 | public $kind;
|
---|
105 | /**
|
---|
106 | * @var string
|
---|
107 | */
|
---|
108 | public $labelFingerprint;
|
---|
109 | /**
|
---|
110 | * @var string[]
|
---|
111 | */
|
---|
112 | public $labels;
|
---|
113 | /**
|
---|
114 | * @var int
|
---|
115 | */
|
---|
116 | public $mtu;
|
---|
117 | /**
|
---|
118 | * @var string
|
---|
119 | */
|
---|
120 | public $name;
|
---|
121 | /**
|
---|
122 | * @var string
|
---|
123 | */
|
---|
124 | public $operationalStatus;
|
---|
125 | /**
|
---|
126 | * @var string
|
---|
127 | */
|
---|
128 | public $pairingKey;
|
---|
129 | /**
|
---|
130 | * @var string
|
---|
131 | */
|
---|
132 | public $partnerAsn;
|
---|
133 | protected $partnerMetadataType = InterconnectAttachmentPartnerMetadata::class;
|
---|
134 | protected $partnerMetadataDataType = '';
|
---|
135 | protected $privateInterconnectInfoType = InterconnectAttachmentPrivateInfo::class;
|
---|
136 | protected $privateInterconnectInfoDataType = '';
|
---|
137 | /**
|
---|
138 | * @var string
|
---|
139 | */
|
---|
140 | public $region;
|
---|
141 | /**
|
---|
142 | * @var string
|
---|
143 | */
|
---|
144 | public $remoteService;
|
---|
145 | /**
|
---|
146 | * @var string
|
---|
147 | */
|
---|
148 | public $router;
|
---|
149 | /**
|
---|
150 | * @var bool
|
---|
151 | */
|
---|
152 | public $satisfiesPzs;
|
---|
153 | /**
|
---|
154 | * @var string
|
---|
155 | */
|
---|
156 | public $selfLink;
|
---|
157 | /**
|
---|
158 | * @var string
|
---|
159 | */
|
---|
160 | public $stackType;
|
---|
161 | /**
|
---|
162 | * @var string
|
---|
163 | */
|
---|
164 | public $state;
|
---|
165 | /**
|
---|
166 | * @var int
|
---|
167 | */
|
---|
168 | public $subnetLength;
|
---|
169 | /**
|
---|
170 | * @var string
|
---|
171 | */
|
---|
172 | public $type;
|
---|
173 | /**
|
---|
174 | * @var int
|
---|
175 | */
|
---|
176 | public $vlanTag8021q;
|
---|
177 |
|
---|
178 | /**
|
---|
179 | * @param bool
|
---|
180 | */
|
---|
181 | public function setAdminEnabled($adminEnabled)
|
---|
182 | {
|
---|
183 | $this->adminEnabled = $adminEnabled;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @return bool
|
---|
187 | */
|
---|
188 | public function getAdminEnabled()
|
---|
189 | {
|
---|
190 | return $this->adminEnabled;
|
---|
191 | }
|
---|
192 | /**
|
---|
193 | * @param string
|
---|
194 | */
|
---|
195 | public function setBandwidth($bandwidth)
|
---|
196 | {
|
---|
197 | $this->bandwidth = $bandwidth;
|
---|
198 | }
|
---|
199 | /**
|
---|
200 | * @return string
|
---|
201 | */
|
---|
202 | public function getBandwidth()
|
---|
203 | {
|
---|
204 | return $this->bandwidth;
|
---|
205 | }
|
---|
206 | /**
|
---|
207 | * @param string[]
|
---|
208 | */
|
---|
209 | public function setCandidateIpv6Subnets($candidateIpv6Subnets)
|
---|
210 | {
|
---|
211 | $this->candidateIpv6Subnets = $candidateIpv6Subnets;
|
---|
212 | }
|
---|
213 | /**
|
---|
214 | * @return string[]
|
---|
215 | */
|
---|
216 | public function getCandidateIpv6Subnets()
|
---|
217 | {
|
---|
218 | return $this->candidateIpv6Subnets;
|
---|
219 | }
|
---|
220 | /**
|
---|
221 | * @param string[]
|
---|
222 | */
|
---|
223 | public function setCandidateSubnets($candidateSubnets)
|
---|
224 | {
|
---|
225 | $this->candidateSubnets = $candidateSubnets;
|
---|
226 | }
|
---|
227 | /**
|
---|
228 | * @return string[]
|
---|
229 | */
|
---|
230 | public function getCandidateSubnets()
|
---|
231 | {
|
---|
232 | return $this->candidateSubnets;
|
---|
233 | }
|
---|
234 | /**
|
---|
235 | * @param string
|
---|
236 | */
|
---|
237 | public function setCloudRouterIpAddress($cloudRouterIpAddress)
|
---|
238 | {
|
---|
239 | $this->cloudRouterIpAddress = $cloudRouterIpAddress;
|
---|
240 | }
|
---|
241 | /**
|
---|
242 | * @return string
|
---|
243 | */
|
---|
244 | public function getCloudRouterIpAddress()
|
---|
245 | {
|
---|
246 | return $this->cloudRouterIpAddress;
|
---|
247 | }
|
---|
248 | /**
|
---|
249 | * @param string
|
---|
250 | */
|
---|
251 | public function setCloudRouterIpv6Address($cloudRouterIpv6Address)
|
---|
252 | {
|
---|
253 | $this->cloudRouterIpv6Address = $cloudRouterIpv6Address;
|
---|
254 | }
|
---|
255 | /**
|
---|
256 | * @return string
|
---|
257 | */
|
---|
258 | public function getCloudRouterIpv6Address()
|
---|
259 | {
|
---|
260 | return $this->cloudRouterIpv6Address;
|
---|
261 | }
|
---|
262 | /**
|
---|
263 | * @param string
|
---|
264 | */
|
---|
265 | public function setCloudRouterIpv6InterfaceId($cloudRouterIpv6InterfaceId)
|
---|
266 | {
|
---|
267 | $this->cloudRouterIpv6InterfaceId = $cloudRouterIpv6InterfaceId;
|
---|
268 | }
|
---|
269 | /**
|
---|
270 | * @return string
|
---|
271 | */
|
---|
272 | public function getCloudRouterIpv6InterfaceId()
|
---|
273 | {
|
---|
274 | return $this->cloudRouterIpv6InterfaceId;
|
---|
275 | }
|
---|
276 | /**
|
---|
277 | * @param InterconnectAttachmentConfigurationConstraints
|
---|
278 | */
|
---|
279 | public function setConfigurationConstraints(InterconnectAttachmentConfigurationConstraints $configurationConstraints)
|
---|
280 | {
|
---|
281 | $this->configurationConstraints = $configurationConstraints;
|
---|
282 | }
|
---|
283 | /**
|
---|
284 | * @return InterconnectAttachmentConfigurationConstraints
|
---|
285 | */
|
---|
286 | public function getConfigurationConstraints()
|
---|
287 | {
|
---|
288 | return $this->configurationConstraints;
|
---|
289 | }
|
---|
290 | /**
|
---|
291 | * @param string
|
---|
292 | */
|
---|
293 | public function setCreationTimestamp($creationTimestamp)
|
---|
294 | {
|
---|
295 | $this->creationTimestamp = $creationTimestamp;
|
---|
296 | }
|
---|
297 | /**
|
---|
298 | * @return string
|
---|
299 | */
|
---|
300 | public function getCreationTimestamp()
|
---|
301 | {
|
---|
302 | return $this->creationTimestamp;
|
---|
303 | }
|
---|
304 | /**
|
---|
305 | * @param string
|
---|
306 | */
|
---|
307 | public function setCustomerRouterIpAddress($customerRouterIpAddress)
|
---|
308 | {
|
---|
309 | $this->customerRouterIpAddress = $customerRouterIpAddress;
|
---|
310 | }
|
---|
311 | /**
|
---|
312 | * @return string
|
---|
313 | */
|
---|
314 | public function getCustomerRouterIpAddress()
|
---|
315 | {
|
---|
316 | return $this->customerRouterIpAddress;
|
---|
317 | }
|
---|
318 | /**
|
---|
319 | * @param string
|
---|
320 | */
|
---|
321 | public function setCustomerRouterIpv6Address($customerRouterIpv6Address)
|
---|
322 | {
|
---|
323 | $this->customerRouterIpv6Address = $customerRouterIpv6Address;
|
---|
324 | }
|
---|
325 | /**
|
---|
326 | * @return string
|
---|
327 | */
|
---|
328 | public function getCustomerRouterIpv6Address()
|
---|
329 | {
|
---|
330 | return $this->customerRouterIpv6Address;
|
---|
331 | }
|
---|
332 | /**
|
---|
333 | * @param string
|
---|
334 | */
|
---|
335 | public function setCustomerRouterIpv6InterfaceId($customerRouterIpv6InterfaceId)
|
---|
336 | {
|
---|
337 | $this->customerRouterIpv6InterfaceId = $customerRouterIpv6InterfaceId;
|
---|
338 | }
|
---|
339 | /**
|
---|
340 | * @return string
|
---|
341 | */
|
---|
342 | public function getCustomerRouterIpv6InterfaceId()
|
---|
343 | {
|
---|
344 | return $this->customerRouterIpv6InterfaceId;
|
---|
345 | }
|
---|
346 | /**
|
---|
347 | * @param int
|
---|
348 | */
|
---|
349 | public function setDataplaneVersion($dataplaneVersion)
|
---|
350 | {
|
---|
351 | $this->dataplaneVersion = $dataplaneVersion;
|
---|
352 | }
|
---|
353 | /**
|
---|
354 | * @return int
|
---|
355 | */
|
---|
356 | public function getDataplaneVersion()
|
---|
357 | {
|
---|
358 | return $this->dataplaneVersion;
|
---|
359 | }
|
---|
360 | /**
|
---|
361 | * @param string
|
---|
362 | */
|
---|
363 | public function setDescription($description)
|
---|
364 | {
|
---|
365 | $this->description = $description;
|
---|
366 | }
|
---|
367 | /**
|
---|
368 | * @return string
|
---|
369 | */
|
---|
370 | public function getDescription()
|
---|
371 | {
|
---|
372 | return $this->description;
|
---|
373 | }
|
---|
374 | /**
|
---|
375 | * @param string
|
---|
376 | */
|
---|
377 | public function setEdgeAvailabilityDomain($edgeAvailabilityDomain)
|
---|
378 | {
|
---|
379 | $this->edgeAvailabilityDomain = $edgeAvailabilityDomain;
|
---|
380 | }
|
---|
381 | /**
|
---|
382 | * @return string
|
---|
383 | */
|
---|
384 | public function getEdgeAvailabilityDomain()
|
---|
385 | {
|
---|
386 | return $this->edgeAvailabilityDomain;
|
---|
387 | }
|
---|
388 | /**
|
---|
389 | * @param string
|
---|
390 | */
|
---|
391 | public function setEncryption($encryption)
|
---|
392 | {
|
---|
393 | $this->encryption = $encryption;
|
---|
394 | }
|
---|
395 | /**
|
---|
396 | * @return string
|
---|
397 | */
|
---|
398 | public function getEncryption()
|
---|
399 | {
|
---|
400 | return $this->encryption;
|
---|
401 | }
|
---|
402 | /**
|
---|
403 | * @param string
|
---|
404 | */
|
---|
405 | public function setGoogleReferenceId($googleReferenceId)
|
---|
406 | {
|
---|
407 | $this->googleReferenceId = $googleReferenceId;
|
---|
408 | }
|
---|
409 | /**
|
---|
410 | * @return string
|
---|
411 | */
|
---|
412 | public function getGoogleReferenceId()
|
---|
413 | {
|
---|
414 | return $this->googleReferenceId;
|
---|
415 | }
|
---|
416 | /**
|
---|
417 | * @param string
|
---|
418 | */
|
---|
419 | public function setId($id)
|
---|
420 | {
|
---|
421 | $this->id = $id;
|
---|
422 | }
|
---|
423 | /**
|
---|
424 | * @return string
|
---|
425 | */
|
---|
426 | public function getId()
|
---|
427 | {
|
---|
428 | return $this->id;
|
---|
429 | }
|
---|
430 | /**
|
---|
431 | * @param string
|
---|
432 | */
|
---|
433 | public function setInterconnect($interconnect)
|
---|
434 | {
|
---|
435 | $this->interconnect = $interconnect;
|
---|
436 | }
|
---|
437 | /**
|
---|
438 | * @return string
|
---|
439 | */
|
---|
440 | public function getInterconnect()
|
---|
441 | {
|
---|
442 | return $this->interconnect;
|
---|
443 | }
|
---|
444 | /**
|
---|
445 | * @param string[]
|
---|
446 | */
|
---|
447 | public function setIpsecInternalAddresses($ipsecInternalAddresses)
|
---|
448 | {
|
---|
449 | $this->ipsecInternalAddresses = $ipsecInternalAddresses;
|
---|
450 | }
|
---|
451 | /**
|
---|
452 | * @return string[]
|
---|
453 | */
|
---|
454 | public function getIpsecInternalAddresses()
|
---|
455 | {
|
---|
456 | return $this->ipsecInternalAddresses;
|
---|
457 | }
|
---|
458 | /**
|
---|
459 | * @param string
|
---|
460 | */
|
---|
461 | public function setKind($kind)
|
---|
462 | {
|
---|
463 | $this->kind = $kind;
|
---|
464 | }
|
---|
465 | /**
|
---|
466 | * @return string
|
---|
467 | */
|
---|
468 | public function getKind()
|
---|
469 | {
|
---|
470 | return $this->kind;
|
---|
471 | }
|
---|
472 | /**
|
---|
473 | * @param string
|
---|
474 | */
|
---|
475 | public function setLabelFingerprint($labelFingerprint)
|
---|
476 | {
|
---|
477 | $this->labelFingerprint = $labelFingerprint;
|
---|
478 | }
|
---|
479 | /**
|
---|
480 | * @return string
|
---|
481 | */
|
---|
482 | public function getLabelFingerprint()
|
---|
483 | {
|
---|
484 | return $this->labelFingerprint;
|
---|
485 | }
|
---|
486 | /**
|
---|
487 | * @param string[]
|
---|
488 | */
|
---|
489 | public function setLabels($labels)
|
---|
490 | {
|
---|
491 | $this->labels = $labels;
|
---|
492 | }
|
---|
493 | /**
|
---|
494 | * @return string[]
|
---|
495 | */
|
---|
496 | public function getLabels()
|
---|
497 | {
|
---|
498 | return $this->labels;
|
---|
499 | }
|
---|
500 | /**
|
---|
501 | * @param int
|
---|
502 | */
|
---|
503 | public function setMtu($mtu)
|
---|
504 | {
|
---|
505 | $this->mtu = $mtu;
|
---|
506 | }
|
---|
507 | /**
|
---|
508 | * @return int
|
---|
509 | */
|
---|
510 | public function getMtu()
|
---|
511 | {
|
---|
512 | return $this->mtu;
|
---|
513 | }
|
---|
514 | /**
|
---|
515 | * @param string
|
---|
516 | */
|
---|
517 | public function setName($name)
|
---|
518 | {
|
---|
519 | $this->name = $name;
|
---|
520 | }
|
---|
521 | /**
|
---|
522 | * @return string
|
---|
523 | */
|
---|
524 | public function getName()
|
---|
525 | {
|
---|
526 | return $this->name;
|
---|
527 | }
|
---|
528 | /**
|
---|
529 | * @param string
|
---|
530 | */
|
---|
531 | public function setOperationalStatus($operationalStatus)
|
---|
532 | {
|
---|
533 | $this->operationalStatus = $operationalStatus;
|
---|
534 | }
|
---|
535 | /**
|
---|
536 | * @return string
|
---|
537 | */
|
---|
538 | public function getOperationalStatus()
|
---|
539 | {
|
---|
540 | return $this->operationalStatus;
|
---|
541 | }
|
---|
542 | /**
|
---|
543 | * @param string
|
---|
544 | */
|
---|
545 | public function setPairingKey($pairingKey)
|
---|
546 | {
|
---|
547 | $this->pairingKey = $pairingKey;
|
---|
548 | }
|
---|
549 | /**
|
---|
550 | * @return string
|
---|
551 | */
|
---|
552 | public function getPairingKey()
|
---|
553 | {
|
---|
554 | return $this->pairingKey;
|
---|
555 | }
|
---|
556 | /**
|
---|
557 | * @param string
|
---|
558 | */
|
---|
559 | public function setPartnerAsn($partnerAsn)
|
---|
560 | {
|
---|
561 | $this->partnerAsn = $partnerAsn;
|
---|
562 | }
|
---|
563 | /**
|
---|
564 | * @return string
|
---|
565 | */
|
---|
566 | public function getPartnerAsn()
|
---|
567 | {
|
---|
568 | return $this->partnerAsn;
|
---|
569 | }
|
---|
570 | /**
|
---|
571 | * @param InterconnectAttachmentPartnerMetadata
|
---|
572 | */
|
---|
573 | public function setPartnerMetadata(InterconnectAttachmentPartnerMetadata $partnerMetadata)
|
---|
574 | {
|
---|
575 | $this->partnerMetadata = $partnerMetadata;
|
---|
576 | }
|
---|
577 | /**
|
---|
578 | * @return InterconnectAttachmentPartnerMetadata
|
---|
579 | */
|
---|
580 | public function getPartnerMetadata()
|
---|
581 | {
|
---|
582 | return $this->partnerMetadata;
|
---|
583 | }
|
---|
584 | /**
|
---|
585 | * @param InterconnectAttachmentPrivateInfo
|
---|
586 | */
|
---|
587 | public function setPrivateInterconnectInfo(InterconnectAttachmentPrivateInfo $privateInterconnectInfo)
|
---|
588 | {
|
---|
589 | $this->privateInterconnectInfo = $privateInterconnectInfo;
|
---|
590 | }
|
---|
591 | /**
|
---|
592 | * @return InterconnectAttachmentPrivateInfo
|
---|
593 | */
|
---|
594 | public function getPrivateInterconnectInfo()
|
---|
595 | {
|
---|
596 | return $this->privateInterconnectInfo;
|
---|
597 | }
|
---|
598 | /**
|
---|
599 | * @param string
|
---|
600 | */
|
---|
601 | public function setRegion($region)
|
---|
602 | {
|
---|
603 | $this->region = $region;
|
---|
604 | }
|
---|
605 | /**
|
---|
606 | * @return string
|
---|
607 | */
|
---|
608 | public function getRegion()
|
---|
609 | {
|
---|
610 | return $this->region;
|
---|
611 | }
|
---|
612 | /**
|
---|
613 | * @param string
|
---|
614 | */
|
---|
615 | public function setRemoteService($remoteService)
|
---|
616 | {
|
---|
617 | $this->remoteService = $remoteService;
|
---|
618 | }
|
---|
619 | /**
|
---|
620 | * @return string
|
---|
621 | */
|
---|
622 | public function getRemoteService()
|
---|
623 | {
|
---|
624 | return $this->remoteService;
|
---|
625 | }
|
---|
626 | /**
|
---|
627 | * @param string
|
---|
628 | */
|
---|
629 | public function setRouter($router)
|
---|
630 | {
|
---|
631 | $this->router = $router;
|
---|
632 | }
|
---|
633 | /**
|
---|
634 | * @return string
|
---|
635 | */
|
---|
636 | public function getRouter()
|
---|
637 | {
|
---|
638 | return $this->router;
|
---|
639 | }
|
---|
640 | /**
|
---|
641 | * @param bool
|
---|
642 | */
|
---|
643 | public function setSatisfiesPzs($satisfiesPzs)
|
---|
644 | {
|
---|
645 | $this->satisfiesPzs = $satisfiesPzs;
|
---|
646 | }
|
---|
647 | /**
|
---|
648 | * @return bool
|
---|
649 | */
|
---|
650 | public function getSatisfiesPzs()
|
---|
651 | {
|
---|
652 | return $this->satisfiesPzs;
|
---|
653 | }
|
---|
654 | /**
|
---|
655 | * @param string
|
---|
656 | */
|
---|
657 | public function setSelfLink($selfLink)
|
---|
658 | {
|
---|
659 | $this->selfLink = $selfLink;
|
---|
660 | }
|
---|
661 | /**
|
---|
662 | * @return string
|
---|
663 | */
|
---|
664 | public function getSelfLink()
|
---|
665 | {
|
---|
666 | return $this->selfLink;
|
---|
667 | }
|
---|
668 | /**
|
---|
669 | * @param string
|
---|
670 | */
|
---|
671 | public function setStackType($stackType)
|
---|
672 | {
|
---|
673 | $this->stackType = $stackType;
|
---|
674 | }
|
---|
675 | /**
|
---|
676 | * @return string
|
---|
677 | */
|
---|
678 | public function getStackType()
|
---|
679 | {
|
---|
680 | return $this->stackType;
|
---|
681 | }
|
---|
682 | /**
|
---|
683 | * @param string
|
---|
684 | */
|
---|
685 | public function setState($state)
|
---|
686 | {
|
---|
687 | $this->state = $state;
|
---|
688 | }
|
---|
689 | /**
|
---|
690 | * @return string
|
---|
691 | */
|
---|
692 | public function getState()
|
---|
693 | {
|
---|
694 | return $this->state;
|
---|
695 | }
|
---|
696 | /**
|
---|
697 | * @param int
|
---|
698 | */
|
---|
699 | public function setSubnetLength($subnetLength)
|
---|
700 | {
|
---|
701 | $this->subnetLength = $subnetLength;
|
---|
702 | }
|
---|
703 | /**
|
---|
704 | * @return int
|
---|
705 | */
|
---|
706 | public function getSubnetLength()
|
---|
707 | {
|
---|
708 | return $this->subnetLength;
|
---|
709 | }
|
---|
710 | /**
|
---|
711 | * @param string
|
---|
712 | */
|
---|
713 | public function setType($type)
|
---|
714 | {
|
---|
715 | $this->type = $type;
|
---|
716 | }
|
---|
717 | /**
|
---|
718 | * @return string
|
---|
719 | */
|
---|
720 | public function getType()
|
---|
721 | {
|
---|
722 | return $this->type;
|
---|
723 | }
|
---|
724 | /**
|
---|
725 | * @param int
|
---|
726 | */
|
---|
727 | public function setVlanTag8021q($vlanTag8021q)
|
---|
728 | {
|
---|
729 | $this->vlanTag8021q = $vlanTag8021q;
|
---|
730 | }
|
---|
731 | /**
|
---|
732 | * @return int
|
---|
733 | */
|
---|
734 | public function getVlanTag8021q()
|
---|
735 | {
|
---|
736 | return $this->vlanTag8021q;
|
---|
737 | }
|
---|
738 | }
|
---|
739 |
|
---|
740 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
741 | class_alias(InterconnectAttachment::class, 'Google_Service_Compute_InterconnectAttachment');
|
---|