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 TransferConfig extends \Google\Model 21{ 22 /** 23 * @var int 24 */ 25 public $dataRefreshWindowDays; 26 /** 27 * @var string 28 */ 29 public $dataSourceId; 30 /** 31 * @var string 32 */ 33 public $datasetRegion; 34 /** 35 * @var string 36 */ 37 public $destinationDatasetId; 38 /** 39 * @var bool 40 */ 41 public $disabled; 42 /** 43 * @var string 44 */ 45 public $displayName; 46 protected $emailPreferencesType = EmailPreferences::class; 47 protected $emailPreferencesDataType = ''; 48 /** 49 * @var string 50 */ 51 public $name; 52 /** 53 * @var string 54 */ 55 public $nextRunTime; 56 /** 57 * @var string 58 */ 59 public $notificationPubsubTopic; 60 protected $ownerInfoType = UserInfo::class; 61 protected $ownerInfoDataType = ''; 62 /** 63 * @var array[] 64 */ 65 public $params; 66 /** 67 * @var string 68 */ 69 public $schedule; 70 protected $scheduleOptionsType = ScheduleOptions::class; 71 protected $scheduleOptionsDataType = ''; 72 /** 73 * @var string 74 */ 75 public $state; 76 /** 77 * @var string 78 */ 79 public $updateTime; 80 /** 81 * @var string 82 */ 83 public $userId; 84 85 /** 86 * @param int 87 */ 88 public function setDataRefreshWindowDays($dataRefreshWindowDays) 89 { 90 $this->dataRefreshWindowDays = $dataRefreshWindowDays; 91 } 92 /** 93 * @return int 94 */ 95 public function getDataRefreshWindowDays() 96 { 97 return $this->dataRefreshWindowDays; 98 } 99 /** 100 * @param string 101 */ 102 public function setDataSourceId($dataSourceId) 103 { 104 $this->dataSourceId = $dataSourceId; 105 } 106 /** 107 * @return string 108 */ 109 public function getDataSourceId() 110 { 111 return $this->dataSourceId; 112 } 113 /** 114 * @param string 115 */ 116 public function setDatasetRegion($datasetRegion) 117 { 118 $this->datasetRegion = $datasetRegion; 119 } 120 /** 121 * @return string 122 */ 123 public function getDatasetRegion() 124 { 125 return $this->datasetRegion; 126 } 127 /** 128 * @param string 129 */ 130 public function setDestinationDatasetId($destinationDatasetId) 131 { 132 $this->destinationDatasetId = $destinationDatasetId; 133 } 134 /** 135 * @return string 136 */ 137 public function getDestinationDatasetId() 138 { 139 return $this->destinationDatasetId; 140 } 141 /** 142 * @param bool 143 */ 144 public function setDisabled($disabled) 145 { 146 $this->disabled = $disabled; 147 } 148 /** 149 * @return bool 150 */ 151 public function getDisabled() 152 { 153 return $this->disabled; 154 } 155 /** 156 * @param string 157 */ 158 public function setDisplayName($displayName) 159 { 160 $this->displayName = $displayName; 161 } 162 /** 163 * @return string 164 */ 165 public function getDisplayName() 166 { 167 return $this->displayName; 168 } 169 /** 170 * @param EmailPreferences 171 */ 172 public function setEmailPreferences(EmailPreferences $emailPreferences) 173 { 174 $this->emailPreferences = $emailPreferences; 175 } 176 /** 177 * @return EmailPreferences 178 */ 179 public function getEmailPreferences() 180 { 181 return $this->emailPreferences; 182 } 183 /** 184 * @param string 185 */ 186 public function setName($name) 187 { 188 $this->name = $name; 189 } 190 /** 191 * @return string 192 */ 193 public function getName() 194 { 195 return $this->name; 196 } 197 /** 198 * @param string 199 */ 200 public function setNextRunTime($nextRunTime) 201 { 202 $this->nextRunTime = $nextRunTime; 203 } 204 /** 205 * @return string 206 */ 207 public function getNextRunTime() 208 { 209 return $this->nextRunTime; 210 } 211 /** 212 * @param string 213 */ 214 public function setNotificationPubsubTopic($notificationPubsubTopic) 215 { 216 $this->notificationPubsubTopic = $notificationPubsubTopic; 217 } 218 /** 219 * @return string 220 */ 221 public function getNotificationPubsubTopic() 222 { 223 return $this->notificationPubsubTopic; 224 } 225 /** 226 * @param UserInfo 227 */ 228 public function setOwnerInfo(UserInfo $ownerInfo) 229 { 230 $this->ownerInfo = $ownerInfo; 231 } 232 /** 233 * @return UserInfo 234 */ 235 public function getOwnerInfo() 236 { 237 return $this->ownerInfo; 238 } 239 /** 240 * @param array[] 241 */ 242 public function setParams($params) 243 { 244 $this->params = $params; 245 } 246 /** 247 * @return array[] 248 */ 249 public function getParams() 250 { 251 return $this->params; 252 } 253 /** 254 * @param string 255 */ 256 public function setSchedule($schedule) 257 { 258 $this->schedule = $schedule; 259 } 260 /** 261 * @return string 262 */ 263 public function getSchedule() 264 { 265 return $this->schedule; 266 } 267 /** 268 * @param ScheduleOptions 269 */ 270 public function setScheduleOptions(ScheduleOptions $scheduleOptions) 271 { 272 $this->scheduleOptions = $scheduleOptions; 273 } 274 /** 275 * @return ScheduleOptions 276 */ 277 public function getScheduleOptions() 278 { 279 return $this->scheduleOptions; 280 } 281 /** 282 * @param string 283 */ 284 public function setState($state) 285 { 286 $this->state = $state; 287 } 288 /** 289 * @return string 290 */ 291 public function getState() 292 { 293 return $this->state; 294 } 295 /** 296 * @param string 297 */ 298 public function setUpdateTime($updateTime) 299 { 300 $this->updateTime = $updateTime; 301 } 302 /** 303 * @return string 304 */ 305 public function getUpdateTime() 306 { 307 return $this->updateTime; 308 } 309 /** 310 * @param string 311 */ 312 public function setUserId($userId) 313 { 314 $this->userId = $userId; 315 } 316 /** 317 * @return string 318 */ 319 public function getUserId() 320 { 321 return $this->userId; 322 } 323} 324 325// Adding a class alias for backwards compatibility with the previous class name. 326class_alias(TransferConfig::class, 'Google_Service_BigQueryDataTransfer_TransferConfig'); 327