source: vendor/google/apiclient-services/src/Compute/BackendService.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: 15.2 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 BackendService extends \Google\Collection
21{
22 protected $collection_key = 'usedBy';
23 /**
24 * @var int
25 */
26 public $affinityCookieTtlSec;
27 protected $backendsType = Backend::class;
28 protected $backendsDataType = 'array';
29 protected $cdnPolicyType = BackendServiceCdnPolicy::class;
30 protected $cdnPolicyDataType = '';
31 protected $circuitBreakersType = CircuitBreakers::class;
32 protected $circuitBreakersDataType = '';
33 /**
34 * @var string
35 */
36 public $compressionMode;
37 protected $connectionDrainingType = ConnectionDraining::class;
38 protected $connectionDrainingDataType = '';
39 protected $connectionTrackingPolicyType = BackendServiceConnectionTrackingPolicy::class;
40 protected $connectionTrackingPolicyDataType = '';
41 protected $consistentHashType = ConsistentHashLoadBalancerSettings::class;
42 protected $consistentHashDataType = '';
43 /**
44 * @var string
45 */
46 public $creationTimestamp;
47 /**
48 * @var string[]
49 */
50 public $customRequestHeaders;
51 /**
52 * @var string[]
53 */
54 public $customResponseHeaders;
55 /**
56 * @var string
57 */
58 public $description;
59 /**
60 * @var string
61 */
62 public $edgeSecurityPolicy;
63 /**
64 * @var bool
65 */
66 public $enableCDN;
67 protected $failoverPolicyType = BackendServiceFailoverPolicy::class;
68 protected $failoverPolicyDataType = '';
69 /**
70 * @var string
71 */
72 public $fingerprint;
73 /**
74 * @var string[]
75 */
76 public $healthChecks;
77 protected $iapType = BackendServiceIAP::class;
78 protected $iapDataType = '';
79 /**
80 * @var string
81 */
82 public $id;
83 /**
84 * @var string
85 */
86 public $ipAddressSelectionPolicy;
87 /**
88 * @var string
89 */
90 public $kind;
91 /**
92 * @var string
93 */
94 public $loadBalancingScheme;
95 protected $localityLbPoliciesType = BackendServiceLocalityLoadBalancingPolicyConfig::class;
96 protected $localityLbPoliciesDataType = 'array';
97 /**
98 * @var string
99 */
100 public $localityLbPolicy;
101 protected $logConfigType = BackendServiceLogConfig::class;
102 protected $logConfigDataType = '';
103 protected $maxStreamDurationType = Duration::class;
104 protected $maxStreamDurationDataType = '';
105 /**
106 * @var string[]
107 */
108 public $metadatas;
109 /**
110 * @var string
111 */
112 public $name;
113 /**
114 * @var string
115 */
116 public $network;
117 protected $outlierDetectionType = OutlierDetection::class;
118 protected $outlierDetectionDataType = '';
119 /**
120 * @var int
121 */
122 public $port;
123 /**
124 * @var string
125 */
126 public $portName;
127 /**
128 * @var string
129 */
130 public $protocol;
131 /**
132 * @var string
133 */
134 public $region;
135 /**
136 * @var string
137 */
138 public $securityPolicy;
139 protected $securitySettingsType = SecuritySettings::class;
140 protected $securitySettingsDataType = '';
141 /**
142 * @var string
143 */
144 public $selfLink;
145 /**
146 * @var string[]
147 */
148 public $serviceBindings;
149 /**
150 * @var string
151 */
152 public $serviceLbPolicy;
153 /**
154 * @var string
155 */
156 public $sessionAffinity;
157 protected $strongSessionAffinityCookieType = BackendServiceHttpCookie::class;
158 protected $strongSessionAffinityCookieDataType = '';
159 protected $subsettingType = Subsetting::class;
160 protected $subsettingDataType = '';
161 /**
162 * @var int
163 */
164 public $timeoutSec;
165 protected $usedByType = BackendServiceUsedBy::class;
166 protected $usedByDataType = 'array';
167
168 /**
169 * @param int
170 */
171 public function setAffinityCookieTtlSec($affinityCookieTtlSec)
172 {
173 $this->affinityCookieTtlSec = $affinityCookieTtlSec;
174 }
175 /**
176 * @return int
177 */
178 public function getAffinityCookieTtlSec()
179 {
180 return $this->affinityCookieTtlSec;
181 }
182 /**
183 * @param Backend[]
184 */
185 public function setBackends($backends)
186 {
187 $this->backends = $backends;
188 }
189 /**
190 * @return Backend[]
191 */
192 public function getBackends()
193 {
194 return $this->backends;
195 }
196 /**
197 * @param BackendServiceCdnPolicy
198 */
199 public function setCdnPolicy(BackendServiceCdnPolicy $cdnPolicy)
200 {
201 $this->cdnPolicy = $cdnPolicy;
202 }
203 /**
204 * @return BackendServiceCdnPolicy
205 */
206 public function getCdnPolicy()
207 {
208 return $this->cdnPolicy;
209 }
210 /**
211 * @param CircuitBreakers
212 */
213 public function setCircuitBreakers(CircuitBreakers $circuitBreakers)
214 {
215 $this->circuitBreakers = $circuitBreakers;
216 }
217 /**
218 * @return CircuitBreakers
219 */
220 public function getCircuitBreakers()
221 {
222 return $this->circuitBreakers;
223 }
224 /**
225 * @param string
226 */
227 public function setCompressionMode($compressionMode)
228 {
229 $this->compressionMode = $compressionMode;
230 }
231 /**
232 * @return string
233 */
234 public function getCompressionMode()
235 {
236 return $this->compressionMode;
237 }
238 /**
239 * @param ConnectionDraining
240 */
241 public function setConnectionDraining(ConnectionDraining $connectionDraining)
242 {
243 $this->connectionDraining = $connectionDraining;
244 }
245 /**
246 * @return ConnectionDraining
247 */
248 public function getConnectionDraining()
249 {
250 return $this->connectionDraining;
251 }
252 /**
253 * @param BackendServiceConnectionTrackingPolicy
254 */
255 public function setConnectionTrackingPolicy(BackendServiceConnectionTrackingPolicy $connectionTrackingPolicy)
256 {
257 $this->connectionTrackingPolicy = $connectionTrackingPolicy;
258 }
259 /**
260 * @return BackendServiceConnectionTrackingPolicy
261 */
262 public function getConnectionTrackingPolicy()
263 {
264 return $this->connectionTrackingPolicy;
265 }
266 /**
267 * @param ConsistentHashLoadBalancerSettings
268 */
269 public function setConsistentHash(ConsistentHashLoadBalancerSettings $consistentHash)
270 {
271 $this->consistentHash = $consistentHash;
272 }
273 /**
274 * @return ConsistentHashLoadBalancerSettings
275 */
276 public function getConsistentHash()
277 {
278 return $this->consistentHash;
279 }
280 /**
281 * @param string
282 */
283 public function setCreationTimestamp($creationTimestamp)
284 {
285 $this->creationTimestamp = $creationTimestamp;
286 }
287 /**
288 * @return string
289 */
290 public function getCreationTimestamp()
291 {
292 return $this->creationTimestamp;
293 }
294 /**
295 * @param string[]
296 */
297 public function setCustomRequestHeaders($customRequestHeaders)
298 {
299 $this->customRequestHeaders = $customRequestHeaders;
300 }
301 /**
302 * @return string[]
303 */
304 public function getCustomRequestHeaders()
305 {
306 return $this->customRequestHeaders;
307 }
308 /**
309 * @param string[]
310 */
311 public function setCustomResponseHeaders($customResponseHeaders)
312 {
313 $this->customResponseHeaders = $customResponseHeaders;
314 }
315 /**
316 * @return string[]
317 */
318 public function getCustomResponseHeaders()
319 {
320 return $this->customResponseHeaders;
321 }
322 /**
323 * @param string
324 */
325 public function setDescription($description)
326 {
327 $this->description = $description;
328 }
329 /**
330 * @return string
331 */
332 public function getDescription()
333 {
334 return $this->description;
335 }
336 /**
337 * @param string
338 */
339 public function setEdgeSecurityPolicy($edgeSecurityPolicy)
340 {
341 $this->edgeSecurityPolicy = $edgeSecurityPolicy;
342 }
343 /**
344 * @return string
345 */
346 public function getEdgeSecurityPolicy()
347 {
348 return $this->edgeSecurityPolicy;
349 }
350 /**
351 * @param bool
352 */
353 public function setEnableCDN($enableCDN)
354 {
355 $this->enableCDN = $enableCDN;
356 }
357 /**
358 * @return bool
359 */
360 public function getEnableCDN()
361 {
362 return $this->enableCDN;
363 }
364 /**
365 * @param BackendServiceFailoverPolicy
366 */
367 public function setFailoverPolicy(BackendServiceFailoverPolicy $failoverPolicy)
368 {
369 $this->failoverPolicy = $failoverPolicy;
370 }
371 /**
372 * @return BackendServiceFailoverPolicy
373 */
374 public function getFailoverPolicy()
375 {
376 return $this->failoverPolicy;
377 }
378 /**
379 * @param string
380 */
381 public function setFingerprint($fingerprint)
382 {
383 $this->fingerprint = $fingerprint;
384 }
385 /**
386 * @return string
387 */
388 public function getFingerprint()
389 {
390 return $this->fingerprint;
391 }
392 /**
393 * @param string[]
394 */
395 public function setHealthChecks($healthChecks)
396 {
397 $this->healthChecks = $healthChecks;
398 }
399 /**
400 * @return string[]
401 */
402 public function getHealthChecks()
403 {
404 return $this->healthChecks;
405 }
406 /**
407 * @param BackendServiceIAP
408 */
409 public function setIap(BackendServiceIAP $iap)
410 {
411 $this->iap = $iap;
412 }
413 /**
414 * @return BackendServiceIAP
415 */
416 public function getIap()
417 {
418 return $this->iap;
419 }
420 /**
421 * @param string
422 */
423 public function setId($id)
424 {
425 $this->id = $id;
426 }
427 /**
428 * @return string
429 */
430 public function getId()
431 {
432 return $this->id;
433 }
434 /**
435 * @param string
436 */
437 public function setIpAddressSelectionPolicy($ipAddressSelectionPolicy)
438 {
439 $this->ipAddressSelectionPolicy = $ipAddressSelectionPolicy;
440 }
441 /**
442 * @return string
443 */
444 public function getIpAddressSelectionPolicy()
445 {
446 return $this->ipAddressSelectionPolicy;
447 }
448 /**
449 * @param string
450 */
451 public function setKind($kind)
452 {
453 $this->kind = $kind;
454 }
455 /**
456 * @return string
457 */
458 public function getKind()
459 {
460 return $this->kind;
461 }
462 /**
463 * @param string
464 */
465 public function setLoadBalancingScheme($loadBalancingScheme)
466 {
467 $this->loadBalancingScheme = $loadBalancingScheme;
468 }
469 /**
470 * @return string
471 */
472 public function getLoadBalancingScheme()
473 {
474 return $this->loadBalancingScheme;
475 }
476 /**
477 * @param BackendServiceLocalityLoadBalancingPolicyConfig[]
478 */
479 public function setLocalityLbPolicies($localityLbPolicies)
480 {
481 $this->localityLbPolicies = $localityLbPolicies;
482 }
483 /**
484 * @return BackendServiceLocalityLoadBalancingPolicyConfig[]
485 */
486 public function getLocalityLbPolicies()
487 {
488 return $this->localityLbPolicies;
489 }
490 /**
491 * @param string
492 */
493 public function setLocalityLbPolicy($localityLbPolicy)
494 {
495 $this->localityLbPolicy = $localityLbPolicy;
496 }
497 /**
498 * @return string
499 */
500 public function getLocalityLbPolicy()
501 {
502 return $this->localityLbPolicy;
503 }
504 /**
505 * @param BackendServiceLogConfig
506 */
507 public function setLogConfig(BackendServiceLogConfig $logConfig)
508 {
509 $this->logConfig = $logConfig;
510 }
511 /**
512 * @return BackendServiceLogConfig
513 */
514 public function getLogConfig()
515 {
516 return $this->logConfig;
517 }
518 /**
519 * @param Duration
520 */
521 public function setMaxStreamDuration(Duration $maxStreamDuration)
522 {
523 $this->maxStreamDuration = $maxStreamDuration;
524 }
525 /**
526 * @return Duration
527 */
528 public function getMaxStreamDuration()
529 {
530 return $this->maxStreamDuration;
531 }
532 /**
533 * @param string[]
534 */
535 public function setMetadatas($metadatas)
536 {
537 $this->metadatas = $metadatas;
538 }
539 /**
540 * @return string[]
541 */
542 public function getMetadatas()
543 {
544 return $this->metadatas;
545 }
546 /**
547 * @param string
548 */
549 public function setName($name)
550 {
551 $this->name = $name;
552 }
553 /**
554 * @return string
555 */
556 public function getName()
557 {
558 return $this->name;
559 }
560 /**
561 * @param string
562 */
563 public function setNetwork($network)
564 {
565 $this->network = $network;
566 }
567 /**
568 * @return string
569 */
570 public function getNetwork()
571 {
572 return $this->network;
573 }
574 /**
575 * @param OutlierDetection
576 */
577 public function setOutlierDetection(OutlierDetection $outlierDetection)
578 {
579 $this->outlierDetection = $outlierDetection;
580 }
581 /**
582 * @return OutlierDetection
583 */
584 public function getOutlierDetection()
585 {
586 return $this->outlierDetection;
587 }
588 /**
589 * @param int
590 */
591 public function setPort($port)
592 {
593 $this->port = $port;
594 }
595 /**
596 * @return int
597 */
598 public function getPort()
599 {
600 return $this->port;
601 }
602 /**
603 * @param string
604 */
605 public function setPortName($portName)
606 {
607 $this->portName = $portName;
608 }
609 /**
610 * @return string
611 */
612 public function getPortName()
613 {
614 return $this->portName;
615 }
616 /**
617 * @param string
618 */
619 public function setProtocol($protocol)
620 {
621 $this->protocol = $protocol;
622 }
623 /**
624 * @return string
625 */
626 public function getProtocol()
627 {
628 return $this->protocol;
629 }
630 /**
631 * @param string
632 */
633 public function setRegion($region)
634 {
635 $this->region = $region;
636 }
637 /**
638 * @return string
639 */
640 public function getRegion()
641 {
642 return $this->region;
643 }
644 /**
645 * @param string
646 */
647 public function setSecurityPolicy($securityPolicy)
648 {
649 $this->securityPolicy = $securityPolicy;
650 }
651 /**
652 * @return string
653 */
654 public function getSecurityPolicy()
655 {
656 return $this->securityPolicy;
657 }
658 /**
659 * @param SecuritySettings
660 */
661 public function setSecuritySettings(SecuritySettings $securitySettings)
662 {
663 $this->securitySettings = $securitySettings;
664 }
665 /**
666 * @return SecuritySettings
667 */
668 public function getSecuritySettings()
669 {
670 return $this->securitySettings;
671 }
672 /**
673 * @param string
674 */
675 public function setSelfLink($selfLink)
676 {
677 $this->selfLink = $selfLink;
678 }
679 /**
680 * @return string
681 */
682 public function getSelfLink()
683 {
684 return $this->selfLink;
685 }
686 /**
687 * @param string[]
688 */
689 public function setServiceBindings($serviceBindings)
690 {
691 $this->serviceBindings = $serviceBindings;
692 }
693 /**
694 * @return string[]
695 */
696 public function getServiceBindings()
697 {
698 return $this->serviceBindings;
699 }
700 /**
701 * @param string
702 */
703 public function setServiceLbPolicy($serviceLbPolicy)
704 {
705 $this->serviceLbPolicy = $serviceLbPolicy;
706 }
707 /**
708 * @return string
709 */
710 public function getServiceLbPolicy()
711 {
712 return $this->serviceLbPolicy;
713 }
714 /**
715 * @param string
716 */
717 public function setSessionAffinity($sessionAffinity)
718 {
719 $this->sessionAffinity = $sessionAffinity;
720 }
721 /**
722 * @return string
723 */
724 public function getSessionAffinity()
725 {
726 return $this->sessionAffinity;
727 }
728 /**
729 * @param BackendServiceHttpCookie
730 */
731 public function setStrongSessionAffinityCookie(BackendServiceHttpCookie $strongSessionAffinityCookie)
732 {
733 $this->strongSessionAffinityCookie = $strongSessionAffinityCookie;
734 }
735 /**
736 * @return BackendServiceHttpCookie
737 */
738 public function getStrongSessionAffinityCookie()
739 {
740 return $this->strongSessionAffinityCookie;
741 }
742 /**
743 * @param Subsetting
744 */
745 public function setSubsetting(Subsetting $subsetting)
746 {
747 $this->subsetting = $subsetting;
748 }
749 /**
750 * @return Subsetting
751 */
752 public function getSubsetting()
753 {
754 return $this->subsetting;
755 }
756 /**
757 * @param int
758 */
759 public function setTimeoutSec($timeoutSec)
760 {
761 $this->timeoutSec = $timeoutSec;
762 }
763 /**
764 * @return int
765 */
766 public function getTimeoutSec()
767 {
768 return $this->timeoutSec;
769 }
770 /**
771 * @param BackendServiceUsedBy[]
772 */
773 public function setUsedBy($usedBy)
774 {
775 $this->usedBy = $usedBy;
776 }
777 /**
778 * @return BackendServiceUsedBy[]
779 */
780 public function getUsedBy()
781 {
782 return $this->usedBy;
783 }
784}
785
786// Adding a class alias for backwards compatibility with the previous class name.
787class_alias(BackendService::class, 'Google_Service_Compute_BackendService');
Note: See TracBrowser for help on using the repository browser.