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\Datastream;
|
---|
19 |
|
---|
20 | class ConnectionProfile extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $bigqueryProfileType = BigQueryProfile::class;
|
---|
23 | protected $bigqueryProfileDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $createTime;
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $displayName;
|
---|
32 | protected $forwardSshConnectivityType = ForwardSshTunnelConnectivity::class;
|
---|
33 | protected $forwardSshConnectivityDataType = '';
|
---|
34 | protected $gcsProfileType = GcsProfile::class;
|
---|
35 | protected $gcsProfileDataType = '';
|
---|
36 | /**
|
---|
37 | * @var string[]
|
---|
38 | */
|
---|
39 | public $labels;
|
---|
40 | protected $mysqlProfileType = MysqlProfile::class;
|
---|
41 | protected $mysqlProfileDataType = '';
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $name;
|
---|
46 | protected $oracleProfileType = OracleProfile::class;
|
---|
47 | protected $oracleProfileDataType = '';
|
---|
48 | protected $postgresqlProfileType = PostgresqlProfile::class;
|
---|
49 | protected $postgresqlProfileDataType = '';
|
---|
50 | protected $privateConnectivityType = PrivateConnectivity::class;
|
---|
51 | protected $privateConnectivityDataType = '';
|
---|
52 | protected $sqlServerProfileType = SqlServerProfile::class;
|
---|
53 | protected $sqlServerProfileDataType = '';
|
---|
54 | protected $staticServiceIpConnectivityType = StaticServiceIpConnectivity::class;
|
---|
55 | protected $staticServiceIpConnectivityDataType = '';
|
---|
56 | /**
|
---|
57 | * @var string
|
---|
58 | */
|
---|
59 | public $updateTime;
|
---|
60 |
|
---|
61 | /**
|
---|
62 | * @param BigQueryProfile
|
---|
63 | */
|
---|
64 | public function setBigqueryProfile(BigQueryProfile $bigqueryProfile)
|
---|
65 | {
|
---|
66 | $this->bigqueryProfile = $bigqueryProfile;
|
---|
67 | }
|
---|
68 | /**
|
---|
69 | * @return BigQueryProfile
|
---|
70 | */
|
---|
71 | public function getBigqueryProfile()
|
---|
72 | {
|
---|
73 | return $this->bigqueryProfile;
|
---|
74 | }
|
---|
75 | /**
|
---|
76 | * @param string
|
---|
77 | */
|
---|
78 | public function setCreateTime($createTime)
|
---|
79 | {
|
---|
80 | $this->createTime = $createTime;
|
---|
81 | }
|
---|
82 | /**
|
---|
83 | * @return string
|
---|
84 | */
|
---|
85 | public function getCreateTime()
|
---|
86 | {
|
---|
87 | return $this->createTime;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @param string
|
---|
91 | */
|
---|
92 | public function setDisplayName($displayName)
|
---|
93 | {
|
---|
94 | $this->displayName = $displayName;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @return string
|
---|
98 | */
|
---|
99 | public function getDisplayName()
|
---|
100 | {
|
---|
101 | return $this->displayName;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @param ForwardSshTunnelConnectivity
|
---|
105 | */
|
---|
106 | public function setForwardSshConnectivity(ForwardSshTunnelConnectivity $forwardSshConnectivity)
|
---|
107 | {
|
---|
108 | $this->forwardSshConnectivity = $forwardSshConnectivity;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @return ForwardSshTunnelConnectivity
|
---|
112 | */
|
---|
113 | public function getForwardSshConnectivity()
|
---|
114 | {
|
---|
115 | return $this->forwardSshConnectivity;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @param GcsProfile
|
---|
119 | */
|
---|
120 | public function setGcsProfile(GcsProfile $gcsProfile)
|
---|
121 | {
|
---|
122 | $this->gcsProfile = $gcsProfile;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @return GcsProfile
|
---|
126 | */
|
---|
127 | public function getGcsProfile()
|
---|
128 | {
|
---|
129 | return $this->gcsProfile;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @param string[]
|
---|
133 | */
|
---|
134 | public function setLabels($labels)
|
---|
135 | {
|
---|
136 | $this->labels = $labels;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @return string[]
|
---|
140 | */
|
---|
141 | public function getLabels()
|
---|
142 | {
|
---|
143 | return $this->labels;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @param MysqlProfile
|
---|
147 | */
|
---|
148 | public function setMysqlProfile(MysqlProfile $mysqlProfile)
|
---|
149 | {
|
---|
150 | $this->mysqlProfile = $mysqlProfile;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @return MysqlProfile
|
---|
154 | */
|
---|
155 | public function getMysqlProfile()
|
---|
156 | {
|
---|
157 | return $this->mysqlProfile;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @param string
|
---|
161 | */
|
---|
162 | public function setName($name)
|
---|
163 | {
|
---|
164 | $this->name = $name;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @return string
|
---|
168 | */
|
---|
169 | public function getName()
|
---|
170 | {
|
---|
171 | return $this->name;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @param OracleProfile
|
---|
175 | */
|
---|
176 | public function setOracleProfile(OracleProfile $oracleProfile)
|
---|
177 | {
|
---|
178 | $this->oracleProfile = $oracleProfile;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @return OracleProfile
|
---|
182 | */
|
---|
183 | public function getOracleProfile()
|
---|
184 | {
|
---|
185 | return $this->oracleProfile;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @param PostgresqlProfile
|
---|
189 | */
|
---|
190 | public function setPostgresqlProfile(PostgresqlProfile $postgresqlProfile)
|
---|
191 | {
|
---|
192 | $this->postgresqlProfile = $postgresqlProfile;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @return PostgresqlProfile
|
---|
196 | */
|
---|
197 | public function getPostgresqlProfile()
|
---|
198 | {
|
---|
199 | return $this->postgresqlProfile;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @param PrivateConnectivity
|
---|
203 | */
|
---|
204 | public function setPrivateConnectivity(PrivateConnectivity $privateConnectivity)
|
---|
205 | {
|
---|
206 | $this->privateConnectivity = $privateConnectivity;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @return PrivateConnectivity
|
---|
210 | */
|
---|
211 | public function getPrivateConnectivity()
|
---|
212 | {
|
---|
213 | return $this->privateConnectivity;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @param SqlServerProfile
|
---|
217 | */
|
---|
218 | public function setSqlServerProfile(SqlServerProfile $sqlServerProfile)
|
---|
219 | {
|
---|
220 | $this->sqlServerProfile = $sqlServerProfile;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @return SqlServerProfile
|
---|
224 | */
|
---|
225 | public function getSqlServerProfile()
|
---|
226 | {
|
---|
227 | return $this->sqlServerProfile;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @param StaticServiceIpConnectivity
|
---|
231 | */
|
---|
232 | public function setStaticServiceIpConnectivity(StaticServiceIpConnectivity $staticServiceIpConnectivity)
|
---|
233 | {
|
---|
234 | $this->staticServiceIpConnectivity = $staticServiceIpConnectivity;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @return StaticServiceIpConnectivity
|
---|
238 | */
|
---|
239 | public function getStaticServiceIpConnectivity()
|
---|
240 | {
|
---|
241 | return $this->staticServiceIpConnectivity;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @param string
|
---|
245 | */
|
---|
246 | public function setUpdateTime($updateTime)
|
---|
247 | {
|
---|
248 | $this->updateTime = $updateTime;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @return string
|
---|
252 | */
|
---|
253 | public function getUpdateTime()
|
---|
254 | {
|
---|
255 | return $this->updateTime;
|
---|
256 | }
|
---|
257 | }
|
---|
258 |
|
---|
259 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
260 | class_alias(ConnectionProfile::class, 'Google_Service_Datastream_ConnectionProfile');
|
---|