source: vendor/google/apiclient-services/src/Compute/Route.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: 6.8 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 Route extends \Google\Collection
21{
22 protected $collection_key = 'warnings';
23 protected $asPathsType = RouteAsPath::class;
24 protected $asPathsDataType = 'array';
25 /**
26 * @var string
27 */
28 public $creationTimestamp;
29 /**
30 * @var string
31 */
32 public $description;
33 /**
34 * @var string
35 */
36 public $destRange;
37 /**
38 * @var string
39 */
40 public $id;
41 /**
42 * @var string
43 */
44 public $kind;
45 /**
46 * @var string
47 */
48 public $name;
49 /**
50 * @var string
51 */
52 public $network;
53 /**
54 * @var string
55 */
56 public $nextHopGateway;
57 /**
58 * @var string
59 */
60 public $nextHopHub;
61 /**
62 * @var string
63 */
64 public $nextHopIlb;
65 /**
66 * @var string
67 */
68 public $nextHopInstance;
69 /**
70 * @var string
71 */
72 public $nextHopIp;
73 /**
74 * @var string
75 */
76 public $nextHopNetwork;
77 /**
78 * @var string
79 */
80 public $nextHopPeering;
81 /**
82 * @var string
83 */
84 public $nextHopVpnTunnel;
85 /**
86 * @var string
87 */
88 public $priority;
89 /**
90 * @var string
91 */
92 public $routeStatus;
93 /**
94 * @var string
95 */
96 public $routeType;
97 /**
98 * @var string
99 */
100 public $selfLink;
101 /**
102 * @var string[]
103 */
104 public $tags;
105 protected $warningsType = RouteWarnings::class;
106 protected $warningsDataType = 'array';
107
108 /**
109 * @param RouteAsPath[]
110 */
111 public function setAsPaths($asPaths)
112 {
113 $this->asPaths = $asPaths;
114 }
115 /**
116 * @return RouteAsPath[]
117 */
118 public function getAsPaths()
119 {
120 return $this->asPaths;
121 }
122 /**
123 * @param string
124 */
125 public function setCreationTimestamp($creationTimestamp)
126 {
127 $this->creationTimestamp = $creationTimestamp;
128 }
129 /**
130 * @return string
131 */
132 public function getCreationTimestamp()
133 {
134 return $this->creationTimestamp;
135 }
136 /**
137 * @param string
138 */
139 public function setDescription($description)
140 {
141 $this->description = $description;
142 }
143 /**
144 * @return string
145 */
146 public function getDescription()
147 {
148 return $this->description;
149 }
150 /**
151 * @param string
152 */
153 public function setDestRange($destRange)
154 {
155 $this->destRange = $destRange;
156 }
157 /**
158 * @return string
159 */
160 public function getDestRange()
161 {
162 return $this->destRange;
163 }
164 /**
165 * @param string
166 */
167 public function setId($id)
168 {
169 $this->id = $id;
170 }
171 /**
172 * @return string
173 */
174 public function getId()
175 {
176 return $this->id;
177 }
178 /**
179 * @param string
180 */
181 public function setKind($kind)
182 {
183 $this->kind = $kind;
184 }
185 /**
186 * @return string
187 */
188 public function getKind()
189 {
190 return $this->kind;
191 }
192 /**
193 * @param string
194 */
195 public function setName($name)
196 {
197 $this->name = $name;
198 }
199 /**
200 * @return string
201 */
202 public function getName()
203 {
204 return $this->name;
205 }
206 /**
207 * @param string
208 */
209 public function setNetwork($network)
210 {
211 $this->network = $network;
212 }
213 /**
214 * @return string
215 */
216 public function getNetwork()
217 {
218 return $this->network;
219 }
220 /**
221 * @param string
222 */
223 public function setNextHopGateway($nextHopGateway)
224 {
225 $this->nextHopGateway = $nextHopGateway;
226 }
227 /**
228 * @return string
229 */
230 public function getNextHopGateway()
231 {
232 return $this->nextHopGateway;
233 }
234 /**
235 * @param string
236 */
237 public function setNextHopHub($nextHopHub)
238 {
239 $this->nextHopHub = $nextHopHub;
240 }
241 /**
242 * @return string
243 */
244 public function getNextHopHub()
245 {
246 return $this->nextHopHub;
247 }
248 /**
249 * @param string
250 */
251 public function setNextHopIlb($nextHopIlb)
252 {
253 $this->nextHopIlb = $nextHopIlb;
254 }
255 /**
256 * @return string
257 */
258 public function getNextHopIlb()
259 {
260 return $this->nextHopIlb;
261 }
262 /**
263 * @param string
264 */
265 public function setNextHopInstance($nextHopInstance)
266 {
267 $this->nextHopInstance = $nextHopInstance;
268 }
269 /**
270 * @return string
271 */
272 public function getNextHopInstance()
273 {
274 return $this->nextHopInstance;
275 }
276 /**
277 * @param string
278 */
279 public function setNextHopIp($nextHopIp)
280 {
281 $this->nextHopIp = $nextHopIp;
282 }
283 /**
284 * @return string
285 */
286 public function getNextHopIp()
287 {
288 return $this->nextHopIp;
289 }
290 /**
291 * @param string
292 */
293 public function setNextHopNetwork($nextHopNetwork)
294 {
295 $this->nextHopNetwork = $nextHopNetwork;
296 }
297 /**
298 * @return string
299 */
300 public function getNextHopNetwork()
301 {
302 return $this->nextHopNetwork;
303 }
304 /**
305 * @param string
306 */
307 public function setNextHopPeering($nextHopPeering)
308 {
309 $this->nextHopPeering = $nextHopPeering;
310 }
311 /**
312 * @return string
313 */
314 public function getNextHopPeering()
315 {
316 return $this->nextHopPeering;
317 }
318 /**
319 * @param string
320 */
321 public function setNextHopVpnTunnel($nextHopVpnTunnel)
322 {
323 $this->nextHopVpnTunnel = $nextHopVpnTunnel;
324 }
325 /**
326 * @return string
327 */
328 public function getNextHopVpnTunnel()
329 {
330 return $this->nextHopVpnTunnel;
331 }
332 /**
333 * @param string
334 */
335 public function setPriority($priority)
336 {
337 $this->priority = $priority;
338 }
339 /**
340 * @return string
341 */
342 public function getPriority()
343 {
344 return $this->priority;
345 }
346 /**
347 * @param string
348 */
349 public function setRouteStatus($routeStatus)
350 {
351 $this->routeStatus = $routeStatus;
352 }
353 /**
354 * @return string
355 */
356 public function getRouteStatus()
357 {
358 return $this->routeStatus;
359 }
360 /**
361 * @param string
362 */
363 public function setRouteType($routeType)
364 {
365 $this->routeType = $routeType;
366 }
367 /**
368 * @return string
369 */
370 public function getRouteType()
371 {
372 return $this->routeType;
373 }
374 /**
375 * @param string
376 */
377 public function setSelfLink($selfLink)
378 {
379 $this->selfLink = $selfLink;
380 }
381 /**
382 * @return string
383 */
384 public function getSelfLink()
385 {
386 return $this->selfLink;
387 }
388 /**
389 * @param string[]
390 */
391 public function setTags($tags)
392 {
393 $this->tags = $tags;
394 }
395 /**
396 * @return string[]
397 */
398 public function getTags()
399 {
400 return $this->tags;
401 }
402 /**
403 * @param RouteWarnings[]
404 */
405 public function setWarnings($warnings)
406 {
407 $this->warnings = $warnings;
408 }
409 /**
410 * @return RouteWarnings[]
411 */
412 public function getWarnings()
413 {
414 return $this->warnings;
415 }
416}
417
418// Adding a class alias for backwards compatibility with the previous class name.
419class_alias(Route::class, 'Google_Service_Compute_Route');
Note: See TracBrowser for help on using the repository browser.