source: vendor/google/apiclient-services/src/DatabaseMigrationService/OracleConnectionProfile.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.5 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 OracleConnectionProfile extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $databaseService;
26 protected $forwardSshConnectivityType = ForwardSshTunnelConnectivity::class;
27 protected $forwardSshConnectivityDataType = '';
28 /**
29 * @var string
30 */
31 public $host;
32 protected $oracleAsmConfigType = OracleAsmConfig::class;
33 protected $oracleAsmConfigDataType = '';
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 $sslType = SslConfig::class;
49 protected $sslDataType = '';
50 protected $staticServiceIpConnectivityType = StaticServiceIpConnectivity::class;
51 protected $staticServiceIpConnectivityDataType = '';
52 /**
53 * @var string
54 */
55 public $username;
56
57 /**
58 * @param string
59 */
60 public function setDatabaseService($databaseService)
61 {
62 $this->databaseService = $databaseService;
63 }
64 /**
65 * @return string
66 */
67 public function getDatabaseService()
68 {
69 return $this->databaseService;
70 }
71 /**
72 * @param ForwardSshTunnelConnectivity
73 */
74 public function setForwardSshConnectivity(ForwardSshTunnelConnectivity $forwardSshConnectivity)
75 {
76 $this->forwardSshConnectivity = $forwardSshConnectivity;
77 }
78 /**
79 * @return ForwardSshTunnelConnectivity
80 */
81 public function getForwardSshConnectivity()
82 {
83 return $this->forwardSshConnectivity;
84 }
85 /**
86 * @param string
87 */
88 public function setHost($host)
89 {
90 $this->host = $host;
91 }
92 /**
93 * @return string
94 */
95 public function getHost()
96 {
97 return $this->host;
98 }
99 /**
100 * @param OracleAsmConfig
101 */
102 public function setOracleAsmConfig(OracleAsmConfig $oracleAsmConfig)
103 {
104 $this->oracleAsmConfig = $oracleAsmConfig;
105 }
106 /**
107 * @return OracleAsmConfig
108 */
109 public function getOracleAsmConfig()
110 {
111 return $this->oracleAsmConfig;
112 }
113 /**
114 * @param string
115 */
116 public function setPassword($password)
117 {
118 $this->password = $password;
119 }
120 /**
121 * @return string
122 */
123 public function getPassword()
124 {
125 return $this->password;
126 }
127 /**
128 * @param bool
129 */
130 public function setPasswordSet($passwordSet)
131 {
132 $this->passwordSet = $passwordSet;
133 }
134 /**
135 * @return bool
136 */
137 public function getPasswordSet()
138 {
139 return $this->passwordSet;
140 }
141 /**
142 * @param int
143 */
144 public function setPort($port)
145 {
146 $this->port = $port;
147 }
148 /**
149 * @return int
150 */
151 public function getPort()
152 {
153 return $this->port;
154 }
155 /**
156 * @param PrivateConnectivity
157 */
158 public function setPrivateConnectivity(PrivateConnectivity $privateConnectivity)
159 {
160 $this->privateConnectivity = $privateConnectivity;
161 }
162 /**
163 * @return PrivateConnectivity
164 */
165 public function getPrivateConnectivity()
166 {
167 return $this->privateConnectivity;
168 }
169 /**
170 * @param SslConfig
171 */
172 public function setSsl(SslConfig $ssl)
173 {
174 $this->ssl = $ssl;
175 }
176 /**
177 * @return SslConfig
178 */
179 public function getSsl()
180 {
181 return $this->ssl;
182 }
183 /**
184 * @param StaticServiceIpConnectivity
185 */
186 public function setStaticServiceIpConnectivity(StaticServiceIpConnectivity $staticServiceIpConnectivity)
187 {
188 $this->staticServiceIpConnectivity = $staticServiceIpConnectivity;
189 }
190 /**
191 * @return StaticServiceIpConnectivity
192 */
193 public function getStaticServiceIpConnectivity()
194 {
195 return $this->staticServiceIpConnectivity;
196 }
197 /**
198 * @param string
199 */
200 public function setUsername($username)
201 {
202 $this->username = $username;
203 }
204 /**
205 * @return string
206 */
207 public function getUsername()
208 {
209 return $this->username;
210 }
211}
212
213// Adding a class alias for backwards compatibility with the previous class name.
214class_alias(OracleConnectionProfile::class, 'Google_Service_DatabaseMigrationService_OracleConnectionProfile');
Note: See TracBrowser for help on using the repository browser.