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 RouteInfo extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'srcPortRanges';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $advertisedRouteNextHopUri;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $advertisedRouteSourceRouterUri;
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $destIpRange;
|
---|
35 | /**
|
---|
36 | * @var string[]
|
---|
37 | */
|
---|
38 | public $destPortRanges;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $displayName;
|
---|
43 | /**
|
---|
44 | * @var string[]
|
---|
45 | */
|
---|
46 | public $instanceTags;
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $nccHubUri;
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $nccSpokeUri;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $networkUri;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $nextHop;
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $nextHopType;
|
---|
67 | /**
|
---|
68 | * @var int
|
---|
69 | */
|
---|
70 | public $priority;
|
---|
71 | /**
|
---|
72 | * @var string[]
|
---|
73 | */
|
---|
74 | public $protocols;
|
---|
75 | /**
|
---|
76 | * @var string
|
---|
77 | */
|
---|
78 | public $region;
|
---|
79 | /**
|
---|
80 | * @var string
|
---|
81 | */
|
---|
82 | public $routeScope;
|
---|
83 | /**
|
---|
84 | * @var string
|
---|
85 | */
|
---|
86 | public $routeType;
|
---|
87 | /**
|
---|
88 | * @var string
|
---|
89 | */
|
---|
90 | public $srcIpRange;
|
---|
91 | /**
|
---|
92 | * @var string[]
|
---|
93 | */
|
---|
94 | public $srcPortRanges;
|
---|
95 | /**
|
---|
96 | * @var string
|
---|
97 | */
|
---|
98 | public $uri;
|
---|
99 |
|
---|
100 | /**
|
---|
101 | * @param string
|
---|
102 | */
|
---|
103 | public function setAdvertisedRouteNextHopUri($advertisedRouteNextHopUri)
|
---|
104 | {
|
---|
105 | $this->advertisedRouteNextHopUri = $advertisedRouteNextHopUri;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @return string
|
---|
109 | */
|
---|
110 | public function getAdvertisedRouteNextHopUri()
|
---|
111 | {
|
---|
112 | return $this->advertisedRouteNextHopUri;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @param string
|
---|
116 | */
|
---|
117 | public function setAdvertisedRouteSourceRouterUri($advertisedRouteSourceRouterUri)
|
---|
118 | {
|
---|
119 | $this->advertisedRouteSourceRouterUri = $advertisedRouteSourceRouterUri;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @return string
|
---|
123 | */
|
---|
124 | public function getAdvertisedRouteSourceRouterUri()
|
---|
125 | {
|
---|
126 | return $this->advertisedRouteSourceRouterUri;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @param string
|
---|
130 | */
|
---|
131 | public function setDestIpRange($destIpRange)
|
---|
132 | {
|
---|
133 | $this->destIpRange = $destIpRange;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @return string
|
---|
137 | */
|
---|
138 | public function getDestIpRange()
|
---|
139 | {
|
---|
140 | return $this->destIpRange;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @param string[]
|
---|
144 | */
|
---|
145 | public function setDestPortRanges($destPortRanges)
|
---|
146 | {
|
---|
147 | $this->destPortRanges = $destPortRanges;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @return string[]
|
---|
151 | */
|
---|
152 | public function getDestPortRanges()
|
---|
153 | {
|
---|
154 | return $this->destPortRanges;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @param string
|
---|
158 | */
|
---|
159 | public function setDisplayName($displayName)
|
---|
160 | {
|
---|
161 | $this->displayName = $displayName;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @return string
|
---|
165 | */
|
---|
166 | public function getDisplayName()
|
---|
167 | {
|
---|
168 | return $this->displayName;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @param string[]
|
---|
172 | */
|
---|
173 | public function setInstanceTags($instanceTags)
|
---|
174 | {
|
---|
175 | $this->instanceTags = $instanceTags;
|
---|
176 | }
|
---|
177 | /**
|
---|
178 | * @return string[]
|
---|
179 | */
|
---|
180 | public function getInstanceTags()
|
---|
181 | {
|
---|
182 | return $this->instanceTags;
|
---|
183 | }
|
---|
184 | /**
|
---|
185 | * @param string
|
---|
186 | */
|
---|
187 | public function setNccHubUri($nccHubUri)
|
---|
188 | {
|
---|
189 | $this->nccHubUri = $nccHubUri;
|
---|
190 | }
|
---|
191 | /**
|
---|
192 | * @return string
|
---|
193 | */
|
---|
194 | public function getNccHubUri()
|
---|
195 | {
|
---|
196 | return $this->nccHubUri;
|
---|
197 | }
|
---|
198 | /**
|
---|
199 | * @param string
|
---|
200 | */
|
---|
201 | public function setNccSpokeUri($nccSpokeUri)
|
---|
202 | {
|
---|
203 | $this->nccSpokeUri = $nccSpokeUri;
|
---|
204 | }
|
---|
205 | /**
|
---|
206 | * @return string
|
---|
207 | */
|
---|
208 | public function getNccSpokeUri()
|
---|
209 | {
|
---|
210 | return $this->nccSpokeUri;
|
---|
211 | }
|
---|
212 | /**
|
---|
213 | * @param string
|
---|
214 | */
|
---|
215 | public function setNetworkUri($networkUri)
|
---|
216 | {
|
---|
217 | $this->networkUri = $networkUri;
|
---|
218 | }
|
---|
219 | /**
|
---|
220 | * @return string
|
---|
221 | */
|
---|
222 | public function getNetworkUri()
|
---|
223 | {
|
---|
224 | return $this->networkUri;
|
---|
225 | }
|
---|
226 | /**
|
---|
227 | * @param string
|
---|
228 | */
|
---|
229 | public function setNextHop($nextHop)
|
---|
230 | {
|
---|
231 | $this->nextHop = $nextHop;
|
---|
232 | }
|
---|
233 | /**
|
---|
234 | * @return string
|
---|
235 | */
|
---|
236 | public function getNextHop()
|
---|
237 | {
|
---|
238 | return $this->nextHop;
|
---|
239 | }
|
---|
240 | /**
|
---|
241 | * @param string
|
---|
242 | */
|
---|
243 | public function setNextHopType($nextHopType)
|
---|
244 | {
|
---|
245 | $this->nextHopType = $nextHopType;
|
---|
246 | }
|
---|
247 | /**
|
---|
248 | * @return string
|
---|
249 | */
|
---|
250 | public function getNextHopType()
|
---|
251 | {
|
---|
252 | return $this->nextHopType;
|
---|
253 | }
|
---|
254 | /**
|
---|
255 | * @param int
|
---|
256 | */
|
---|
257 | public function setPriority($priority)
|
---|
258 | {
|
---|
259 | $this->priority = $priority;
|
---|
260 | }
|
---|
261 | /**
|
---|
262 | * @return int
|
---|
263 | */
|
---|
264 | public function getPriority()
|
---|
265 | {
|
---|
266 | return $this->priority;
|
---|
267 | }
|
---|
268 | /**
|
---|
269 | * @param string[]
|
---|
270 | */
|
---|
271 | public function setProtocols($protocols)
|
---|
272 | {
|
---|
273 | $this->protocols = $protocols;
|
---|
274 | }
|
---|
275 | /**
|
---|
276 | * @return string[]
|
---|
277 | */
|
---|
278 | public function getProtocols()
|
---|
279 | {
|
---|
280 | return $this->protocols;
|
---|
281 | }
|
---|
282 | /**
|
---|
283 | * @param string
|
---|
284 | */
|
---|
285 | public function setRegion($region)
|
---|
286 | {
|
---|
287 | $this->region = $region;
|
---|
288 | }
|
---|
289 | /**
|
---|
290 | * @return string
|
---|
291 | */
|
---|
292 | public function getRegion()
|
---|
293 | {
|
---|
294 | return $this->region;
|
---|
295 | }
|
---|
296 | /**
|
---|
297 | * @param string
|
---|
298 | */
|
---|
299 | public function setRouteScope($routeScope)
|
---|
300 | {
|
---|
301 | $this->routeScope = $routeScope;
|
---|
302 | }
|
---|
303 | /**
|
---|
304 | * @return string
|
---|
305 | */
|
---|
306 | public function getRouteScope()
|
---|
307 | {
|
---|
308 | return $this->routeScope;
|
---|
309 | }
|
---|
310 | /**
|
---|
311 | * @param string
|
---|
312 | */
|
---|
313 | public function setRouteType($routeType)
|
---|
314 | {
|
---|
315 | $this->routeType = $routeType;
|
---|
316 | }
|
---|
317 | /**
|
---|
318 | * @return string
|
---|
319 | */
|
---|
320 | public function getRouteType()
|
---|
321 | {
|
---|
322 | return $this->routeType;
|
---|
323 | }
|
---|
324 | /**
|
---|
325 | * @param string
|
---|
326 | */
|
---|
327 | public function setSrcIpRange($srcIpRange)
|
---|
328 | {
|
---|
329 | $this->srcIpRange = $srcIpRange;
|
---|
330 | }
|
---|
331 | /**
|
---|
332 | * @return string
|
---|
333 | */
|
---|
334 | public function getSrcIpRange()
|
---|
335 | {
|
---|
336 | return $this->srcIpRange;
|
---|
337 | }
|
---|
338 | /**
|
---|
339 | * @param string[]
|
---|
340 | */
|
---|
341 | public function setSrcPortRanges($srcPortRanges)
|
---|
342 | {
|
---|
343 | $this->srcPortRanges = $srcPortRanges;
|
---|
344 | }
|
---|
345 | /**
|
---|
346 | * @return string[]
|
---|
347 | */
|
---|
348 | public function getSrcPortRanges()
|
---|
349 | {
|
---|
350 | return $this->srcPortRanges;
|
---|
351 | }
|
---|
352 | /**
|
---|
353 | * @param string
|
---|
354 | */
|
---|
355 | public function setUri($uri)
|
---|
356 | {
|
---|
357 | $this->uri = $uri;
|
---|
358 | }
|
---|
359 | /**
|
---|
360 | * @return string
|
---|
361 | */
|
---|
362 | public function getUri()
|
---|
363 | {
|
---|
364 | return $this->uri;
|
---|
365 | }
|
---|
366 | }
|
---|
367 |
|
---|
368 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
369 | class_alias(RouteInfo::class, 'Google_Service_NetworkManagement_RouteInfo');
|
---|