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 HealthStatusForNetworkEndpoint extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $backendServiceType = BackendServiceReference::class;
|
---|
23 | protected $backendServiceDataType = '';
|
---|
24 | protected $forwardingRuleType = ForwardingRuleReference::class;
|
---|
25 | protected $forwardingRuleDataType = '';
|
---|
26 | protected $healthCheckType = HealthCheckReference::class;
|
---|
27 | protected $healthCheckDataType = '';
|
---|
28 | protected $healthCheckServiceType = HealthCheckServiceReference::class;
|
---|
29 | protected $healthCheckServiceDataType = '';
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $healthState;
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $ipv6HealthState;
|
---|
38 |
|
---|
39 | /**
|
---|
40 | * @param BackendServiceReference
|
---|
41 | */
|
---|
42 | public function setBackendService(BackendServiceReference $backendService)
|
---|
43 | {
|
---|
44 | $this->backendService = $backendService;
|
---|
45 | }
|
---|
46 | /**
|
---|
47 | * @return BackendServiceReference
|
---|
48 | */
|
---|
49 | public function getBackendService()
|
---|
50 | {
|
---|
51 | return $this->backendService;
|
---|
52 | }
|
---|
53 | /**
|
---|
54 | * @param ForwardingRuleReference
|
---|
55 | */
|
---|
56 | public function setForwardingRule(ForwardingRuleReference $forwardingRule)
|
---|
57 | {
|
---|
58 | $this->forwardingRule = $forwardingRule;
|
---|
59 | }
|
---|
60 | /**
|
---|
61 | * @return ForwardingRuleReference
|
---|
62 | */
|
---|
63 | public function getForwardingRule()
|
---|
64 | {
|
---|
65 | return $this->forwardingRule;
|
---|
66 | }
|
---|
67 | /**
|
---|
68 | * @param HealthCheckReference
|
---|
69 | */
|
---|
70 | public function setHealthCheck(HealthCheckReference $healthCheck)
|
---|
71 | {
|
---|
72 | $this->healthCheck = $healthCheck;
|
---|
73 | }
|
---|
74 | /**
|
---|
75 | * @return HealthCheckReference
|
---|
76 | */
|
---|
77 | public function getHealthCheck()
|
---|
78 | {
|
---|
79 | return $this->healthCheck;
|
---|
80 | }
|
---|
81 | /**
|
---|
82 | * @param HealthCheckServiceReference
|
---|
83 | */
|
---|
84 | public function setHealthCheckService(HealthCheckServiceReference $healthCheckService)
|
---|
85 | {
|
---|
86 | $this->healthCheckService = $healthCheckService;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @return HealthCheckServiceReference
|
---|
90 | */
|
---|
91 | public function getHealthCheckService()
|
---|
92 | {
|
---|
93 | return $this->healthCheckService;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @param string
|
---|
97 | */
|
---|
98 | public function setHealthState($healthState)
|
---|
99 | {
|
---|
100 | $this->healthState = $healthState;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @return string
|
---|
104 | */
|
---|
105 | public function getHealthState()
|
---|
106 | {
|
---|
107 | return $this->healthState;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param string
|
---|
111 | */
|
---|
112 | public function setIpv6HealthState($ipv6HealthState)
|
---|
113 | {
|
---|
114 | $this->ipv6HealthState = $ipv6HealthState;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return string
|
---|
118 | */
|
---|
119 | public function getIpv6HealthState()
|
---|
120 | {
|
---|
121 | return $this->ipv6HealthState;
|
---|
122 | }
|
---|
123 | }
|
---|
124 |
|
---|
125 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
126 | class_alias(HealthStatusForNetworkEndpoint::class, 'Google_Service_Compute_HealthStatusForNetworkEndpoint');
|
---|