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\Compute;
|
---|
19 |
|
---|
20 | class InterconnectRemoteLocation extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'permittedConnections';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $address;
|
---|
27 | protected $attachmentConfigurationConstraintsType = InterconnectAttachmentConfigurationConstraints::class;
|
---|
28 | protected $attachmentConfigurationConstraintsDataType = '';
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $city;
|
---|
33 | protected $constraintsType = InterconnectRemoteLocationConstraints::class;
|
---|
34 | protected $constraintsDataType = '';
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $continent;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $creationTimestamp;
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $description;
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $facilityProvider;
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $facilityProviderFacilityId;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $id;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $kind;
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $lacp;
|
---|
67 | /**
|
---|
68 | * @var int
|
---|
69 | */
|
---|
70 | public $maxLagSize100Gbps;
|
---|
71 | /**
|
---|
72 | * @var int
|
---|
73 | */
|
---|
74 | public $maxLagSize10Gbps;
|
---|
75 | /**
|
---|
76 | * @var string
|
---|
77 | */
|
---|
78 | public $name;
|
---|
79 | /**
|
---|
80 | * @var string
|
---|
81 | */
|
---|
82 | public $peeringdbFacilityId;
|
---|
83 | protected $permittedConnectionsType = InterconnectRemoteLocationPermittedConnections::class;
|
---|
84 | protected $permittedConnectionsDataType = 'array';
|
---|
85 | /**
|
---|
86 | * @var string
|
---|
87 | */
|
---|
88 | public $remoteService;
|
---|
89 | /**
|
---|
90 | * @var string
|
---|
91 | */
|
---|
92 | public $selfLink;
|
---|
93 | /**
|
---|
94 | * @var string
|
---|
95 | */
|
---|
96 | public $status;
|
---|
97 |
|
---|
98 | /**
|
---|
99 | * @param string
|
---|
100 | */
|
---|
101 | public function setAddress($address)
|
---|
102 | {
|
---|
103 | $this->address = $address;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @return string
|
---|
107 | */
|
---|
108 | public function getAddress()
|
---|
109 | {
|
---|
110 | return $this->address;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @param InterconnectAttachmentConfigurationConstraints
|
---|
114 | */
|
---|
115 | public function setAttachmentConfigurationConstraints(InterconnectAttachmentConfigurationConstraints $attachmentConfigurationConstraints)
|
---|
116 | {
|
---|
117 | $this->attachmentConfigurationConstraints = $attachmentConfigurationConstraints;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @return InterconnectAttachmentConfigurationConstraints
|
---|
121 | */
|
---|
122 | public function getAttachmentConfigurationConstraints()
|
---|
123 | {
|
---|
124 | return $this->attachmentConfigurationConstraints;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @param string
|
---|
128 | */
|
---|
129 | public function setCity($city)
|
---|
130 | {
|
---|
131 | $this->city = $city;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return string
|
---|
135 | */
|
---|
136 | public function getCity()
|
---|
137 | {
|
---|
138 | return $this->city;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @param InterconnectRemoteLocationConstraints
|
---|
142 | */
|
---|
143 | public function setConstraints(InterconnectRemoteLocationConstraints $constraints)
|
---|
144 | {
|
---|
145 | $this->constraints = $constraints;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @return InterconnectRemoteLocationConstraints
|
---|
149 | */
|
---|
150 | public function getConstraints()
|
---|
151 | {
|
---|
152 | return $this->constraints;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @param string
|
---|
156 | */
|
---|
157 | public function setContinent($continent)
|
---|
158 | {
|
---|
159 | $this->continent = $continent;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @return string
|
---|
163 | */
|
---|
164 | public function getContinent()
|
---|
165 | {
|
---|
166 | return $this->continent;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @param string
|
---|
170 | */
|
---|
171 | public function setCreationTimestamp($creationTimestamp)
|
---|
172 | {
|
---|
173 | $this->creationTimestamp = $creationTimestamp;
|
---|
174 | }
|
---|
175 | /**
|
---|
176 | * @return string
|
---|
177 | */
|
---|
178 | public function getCreationTimestamp()
|
---|
179 | {
|
---|
180 | return $this->creationTimestamp;
|
---|
181 | }
|
---|
182 | /**
|
---|
183 | * @param string
|
---|
184 | */
|
---|
185 | public function setDescription($description)
|
---|
186 | {
|
---|
187 | $this->description = $description;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @return string
|
---|
191 | */
|
---|
192 | public function getDescription()
|
---|
193 | {
|
---|
194 | return $this->description;
|
---|
195 | }
|
---|
196 | /**
|
---|
197 | * @param string
|
---|
198 | */
|
---|
199 | public function setFacilityProvider($facilityProvider)
|
---|
200 | {
|
---|
201 | $this->facilityProvider = $facilityProvider;
|
---|
202 | }
|
---|
203 | /**
|
---|
204 | * @return string
|
---|
205 | */
|
---|
206 | public function getFacilityProvider()
|
---|
207 | {
|
---|
208 | return $this->facilityProvider;
|
---|
209 | }
|
---|
210 | /**
|
---|
211 | * @param string
|
---|
212 | */
|
---|
213 | public function setFacilityProviderFacilityId($facilityProviderFacilityId)
|
---|
214 | {
|
---|
215 | $this->facilityProviderFacilityId = $facilityProviderFacilityId;
|
---|
216 | }
|
---|
217 | /**
|
---|
218 | * @return string
|
---|
219 | */
|
---|
220 | public function getFacilityProviderFacilityId()
|
---|
221 | {
|
---|
222 | return $this->facilityProviderFacilityId;
|
---|
223 | }
|
---|
224 | /**
|
---|
225 | * @param string
|
---|
226 | */
|
---|
227 | public function setId($id)
|
---|
228 | {
|
---|
229 | $this->id = $id;
|
---|
230 | }
|
---|
231 | /**
|
---|
232 | * @return string
|
---|
233 | */
|
---|
234 | public function getId()
|
---|
235 | {
|
---|
236 | return $this->id;
|
---|
237 | }
|
---|
238 | /**
|
---|
239 | * @param string
|
---|
240 | */
|
---|
241 | public function setKind($kind)
|
---|
242 | {
|
---|
243 | $this->kind = $kind;
|
---|
244 | }
|
---|
245 | /**
|
---|
246 | * @return string
|
---|
247 | */
|
---|
248 | public function getKind()
|
---|
249 | {
|
---|
250 | return $this->kind;
|
---|
251 | }
|
---|
252 | /**
|
---|
253 | * @param string
|
---|
254 | */
|
---|
255 | public function setLacp($lacp)
|
---|
256 | {
|
---|
257 | $this->lacp = $lacp;
|
---|
258 | }
|
---|
259 | /**
|
---|
260 | * @return string
|
---|
261 | */
|
---|
262 | public function getLacp()
|
---|
263 | {
|
---|
264 | return $this->lacp;
|
---|
265 | }
|
---|
266 | /**
|
---|
267 | * @param int
|
---|
268 | */
|
---|
269 | public function setMaxLagSize100Gbps($maxLagSize100Gbps)
|
---|
270 | {
|
---|
271 | $this->maxLagSize100Gbps = $maxLagSize100Gbps;
|
---|
272 | }
|
---|
273 | /**
|
---|
274 | * @return int
|
---|
275 | */
|
---|
276 | public function getMaxLagSize100Gbps()
|
---|
277 | {
|
---|
278 | return $this->maxLagSize100Gbps;
|
---|
279 | }
|
---|
280 | /**
|
---|
281 | * @param int
|
---|
282 | */
|
---|
283 | public function setMaxLagSize10Gbps($maxLagSize10Gbps)
|
---|
284 | {
|
---|
285 | $this->maxLagSize10Gbps = $maxLagSize10Gbps;
|
---|
286 | }
|
---|
287 | /**
|
---|
288 | * @return int
|
---|
289 | */
|
---|
290 | public function getMaxLagSize10Gbps()
|
---|
291 | {
|
---|
292 | return $this->maxLagSize10Gbps;
|
---|
293 | }
|
---|
294 | /**
|
---|
295 | * @param string
|
---|
296 | */
|
---|
297 | public function setName($name)
|
---|
298 | {
|
---|
299 | $this->name = $name;
|
---|
300 | }
|
---|
301 | /**
|
---|
302 | * @return string
|
---|
303 | */
|
---|
304 | public function getName()
|
---|
305 | {
|
---|
306 | return $this->name;
|
---|
307 | }
|
---|
308 | /**
|
---|
309 | * @param string
|
---|
310 | */
|
---|
311 | public function setPeeringdbFacilityId($peeringdbFacilityId)
|
---|
312 | {
|
---|
313 | $this->peeringdbFacilityId = $peeringdbFacilityId;
|
---|
314 | }
|
---|
315 | /**
|
---|
316 | * @return string
|
---|
317 | */
|
---|
318 | public function getPeeringdbFacilityId()
|
---|
319 | {
|
---|
320 | return $this->peeringdbFacilityId;
|
---|
321 | }
|
---|
322 | /**
|
---|
323 | * @param InterconnectRemoteLocationPermittedConnections[]
|
---|
324 | */
|
---|
325 | public function setPermittedConnections($permittedConnections)
|
---|
326 | {
|
---|
327 | $this->permittedConnections = $permittedConnections;
|
---|
328 | }
|
---|
329 | /**
|
---|
330 | * @return InterconnectRemoteLocationPermittedConnections[]
|
---|
331 | */
|
---|
332 | public function getPermittedConnections()
|
---|
333 | {
|
---|
334 | return $this->permittedConnections;
|
---|
335 | }
|
---|
336 | /**
|
---|
337 | * @param string
|
---|
338 | */
|
---|
339 | public function setRemoteService($remoteService)
|
---|
340 | {
|
---|
341 | $this->remoteService = $remoteService;
|
---|
342 | }
|
---|
343 | /**
|
---|
344 | * @return string
|
---|
345 | */
|
---|
346 | public function getRemoteService()
|
---|
347 | {
|
---|
348 | return $this->remoteService;
|
---|
349 | }
|
---|
350 | /**
|
---|
351 | * @param string
|
---|
352 | */
|
---|
353 | public function setSelfLink($selfLink)
|
---|
354 | {
|
---|
355 | $this->selfLink = $selfLink;
|
---|
356 | }
|
---|
357 | /**
|
---|
358 | * @return string
|
---|
359 | */
|
---|
360 | public function getSelfLink()
|
---|
361 | {
|
---|
362 | return $this->selfLink;
|
---|
363 | }
|
---|
364 | /**
|
---|
365 | * @param string
|
---|
366 | */
|
---|
367 | public function setStatus($status)
|
---|
368 | {
|
---|
369 | $this->status = $status;
|
---|
370 | }
|
---|
371 | /**
|
---|
372 | * @return string
|
---|
373 | */
|
---|
374 | public function getStatus()
|
---|
375 | {
|
---|
376 | return $this->status;
|
---|
377 | }
|
---|
378 | }
|
---|
379 |
|
---|
380 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
381 | class_alias(InterconnectRemoteLocation::class, 'Google_Service_Compute_InterconnectRemoteLocation');
|
---|