source: vendor/google/apiclient-services/src/BigQueryConnectionService/Connection.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 10 days ago

Upload project files

  • Property mode set to 100644
File size: 5.7 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\BigQueryConnectionService;
19
20class Connection extends \Google\Model
21{
22 protected $awsType = AwsProperties::class;
23 protected $awsDataType = '';
24 protected $azureType = AzureProperties::class;
25 protected $azureDataType = '';
26 protected $cloudResourceType = CloudResourceProperties::class;
27 protected $cloudResourceDataType = '';
28 protected $cloudSpannerType = CloudSpannerProperties::class;
29 protected $cloudSpannerDataType = '';
30 protected $cloudSqlType = CloudSqlProperties::class;
31 protected $cloudSqlDataType = '';
32 protected $configurationType = ConnectorConfiguration::class;
33 protected $configurationDataType = '';
34 /**
35 * @var string
36 */
37 public $creationTime;
38 /**
39 * @var string
40 */
41 public $description;
42 /**
43 * @var string
44 */
45 public $friendlyName;
46 /**
47 * @var bool
48 */
49 public $hasCredential;
50 /**
51 * @var string
52 */
53 public $kmsKeyName;
54 /**
55 * @var string
56 */
57 public $lastModifiedTime;
58 /**
59 * @var string
60 */
61 public $name;
62 protected $salesforceDataCloudType = SalesforceDataCloudProperties::class;
63 protected $salesforceDataCloudDataType = '';
64 protected $sparkType = SparkProperties::class;
65 protected $sparkDataType = '';
66
67 /**
68 * @param AwsProperties
69 */
70 public function setAws(AwsProperties $aws)
71 {
72 $this->aws = $aws;
73 }
74 /**
75 * @return AwsProperties
76 */
77 public function getAws()
78 {
79 return $this->aws;
80 }
81 /**
82 * @param AzureProperties
83 */
84 public function setAzure(AzureProperties $azure)
85 {
86 $this->azure = $azure;
87 }
88 /**
89 * @return AzureProperties
90 */
91 public function getAzure()
92 {
93 return $this->azure;
94 }
95 /**
96 * @param CloudResourceProperties
97 */
98 public function setCloudResource(CloudResourceProperties $cloudResource)
99 {
100 $this->cloudResource = $cloudResource;
101 }
102 /**
103 * @return CloudResourceProperties
104 */
105 public function getCloudResource()
106 {
107 return $this->cloudResource;
108 }
109 /**
110 * @param CloudSpannerProperties
111 */
112 public function setCloudSpanner(CloudSpannerProperties $cloudSpanner)
113 {
114 $this->cloudSpanner = $cloudSpanner;
115 }
116 /**
117 * @return CloudSpannerProperties
118 */
119 public function getCloudSpanner()
120 {
121 return $this->cloudSpanner;
122 }
123 /**
124 * @param CloudSqlProperties
125 */
126 public function setCloudSql(CloudSqlProperties $cloudSql)
127 {
128 $this->cloudSql = $cloudSql;
129 }
130 /**
131 * @return CloudSqlProperties
132 */
133 public function getCloudSql()
134 {
135 return $this->cloudSql;
136 }
137 /**
138 * @param ConnectorConfiguration
139 */
140 public function setConfiguration(ConnectorConfiguration $configuration)
141 {
142 $this->configuration = $configuration;
143 }
144 /**
145 * @return ConnectorConfiguration
146 */
147 public function getConfiguration()
148 {
149 return $this->configuration;
150 }
151 /**
152 * @param string
153 */
154 public function setCreationTime($creationTime)
155 {
156 $this->creationTime = $creationTime;
157 }
158 /**
159 * @return string
160 */
161 public function getCreationTime()
162 {
163 return $this->creationTime;
164 }
165 /**
166 * @param string
167 */
168 public function setDescription($description)
169 {
170 $this->description = $description;
171 }
172 /**
173 * @return string
174 */
175 public function getDescription()
176 {
177 return $this->description;
178 }
179 /**
180 * @param string
181 */
182 public function setFriendlyName($friendlyName)
183 {
184 $this->friendlyName = $friendlyName;
185 }
186 /**
187 * @return string
188 */
189 public function getFriendlyName()
190 {
191 return $this->friendlyName;
192 }
193 /**
194 * @param bool
195 */
196 public function setHasCredential($hasCredential)
197 {
198 $this->hasCredential = $hasCredential;
199 }
200 /**
201 * @return bool
202 */
203 public function getHasCredential()
204 {
205 return $this->hasCredential;
206 }
207 /**
208 * @param string
209 */
210 public function setKmsKeyName($kmsKeyName)
211 {
212 $this->kmsKeyName = $kmsKeyName;
213 }
214 /**
215 * @return string
216 */
217 public function getKmsKeyName()
218 {
219 return $this->kmsKeyName;
220 }
221 /**
222 * @param string
223 */
224 public function setLastModifiedTime($lastModifiedTime)
225 {
226 $this->lastModifiedTime = $lastModifiedTime;
227 }
228 /**
229 * @return string
230 */
231 public function getLastModifiedTime()
232 {
233 return $this->lastModifiedTime;
234 }
235 /**
236 * @param string
237 */
238 public function setName($name)
239 {
240 $this->name = $name;
241 }
242 /**
243 * @return string
244 */
245 public function getName()
246 {
247 return $this->name;
248 }
249 /**
250 * @param SalesforceDataCloudProperties
251 */
252 public function setSalesforceDataCloud(SalesforceDataCloudProperties $salesforceDataCloud)
253 {
254 $this->salesforceDataCloud = $salesforceDataCloud;
255 }
256 /**
257 * @return SalesforceDataCloudProperties
258 */
259 public function getSalesforceDataCloud()
260 {
261 return $this->salesforceDataCloud;
262 }
263 /**
264 * @param SparkProperties
265 */
266 public function setSpark(SparkProperties $spark)
267 {
268 $this->spark = $spark;
269 }
270 /**
271 * @return SparkProperties
272 */
273 public function getSpark()
274 {
275 return $this->spark;
276 }
277}
278
279// Adding a class alias for backwards compatibility with the previous class name.
280class_alias(Connection::class, 'Google_Service_BigQueryConnectionService_Connection');
Note: See TracBrowser for help on using the repository browser.