source: vendor/google/apiclient-services/src/Compute/RouterBgpPeer.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 8.5 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 RouterBgpPeer extends \Google\Collection
21{
22 protected $collection_key = 'importPolicies';
23 /**
24 * @var string
25 */
26 public $advertiseMode;
27 /**
28 * @var string[]
29 */
30 public $advertisedGroups;
31 protected $advertisedIpRangesType = RouterAdvertisedIpRange::class;
32 protected $advertisedIpRangesDataType = 'array';
33 /**
34 * @var string
35 */
36 public $advertisedRoutePriority;
37 protected $bfdType = RouterBgpPeerBfd::class;
38 protected $bfdDataType = '';
39 protected $customLearnedIpRangesType = RouterBgpPeerCustomLearnedIpRange::class;
40 protected $customLearnedIpRangesDataType = 'array';
41 /**
42 * @var int
43 */
44 public $customLearnedRoutePriority;
45 /**
46 * @var string
47 */
48 public $enable;
49 /**
50 * @var bool
51 */
52 public $enableIpv4;
53 /**
54 * @var bool
55 */
56 public $enableIpv6;
57 /**
58 * @var string[]
59 */
60 public $exportPolicies;
61 /**
62 * @var string[]
63 */
64 public $importPolicies;
65 /**
66 * @var string
67 */
68 public $interfaceName;
69 /**
70 * @var string
71 */
72 public $ipAddress;
73 /**
74 * @var string
75 */
76 public $ipv4NexthopAddress;
77 /**
78 * @var string
79 */
80 public $ipv6NexthopAddress;
81 /**
82 * @var string
83 */
84 public $managementType;
85 /**
86 * @var string
87 */
88 public $md5AuthenticationKeyName;
89 /**
90 * @var string
91 */
92 public $name;
93 /**
94 * @var string
95 */
96 public $peerAsn;
97 /**
98 * @var string
99 */
100 public $peerIpAddress;
101 /**
102 * @var string
103 */
104 public $peerIpv4NexthopAddress;
105 /**
106 * @var string
107 */
108 public $peerIpv6NexthopAddress;
109 /**
110 * @var string
111 */
112 public $routerApplianceInstance;
113
114 /**
115 * @param string
116 */
117 public function setAdvertiseMode($advertiseMode)
118 {
119 $this->advertiseMode = $advertiseMode;
120 }
121 /**
122 * @return string
123 */
124 public function getAdvertiseMode()
125 {
126 return $this->advertiseMode;
127 }
128 /**
129 * @param string[]
130 */
131 public function setAdvertisedGroups($advertisedGroups)
132 {
133 $this->advertisedGroups = $advertisedGroups;
134 }
135 /**
136 * @return string[]
137 */
138 public function getAdvertisedGroups()
139 {
140 return $this->advertisedGroups;
141 }
142 /**
143 * @param RouterAdvertisedIpRange[]
144 */
145 public function setAdvertisedIpRanges($advertisedIpRanges)
146 {
147 $this->advertisedIpRanges = $advertisedIpRanges;
148 }
149 /**
150 * @return RouterAdvertisedIpRange[]
151 */
152 public function getAdvertisedIpRanges()
153 {
154 return $this->advertisedIpRanges;
155 }
156 /**
157 * @param string
158 */
159 public function setAdvertisedRoutePriority($advertisedRoutePriority)
160 {
161 $this->advertisedRoutePriority = $advertisedRoutePriority;
162 }
163 /**
164 * @return string
165 */
166 public function getAdvertisedRoutePriority()
167 {
168 return $this->advertisedRoutePriority;
169 }
170 /**
171 * @param RouterBgpPeerBfd
172 */
173 public function setBfd(RouterBgpPeerBfd $bfd)
174 {
175 $this->bfd = $bfd;
176 }
177 /**
178 * @return RouterBgpPeerBfd
179 */
180 public function getBfd()
181 {
182 return $this->bfd;
183 }
184 /**
185 * @param RouterBgpPeerCustomLearnedIpRange[]
186 */
187 public function setCustomLearnedIpRanges($customLearnedIpRanges)
188 {
189 $this->customLearnedIpRanges = $customLearnedIpRanges;
190 }
191 /**
192 * @return RouterBgpPeerCustomLearnedIpRange[]
193 */
194 public function getCustomLearnedIpRanges()
195 {
196 return $this->customLearnedIpRanges;
197 }
198 /**
199 * @param int
200 */
201 public function setCustomLearnedRoutePriority($customLearnedRoutePriority)
202 {
203 $this->customLearnedRoutePriority = $customLearnedRoutePriority;
204 }
205 /**
206 * @return int
207 */
208 public function getCustomLearnedRoutePriority()
209 {
210 return $this->customLearnedRoutePriority;
211 }
212 /**
213 * @param string
214 */
215 public function setEnable($enable)
216 {
217 $this->enable = $enable;
218 }
219 /**
220 * @return string
221 */
222 public function getEnable()
223 {
224 return $this->enable;
225 }
226 /**
227 * @param bool
228 */
229 public function setEnableIpv4($enableIpv4)
230 {
231 $this->enableIpv4 = $enableIpv4;
232 }
233 /**
234 * @return bool
235 */
236 public function getEnableIpv4()
237 {
238 return $this->enableIpv4;
239 }
240 /**
241 * @param bool
242 */
243 public function setEnableIpv6($enableIpv6)
244 {
245 $this->enableIpv6 = $enableIpv6;
246 }
247 /**
248 * @return bool
249 */
250 public function getEnableIpv6()
251 {
252 return $this->enableIpv6;
253 }
254 /**
255 * @param string[]
256 */
257 public function setExportPolicies($exportPolicies)
258 {
259 $this->exportPolicies = $exportPolicies;
260 }
261 /**
262 * @return string[]
263 */
264 public function getExportPolicies()
265 {
266 return $this->exportPolicies;
267 }
268 /**
269 * @param string[]
270 */
271 public function setImportPolicies($importPolicies)
272 {
273 $this->importPolicies = $importPolicies;
274 }
275 /**
276 * @return string[]
277 */
278 public function getImportPolicies()
279 {
280 return $this->importPolicies;
281 }
282 /**
283 * @param string
284 */
285 public function setInterfaceName($interfaceName)
286 {
287 $this->interfaceName = $interfaceName;
288 }
289 /**
290 * @return string
291 */
292 public function getInterfaceName()
293 {
294 return $this->interfaceName;
295 }
296 /**
297 * @param string
298 */
299 public function setIpAddress($ipAddress)
300 {
301 $this->ipAddress = $ipAddress;
302 }
303 /**
304 * @return string
305 */
306 public function getIpAddress()
307 {
308 return $this->ipAddress;
309 }
310 /**
311 * @param string
312 */
313 public function setIpv4NexthopAddress($ipv4NexthopAddress)
314 {
315 $this->ipv4NexthopAddress = $ipv4NexthopAddress;
316 }
317 /**
318 * @return string
319 */
320 public function getIpv4NexthopAddress()
321 {
322 return $this->ipv4NexthopAddress;
323 }
324 /**
325 * @param string
326 */
327 public function setIpv6NexthopAddress($ipv6NexthopAddress)
328 {
329 $this->ipv6NexthopAddress = $ipv6NexthopAddress;
330 }
331 /**
332 * @return string
333 */
334 public function getIpv6NexthopAddress()
335 {
336 return $this->ipv6NexthopAddress;
337 }
338 /**
339 * @param string
340 */
341 public function setManagementType($managementType)
342 {
343 $this->managementType = $managementType;
344 }
345 /**
346 * @return string
347 */
348 public function getManagementType()
349 {
350 return $this->managementType;
351 }
352 /**
353 * @param string
354 */
355 public function setMd5AuthenticationKeyName($md5AuthenticationKeyName)
356 {
357 $this->md5AuthenticationKeyName = $md5AuthenticationKeyName;
358 }
359 /**
360 * @return string
361 */
362 public function getMd5AuthenticationKeyName()
363 {
364 return $this->md5AuthenticationKeyName;
365 }
366 /**
367 * @param string
368 */
369 public function setName($name)
370 {
371 $this->name = $name;
372 }
373 /**
374 * @return string
375 */
376 public function getName()
377 {
378 return $this->name;
379 }
380 /**
381 * @param string
382 */
383 public function setPeerAsn($peerAsn)
384 {
385 $this->peerAsn = $peerAsn;
386 }
387 /**
388 * @return string
389 */
390 public function getPeerAsn()
391 {
392 return $this->peerAsn;
393 }
394 /**
395 * @param string
396 */
397 public function setPeerIpAddress($peerIpAddress)
398 {
399 $this->peerIpAddress = $peerIpAddress;
400 }
401 /**
402 * @return string
403 */
404 public function getPeerIpAddress()
405 {
406 return $this->peerIpAddress;
407 }
408 /**
409 * @param string
410 */
411 public function setPeerIpv4NexthopAddress($peerIpv4NexthopAddress)
412 {
413 $this->peerIpv4NexthopAddress = $peerIpv4NexthopAddress;
414 }
415 /**
416 * @return string
417 */
418 public function getPeerIpv4NexthopAddress()
419 {
420 return $this->peerIpv4NexthopAddress;
421 }
422 /**
423 * @param string
424 */
425 public function setPeerIpv6NexthopAddress($peerIpv6NexthopAddress)
426 {
427 $this->peerIpv6NexthopAddress = $peerIpv6NexthopAddress;
428 }
429 /**
430 * @return string
431 */
432 public function getPeerIpv6NexthopAddress()
433 {
434 return $this->peerIpv6NexthopAddress;
435 }
436 /**
437 * @param string
438 */
439 public function setRouterApplianceInstance($routerApplianceInstance)
440 {
441 $this->routerApplianceInstance = $routerApplianceInstance;
442 }
443 /**
444 * @return string
445 */
446 public function getRouterApplianceInstance()
447 {
448 return $this->routerApplianceInstance;
449 }
450}
451
452// Adding a class alias for backwards compatibility with the previous class name.
453class_alias(RouterBgpPeer::class, 'Google_Service_Compute_RouterBgpPeer');
Note: See TracBrowser for help on using the repository browser.