source: vendor/google/apiclient-services/src/Compute/NetworkPeering.php

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

Upload project files

  • Property mode set to 100644
File size: 4.4 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 NetworkPeering extends \Google\Model
21{
22 /**
23 * @var bool
24 */
25 public $autoCreateRoutes;
26 /**
27 * @var bool
28 */
29 public $exchangeSubnetRoutes;
30 /**
31 * @var bool
32 */
33 public $exportCustomRoutes;
34 /**
35 * @var bool
36 */
37 public $exportSubnetRoutesWithPublicIp;
38 /**
39 * @var bool
40 */
41 public $importCustomRoutes;
42 /**
43 * @var bool
44 */
45 public $importSubnetRoutesWithPublicIp;
46 /**
47 * @var string
48 */
49 public $name;
50 /**
51 * @var string
52 */
53 public $network;
54 /**
55 * @var int
56 */
57 public $peerMtu;
58 /**
59 * @var string
60 */
61 public $stackType;
62 /**
63 * @var string
64 */
65 public $state;
66 /**
67 * @var string
68 */
69 public $stateDetails;
70
71 /**
72 * @param bool
73 */
74 public function setAutoCreateRoutes($autoCreateRoutes)
75 {
76 $this->autoCreateRoutes = $autoCreateRoutes;
77 }
78 /**
79 * @return bool
80 */
81 public function getAutoCreateRoutes()
82 {
83 return $this->autoCreateRoutes;
84 }
85 /**
86 * @param bool
87 */
88 public function setExchangeSubnetRoutes($exchangeSubnetRoutes)
89 {
90 $this->exchangeSubnetRoutes = $exchangeSubnetRoutes;
91 }
92 /**
93 * @return bool
94 */
95 public function getExchangeSubnetRoutes()
96 {
97 return $this->exchangeSubnetRoutes;
98 }
99 /**
100 * @param bool
101 */
102 public function setExportCustomRoutes($exportCustomRoutes)
103 {
104 $this->exportCustomRoutes = $exportCustomRoutes;
105 }
106 /**
107 * @return bool
108 */
109 public function getExportCustomRoutes()
110 {
111 return $this->exportCustomRoutes;
112 }
113 /**
114 * @param bool
115 */
116 public function setExportSubnetRoutesWithPublicIp($exportSubnetRoutesWithPublicIp)
117 {
118 $this->exportSubnetRoutesWithPublicIp = $exportSubnetRoutesWithPublicIp;
119 }
120 /**
121 * @return bool
122 */
123 public function getExportSubnetRoutesWithPublicIp()
124 {
125 return $this->exportSubnetRoutesWithPublicIp;
126 }
127 /**
128 * @param bool
129 */
130 public function setImportCustomRoutes($importCustomRoutes)
131 {
132 $this->importCustomRoutes = $importCustomRoutes;
133 }
134 /**
135 * @return bool
136 */
137 public function getImportCustomRoutes()
138 {
139 return $this->importCustomRoutes;
140 }
141 /**
142 * @param bool
143 */
144 public function setImportSubnetRoutesWithPublicIp($importSubnetRoutesWithPublicIp)
145 {
146 $this->importSubnetRoutesWithPublicIp = $importSubnetRoutesWithPublicIp;
147 }
148 /**
149 * @return bool
150 */
151 public function getImportSubnetRoutesWithPublicIp()
152 {
153 return $this->importSubnetRoutesWithPublicIp;
154 }
155 /**
156 * @param string
157 */
158 public function setName($name)
159 {
160 $this->name = $name;
161 }
162 /**
163 * @return string
164 */
165 public function getName()
166 {
167 return $this->name;
168 }
169 /**
170 * @param string
171 */
172 public function setNetwork($network)
173 {
174 $this->network = $network;
175 }
176 /**
177 * @return string
178 */
179 public function getNetwork()
180 {
181 return $this->network;
182 }
183 /**
184 * @param int
185 */
186 public function setPeerMtu($peerMtu)
187 {
188 $this->peerMtu = $peerMtu;
189 }
190 /**
191 * @return int
192 */
193 public function getPeerMtu()
194 {
195 return $this->peerMtu;
196 }
197 /**
198 * @param string
199 */
200 public function setStackType($stackType)
201 {
202 $this->stackType = $stackType;
203 }
204 /**
205 * @return string
206 */
207 public function getStackType()
208 {
209 return $this->stackType;
210 }
211 /**
212 * @param string
213 */
214 public function setState($state)
215 {
216 $this->state = $state;
217 }
218 /**
219 * @return string
220 */
221 public function getState()
222 {
223 return $this->state;
224 }
225 /**
226 * @param string
227 */
228 public function setStateDetails($stateDetails)
229 {
230 $this->stateDetails = $stateDetails;
231 }
232 /**
233 * @return string
234 */
235 public function getStateDetails()
236 {
237 return $this->stateDetails;
238 }
239}
240
241// Adding a class alias for backwards compatibility with the previous class name.
242class_alias(NetworkPeering::class, 'Google_Service_Compute_NetworkPeering');
Note: See TracBrowser for help on using the repository browser.