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\BigQueryDataTransfer; 19 20class DataSource extends \Google\Collection 21{ 22 protected $collection_key = 'scopes'; 23 /** 24 * @var string 25 */ 26 public $authorizationType; 27 /** 28 * @var string 29 */ 30 public $clientId; 31 /** 32 * @var string 33 */ 34 public $dataRefreshType; 35 /** 36 * @var string 37 */ 38 public $dataSourceId; 39 /** 40 * @var int 41 */ 42 public $defaultDataRefreshWindowDays; 43 /** 44 * @var string 45 */ 46 public $defaultSchedule; 47 /** 48 * @var string 49 */ 50 public $description; 51 /** 52 * @var string 53 */ 54 public $displayName; 55 /** 56 * @var string 57 */ 58 public $helpUrl; 59 /** 60 * @var bool 61 */ 62 public $manualRunsDisabled; 63 /** 64 * @var string 65 */ 66 public $minimumScheduleInterval; 67 /** 68 * @var string 69 */ 70 public $name; 71 protected $parametersType = DataSourceParameter::class; 72 protected $parametersDataType = 'array'; 73 /** 74 * @var string[] 75 */ 76 public $scopes; 77 /** 78 * @var bool 79 */ 80 public $supportsCustomSchedule; 81 /** 82 * @var bool 83 */ 84 public $supportsMultipleTransfers; 85 /** 86 * @var string 87 */ 88 public $transferType; 89 /** 90 * @var int 91 */ 92 public $updateDeadlineSeconds; 93 94 /** 95 * @param string 96 */ 97 public function setAuthorizationType($authorizationType) 98 { 99 $this->authorizationType = $authorizationType; 100 } 101 /** 102 * @return string 103 */ 104 public function getAuthorizationType() 105 { 106 return $this->authorizationType; 107 } 108 /** 109 * @param string 110 */ 111 public function setClientId($clientId) 112 { 113 $this->clientId = $clientId; 114 } 115 /** 116 * @return string 117 */ 118 public function getClientId() 119 { 120 return $this->clientId; 121 } 122 /** 123 * @param string 124 */ 125 public function setDataRefreshType($dataRefreshType) 126 { 127 $this->dataRefreshType = $dataRefreshType; 128 } 129 /** 130 * @return string 131 */ 132 public function getDataRefreshType() 133 { 134 return $this->dataRefreshType; 135 } 136 /** 137 * @param string 138 */ 139 public function setDataSourceId($dataSourceId) 140 { 141 $this->dataSourceId = $dataSourceId; 142 } 143 /** 144 * @return string 145 */ 146 public function getDataSourceId() 147 { 148 return $this->dataSourceId; 149 } 150 /** 151 * @param int 152 */ 153 public function setDefaultDataRefreshWindowDays($defaultDataRefreshWindowDays) 154 { 155 $this->defaultDataRefreshWindowDays = $defaultDataRefreshWindowDays; 156 } 157 /** 158 * @return int 159 */ 160 public function getDefaultDataRefreshWindowDays() 161 { 162 return $this->defaultDataRefreshWindowDays; 163 } 164 /** 165 * @param string 166 */ 167 public function setDefaultSchedule($defaultSchedule) 168 { 169 $this->defaultSchedule = $defaultSchedule; 170 } 171 /** 172 * @return string 173 */ 174 public function getDefaultSchedule() 175 { 176 return $this->defaultSchedule; 177 } 178 /** 179 * @param string 180 */ 181 public function setDescription($description) 182 { 183 $this->description = $description; 184 } 185 /** 186 * @return string 187 */ 188 public function getDescription() 189 { 190 return $this->description; 191 } 192 /** 193 * @param string 194 */ 195 public function setDisplayName($displayName) 196 { 197 $this->displayName = $displayName; 198 } 199 /** 200 * @return string 201 */ 202 public function getDisplayName() 203 { 204 return $this->displayName; 205 } 206 /** 207 * @param string 208 */ 209 public function setHelpUrl($helpUrl) 210 { 211 $this->helpUrl = $helpUrl; 212 } 213 /** 214 * @return string 215 */ 216 public function getHelpUrl() 217 { 218 return $this->helpUrl; 219 } 220 /** 221 * @param bool 222 */ 223 public function setManualRunsDisabled($manualRunsDisabled) 224 { 225 $this->manualRunsDisabled = $manualRunsDisabled; 226 } 227 /** 228 * @return bool 229 */ 230 public function getManualRunsDisabled() 231 { 232 return $this->manualRunsDisabled; 233 } 234 /** 235 * @param string 236 */ 237 public function setMinimumScheduleInterval($minimumScheduleInterval) 238 { 239 $this->minimumScheduleInterval = $minimumScheduleInterval; 240 } 241 /** 242 * @return string 243 */ 244 public function getMinimumScheduleInterval() 245 { 246 return $this->minimumScheduleInterval; 247 } 248 /** 249 * @param string 250 */ 251 public function setName($name) 252 { 253 $this->name = $name; 254 } 255 /** 256 * @return string 257 */ 258 public function getName() 259 { 260 return $this->name; 261 } 262 /** 263 * @param DataSourceParameter[] 264 */ 265 public function setParameters($parameters) 266 { 267 $this->parameters = $parameters; 268 } 269 /** 270 * @return DataSourceParameter[] 271 */ 272 public function getParameters() 273 { 274 return $this->parameters; 275 } 276 /** 277 * @param string[] 278 */ 279 public function setScopes($scopes) 280 { 281 $this->scopes = $scopes; 282 } 283 /** 284 * @return string[] 285 */ 286 public function getScopes() 287 { 288 return $this->scopes; 289 } 290 /** 291 * @param bool 292 */ 293 public function setSupportsCustomSchedule($supportsCustomSchedule) 294 { 295 $this->supportsCustomSchedule = $supportsCustomSchedule; 296 } 297 /** 298 * @return bool 299 */ 300 public function getSupportsCustomSchedule() 301 { 302 return $this->supportsCustomSchedule; 303 } 304 /** 305 * @param bool 306 */ 307 public function setSupportsMultipleTransfers($supportsMultipleTransfers) 308 { 309 $this->supportsMultipleTransfers = $supportsMultipleTransfers; 310 } 311 /** 312 * @return bool 313 */ 314 public function getSupportsMultipleTransfers() 315 { 316 return $this->supportsMultipleTransfers; 317 } 318 /** 319 * @param string 320 */ 321 public function setTransferType($transferType) 322 { 323 $this->transferType = $transferType; 324 } 325 /** 326 * @return string 327 */ 328 public function getTransferType() 329 { 330 return $this->transferType; 331 } 332 /** 333 * @param int 334 */ 335 public function setUpdateDeadlineSeconds($updateDeadlineSeconds) 336 { 337 $this->updateDeadlineSeconds = $updateDeadlineSeconds; 338 } 339 /** 340 * @return int 341 */ 342 public function getUpdateDeadlineSeconds() 343 { 344 return $this->updateDeadlineSeconds; 345 } 346} 347 348// Adding a class alias for backwards compatibility with the previous class name. 349class_alias(DataSource::class, 'Google_Service_BigQueryDataTransfer_DataSource'); 350