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