[f9c482b] | 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 |
|
---|
| 18 | namespace Google\Service\DLP;
|
---|
| 19 |
|
---|
| 20 | class GooglePrivacyDlpV2FileClusterSummary extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'fileStoreInfoTypeSummaries';
|
---|
| 23 | protected $dataRiskLevelType = GooglePrivacyDlpV2DataRiskLevel::class;
|
---|
| 24 | protected $dataRiskLevelDataType = '';
|
---|
| 25 | protected $errorsType = GooglePrivacyDlpV2Error::class;
|
---|
| 26 | protected $errorsDataType = 'array';
|
---|
| 27 | protected $fileClusterTypeType = GooglePrivacyDlpV2FileClusterType::class;
|
---|
| 28 | protected $fileClusterTypeDataType = '';
|
---|
| 29 | protected $fileExtensionsScannedType = GooglePrivacyDlpV2FileExtensionInfo::class;
|
---|
| 30 | protected $fileExtensionsScannedDataType = 'array';
|
---|
| 31 | protected $fileExtensionsSeenType = GooglePrivacyDlpV2FileExtensionInfo::class;
|
---|
| 32 | protected $fileExtensionsSeenDataType = 'array';
|
---|
| 33 | protected $fileStoreInfoTypeSummariesType = GooglePrivacyDlpV2FileStoreInfoTypeSummary::class;
|
---|
| 34 | protected $fileStoreInfoTypeSummariesDataType = 'array';
|
---|
| 35 | /**
|
---|
| 36 | * @var bool
|
---|
| 37 | */
|
---|
| 38 | public $noFilesExist;
|
---|
| 39 | protected $sensitivityScoreType = GooglePrivacyDlpV2SensitivityScore::class;
|
---|
| 40 | protected $sensitivityScoreDataType = '';
|
---|
| 41 |
|
---|
| 42 | /**
|
---|
| 43 | * @param GooglePrivacyDlpV2DataRiskLevel
|
---|
| 44 | */
|
---|
| 45 | public function setDataRiskLevel(GooglePrivacyDlpV2DataRiskLevel $dataRiskLevel)
|
---|
| 46 | {
|
---|
| 47 | $this->dataRiskLevel = $dataRiskLevel;
|
---|
| 48 | }
|
---|
| 49 | /**
|
---|
| 50 | * @return GooglePrivacyDlpV2DataRiskLevel
|
---|
| 51 | */
|
---|
| 52 | public function getDataRiskLevel()
|
---|
| 53 | {
|
---|
| 54 | return $this->dataRiskLevel;
|
---|
| 55 | }
|
---|
| 56 | /**
|
---|
| 57 | * @param GooglePrivacyDlpV2Error[]
|
---|
| 58 | */
|
---|
| 59 | public function setErrors($errors)
|
---|
| 60 | {
|
---|
| 61 | $this->errors = $errors;
|
---|
| 62 | }
|
---|
| 63 | /**
|
---|
| 64 | * @return GooglePrivacyDlpV2Error[]
|
---|
| 65 | */
|
---|
| 66 | public function getErrors()
|
---|
| 67 | {
|
---|
| 68 | return $this->errors;
|
---|
| 69 | }
|
---|
| 70 | /**
|
---|
| 71 | * @param GooglePrivacyDlpV2FileClusterType
|
---|
| 72 | */
|
---|
| 73 | public function setFileClusterType(GooglePrivacyDlpV2FileClusterType $fileClusterType)
|
---|
| 74 | {
|
---|
| 75 | $this->fileClusterType = $fileClusterType;
|
---|
| 76 | }
|
---|
| 77 | /**
|
---|
| 78 | * @return GooglePrivacyDlpV2FileClusterType
|
---|
| 79 | */
|
---|
| 80 | public function getFileClusterType()
|
---|
| 81 | {
|
---|
| 82 | return $this->fileClusterType;
|
---|
| 83 | }
|
---|
| 84 | /**
|
---|
| 85 | * @param GooglePrivacyDlpV2FileExtensionInfo[]
|
---|
| 86 | */
|
---|
| 87 | public function setFileExtensionsScanned($fileExtensionsScanned)
|
---|
| 88 | {
|
---|
| 89 | $this->fileExtensionsScanned = $fileExtensionsScanned;
|
---|
| 90 | }
|
---|
| 91 | /**
|
---|
| 92 | * @return GooglePrivacyDlpV2FileExtensionInfo[]
|
---|
| 93 | */
|
---|
| 94 | public function getFileExtensionsScanned()
|
---|
| 95 | {
|
---|
| 96 | return $this->fileExtensionsScanned;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @param GooglePrivacyDlpV2FileExtensionInfo[]
|
---|
| 100 | */
|
---|
| 101 | public function setFileExtensionsSeen($fileExtensionsSeen)
|
---|
| 102 | {
|
---|
| 103 | $this->fileExtensionsSeen = $fileExtensionsSeen;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @return GooglePrivacyDlpV2FileExtensionInfo[]
|
---|
| 107 | */
|
---|
| 108 | public function getFileExtensionsSeen()
|
---|
| 109 | {
|
---|
| 110 | return $this->fileExtensionsSeen;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @param GooglePrivacyDlpV2FileStoreInfoTypeSummary[]
|
---|
| 114 | */
|
---|
| 115 | public function setFileStoreInfoTypeSummaries($fileStoreInfoTypeSummaries)
|
---|
| 116 | {
|
---|
| 117 | $this->fileStoreInfoTypeSummaries = $fileStoreInfoTypeSummaries;
|
---|
| 118 | }
|
---|
| 119 | /**
|
---|
| 120 | * @return GooglePrivacyDlpV2FileStoreInfoTypeSummary[]
|
---|
| 121 | */
|
---|
| 122 | public function getFileStoreInfoTypeSummaries()
|
---|
| 123 | {
|
---|
| 124 | return $this->fileStoreInfoTypeSummaries;
|
---|
| 125 | }
|
---|
| 126 | /**
|
---|
| 127 | * @param bool
|
---|
| 128 | */
|
---|
| 129 | public function setNoFilesExist($noFilesExist)
|
---|
| 130 | {
|
---|
| 131 | $this->noFilesExist = $noFilesExist;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @return bool
|
---|
| 135 | */
|
---|
| 136 | public function getNoFilesExist()
|
---|
| 137 | {
|
---|
| 138 | return $this->noFilesExist;
|
---|
| 139 | }
|
---|
| 140 | /**
|
---|
| 141 | * @param GooglePrivacyDlpV2SensitivityScore
|
---|
| 142 | */
|
---|
| 143 | public function setSensitivityScore(GooglePrivacyDlpV2SensitivityScore $sensitivityScore)
|
---|
| 144 | {
|
---|
| 145 | $this->sensitivityScore = $sensitivityScore;
|
---|
| 146 | }
|
---|
| 147 | /**
|
---|
| 148 | * @return GooglePrivacyDlpV2SensitivityScore
|
---|
| 149 | */
|
---|
| 150 | public function getSensitivityScore()
|
---|
| 151 | {
|
---|
| 152 | return $this->sensitivityScore;
|
---|
| 153 | }
|
---|
| 154 | }
|
---|
| 155 |
|
---|
| 156 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 157 | class_alias(GooglePrivacyDlpV2FileClusterSummary::class, 'Google_Service_DLP_GooglePrivacyDlpV2FileClusterSummary');
|
---|