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\Integrations;
|
---|
19 |
|
---|
20 | class GoogleCloudConnectorsV1Connection extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'destinationConfigs';
|
---|
23 | /**
|
---|
24 | * @var bool
|
---|
25 | */
|
---|
26 | public $asyncOperationsEnabled;
|
---|
27 | protected $authConfigType = GoogleCloudConnectorsV1AuthConfig::class;
|
---|
28 | protected $authConfigDataType = '';
|
---|
29 | /**
|
---|
30 | * @var bool
|
---|
31 | */
|
---|
32 | public $authOverrideEnabled;
|
---|
33 | protected $billingConfigType = GoogleCloudConnectorsV1BillingConfig::class;
|
---|
34 | protected $billingConfigDataType = '';
|
---|
35 | protected $configVariablesType = GoogleCloudConnectorsV1ConfigVariable::class;
|
---|
36 | protected $configVariablesDataType = 'array';
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $connectionRevision;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $connectorVersion;
|
---|
45 | protected $connectorVersionInfraConfigType = GoogleCloudConnectorsV1ConnectorVersionInfraConfig::class;
|
---|
46 | protected $connectorVersionInfraConfigDataType = '';
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $connectorVersionLaunchStage;
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $createTime;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $description;
|
---|
59 | protected $destinationConfigsType = GoogleCloudConnectorsV1DestinationConfig::class;
|
---|
60 | protected $destinationConfigsDataType = 'array';
|
---|
61 | /**
|
---|
62 | * @var string
|
---|
63 | */
|
---|
64 | public $envoyImageLocation;
|
---|
65 | protected $eventingConfigType = GoogleCloudConnectorsV1EventingConfig::class;
|
---|
66 | protected $eventingConfigDataType = '';
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $eventingEnablementType;
|
---|
71 | protected $eventingRuntimeDataType = GoogleCloudConnectorsV1EventingRuntimeData::class;
|
---|
72 | protected $eventingRuntimeDataDataType = '';
|
---|
73 | /**
|
---|
74 | * @var string
|
---|
75 | */
|
---|
76 | public $host;
|
---|
77 | /**
|
---|
78 | * @var string
|
---|
79 | */
|
---|
80 | public $imageLocation;
|
---|
81 | /**
|
---|
82 | * @var bool
|
---|
83 | */
|
---|
84 | public $isTrustedTester;
|
---|
85 | /**
|
---|
86 | * @var string[]
|
---|
87 | */
|
---|
88 | public $labels;
|
---|
89 | protected $lockConfigType = GoogleCloudConnectorsV1LockConfig::class;
|
---|
90 | protected $lockConfigDataType = '';
|
---|
91 | protected $logConfigType = GoogleCloudConnectorsV1LogConfig::class;
|
---|
92 | protected $logConfigDataType = '';
|
---|
93 | /**
|
---|
94 | * @var string
|
---|
95 | */
|
---|
96 | public $name;
|
---|
97 | protected $nodeConfigType = GoogleCloudConnectorsV1NodeConfig::class;
|
---|
98 | protected $nodeConfigDataType = '';
|
---|
99 | /**
|
---|
100 | * @var string
|
---|
101 | */
|
---|
102 | public $serviceAccount;
|
---|
103 | /**
|
---|
104 | * @var string
|
---|
105 | */
|
---|
106 | public $serviceDirectory;
|
---|
107 | protected $sslConfigType = GoogleCloudConnectorsV1SslConfig::class;
|
---|
108 | protected $sslConfigDataType = '';
|
---|
109 | protected $statusType = GoogleCloudConnectorsV1ConnectionStatus::class;
|
---|
110 | protected $statusDataType = '';
|
---|
111 | /**
|
---|
112 | * @var string
|
---|
113 | */
|
---|
114 | public $subscriptionType;
|
---|
115 | /**
|
---|
116 | * @var bool
|
---|
117 | */
|
---|
118 | public $suspended;
|
---|
119 | /**
|
---|
120 | * @var string
|
---|
121 | */
|
---|
122 | public $tlsServiceDirectory;
|
---|
123 | /**
|
---|
124 | * @var string
|
---|
125 | */
|
---|
126 | public $updateTime;
|
---|
127 |
|
---|
128 | /**
|
---|
129 | * @param bool
|
---|
130 | */
|
---|
131 | public function setAsyncOperationsEnabled($asyncOperationsEnabled)
|
---|
132 | {
|
---|
133 | $this->asyncOperationsEnabled = $asyncOperationsEnabled;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @return bool
|
---|
137 | */
|
---|
138 | public function getAsyncOperationsEnabled()
|
---|
139 | {
|
---|
140 | return $this->asyncOperationsEnabled;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @param GoogleCloudConnectorsV1AuthConfig
|
---|
144 | */
|
---|
145 | public function setAuthConfig(GoogleCloudConnectorsV1AuthConfig $authConfig)
|
---|
146 | {
|
---|
147 | $this->authConfig = $authConfig;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @return GoogleCloudConnectorsV1AuthConfig
|
---|
151 | */
|
---|
152 | public function getAuthConfig()
|
---|
153 | {
|
---|
154 | return $this->authConfig;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @param bool
|
---|
158 | */
|
---|
159 | public function setAuthOverrideEnabled($authOverrideEnabled)
|
---|
160 | {
|
---|
161 | $this->authOverrideEnabled = $authOverrideEnabled;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @return bool
|
---|
165 | */
|
---|
166 | public function getAuthOverrideEnabled()
|
---|
167 | {
|
---|
168 | return $this->authOverrideEnabled;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @param GoogleCloudConnectorsV1BillingConfig
|
---|
172 | */
|
---|
173 | public function setBillingConfig(GoogleCloudConnectorsV1BillingConfig $billingConfig)
|
---|
174 | {
|
---|
175 | $this->billingConfig = $billingConfig;
|
---|
176 | }
|
---|
177 | /**
|
---|
178 | * @return GoogleCloudConnectorsV1BillingConfig
|
---|
179 | */
|
---|
180 | public function getBillingConfig()
|
---|
181 | {
|
---|
182 | return $this->billingConfig;
|
---|
183 | }
|
---|
184 | /**
|
---|
185 | * @param GoogleCloudConnectorsV1ConfigVariable[]
|
---|
186 | */
|
---|
187 | public function setConfigVariables($configVariables)
|
---|
188 | {
|
---|
189 | $this->configVariables = $configVariables;
|
---|
190 | }
|
---|
191 | /**
|
---|
192 | * @return GoogleCloudConnectorsV1ConfigVariable[]
|
---|
193 | */
|
---|
194 | public function getConfigVariables()
|
---|
195 | {
|
---|
196 | return $this->configVariables;
|
---|
197 | }
|
---|
198 | /**
|
---|
199 | * @param string
|
---|
200 | */
|
---|
201 | public function setConnectionRevision($connectionRevision)
|
---|
202 | {
|
---|
203 | $this->connectionRevision = $connectionRevision;
|
---|
204 | }
|
---|
205 | /**
|
---|
206 | * @return string
|
---|
207 | */
|
---|
208 | public function getConnectionRevision()
|
---|
209 | {
|
---|
210 | return $this->connectionRevision;
|
---|
211 | }
|
---|
212 | /**
|
---|
213 | * @param string
|
---|
214 | */
|
---|
215 | public function setConnectorVersion($connectorVersion)
|
---|
216 | {
|
---|
217 | $this->connectorVersion = $connectorVersion;
|
---|
218 | }
|
---|
219 | /**
|
---|
220 | * @return string
|
---|
221 | */
|
---|
222 | public function getConnectorVersion()
|
---|
223 | {
|
---|
224 | return $this->connectorVersion;
|
---|
225 | }
|
---|
226 | /**
|
---|
227 | * @param GoogleCloudConnectorsV1ConnectorVersionInfraConfig
|
---|
228 | */
|
---|
229 | public function setConnectorVersionInfraConfig(GoogleCloudConnectorsV1ConnectorVersionInfraConfig $connectorVersionInfraConfig)
|
---|
230 | {
|
---|
231 | $this->connectorVersionInfraConfig = $connectorVersionInfraConfig;
|
---|
232 | }
|
---|
233 | /**
|
---|
234 | * @return GoogleCloudConnectorsV1ConnectorVersionInfraConfig
|
---|
235 | */
|
---|
236 | public function getConnectorVersionInfraConfig()
|
---|
237 | {
|
---|
238 | return $this->connectorVersionInfraConfig;
|
---|
239 | }
|
---|
240 | /**
|
---|
241 | * @param string
|
---|
242 | */
|
---|
243 | public function setConnectorVersionLaunchStage($connectorVersionLaunchStage)
|
---|
244 | {
|
---|
245 | $this->connectorVersionLaunchStage = $connectorVersionLaunchStage;
|
---|
246 | }
|
---|
247 | /**
|
---|
248 | * @return string
|
---|
249 | */
|
---|
250 | public function getConnectorVersionLaunchStage()
|
---|
251 | {
|
---|
252 | return $this->connectorVersionLaunchStage;
|
---|
253 | }
|
---|
254 | /**
|
---|
255 | * @param string
|
---|
256 | */
|
---|
257 | public function setCreateTime($createTime)
|
---|
258 | {
|
---|
259 | $this->createTime = $createTime;
|
---|
260 | }
|
---|
261 | /**
|
---|
262 | * @return string
|
---|
263 | */
|
---|
264 | public function getCreateTime()
|
---|
265 | {
|
---|
266 | return $this->createTime;
|
---|
267 | }
|
---|
268 | /**
|
---|
269 | * @param string
|
---|
270 | */
|
---|
271 | public function setDescription($description)
|
---|
272 | {
|
---|
273 | $this->description = $description;
|
---|
274 | }
|
---|
275 | /**
|
---|
276 | * @return string
|
---|
277 | */
|
---|
278 | public function getDescription()
|
---|
279 | {
|
---|
280 | return $this->description;
|
---|
281 | }
|
---|
282 | /**
|
---|
283 | * @param GoogleCloudConnectorsV1DestinationConfig[]
|
---|
284 | */
|
---|
285 | public function setDestinationConfigs($destinationConfigs)
|
---|
286 | {
|
---|
287 | $this->destinationConfigs = $destinationConfigs;
|
---|
288 | }
|
---|
289 | /**
|
---|
290 | * @return GoogleCloudConnectorsV1DestinationConfig[]
|
---|
291 | */
|
---|
292 | public function getDestinationConfigs()
|
---|
293 | {
|
---|
294 | return $this->destinationConfigs;
|
---|
295 | }
|
---|
296 | /**
|
---|
297 | * @param string
|
---|
298 | */
|
---|
299 | public function setEnvoyImageLocation($envoyImageLocation)
|
---|
300 | {
|
---|
301 | $this->envoyImageLocation = $envoyImageLocation;
|
---|
302 | }
|
---|
303 | /**
|
---|
304 | * @return string
|
---|
305 | */
|
---|
306 | public function getEnvoyImageLocation()
|
---|
307 | {
|
---|
308 | return $this->envoyImageLocation;
|
---|
309 | }
|
---|
310 | /**
|
---|
311 | * @param GoogleCloudConnectorsV1EventingConfig
|
---|
312 | */
|
---|
313 | public function setEventingConfig(GoogleCloudConnectorsV1EventingConfig $eventingConfig)
|
---|
314 | {
|
---|
315 | $this->eventingConfig = $eventingConfig;
|
---|
316 | }
|
---|
317 | /**
|
---|
318 | * @return GoogleCloudConnectorsV1EventingConfig
|
---|
319 | */
|
---|
320 | public function getEventingConfig()
|
---|
321 | {
|
---|
322 | return $this->eventingConfig;
|
---|
323 | }
|
---|
324 | /**
|
---|
325 | * @param string
|
---|
326 | */
|
---|
327 | public function setEventingEnablementType($eventingEnablementType)
|
---|
328 | {
|
---|
329 | $this->eventingEnablementType = $eventingEnablementType;
|
---|
330 | }
|
---|
331 | /**
|
---|
332 | * @return string
|
---|
333 | */
|
---|
334 | public function getEventingEnablementType()
|
---|
335 | {
|
---|
336 | return $this->eventingEnablementType;
|
---|
337 | }
|
---|
338 | /**
|
---|
339 | * @param GoogleCloudConnectorsV1EventingRuntimeData
|
---|
340 | */
|
---|
341 | public function setEventingRuntimeData(GoogleCloudConnectorsV1EventingRuntimeData $eventingRuntimeData)
|
---|
342 | {
|
---|
343 | $this->eventingRuntimeData = $eventingRuntimeData;
|
---|
344 | }
|
---|
345 | /**
|
---|
346 | * @return GoogleCloudConnectorsV1EventingRuntimeData
|
---|
347 | */
|
---|
348 | public function getEventingRuntimeData()
|
---|
349 | {
|
---|
350 | return $this->eventingRuntimeData;
|
---|
351 | }
|
---|
352 | /**
|
---|
353 | * @param string
|
---|
354 | */
|
---|
355 | public function setHost($host)
|
---|
356 | {
|
---|
357 | $this->host = $host;
|
---|
358 | }
|
---|
359 | /**
|
---|
360 | * @return string
|
---|
361 | */
|
---|
362 | public function getHost()
|
---|
363 | {
|
---|
364 | return $this->host;
|
---|
365 | }
|
---|
366 | /**
|
---|
367 | * @param string
|
---|
368 | */
|
---|
369 | public function setImageLocation($imageLocation)
|
---|
370 | {
|
---|
371 | $this->imageLocation = $imageLocation;
|
---|
372 | }
|
---|
373 | /**
|
---|
374 | * @return string
|
---|
375 | */
|
---|
376 | public function getImageLocation()
|
---|
377 | {
|
---|
378 | return $this->imageLocation;
|
---|
379 | }
|
---|
380 | /**
|
---|
381 | * @param bool
|
---|
382 | */
|
---|
383 | public function setIsTrustedTester($isTrustedTester)
|
---|
384 | {
|
---|
385 | $this->isTrustedTester = $isTrustedTester;
|
---|
386 | }
|
---|
387 | /**
|
---|
388 | * @return bool
|
---|
389 | */
|
---|
390 | public function getIsTrustedTester()
|
---|
391 | {
|
---|
392 | return $this->isTrustedTester;
|
---|
393 | }
|
---|
394 | /**
|
---|
395 | * @param string[]
|
---|
396 | */
|
---|
397 | public function setLabels($labels)
|
---|
398 | {
|
---|
399 | $this->labels = $labels;
|
---|
400 | }
|
---|
401 | /**
|
---|
402 | * @return string[]
|
---|
403 | */
|
---|
404 | public function getLabels()
|
---|
405 | {
|
---|
406 | return $this->labels;
|
---|
407 | }
|
---|
408 | /**
|
---|
409 | * @param GoogleCloudConnectorsV1LockConfig
|
---|
410 | */
|
---|
411 | public function setLockConfig(GoogleCloudConnectorsV1LockConfig $lockConfig)
|
---|
412 | {
|
---|
413 | $this->lockConfig = $lockConfig;
|
---|
414 | }
|
---|
415 | /**
|
---|
416 | * @return GoogleCloudConnectorsV1LockConfig
|
---|
417 | */
|
---|
418 | public function getLockConfig()
|
---|
419 | {
|
---|
420 | return $this->lockConfig;
|
---|
421 | }
|
---|
422 | /**
|
---|
423 | * @param GoogleCloudConnectorsV1LogConfig
|
---|
424 | */
|
---|
425 | public function setLogConfig(GoogleCloudConnectorsV1LogConfig $logConfig)
|
---|
426 | {
|
---|
427 | $this->logConfig = $logConfig;
|
---|
428 | }
|
---|
429 | /**
|
---|
430 | * @return GoogleCloudConnectorsV1LogConfig
|
---|
431 | */
|
---|
432 | public function getLogConfig()
|
---|
433 | {
|
---|
434 | return $this->logConfig;
|
---|
435 | }
|
---|
436 | /**
|
---|
437 | * @param string
|
---|
438 | */
|
---|
439 | public function setName($name)
|
---|
440 | {
|
---|
441 | $this->name = $name;
|
---|
442 | }
|
---|
443 | /**
|
---|
444 | * @return string
|
---|
445 | */
|
---|
446 | public function getName()
|
---|
447 | {
|
---|
448 | return $this->name;
|
---|
449 | }
|
---|
450 | /**
|
---|
451 | * @param GoogleCloudConnectorsV1NodeConfig
|
---|
452 | */
|
---|
453 | public function setNodeConfig(GoogleCloudConnectorsV1NodeConfig $nodeConfig)
|
---|
454 | {
|
---|
455 | $this->nodeConfig = $nodeConfig;
|
---|
456 | }
|
---|
457 | /**
|
---|
458 | * @return GoogleCloudConnectorsV1NodeConfig
|
---|
459 | */
|
---|
460 | public function getNodeConfig()
|
---|
461 | {
|
---|
462 | return $this->nodeConfig;
|
---|
463 | }
|
---|
464 | /**
|
---|
465 | * @param string
|
---|
466 | */
|
---|
467 | public function setServiceAccount($serviceAccount)
|
---|
468 | {
|
---|
469 | $this->serviceAccount = $serviceAccount;
|
---|
470 | }
|
---|
471 | /**
|
---|
472 | * @return string
|
---|
473 | */
|
---|
474 | public function getServiceAccount()
|
---|
475 | {
|
---|
476 | return $this->serviceAccount;
|
---|
477 | }
|
---|
478 | /**
|
---|
479 | * @param string
|
---|
480 | */
|
---|
481 | public function setServiceDirectory($serviceDirectory)
|
---|
482 | {
|
---|
483 | $this->serviceDirectory = $serviceDirectory;
|
---|
484 | }
|
---|
485 | /**
|
---|
486 | * @return string
|
---|
487 | */
|
---|
488 | public function getServiceDirectory()
|
---|
489 | {
|
---|
490 | return $this->serviceDirectory;
|
---|
491 | }
|
---|
492 | /**
|
---|
493 | * @param GoogleCloudConnectorsV1SslConfig
|
---|
494 | */
|
---|
495 | public function setSslConfig(GoogleCloudConnectorsV1SslConfig $sslConfig)
|
---|
496 | {
|
---|
497 | $this->sslConfig = $sslConfig;
|
---|
498 | }
|
---|
499 | /**
|
---|
500 | * @return GoogleCloudConnectorsV1SslConfig
|
---|
501 | */
|
---|
502 | public function getSslConfig()
|
---|
503 | {
|
---|
504 | return $this->sslConfig;
|
---|
505 | }
|
---|
506 | /**
|
---|
507 | * @param GoogleCloudConnectorsV1ConnectionStatus
|
---|
508 | */
|
---|
509 | public function setStatus(GoogleCloudConnectorsV1ConnectionStatus $status)
|
---|
510 | {
|
---|
511 | $this->status = $status;
|
---|
512 | }
|
---|
513 | /**
|
---|
514 | * @return GoogleCloudConnectorsV1ConnectionStatus
|
---|
515 | */
|
---|
516 | public function getStatus()
|
---|
517 | {
|
---|
518 | return $this->status;
|
---|
519 | }
|
---|
520 | /**
|
---|
521 | * @param string
|
---|
522 | */
|
---|
523 | public function setSubscriptionType($subscriptionType)
|
---|
524 | {
|
---|
525 | $this->subscriptionType = $subscriptionType;
|
---|
526 | }
|
---|
527 | /**
|
---|
528 | * @return string
|
---|
529 | */
|
---|
530 | public function getSubscriptionType()
|
---|
531 | {
|
---|
532 | return $this->subscriptionType;
|
---|
533 | }
|
---|
534 | /**
|
---|
535 | * @param bool
|
---|
536 | */
|
---|
537 | public function setSuspended($suspended)
|
---|
538 | {
|
---|
539 | $this->suspended = $suspended;
|
---|
540 | }
|
---|
541 | /**
|
---|
542 | * @return bool
|
---|
543 | */
|
---|
544 | public function getSuspended()
|
---|
545 | {
|
---|
546 | return $this->suspended;
|
---|
547 | }
|
---|
548 | /**
|
---|
549 | * @param string
|
---|
550 | */
|
---|
551 | public function setTlsServiceDirectory($tlsServiceDirectory)
|
---|
552 | {
|
---|
553 | $this->tlsServiceDirectory = $tlsServiceDirectory;
|
---|
554 | }
|
---|
555 | /**
|
---|
556 | * @return string
|
---|
557 | */
|
---|
558 | public function getTlsServiceDirectory()
|
---|
559 | {
|
---|
560 | return $this->tlsServiceDirectory;
|
---|
561 | }
|
---|
562 | /**
|
---|
563 | * @param string
|
---|
564 | */
|
---|
565 | public function setUpdateTime($updateTime)
|
---|
566 | {
|
---|
567 | $this->updateTime = $updateTime;
|
---|
568 | }
|
---|
569 | /**
|
---|
570 | * @return string
|
---|
571 | */
|
---|
572 | public function getUpdateTime()
|
---|
573 | {
|
---|
574 | return $this->updateTime;
|
---|
575 | }
|
---|
576 | }
|
---|
577 |
|
---|
578 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
579 | class_alias(GoogleCloudConnectorsV1Connection::class, 'Google_Service_Integrations_GoogleCloudConnectorsV1Connection');
|
---|