[e3d4e0a] | 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 VpnTunnel extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'remoteTrafficSelector';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $creationTimestamp;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $description;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $detailedStatus;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $id;
|
---|
| 39 | /**
|
---|
| 40 | * @var int
|
---|
| 41 | */
|
---|
| 42 | public $ikeVersion;
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $kind;
|
---|
| 47 | /**
|
---|
| 48 | * @var string
|
---|
| 49 | */
|
---|
| 50 | public $labelFingerprint;
|
---|
| 51 | /**
|
---|
| 52 | * @var string[]
|
---|
| 53 | */
|
---|
| 54 | public $labels;
|
---|
| 55 | /**
|
---|
| 56 | * @var string[]
|
---|
| 57 | */
|
---|
| 58 | public $localTrafficSelector;
|
---|
| 59 | /**
|
---|
| 60 | * @var string
|
---|
| 61 | */
|
---|
| 62 | public $name;
|
---|
| 63 | /**
|
---|
| 64 | * @var string
|
---|
| 65 | */
|
---|
| 66 | public $peerExternalGateway;
|
---|
| 67 | /**
|
---|
| 68 | * @var int
|
---|
| 69 | */
|
---|
| 70 | public $peerExternalGatewayInterface;
|
---|
| 71 | /**
|
---|
| 72 | * @var string
|
---|
| 73 | */
|
---|
| 74 | public $peerGcpGateway;
|
---|
| 75 | /**
|
---|
| 76 | * @var string
|
---|
| 77 | */
|
---|
| 78 | public $peerIp;
|
---|
| 79 | /**
|
---|
| 80 | * @var string
|
---|
| 81 | */
|
---|
| 82 | public $region;
|
---|
| 83 | /**
|
---|
| 84 | * @var string[]
|
---|
| 85 | */
|
---|
| 86 | public $remoteTrafficSelector;
|
---|
| 87 | /**
|
---|
| 88 | * @var string
|
---|
| 89 | */
|
---|
| 90 | public $router;
|
---|
| 91 | /**
|
---|
| 92 | * @var string
|
---|
| 93 | */
|
---|
| 94 | public $selfLink;
|
---|
| 95 | /**
|
---|
| 96 | * @var string
|
---|
| 97 | */
|
---|
| 98 | public $sharedSecret;
|
---|
| 99 | /**
|
---|
| 100 | * @var string
|
---|
| 101 | */
|
---|
| 102 | public $sharedSecretHash;
|
---|
| 103 | /**
|
---|
| 104 | * @var string
|
---|
| 105 | */
|
---|
| 106 | public $status;
|
---|
| 107 | /**
|
---|
| 108 | * @var string
|
---|
| 109 | */
|
---|
| 110 | public $targetVpnGateway;
|
---|
| 111 | /**
|
---|
| 112 | * @var string
|
---|
| 113 | */
|
---|
| 114 | public $vpnGateway;
|
---|
| 115 | /**
|
---|
| 116 | * @var int
|
---|
| 117 | */
|
---|
| 118 | public $vpnGatewayInterface;
|
---|
| 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 string
|
---|
| 150 | */
|
---|
| 151 | public function setDetailedStatus($detailedStatus)
|
---|
| 152 | {
|
---|
| 153 | $this->detailedStatus = $detailedStatus;
|
---|
| 154 | }
|
---|
| 155 | /**
|
---|
| 156 | * @return string
|
---|
| 157 | */
|
---|
| 158 | public function getDetailedStatus()
|
---|
| 159 | {
|
---|
| 160 | return $this->detailedStatus;
|
---|
| 161 | }
|
---|
| 162 | /**
|
---|
| 163 | * @param string
|
---|
| 164 | */
|
---|
| 165 | public function setId($id)
|
---|
| 166 | {
|
---|
| 167 | $this->id = $id;
|
---|
| 168 | }
|
---|
| 169 | /**
|
---|
| 170 | * @return string
|
---|
| 171 | */
|
---|
| 172 | public function getId()
|
---|
| 173 | {
|
---|
| 174 | return $this->id;
|
---|
| 175 | }
|
---|
| 176 | /**
|
---|
| 177 | * @param int
|
---|
| 178 | */
|
---|
| 179 | public function setIkeVersion($ikeVersion)
|
---|
| 180 | {
|
---|
| 181 | $this->ikeVersion = $ikeVersion;
|
---|
| 182 | }
|
---|
| 183 | /**
|
---|
| 184 | * @return int
|
---|
| 185 | */
|
---|
| 186 | public function getIkeVersion()
|
---|
| 187 | {
|
---|
| 188 | return $this->ikeVersion;
|
---|
| 189 | }
|
---|
| 190 | /**
|
---|
| 191 | * @param string
|
---|
| 192 | */
|
---|
| 193 | public function setKind($kind)
|
---|
| 194 | {
|
---|
| 195 | $this->kind = $kind;
|
---|
| 196 | }
|
---|
| 197 | /**
|
---|
| 198 | * @return string
|
---|
| 199 | */
|
---|
| 200 | public function getKind()
|
---|
| 201 | {
|
---|
| 202 | return $this->kind;
|
---|
| 203 | }
|
---|
| 204 | /**
|
---|
| 205 | * @param string
|
---|
| 206 | */
|
---|
| 207 | public function setLabelFingerprint($labelFingerprint)
|
---|
| 208 | {
|
---|
| 209 | $this->labelFingerprint = $labelFingerprint;
|
---|
| 210 | }
|
---|
| 211 | /**
|
---|
| 212 | * @return string
|
---|
| 213 | */
|
---|
| 214 | public function getLabelFingerprint()
|
---|
| 215 | {
|
---|
| 216 | return $this->labelFingerprint;
|
---|
| 217 | }
|
---|
| 218 | /**
|
---|
| 219 | * @param string[]
|
---|
| 220 | */
|
---|
| 221 | public function setLabels($labels)
|
---|
| 222 | {
|
---|
| 223 | $this->labels = $labels;
|
---|
| 224 | }
|
---|
| 225 | /**
|
---|
| 226 | * @return string[]
|
---|
| 227 | */
|
---|
| 228 | public function getLabels()
|
---|
| 229 | {
|
---|
| 230 | return $this->labels;
|
---|
| 231 | }
|
---|
| 232 | /**
|
---|
| 233 | * @param string[]
|
---|
| 234 | */
|
---|
| 235 | public function setLocalTrafficSelector($localTrafficSelector)
|
---|
| 236 | {
|
---|
| 237 | $this->localTrafficSelector = $localTrafficSelector;
|
---|
| 238 | }
|
---|
| 239 | /**
|
---|
| 240 | * @return string[]
|
---|
| 241 | */
|
---|
| 242 | public function getLocalTrafficSelector()
|
---|
| 243 | {
|
---|
| 244 | return $this->localTrafficSelector;
|
---|
| 245 | }
|
---|
| 246 | /**
|
---|
| 247 | * @param string
|
---|
| 248 | */
|
---|
| 249 | public function setName($name)
|
---|
| 250 | {
|
---|
| 251 | $this->name = $name;
|
---|
| 252 | }
|
---|
| 253 | /**
|
---|
| 254 | * @return string
|
---|
| 255 | */
|
---|
| 256 | public function getName()
|
---|
| 257 | {
|
---|
| 258 | return $this->name;
|
---|
| 259 | }
|
---|
| 260 | /**
|
---|
| 261 | * @param string
|
---|
| 262 | */
|
---|
| 263 | public function setPeerExternalGateway($peerExternalGateway)
|
---|
| 264 | {
|
---|
| 265 | $this->peerExternalGateway = $peerExternalGateway;
|
---|
| 266 | }
|
---|
| 267 | /**
|
---|
| 268 | * @return string
|
---|
| 269 | */
|
---|
| 270 | public function getPeerExternalGateway()
|
---|
| 271 | {
|
---|
| 272 | return $this->peerExternalGateway;
|
---|
| 273 | }
|
---|
| 274 | /**
|
---|
| 275 | * @param int
|
---|
| 276 | */
|
---|
| 277 | public function setPeerExternalGatewayInterface($peerExternalGatewayInterface)
|
---|
| 278 | {
|
---|
| 279 | $this->peerExternalGatewayInterface = $peerExternalGatewayInterface;
|
---|
| 280 | }
|
---|
| 281 | /**
|
---|
| 282 | * @return int
|
---|
| 283 | */
|
---|
| 284 | public function getPeerExternalGatewayInterface()
|
---|
| 285 | {
|
---|
| 286 | return $this->peerExternalGatewayInterface;
|
---|
| 287 | }
|
---|
| 288 | /**
|
---|
| 289 | * @param string
|
---|
| 290 | */
|
---|
| 291 | public function setPeerGcpGateway($peerGcpGateway)
|
---|
| 292 | {
|
---|
| 293 | $this->peerGcpGateway = $peerGcpGateway;
|
---|
| 294 | }
|
---|
| 295 | /**
|
---|
| 296 | * @return string
|
---|
| 297 | */
|
---|
| 298 | public function getPeerGcpGateway()
|
---|
| 299 | {
|
---|
| 300 | return $this->peerGcpGateway;
|
---|
| 301 | }
|
---|
| 302 | /**
|
---|
| 303 | * @param string
|
---|
| 304 | */
|
---|
| 305 | public function setPeerIp($peerIp)
|
---|
| 306 | {
|
---|
| 307 | $this->peerIp = $peerIp;
|
---|
| 308 | }
|
---|
| 309 | /**
|
---|
| 310 | * @return string
|
---|
| 311 | */
|
---|
| 312 | public function getPeerIp()
|
---|
| 313 | {
|
---|
| 314 | return $this->peerIp;
|
---|
| 315 | }
|
---|
| 316 | /**
|
---|
| 317 | * @param string
|
---|
| 318 | */
|
---|
| 319 | public function setRegion($region)
|
---|
| 320 | {
|
---|
| 321 | $this->region = $region;
|
---|
| 322 | }
|
---|
| 323 | /**
|
---|
| 324 | * @return string
|
---|
| 325 | */
|
---|
| 326 | public function getRegion()
|
---|
| 327 | {
|
---|
| 328 | return $this->region;
|
---|
| 329 | }
|
---|
| 330 | /**
|
---|
| 331 | * @param string[]
|
---|
| 332 | */
|
---|
| 333 | public function setRemoteTrafficSelector($remoteTrafficSelector)
|
---|
| 334 | {
|
---|
| 335 | $this->remoteTrafficSelector = $remoteTrafficSelector;
|
---|
| 336 | }
|
---|
| 337 | /**
|
---|
| 338 | * @return string[]
|
---|
| 339 | */
|
---|
| 340 | public function getRemoteTrafficSelector()
|
---|
| 341 | {
|
---|
| 342 | return $this->remoteTrafficSelector;
|
---|
| 343 | }
|
---|
| 344 | /**
|
---|
| 345 | * @param string
|
---|
| 346 | */
|
---|
| 347 | public function setRouter($router)
|
---|
| 348 | {
|
---|
| 349 | $this->router = $router;
|
---|
| 350 | }
|
---|
| 351 | /**
|
---|
| 352 | * @return string
|
---|
| 353 | */
|
---|
| 354 | public function getRouter()
|
---|
| 355 | {
|
---|
| 356 | return $this->router;
|
---|
| 357 | }
|
---|
| 358 | /**
|
---|
| 359 | * @param string
|
---|
| 360 | */
|
---|
| 361 | public function setSelfLink($selfLink)
|
---|
| 362 | {
|
---|
| 363 | $this->selfLink = $selfLink;
|
---|
| 364 | }
|
---|
| 365 | /**
|
---|
| 366 | * @return string
|
---|
| 367 | */
|
---|
| 368 | public function getSelfLink()
|
---|
| 369 | {
|
---|
| 370 | return $this->selfLink;
|
---|
| 371 | }
|
---|
| 372 | /**
|
---|
| 373 | * @param string
|
---|
| 374 | */
|
---|
| 375 | public function setSharedSecret($sharedSecret)
|
---|
| 376 | {
|
---|
| 377 | $this->sharedSecret = $sharedSecret;
|
---|
| 378 | }
|
---|
| 379 | /**
|
---|
| 380 | * @return string
|
---|
| 381 | */
|
---|
| 382 | public function getSharedSecret()
|
---|
| 383 | {
|
---|
| 384 | return $this->sharedSecret;
|
---|
| 385 | }
|
---|
| 386 | /**
|
---|
| 387 | * @param string
|
---|
| 388 | */
|
---|
| 389 | public function setSharedSecretHash($sharedSecretHash)
|
---|
| 390 | {
|
---|
| 391 | $this->sharedSecretHash = $sharedSecretHash;
|
---|
| 392 | }
|
---|
| 393 | /**
|
---|
| 394 | * @return string
|
---|
| 395 | */
|
---|
| 396 | public function getSharedSecretHash()
|
---|
| 397 | {
|
---|
| 398 | return $this->sharedSecretHash;
|
---|
| 399 | }
|
---|
| 400 | /**
|
---|
| 401 | * @param string
|
---|
| 402 | */
|
---|
| 403 | public function setStatus($status)
|
---|
| 404 | {
|
---|
| 405 | $this->status = $status;
|
---|
| 406 | }
|
---|
| 407 | /**
|
---|
| 408 | * @return string
|
---|
| 409 | */
|
---|
| 410 | public function getStatus()
|
---|
| 411 | {
|
---|
| 412 | return $this->status;
|
---|
| 413 | }
|
---|
| 414 | /**
|
---|
| 415 | * @param string
|
---|
| 416 | */
|
---|
| 417 | public function setTargetVpnGateway($targetVpnGateway)
|
---|
| 418 | {
|
---|
| 419 | $this->targetVpnGateway = $targetVpnGateway;
|
---|
| 420 | }
|
---|
| 421 | /**
|
---|
| 422 | * @return string
|
---|
| 423 | */
|
---|
| 424 | public function getTargetVpnGateway()
|
---|
| 425 | {
|
---|
| 426 | return $this->targetVpnGateway;
|
---|
| 427 | }
|
---|
| 428 | /**
|
---|
| 429 | * @param string
|
---|
| 430 | */
|
---|
| 431 | public function setVpnGateway($vpnGateway)
|
---|
| 432 | {
|
---|
| 433 | $this->vpnGateway = $vpnGateway;
|
---|
| 434 | }
|
---|
| 435 | /**
|
---|
| 436 | * @return string
|
---|
| 437 | */
|
---|
| 438 | public function getVpnGateway()
|
---|
| 439 | {
|
---|
| 440 | return $this->vpnGateway;
|
---|
| 441 | }
|
---|
| 442 | /**
|
---|
| 443 | * @param int
|
---|
| 444 | */
|
---|
| 445 | public function setVpnGatewayInterface($vpnGatewayInterface)
|
---|
| 446 | {
|
---|
| 447 | $this->vpnGatewayInterface = $vpnGatewayInterface;
|
---|
| 448 | }
|
---|
| 449 | /**
|
---|
| 450 | * @return int
|
---|
| 451 | */
|
---|
| 452 | public function getVpnGatewayInterface()
|
---|
| 453 | {
|
---|
| 454 | return $this->vpnGatewayInterface;
|
---|
| 455 | }
|
---|
| 456 | }
|
---|
| 457 |
|
---|
| 458 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 459 | class_alias(VpnTunnel::class, 'Google_Service_Compute_VpnTunnel');
|
---|