source: vendor/google/apiclient-services/src/Compute/ForwardingRule.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: 11.1 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 ForwardingRule extends \Google\Collection
21{
22 protected $collection_key = 'sourceIpRanges';
23 protected $internal_gapi_mappings = [
24 "iPAddress" => "IPAddress",
25 "iPProtocol" => "IPProtocol",
26 ];
27 /**
28 * @var string
29 */
30 public $iPAddress;
31 /**
32 * @var string
33 */
34 public $iPProtocol;
35 /**
36 * @var bool
37 */
38 public $allPorts;
39 /**
40 * @var bool
41 */
42 public $allowGlobalAccess;
43 /**
44 * @var bool
45 */
46 public $allowPscGlobalAccess;
47 /**
48 * @var string
49 */
50 public $backendService;
51 /**
52 * @var string
53 */
54 public $baseForwardingRule;
55 /**
56 * @var string
57 */
58 public $creationTimestamp;
59 /**
60 * @var string
61 */
62 public $description;
63 /**
64 * @var string
65 */
66 public $fingerprint;
67 /**
68 * @var string
69 */
70 public $id;
71 /**
72 * @var string
73 */
74 public $ipCollection;
75 /**
76 * @var string
77 */
78 public $ipVersion;
79 /**
80 * @var bool
81 */
82 public $isMirroringCollector;
83 /**
84 * @var string
85 */
86 public $kind;
87 /**
88 * @var string
89 */
90 public $labelFingerprint;
91 /**
92 * @var string[]
93 */
94 public $labels;
95 /**
96 * @var string
97 */
98 public $loadBalancingScheme;
99 protected $metadataFiltersType = MetadataFilter::class;
100 protected $metadataFiltersDataType = 'array';
101 /**
102 * @var string
103 */
104 public $name;
105 /**
106 * @var string
107 */
108 public $network;
109 /**
110 * @var string
111 */
112 public $networkTier;
113 /**
114 * @var bool
115 */
116 public $noAutomateDnsZone;
117 /**
118 * @var string
119 */
120 public $portRange;
121 /**
122 * @var string[]
123 */
124 public $ports;
125 /**
126 * @var string
127 */
128 public $pscConnectionId;
129 /**
130 * @var string
131 */
132 public $pscConnectionStatus;
133 /**
134 * @var string
135 */
136 public $region;
137 /**
138 * @var string
139 */
140 public $selfLink;
141 protected $serviceDirectoryRegistrationsType = ForwardingRuleServiceDirectoryRegistration::class;
142 protected $serviceDirectoryRegistrationsDataType = 'array';
143 /**
144 * @var string
145 */
146 public $serviceLabel;
147 /**
148 * @var string
149 */
150 public $serviceName;
151 /**
152 * @var string[]
153 */
154 public $sourceIpRanges;
155 /**
156 * @var string
157 */
158 public $subnetwork;
159 /**
160 * @var string
161 */
162 public $target;
163
164 /**
165 * @param string
166 */
167 public function setIPAddress($iPAddress)
168 {
169 $this->iPAddress = $iPAddress;
170 }
171 /**
172 * @return string
173 */
174 public function getIPAddress()
175 {
176 return $this->iPAddress;
177 }
178 /**
179 * @param string
180 */
181 public function setIPProtocol($iPProtocol)
182 {
183 $this->iPProtocol = $iPProtocol;
184 }
185 /**
186 * @return string
187 */
188 public function getIPProtocol()
189 {
190 return $this->iPProtocol;
191 }
192 /**
193 * @param bool
194 */
195 public function setAllPorts($allPorts)
196 {
197 $this->allPorts = $allPorts;
198 }
199 /**
200 * @return bool
201 */
202 public function getAllPorts()
203 {
204 return $this->allPorts;
205 }
206 /**
207 * @param bool
208 */
209 public function setAllowGlobalAccess($allowGlobalAccess)
210 {
211 $this->allowGlobalAccess = $allowGlobalAccess;
212 }
213 /**
214 * @return bool
215 */
216 public function getAllowGlobalAccess()
217 {
218 return $this->allowGlobalAccess;
219 }
220 /**
221 * @param bool
222 */
223 public function setAllowPscGlobalAccess($allowPscGlobalAccess)
224 {
225 $this->allowPscGlobalAccess = $allowPscGlobalAccess;
226 }
227 /**
228 * @return bool
229 */
230 public function getAllowPscGlobalAccess()
231 {
232 return $this->allowPscGlobalAccess;
233 }
234 /**
235 * @param string
236 */
237 public function setBackendService($backendService)
238 {
239 $this->backendService = $backendService;
240 }
241 /**
242 * @return string
243 */
244 public function getBackendService()
245 {
246 return $this->backendService;
247 }
248 /**
249 * @param string
250 */
251 public function setBaseForwardingRule($baseForwardingRule)
252 {
253 $this->baseForwardingRule = $baseForwardingRule;
254 }
255 /**
256 * @return string
257 */
258 public function getBaseForwardingRule()
259 {
260 return $this->baseForwardingRule;
261 }
262 /**
263 * @param string
264 */
265 public function setCreationTimestamp($creationTimestamp)
266 {
267 $this->creationTimestamp = $creationTimestamp;
268 }
269 /**
270 * @return string
271 */
272 public function getCreationTimestamp()
273 {
274 return $this->creationTimestamp;
275 }
276 /**
277 * @param string
278 */
279 public function setDescription($description)
280 {
281 $this->description = $description;
282 }
283 /**
284 * @return string
285 */
286 public function getDescription()
287 {
288 return $this->description;
289 }
290 /**
291 * @param string
292 */
293 public function setFingerprint($fingerprint)
294 {
295 $this->fingerprint = $fingerprint;
296 }
297 /**
298 * @return string
299 */
300 public function getFingerprint()
301 {
302 return $this->fingerprint;
303 }
304 /**
305 * @param string
306 */
307 public function setId($id)
308 {
309 $this->id = $id;
310 }
311 /**
312 * @return string
313 */
314 public function getId()
315 {
316 return $this->id;
317 }
318 /**
319 * @param string
320 */
321 public function setIpCollection($ipCollection)
322 {
323 $this->ipCollection = $ipCollection;
324 }
325 /**
326 * @return string
327 */
328 public function getIpCollection()
329 {
330 return $this->ipCollection;
331 }
332 /**
333 * @param string
334 */
335 public function setIpVersion($ipVersion)
336 {
337 $this->ipVersion = $ipVersion;
338 }
339 /**
340 * @return string
341 */
342 public function getIpVersion()
343 {
344 return $this->ipVersion;
345 }
346 /**
347 * @param bool
348 */
349 public function setIsMirroringCollector($isMirroringCollector)
350 {
351 $this->isMirroringCollector = $isMirroringCollector;
352 }
353 /**
354 * @return bool
355 */
356 public function getIsMirroringCollector()
357 {
358 return $this->isMirroringCollector;
359 }
360 /**
361 * @param string
362 */
363 public function setKind($kind)
364 {
365 $this->kind = $kind;
366 }
367 /**
368 * @return string
369 */
370 public function getKind()
371 {
372 return $this->kind;
373 }
374 /**
375 * @param string
376 */
377 public function setLabelFingerprint($labelFingerprint)
378 {
379 $this->labelFingerprint = $labelFingerprint;
380 }
381 /**
382 * @return string
383 */
384 public function getLabelFingerprint()
385 {
386 return $this->labelFingerprint;
387 }
388 /**
389 * @param string[]
390 */
391 public function setLabels($labels)
392 {
393 $this->labels = $labels;
394 }
395 /**
396 * @return string[]
397 */
398 public function getLabels()
399 {
400 return $this->labels;
401 }
402 /**
403 * @param string
404 */
405 public function setLoadBalancingScheme($loadBalancingScheme)
406 {
407 $this->loadBalancingScheme = $loadBalancingScheme;
408 }
409 /**
410 * @return string
411 */
412 public function getLoadBalancingScheme()
413 {
414 return $this->loadBalancingScheme;
415 }
416 /**
417 * @param MetadataFilter[]
418 */
419 public function setMetadataFilters($metadataFilters)
420 {
421 $this->metadataFilters = $metadataFilters;
422 }
423 /**
424 * @return MetadataFilter[]
425 */
426 public function getMetadataFilters()
427 {
428 return $this->metadataFilters;
429 }
430 /**
431 * @param string
432 */
433 public function setName($name)
434 {
435 $this->name = $name;
436 }
437 /**
438 * @return string
439 */
440 public function getName()
441 {
442 return $this->name;
443 }
444 /**
445 * @param string
446 */
447 public function setNetwork($network)
448 {
449 $this->network = $network;
450 }
451 /**
452 * @return string
453 */
454 public function getNetwork()
455 {
456 return $this->network;
457 }
458 /**
459 * @param string
460 */
461 public function setNetworkTier($networkTier)
462 {
463 $this->networkTier = $networkTier;
464 }
465 /**
466 * @return string
467 */
468 public function getNetworkTier()
469 {
470 return $this->networkTier;
471 }
472 /**
473 * @param bool
474 */
475 public function setNoAutomateDnsZone($noAutomateDnsZone)
476 {
477 $this->noAutomateDnsZone = $noAutomateDnsZone;
478 }
479 /**
480 * @return bool
481 */
482 public function getNoAutomateDnsZone()
483 {
484 return $this->noAutomateDnsZone;
485 }
486 /**
487 * @param string
488 */
489 public function setPortRange($portRange)
490 {
491 $this->portRange = $portRange;
492 }
493 /**
494 * @return string
495 */
496 public function getPortRange()
497 {
498 return $this->portRange;
499 }
500 /**
501 * @param string[]
502 */
503 public function setPorts($ports)
504 {
505 $this->ports = $ports;
506 }
507 /**
508 * @return string[]
509 */
510 public function getPorts()
511 {
512 return $this->ports;
513 }
514 /**
515 * @param string
516 */
517 public function setPscConnectionId($pscConnectionId)
518 {
519 $this->pscConnectionId = $pscConnectionId;
520 }
521 /**
522 * @return string
523 */
524 public function getPscConnectionId()
525 {
526 return $this->pscConnectionId;
527 }
528 /**
529 * @param string
530 */
531 public function setPscConnectionStatus($pscConnectionStatus)
532 {
533 $this->pscConnectionStatus = $pscConnectionStatus;
534 }
535 /**
536 * @return string
537 */
538 public function getPscConnectionStatus()
539 {
540 return $this->pscConnectionStatus;
541 }
542 /**
543 * @param string
544 */
545 public function setRegion($region)
546 {
547 $this->region = $region;
548 }
549 /**
550 * @return string
551 */
552 public function getRegion()
553 {
554 return $this->region;
555 }
556 /**
557 * @param string
558 */
559 public function setSelfLink($selfLink)
560 {
561 $this->selfLink = $selfLink;
562 }
563 /**
564 * @return string
565 */
566 public function getSelfLink()
567 {
568 return $this->selfLink;
569 }
570 /**
571 * @param ForwardingRuleServiceDirectoryRegistration[]
572 */
573 public function setServiceDirectoryRegistrations($serviceDirectoryRegistrations)
574 {
575 $this->serviceDirectoryRegistrations = $serviceDirectoryRegistrations;
576 }
577 /**
578 * @return ForwardingRuleServiceDirectoryRegistration[]
579 */
580 public function getServiceDirectoryRegistrations()
581 {
582 return $this->serviceDirectoryRegistrations;
583 }
584 /**
585 * @param string
586 */
587 public function setServiceLabel($serviceLabel)
588 {
589 $this->serviceLabel = $serviceLabel;
590 }
591 /**
592 * @return string
593 */
594 public function getServiceLabel()
595 {
596 return $this->serviceLabel;
597 }
598 /**
599 * @param string
600 */
601 public function setServiceName($serviceName)
602 {
603 $this->serviceName = $serviceName;
604 }
605 /**
606 * @return string
607 */
608 public function getServiceName()
609 {
610 return $this->serviceName;
611 }
612 /**
613 * @param string[]
614 */
615 public function setSourceIpRanges($sourceIpRanges)
616 {
617 $this->sourceIpRanges = $sourceIpRanges;
618 }
619 /**
620 * @return string[]
621 */
622 public function getSourceIpRanges()
623 {
624 return $this->sourceIpRanges;
625 }
626 /**
627 * @param string
628 */
629 public function setSubnetwork($subnetwork)
630 {
631 $this->subnetwork = $subnetwork;
632 }
633 /**
634 * @return string
635 */
636 public function getSubnetwork()
637 {
638 return $this->subnetwork;
639 }
640 /**
641 * @param string
642 */
643 public function setTarget($target)
644 {
645 $this->target = $target;
646 }
647 /**
648 * @return string
649 */
650 public function getTarget()
651 {
652 return $this->target;
653 }
654}
655
656// Adding a class alias for backwards compatibility with the previous class name.
657class_alias(ForwardingRule::class, 'Google_Service_Compute_ForwardingRule');
Note: See TracBrowser for help on using the repository browser.