source: vendor/google/apiclient-services/src/DatabaseMigrationService/ConnectionProfile.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: 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\DatabaseMigrationService;
19
20class ConnectionProfile extends \Google\Model
21{
22 protected $alloydbType = AlloyDbConnectionProfile::class;
23 protected $alloydbDataType = '';
24 protected $cloudsqlType = CloudSqlConnectionProfile::class;
25 protected $cloudsqlDataType = '';
26 /**
27 * @var string
28 */
29 public $createTime;
30 /**
31 * @var string
32 */
33 public $displayName;
34 protected $errorType = Status::class;
35 protected $errorDataType = '';
36 /**
37 * @var string[]
38 */
39 public $labels;
40 protected $mysqlType = MySqlConnectionProfile::class;
41 protected $mysqlDataType = '';
42 /**
43 * @var string
44 */
45 public $name;
46 protected $oracleType = OracleConnectionProfile::class;
47 protected $oracleDataType = '';
48 protected $postgresqlType = PostgreSqlConnectionProfile::class;
49 protected $postgresqlDataType = '';
50 /**
51 * @var string
52 */
53 public $provider;
54 /**
55 * @var string
56 */
57 public $role;
58 protected $sqlserverType = SqlServerConnectionProfile::class;
59 protected $sqlserverDataType = '';
60 /**
61 * @var string
62 */
63 public $state;
64 /**
65 * @var string
66 */
67 public $updateTime;
68
69 /**
70 * @param AlloyDbConnectionProfile
71 */
72 public function setAlloydb(AlloyDbConnectionProfile $alloydb)
73 {
74 $this->alloydb = $alloydb;
75 }
76 /**
77 * @return AlloyDbConnectionProfile
78 */
79 public function getAlloydb()
80 {
81 return $this->alloydb;
82 }
83 /**
84 * @param CloudSqlConnectionProfile
85 */
86 public function setCloudsql(CloudSqlConnectionProfile $cloudsql)
87 {
88 $this->cloudsql = $cloudsql;
89 }
90 /**
91 * @return CloudSqlConnectionProfile
92 */
93 public function getCloudsql()
94 {
95 return $this->cloudsql;
96 }
97 /**
98 * @param string
99 */
100 public function setCreateTime($createTime)
101 {
102 $this->createTime = $createTime;
103 }
104 /**
105 * @return string
106 */
107 public function getCreateTime()
108 {
109 return $this->createTime;
110 }
111 /**
112 * @param string
113 */
114 public function setDisplayName($displayName)
115 {
116 $this->displayName = $displayName;
117 }
118 /**
119 * @return string
120 */
121 public function getDisplayName()
122 {
123 return $this->displayName;
124 }
125 /**
126 * @param Status
127 */
128 public function setError(Status $error)
129 {
130 $this->error = $error;
131 }
132 /**
133 * @return Status
134 */
135 public function getError()
136 {
137 return $this->error;
138 }
139 /**
140 * @param string[]
141 */
142 public function setLabels($labels)
143 {
144 $this->labels = $labels;
145 }
146 /**
147 * @return string[]
148 */
149 public function getLabels()
150 {
151 return $this->labels;
152 }
153 /**
154 * @param MySqlConnectionProfile
155 */
156 public function setMysql(MySqlConnectionProfile $mysql)
157 {
158 $this->mysql = $mysql;
159 }
160 /**
161 * @return MySqlConnectionProfile
162 */
163 public function getMysql()
164 {
165 return $this->mysql;
166 }
167 /**
168 * @param string
169 */
170 public function setName($name)
171 {
172 $this->name = $name;
173 }
174 /**
175 * @return string
176 */
177 public function getName()
178 {
179 return $this->name;
180 }
181 /**
182 * @param OracleConnectionProfile
183 */
184 public function setOracle(OracleConnectionProfile $oracle)
185 {
186 $this->oracle = $oracle;
187 }
188 /**
189 * @return OracleConnectionProfile
190 */
191 public function getOracle()
192 {
193 return $this->oracle;
194 }
195 /**
196 * @param PostgreSqlConnectionProfile
197 */
198 public function setPostgresql(PostgreSqlConnectionProfile $postgresql)
199 {
200 $this->postgresql = $postgresql;
201 }
202 /**
203 * @return PostgreSqlConnectionProfile
204 */
205 public function getPostgresql()
206 {
207 return $this->postgresql;
208 }
209 /**
210 * @param string
211 */
212 public function setProvider($provider)
213 {
214 $this->provider = $provider;
215 }
216 /**
217 * @return string
218 */
219 public function getProvider()
220 {
221 return $this->provider;
222 }
223 /**
224 * @param string
225 */
226 public function setRole($role)
227 {
228 $this->role = $role;
229 }
230 /**
231 * @return string
232 */
233 public function getRole()
234 {
235 return $this->role;
236 }
237 /**
238 * @param SqlServerConnectionProfile
239 */
240 public function setSqlserver(SqlServerConnectionProfile $sqlserver)
241 {
242 $this->sqlserver = $sqlserver;
243 }
244 /**
245 * @return SqlServerConnectionProfile
246 */
247 public function getSqlserver()
248 {
249 return $this->sqlserver;
250 }
251 /**
252 * @param string
253 */
254 public function setState($state)
255 {
256 $this->state = $state;
257 }
258 /**
259 * @return string
260 */
261 public function getState()
262 {
263 return $this->state;
264 }
265 /**
266 * @param string
267 */
268 public function setUpdateTime($updateTime)
269 {
270 $this->updateTime = $updateTime;
271 }
272 /**
273 * @return string
274 */
275 public function getUpdateTime()
276 {
277 return $this->updateTime;
278 }
279}
280
281// Adding a class alias for backwards compatibility with the previous class name.
282class_alias(ConnectionProfile::class, 'Google_Service_DatabaseMigrationService_ConnectionProfile');
Note: See TracBrowser for help on using the repository browser.