source: vendor/google/apiclient-services/src/DatabaseMigrationService/SqlServerConnectionProfile.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: 4.9 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 SqlServerConnectionProfile extends \Google\Model
21{
22 protected $backupsType = SqlServerBackups::class;
23 protected $backupsDataType = '';
24 /**
25 * @var string
26 */
27 public $cloudSqlId;
28 protected $forwardSshConnectivityType = ForwardSshTunnelConnectivity::class;
29 protected $forwardSshConnectivityDataType = '';
30 /**
31 * @var string
32 */
33 public $host;
34 /**
35 * @var string
36 */
37 public $password;
38 /**
39 * @var bool
40 */
41 public $passwordSet;
42 /**
43 * @var int
44 */
45 public $port;
46 protected $privateConnectivityType = PrivateConnectivity::class;
47 protected $privateConnectivityDataType = '';
48 protected $privateServiceConnectConnectivityType = PrivateServiceConnectConnectivity::class;
49 protected $privateServiceConnectConnectivityDataType = '';
50 protected $sslType = SslConfig::class;
51 protected $sslDataType = '';
52 protected $staticIpConnectivityType = StaticIpConnectivity::class;
53 protected $staticIpConnectivityDataType = '';
54 /**
55 * @var string
56 */
57 public $username;
58
59 /**
60 * @param SqlServerBackups
61 */
62 public function setBackups(SqlServerBackups $backups)
63 {
64 $this->backups = $backups;
65 }
66 /**
67 * @return SqlServerBackups
68 */
69 public function getBackups()
70 {
71 return $this->backups;
72 }
73 /**
74 * @param string
75 */
76 public function setCloudSqlId($cloudSqlId)
77 {
78 $this->cloudSqlId = $cloudSqlId;
79 }
80 /**
81 * @return string
82 */
83 public function getCloudSqlId()
84 {
85 return $this->cloudSqlId;
86 }
87 /**
88 * @param ForwardSshTunnelConnectivity
89 */
90 public function setForwardSshConnectivity(ForwardSshTunnelConnectivity $forwardSshConnectivity)
91 {
92 $this->forwardSshConnectivity = $forwardSshConnectivity;
93 }
94 /**
95 * @return ForwardSshTunnelConnectivity
96 */
97 public function getForwardSshConnectivity()
98 {
99 return $this->forwardSshConnectivity;
100 }
101 /**
102 * @param string
103 */
104 public function setHost($host)
105 {
106 $this->host = $host;
107 }
108 /**
109 * @return string
110 */
111 public function getHost()
112 {
113 return $this->host;
114 }
115 /**
116 * @param string
117 */
118 public function setPassword($password)
119 {
120 $this->password = $password;
121 }
122 /**
123 * @return string
124 */
125 public function getPassword()
126 {
127 return $this->password;
128 }
129 /**
130 * @param bool
131 */
132 public function setPasswordSet($passwordSet)
133 {
134 $this->passwordSet = $passwordSet;
135 }
136 /**
137 * @return bool
138 */
139 public function getPasswordSet()
140 {
141 return $this->passwordSet;
142 }
143 /**
144 * @param int
145 */
146 public function setPort($port)
147 {
148 $this->port = $port;
149 }
150 /**
151 * @return int
152 */
153 public function getPort()
154 {
155 return $this->port;
156 }
157 /**
158 * @param PrivateConnectivity
159 */
160 public function setPrivateConnectivity(PrivateConnectivity $privateConnectivity)
161 {
162 $this->privateConnectivity = $privateConnectivity;
163 }
164 /**
165 * @return PrivateConnectivity
166 */
167 public function getPrivateConnectivity()
168 {
169 return $this->privateConnectivity;
170 }
171 /**
172 * @param PrivateServiceConnectConnectivity
173 */
174 public function setPrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity $privateServiceConnectConnectivity)
175 {
176 $this->privateServiceConnectConnectivity = $privateServiceConnectConnectivity;
177 }
178 /**
179 * @return PrivateServiceConnectConnectivity
180 */
181 public function getPrivateServiceConnectConnectivity()
182 {
183 return $this->privateServiceConnectConnectivity;
184 }
185 /**
186 * @param SslConfig
187 */
188 public function setSsl(SslConfig $ssl)
189 {
190 $this->ssl = $ssl;
191 }
192 /**
193 * @return SslConfig
194 */
195 public function getSsl()
196 {
197 return $this->ssl;
198 }
199 /**
200 * @param StaticIpConnectivity
201 */
202 public function setStaticIpConnectivity(StaticIpConnectivity $staticIpConnectivity)
203 {
204 $this->staticIpConnectivity = $staticIpConnectivity;
205 }
206 /**
207 * @return StaticIpConnectivity
208 */
209 public function getStaticIpConnectivity()
210 {
211 return $this->staticIpConnectivity;
212 }
213 /**
214 * @param string
215 */
216 public function setUsername($username)
217 {
218 $this->username = $username;
219 }
220 /**
221 * @return string
222 */
223 public function getUsername()
224 {
225 return $this->username;
226 }
227}
228
229// Adding a class alias for backwards compatibility with the previous class name.
230class_alias(SqlServerConnectionProfile::class, 'Google_Service_DatabaseMigrationService_SqlServerConnectionProfile');
Note: See TracBrowser for help on using the repository browser.