source: vendor/google/apiclient-services/src/Compute/ServiceAttachment.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: 7.2 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 ServiceAttachment extends \Google\Collection
21{
22 protected $collection_key = 'natSubnets';
23 protected $connectedEndpointsType = ServiceAttachmentConnectedEndpoint::class;
24 protected $connectedEndpointsDataType = 'array';
25 /**
26 * @var string
27 */
28 public $connectionPreference;
29 protected $consumerAcceptListsType = ServiceAttachmentConsumerProjectLimit::class;
30 protected $consumerAcceptListsDataType = 'array';
31 /**
32 * @var string[]
33 */
34 public $consumerRejectLists;
35 /**
36 * @var string
37 */
38 public $creationTimestamp;
39 /**
40 * @var string
41 */
42 public $description;
43 /**
44 * @var string[]
45 */
46 public $domainNames;
47 /**
48 * @var bool
49 */
50 public $enableProxyProtocol;
51 /**
52 * @var string
53 */
54 public $fingerprint;
55 /**
56 * @var string
57 */
58 public $id;
59 /**
60 * @var string
61 */
62 public $kind;
63 /**
64 * @var string
65 */
66 public $name;
67 /**
68 * @var string[]
69 */
70 public $natSubnets;
71 /**
72 * @var string
73 */
74 public $producerForwardingRule;
75 /**
76 * @var string
77 */
78 public $propagatedConnectionLimit;
79 protected $pscServiceAttachmentIdType = Uint128::class;
80 protected $pscServiceAttachmentIdDataType = '';
81 /**
82 * @var bool
83 */
84 public $reconcileConnections;
85 /**
86 * @var string
87 */
88 public $region;
89 /**
90 * @var string
91 */
92 public $selfLink;
93 /**
94 * @var string
95 */
96 public $targetService;
97
98 /**
99 * @param ServiceAttachmentConnectedEndpoint[]
100 */
101 public function setConnectedEndpoints($connectedEndpoints)
102 {
103 $this->connectedEndpoints = $connectedEndpoints;
104 }
105 /**
106 * @return ServiceAttachmentConnectedEndpoint[]
107 */
108 public function getConnectedEndpoints()
109 {
110 return $this->connectedEndpoints;
111 }
112 /**
113 * @param string
114 */
115 public function setConnectionPreference($connectionPreference)
116 {
117 $this->connectionPreference = $connectionPreference;
118 }
119 /**
120 * @return string
121 */
122 public function getConnectionPreference()
123 {
124 return $this->connectionPreference;
125 }
126 /**
127 * @param ServiceAttachmentConsumerProjectLimit[]
128 */
129 public function setConsumerAcceptLists($consumerAcceptLists)
130 {
131 $this->consumerAcceptLists = $consumerAcceptLists;
132 }
133 /**
134 * @return ServiceAttachmentConsumerProjectLimit[]
135 */
136 public function getConsumerAcceptLists()
137 {
138 return $this->consumerAcceptLists;
139 }
140 /**
141 * @param string[]
142 */
143 public function setConsumerRejectLists($consumerRejectLists)
144 {
145 $this->consumerRejectLists = $consumerRejectLists;
146 }
147 /**
148 * @return string[]
149 */
150 public function getConsumerRejectLists()
151 {
152 return $this->consumerRejectLists;
153 }
154 /**
155 * @param string
156 */
157 public function setCreationTimestamp($creationTimestamp)
158 {
159 $this->creationTimestamp = $creationTimestamp;
160 }
161 /**
162 * @return string
163 */
164 public function getCreationTimestamp()
165 {
166 return $this->creationTimestamp;
167 }
168 /**
169 * @param string
170 */
171 public function setDescription($description)
172 {
173 $this->description = $description;
174 }
175 /**
176 * @return string
177 */
178 public function getDescription()
179 {
180 return $this->description;
181 }
182 /**
183 * @param string[]
184 */
185 public function setDomainNames($domainNames)
186 {
187 $this->domainNames = $domainNames;
188 }
189 /**
190 * @return string[]
191 */
192 public function getDomainNames()
193 {
194 return $this->domainNames;
195 }
196 /**
197 * @param bool
198 */
199 public function setEnableProxyProtocol($enableProxyProtocol)
200 {
201 $this->enableProxyProtocol = $enableProxyProtocol;
202 }
203 /**
204 * @return bool
205 */
206 public function getEnableProxyProtocol()
207 {
208 return $this->enableProxyProtocol;
209 }
210 /**
211 * @param string
212 */
213 public function setFingerprint($fingerprint)
214 {
215 $this->fingerprint = $fingerprint;
216 }
217 /**
218 * @return string
219 */
220 public function getFingerprint()
221 {
222 return $this->fingerprint;
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 setName($name)
256 {
257 $this->name = $name;
258 }
259 /**
260 * @return string
261 */
262 public function getName()
263 {
264 return $this->name;
265 }
266 /**
267 * @param string[]
268 */
269 public function setNatSubnets($natSubnets)
270 {
271 $this->natSubnets = $natSubnets;
272 }
273 /**
274 * @return string[]
275 */
276 public function getNatSubnets()
277 {
278 return $this->natSubnets;
279 }
280 /**
281 * @param string
282 */
283 public function setProducerForwardingRule($producerForwardingRule)
284 {
285 $this->producerForwardingRule = $producerForwardingRule;
286 }
287 /**
288 * @return string
289 */
290 public function getProducerForwardingRule()
291 {
292 return $this->producerForwardingRule;
293 }
294 /**
295 * @param string
296 */
297 public function setPropagatedConnectionLimit($propagatedConnectionLimit)
298 {
299 $this->propagatedConnectionLimit = $propagatedConnectionLimit;
300 }
301 /**
302 * @return string
303 */
304 public function getPropagatedConnectionLimit()
305 {
306 return $this->propagatedConnectionLimit;
307 }
308 /**
309 * @param Uint128
310 */
311 public function setPscServiceAttachmentId(Uint128 $pscServiceAttachmentId)
312 {
313 $this->pscServiceAttachmentId = $pscServiceAttachmentId;
314 }
315 /**
316 * @return Uint128
317 */
318 public function getPscServiceAttachmentId()
319 {
320 return $this->pscServiceAttachmentId;
321 }
322 /**
323 * @param bool
324 */
325 public function setReconcileConnections($reconcileConnections)
326 {
327 $this->reconcileConnections = $reconcileConnections;
328 }
329 /**
330 * @return bool
331 */
332 public function getReconcileConnections()
333 {
334 return $this->reconcileConnections;
335 }
336 /**
337 * @param string
338 */
339 public function setRegion($region)
340 {
341 $this->region = $region;
342 }
343 /**
344 * @return string
345 */
346 public function getRegion()
347 {
348 return $this->region;
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 setTargetService($targetService)
368 {
369 $this->targetService = $targetService;
370 }
371 /**
372 * @return string
373 */
374 public function getTargetService()
375 {
376 return $this->targetService;
377 }
378}
379
380// Adding a class alias for backwards compatibility with the previous class name.
381class_alias(ServiceAttachment::class, 'Google_Service_Compute_ServiceAttachment');
Note: See TracBrowser for help on using the repository browser.