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\DLP; 19 20class GooglePrivacyDlpV2TableDataProfile extends \Google\Collection 21{ 22 protected $collection_key = 'predictedInfoTypes'; 23 protected $configSnapshotType = GooglePrivacyDlpV2DataProfileConfigSnapshot::class; 24 protected $configSnapshotDataType = ''; 25 /** 26 * @var string 27 */ 28 public $createTime; 29 protected $dataRiskLevelType = GooglePrivacyDlpV2DataRiskLevel::class; 30 protected $dataRiskLevelDataType = ''; 31 /** 32 * @var string 33 */ 34 public $datasetId; 35 /** 36 * @var string 37 */ 38 public $datasetLocation; 39 /** 40 * @var string 41 */ 42 public $datasetProjectId; 43 /** 44 * @var string 45 */ 46 public $encryptionStatus; 47 /** 48 * @var string 49 */ 50 public $expirationTime; 51 /** 52 * @var string 53 */ 54 public $failedColumnCount; 55 /** 56 * @var string 57 */ 58 public $fullResource; 59 /** 60 * @var string 61 */ 62 public $lastModifiedTime; 63 /** 64 * @var string 65 */ 66 public $name; 67 protected $otherInfoTypesType = GooglePrivacyDlpV2OtherInfoTypeSummary::class; 68 protected $otherInfoTypesDataType = 'array'; 69 protected $predictedInfoTypesType = GooglePrivacyDlpV2InfoTypeSummary::class; 70 protected $predictedInfoTypesDataType = 'array'; 71 /** 72 * @var string 73 */ 74 public $profileLastGenerated; 75 protected $profileStatusType = GooglePrivacyDlpV2ProfileStatus::class; 76 protected $profileStatusDataType = ''; 77 /** 78 * @var string 79 */ 80 public $projectDataProfile; 81 /** 82 * @var string[] 83 */ 84 public $resourceLabels; 85 /** 86 * @var string 87 */ 88 public $resourceVisibility; 89 /** 90 * @var string 91 */ 92 public $rowCount; 93 /** 94 * @var string 95 */ 96 public $scannedColumnCount; 97 protected $sensitivityScoreType = GooglePrivacyDlpV2SensitivityScore::class; 98 protected $sensitivityScoreDataType = ''; 99 /** 100 * @var string 101 */ 102 public $state; 103 /** 104 * @var string 105 */ 106 public $tableId; 107 /** 108 * @var string 109 */ 110 public $tableSizeBytes; 111 112 /** 113 * @param GooglePrivacyDlpV2DataProfileConfigSnapshot 114 */ 115 public function setConfigSnapshot(GooglePrivacyDlpV2DataProfileConfigSnapshot $configSnapshot) 116 { 117 $this->configSnapshot = $configSnapshot; 118 } 119 /** 120 * @return GooglePrivacyDlpV2DataProfileConfigSnapshot 121 */ 122 public function getConfigSnapshot() 123 { 124 return $this->configSnapshot; 125 } 126 /** 127 * @param string 128 */ 129 public function setCreateTime($createTime) 130 { 131 $this->createTime = $createTime; 132 } 133 /** 134 * @return string 135 */ 136 public function getCreateTime() 137 { 138 return $this->createTime; 139 } 140 /** 141 * @param GooglePrivacyDlpV2DataRiskLevel 142 */ 143 public function setDataRiskLevel(GooglePrivacyDlpV2DataRiskLevel $dataRiskLevel) 144 { 145 $this->dataRiskLevel = $dataRiskLevel; 146 } 147 /** 148 * @return GooglePrivacyDlpV2DataRiskLevel 149 */ 150 public function getDataRiskLevel() 151 { 152 return $this->dataRiskLevel; 153 } 154 /** 155 * @param string 156 */ 157 public function setDatasetId($datasetId) 158 { 159 $this->datasetId = $datasetId; 160 } 161 /** 162 * @return string 163 */ 164 public function getDatasetId() 165 { 166 return $this->datasetId; 167 } 168 /** 169 * @param string 170 */ 171 public function setDatasetLocation($datasetLocation) 172 { 173 $this->datasetLocation = $datasetLocation; 174 } 175 /** 176 * @return string 177 */ 178 public function getDatasetLocation() 179 { 180 return $this->datasetLocation; 181 } 182 /** 183 * @param string 184 */ 185 public function setDatasetProjectId($datasetProjectId) 186 { 187 $this->datasetProjectId = $datasetProjectId; 188 } 189 /** 190 * @return string 191 */ 192 public function getDatasetProjectId() 193 { 194 return $this->datasetProjectId; 195 } 196 /** 197 * @param string 198 */ 199 public function setEncryptionStatus($encryptionStatus) 200 { 201 $this->encryptionStatus = $encryptionStatus; 202 } 203 /** 204 * @return string 205 */ 206 public function getEncryptionStatus() 207 { 208 return $this->encryptionStatus; 209 } 210 /** 211 * @param string 212 */ 213 public function setExpirationTime($expirationTime) 214 { 215 $this->expirationTime = $expirationTime; 216 } 217 /** 218 * @return string 219 */ 220 public function getExpirationTime() 221 { 222 return $this->expirationTime; 223 } 224 /** 225 * @param string 226 */ 227 public function setFailedColumnCount($failedColumnCount) 228 { 229 $this->failedColumnCount = $failedColumnCount; 230 } 231 /** 232 * @return string 233 */ 234 public function getFailedColumnCount() 235 { 236 return $this->failedColumnCount; 237 } 238 /** 239 * @param string 240 */ 241 public function setFullResource($fullResource) 242 { 243 $this->fullResource = $fullResource; 244 } 245 /** 246 * @return string 247 */ 248 public function getFullResource() 249 { 250 return $this->fullResource; 251 } 252 /** 253 * @param string 254 */ 255 public function setLastModifiedTime($lastModifiedTime) 256 { 257 $this->lastModifiedTime = $lastModifiedTime; 258 } 259 /** 260 * @return string 261 */ 262 public function getLastModifiedTime() 263 { 264 return $this->lastModifiedTime; 265 } 266 /** 267 * @param string 268 */ 269 public function setName($name) 270 { 271 $this->name = $name; 272 } 273 /** 274 * @return string 275 */ 276 public function getName() 277 { 278 return $this->name; 279 } 280 /** 281 * @param GooglePrivacyDlpV2OtherInfoTypeSummary[] 282 */ 283 public function setOtherInfoTypes($otherInfoTypes) 284 { 285 $this->otherInfoTypes = $otherInfoTypes; 286 } 287 /** 288 * @return GooglePrivacyDlpV2OtherInfoTypeSummary[] 289 */ 290 public function getOtherInfoTypes() 291 { 292 return $this->otherInfoTypes; 293 } 294 /** 295 * @param GooglePrivacyDlpV2InfoTypeSummary[] 296 */ 297 public function setPredictedInfoTypes($predictedInfoTypes) 298 { 299 $this->predictedInfoTypes = $predictedInfoTypes; 300 } 301 /** 302 * @return GooglePrivacyDlpV2InfoTypeSummary[] 303 */ 304 public function getPredictedInfoTypes() 305 { 306 return $this->predictedInfoTypes; 307 } 308 /** 309 * @param string 310 */ 311 public function setProfileLastGenerated($profileLastGenerated) 312 { 313 $this->profileLastGenerated = $profileLastGenerated; 314 } 315 /** 316 * @return string 317 */ 318 public function getProfileLastGenerated() 319 { 320 return $this->profileLastGenerated; 321 } 322 /** 323 * @param GooglePrivacyDlpV2ProfileStatus 324 */ 325 public function setProfileStatus(GooglePrivacyDlpV2ProfileStatus $profileStatus) 326 { 327 $this->profileStatus = $profileStatus; 328 } 329 /** 330 * @return GooglePrivacyDlpV2ProfileStatus 331 */ 332 public function getProfileStatus() 333 { 334 return $this->profileStatus; 335 } 336 /** 337 * @param string 338 */ 339 public function setProjectDataProfile($projectDataProfile) 340 { 341 $this->projectDataProfile = $projectDataProfile; 342 } 343 /** 344 * @return string 345 */ 346 public function getProjectDataProfile() 347 { 348 return $this->projectDataProfile; 349 } 350 /** 351 * @param string[] 352 */ 353 public function setResourceLabels($resourceLabels) 354 { 355 $this->resourceLabels = $resourceLabels; 356 } 357 /** 358 * @return string[] 359 */ 360 public function getResourceLabels() 361 { 362 return $this->resourceLabels; 363 } 364 /** 365 * @param string 366 */ 367 public function setResourceVisibility($resourceVisibility) 368 { 369 $this->resourceVisibility = $resourceVisibility; 370 } 371 /** 372 * @return string 373 */ 374 public function getResourceVisibility() 375 { 376 return $this->resourceVisibility; 377 } 378 /** 379 * @param string 380 */ 381 public function setRowCount($rowCount) 382 { 383 $this->rowCount = $rowCount; 384 } 385 /** 386 * @return string 387 */ 388 public function getRowCount() 389 { 390 return $this->rowCount; 391 } 392 /** 393 * @param string 394 */ 395 public function setScannedColumnCount($scannedColumnCount) 396 { 397 $this->scannedColumnCount = $scannedColumnCount; 398 } 399 /** 400 * @return string 401 */ 402 public function getScannedColumnCount() 403 { 404 return $this->scannedColumnCount; 405 } 406 /** 407 * @param GooglePrivacyDlpV2SensitivityScore 408 */ 409 public function setSensitivityScore(GooglePrivacyDlpV2SensitivityScore $sensitivityScore) 410 { 411 $this->sensitivityScore = $sensitivityScore; 412 } 413 /** 414 * @return GooglePrivacyDlpV2SensitivityScore 415 */ 416 public function getSensitivityScore() 417 { 418 return $this->sensitivityScore; 419 } 420 /** 421 * @param string 422 */ 423 public function setState($state) 424 { 425 $this->state = $state; 426 } 427 /** 428 * @return string 429 */ 430 public function getState() 431 { 432 return $this->state; 433 } 434 /** 435 * @param string 436 */ 437 public function setTableId($tableId) 438 { 439 $this->tableId = $tableId; 440 } 441 /** 442 * @return string 443 */ 444 public function getTableId() 445 { 446 return $this->tableId; 447 } 448 /** 449 * @param string 450 */ 451 public function setTableSizeBytes($tableSizeBytes) 452 { 453 $this->tableSizeBytes = $tableSizeBytes; 454 } 455 /** 456 * @return string 457 */ 458 public function getTableSizeBytes() 459 { 460 return $this->tableSizeBytes; 461 } 462} 463 464// Adding a class alias for backwards compatibility with the previous class name. 465class_alias(GooglePrivacyDlpV2TableDataProfile::class, 'Google_Service_DLP_GooglePrivacyDlpV2TableDataProfile'); 466