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