source: vendor/google/apiclient-services/src/Connectors/Connection.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: 5.3 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\Connectors;
19
20class Connection extends \Google\Collection
21{
22 protected $collection_key = 'configVariables';
23 protected $authConfigType = AuthConfig::class;
24 protected $authConfigDataType = '';
25 protected $configVariablesType = ConfigVariable::class;
26 protected $configVariablesDataType = 'array';
27 /**
28 * @var string
29 */
30 public $connectorVersion;
31 /**
32 * @var string
33 */
34 public $createTime;
35 /**
36 * @var string
37 */
38 public $description;
39 /**
40 * @var string
41 */
42 public $envoyImageLocation;
43 /**
44 * @var string
45 */
46 public $imageLocation;
47 /**
48 * @var string[]
49 */
50 public $labels;
51 protected $lockConfigType = LockConfig::class;
52 protected $lockConfigDataType = '';
53 /**
54 * @var string
55 */
56 public $name;
57 /**
58 * @var string
59 */
60 public $serviceAccount;
61 /**
62 * @var string
63 */
64 public $serviceDirectory;
65 protected $statusType = ConnectionStatus::class;
66 protected $statusDataType = '';
67 /**
68 * @var bool
69 */
70 public $suspended;
71 /**
72 * @var string
73 */
74 public $updateTime;
75
76 /**
77 * @param AuthConfig
78 */
79 public function setAuthConfig(AuthConfig $authConfig)
80 {
81 $this->authConfig = $authConfig;
82 }
83 /**
84 * @return AuthConfig
85 */
86 public function getAuthConfig()
87 {
88 return $this->authConfig;
89 }
90 /**
91 * @param ConfigVariable[]
92 */
93 public function setConfigVariables($configVariables)
94 {
95 $this->configVariables = $configVariables;
96 }
97 /**
98 * @return ConfigVariable[]
99 */
100 public function getConfigVariables()
101 {
102 return $this->configVariables;
103 }
104 /**
105 * @param string
106 */
107 public function setConnectorVersion($connectorVersion)
108 {
109 $this->connectorVersion = $connectorVersion;
110 }
111 /**
112 * @return string
113 */
114 public function getConnectorVersion()
115 {
116 return $this->connectorVersion;
117 }
118 /**
119 * @param string
120 */
121 public function setCreateTime($createTime)
122 {
123 $this->createTime = $createTime;
124 }
125 /**
126 * @return string
127 */
128 public function getCreateTime()
129 {
130 return $this->createTime;
131 }
132 /**
133 * @param string
134 */
135 public function setDescription($description)
136 {
137 $this->description = $description;
138 }
139 /**
140 * @return string
141 */
142 public function getDescription()
143 {
144 return $this->description;
145 }
146 /**
147 * @param string
148 */
149 public function setEnvoyImageLocation($envoyImageLocation)
150 {
151 $this->envoyImageLocation = $envoyImageLocation;
152 }
153 /**
154 * @return string
155 */
156 public function getEnvoyImageLocation()
157 {
158 return $this->envoyImageLocation;
159 }
160 /**
161 * @param string
162 */
163 public function setImageLocation($imageLocation)
164 {
165 $this->imageLocation = $imageLocation;
166 }
167 /**
168 * @return string
169 */
170 public function getImageLocation()
171 {
172 return $this->imageLocation;
173 }
174 /**
175 * @param string[]
176 */
177 public function setLabels($labels)
178 {
179 $this->labels = $labels;
180 }
181 /**
182 * @return string[]
183 */
184 public function getLabels()
185 {
186 return $this->labels;
187 }
188 /**
189 * @param LockConfig
190 */
191 public function setLockConfig(LockConfig $lockConfig)
192 {
193 $this->lockConfig = $lockConfig;
194 }
195 /**
196 * @return LockConfig
197 */
198 public function getLockConfig()
199 {
200 return $this->lockConfig;
201 }
202 /**
203 * @param string
204 */
205 public function setName($name)
206 {
207 $this->name = $name;
208 }
209 /**
210 * @return string
211 */
212 public function getName()
213 {
214 return $this->name;
215 }
216 /**
217 * @param string
218 */
219 public function setServiceAccount($serviceAccount)
220 {
221 $this->serviceAccount = $serviceAccount;
222 }
223 /**
224 * @return string
225 */
226 public function getServiceAccount()
227 {
228 return $this->serviceAccount;
229 }
230 /**
231 * @param string
232 */
233 public function setServiceDirectory($serviceDirectory)
234 {
235 $this->serviceDirectory = $serviceDirectory;
236 }
237 /**
238 * @return string
239 */
240 public function getServiceDirectory()
241 {
242 return $this->serviceDirectory;
243 }
244 /**
245 * @param ConnectionStatus
246 */
247 public function setStatus(ConnectionStatus $status)
248 {
249 $this->status = $status;
250 }
251 /**
252 * @return ConnectionStatus
253 */
254 public function getStatus()
255 {
256 return $this->status;
257 }
258 /**
259 * @param bool
260 */
261 public function setSuspended($suspended)
262 {
263 $this->suspended = $suspended;
264 }
265 /**
266 * @return bool
267 */
268 public function getSuspended()
269 {
270 return $this->suspended;
271 }
272 /**
273 * @param string
274 */
275 public function setUpdateTime($updateTime)
276 {
277 $this->updateTime = $updateTime;
278 }
279 /**
280 * @return string
281 */
282 public function getUpdateTime()
283 {
284 return $this->updateTime;
285 }
286}
287
288// Adding a class alias for backwards compatibility with the previous class name.
289class_alias(Connection::class, 'Google_Service_Connectors_Connection');
Note: See TracBrowser for help on using the repository browser.