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\NetworkManagement;
|
---|
19 |
|
---|
20 | class Endpoint extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $appEngineVersionType = AppEngineVersionEndpoint::class;
|
---|
23 | protected $appEngineVersionDataType = '';
|
---|
24 | protected $cloudFunctionType = CloudFunctionEndpoint::class;
|
---|
25 | protected $cloudFunctionDataType = '';
|
---|
26 | protected $cloudRunRevisionType = CloudRunRevisionEndpoint::class;
|
---|
27 | protected $cloudRunRevisionDataType = '';
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $cloudSqlInstance;
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $forwardingRule;
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $forwardingRuleTarget;
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $fqdn;
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $gkeMasterCluster;
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $instance;
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $ipAddress;
|
---|
56 | /**
|
---|
57 | * @var string
|
---|
58 | */
|
---|
59 | public $loadBalancerId;
|
---|
60 | /**
|
---|
61 | * @var string
|
---|
62 | */
|
---|
63 | public $loadBalancerType;
|
---|
64 | /**
|
---|
65 | * @var string
|
---|
66 | */
|
---|
67 | public $network;
|
---|
68 | /**
|
---|
69 | * @var string
|
---|
70 | */
|
---|
71 | public $networkType;
|
---|
72 | /**
|
---|
73 | * @var int
|
---|
74 | */
|
---|
75 | public $port;
|
---|
76 | /**
|
---|
77 | * @var string
|
---|
78 | */
|
---|
79 | public $projectId;
|
---|
80 | /**
|
---|
81 | * @var string
|
---|
82 | */
|
---|
83 | public $redisCluster;
|
---|
84 | /**
|
---|
85 | * @var string
|
---|
86 | */
|
---|
87 | public $redisInstance;
|
---|
88 |
|
---|
89 | /**
|
---|
90 | * @param AppEngineVersionEndpoint
|
---|
91 | */
|
---|
92 | public function setAppEngineVersion(AppEngineVersionEndpoint $appEngineVersion)
|
---|
93 | {
|
---|
94 | $this->appEngineVersion = $appEngineVersion;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @return AppEngineVersionEndpoint
|
---|
98 | */
|
---|
99 | public function getAppEngineVersion()
|
---|
100 | {
|
---|
101 | return $this->appEngineVersion;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @param CloudFunctionEndpoint
|
---|
105 | */
|
---|
106 | public function setCloudFunction(CloudFunctionEndpoint $cloudFunction)
|
---|
107 | {
|
---|
108 | $this->cloudFunction = $cloudFunction;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @return CloudFunctionEndpoint
|
---|
112 | */
|
---|
113 | public function getCloudFunction()
|
---|
114 | {
|
---|
115 | return $this->cloudFunction;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @param CloudRunRevisionEndpoint
|
---|
119 | */
|
---|
120 | public function setCloudRunRevision(CloudRunRevisionEndpoint $cloudRunRevision)
|
---|
121 | {
|
---|
122 | $this->cloudRunRevision = $cloudRunRevision;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @return CloudRunRevisionEndpoint
|
---|
126 | */
|
---|
127 | public function getCloudRunRevision()
|
---|
128 | {
|
---|
129 | return $this->cloudRunRevision;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @param string
|
---|
133 | */
|
---|
134 | public function setCloudSqlInstance($cloudSqlInstance)
|
---|
135 | {
|
---|
136 | $this->cloudSqlInstance = $cloudSqlInstance;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @return string
|
---|
140 | */
|
---|
141 | public function getCloudSqlInstance()
|
---|
142 | {
|
---|
143 | return $this->cloudSqlInstance;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @param string
|
---|
147 | */
|
---|
148 | public function setForwardingRule($forwardingRule)
|
---|
149 | {
|
---|
150 | $this->forwardingRule = $forwardingRule;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @return string
|
---|
154 | */
|
---|
155 | public function getForwardingRule()
|
---|
156 | {
|
---|
157 | return $this->forwardingRule;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @param string
|
---|
161 | */
|
---|
162 | public function setForwardingRuleTarget($forwardingRuleTarget)
|
---|
163 | {
|
---|
164 | $this->forwardingRuleTarget = $forwardingRuleTarget;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @return string
|
---|
168 | */
|
---|
169 | public function getForwardingRuleTarget()
|
---|
170 | {
|
---|
171 | return $this->forwardingRuleTarget;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @param string
|
---|
175 | */
|
---|
176 | public function setFqdn($fqdn)
|
---|
177 | {
|
---|
178 | $this->fqdn = $fqdn;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @return string
|
---|
182 | */
|
---|
183 | public function getFqdn()
|
---|
184 | {
|
---|
185 | return $this->fqdn;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @param string
|
---|
189 | */
|
---|
190 | public function setGkeMasterCluster($gkeMasterCluster)
|
---|
191 | {
|
---|
192 | $this->gkeMasterCluster = $gkeMasterCluster;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @return string
|
---|
196 | */
|
---|
197 | public function getGkeMasterCluster()
|
---|
198 | {
|
---|
199 | return $this->gkeMasterCluster;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @param string
|
---|
203 | */
|
---|
204 | public function setInstance($instance)
|
---|
205 | {
|
---|
206 | $this->instance = $instance;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @return string
|
---|
210 | */
|
---|
211 | public function getInstance()
|
---|
212 | {
|
---|
213 | return $this->instance;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @param string
|
---|
217 | */
|
---|
218 | public function setIpAddress($ipAddress)
|
---|
219 | {
|
---|
220 | $this->ipAddress = $ipAddress;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @return string
|
---|
224 | */
|
---|
225 | public function getIpAddress()
|
---|
226 | {
|
---|
227 | return $this->ipAddress;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @param string
|
---|
231 | */
|
---|
232 | public function setLoadBalancerId($loadBalancerId)
|
---|
233 | {
|
---|
234 | $this->loadBalancerId = $loadBalancerId;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @return string
|
---|
238 | */
|
---|
239 | public function getLoadBalancerId()
|
---|
240 | {
|
---|
241 | return $this->loadBalancerId;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @param string
|
---|
245 | */
|
---|
246 | public function setLoadBalancerType($loadBalancerType)
|
---|
247 | {
|
---|
248 | $this->loadBalancerType = $loadBalancerType;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @return string
|
---|
252 | */
|
---|
253 | public function getLoadBalancerType()
|
---|
254 | {
|
---|
255 | return $this->loadBalancerType;
|
---|
256 | }
|
---|
257 | /**
|
---|
258 | * @param string
|
---|
259 | */
|
---|
260 | public function setNetwork($network)
|
---|
261 | {
|
---|
262 | $this->network = $network;
|
---|
263 | }
|
---|
264 | /**
|
---|
265 | * @return string
|
---|
266 | */
|
---|
267 | public function getNetwork()
|
---|
268 | {
|
---|
269 | return $this->network;
|
---|
270 | }
|
---|
271 | /**
|
---|
272 | * @param string
|
---|
273 | */
|
---|
274 | public function setNetworkType($networkType)
|
---|
275 | {
|
---|
276 | $this->networkType = $networkType;
|
---|
277 | }
|
---|
278 | /**
|
---|
279 | * @return string
|
---|
280 | */
|
---|
281 | public function getNetworkType()
|
---|
282 | {
|
---|
283 | return $this->networkType;
|
---|
284 | }
|
---|
285 | /**
|
---|
286 | * @param int
|
---|
287 | */
|
---|
288 | public function setPort($port)
|
---|
289 | {
|
---|
290 | $this->port = $port;
|
---|
291 | }
|
---|
292 | /**
|
---|
293 | * @return int
|
---|
294 | */
|
---|
295 | public function getPort()
|
---|
296 | {
|
---|
297 | return $this->port;
|
---|
298 | }
|
---|
299 | /**
|
---|
300 | * @param string
|
---|
301 | */
|
---|
302 | public function setProjectId($projectId)
|
---|
303 | {
|
---|
304 | $this->projectId = $projectId;
|
---|
305 | }
|
---|
306 | /**
|
---|
307 | * @return string
|
---|
308 | */
|
---|
309 | public function getProjectId()
|
---|
310 | {
|
---|
311 | return $this->projectId;
|
---|
312 | }
|
---|
313 | /**
|
---|
314 | * @param string
|
---|
315 | */
|
---|
316 | public function setRedisCluster($redisCluster)
|
---|
317 | {
|
---|
318 | $this->redisCluster = $redisCluster;
|
---|
319 | }
|
---|
320 | /**
|
---|
321 | * @return string
|
---|
322 | */
|
---|
323 | public function getRedisCluster()
|
---|
324 | {
|
---|
325 | return $this->redisCluster;
|
---|
326 | }
|
---|
327 | /**
|
---|
328 | * @param string
|
---|
329 | */
|
---|
330 | public function setRedisInstance($redisInstance)
|
---|
331 | {
|
---|
332 | $this->redisInstance = $redisInstance;
|
---|
333 | }
|
---|
334 | /**
|
---|
335 | * @return string
|
---|
336 | */
|
---|
337 | public function getRedisInstance()
|
---|
338 | {
|
---|
339 | return $this->redisInstance;
|
---|
340 | }
|
---|
341 | }
|
---|
342 |
|
---|
343 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
344 | class_alias(Endpoint::class, 'Google_Service_NetworkManagement_Endpoint');
|
---|