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 GooglePrivacyDlpV2FileStoreDataProfile extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'fileStoreInfoTypeSummaries';
|
---|
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 | protected $dataSourceTypeType = GooglePrivacyDlpV2DataSourceType::class;
|
---|
32 | protected $dataSourceTypeDataType = '';
|
---|
33 | /**
|
---|
34 | * @var string[]
|
---|
35 | */
|
---|
36 | public $dataStorageLocations;
|
---|
37 | protected $fileClusterSummariesType = GooglePrivacyDlpV2FileClusterSummary::class;
|
---|
38 | protected $fileClusterSummariesDataType = 'array';
|
---|
39 | protected $fileStoreInfoTypeSummariesType = GooglePrivacyDlpV2FileStoreInfoTypeSummary::class;
|
---|
40 | protected $fileStoreInfoTypeSummariesDataType = 'array';
|
---|
41 | /**
|
---|
42 | * @var bool
|
---|
43 | */
|
---|
44 | public $fileStoreIsEmpty;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $fileStoreLocation;
|
---|
49 | /**
|
---|
50 | * @var string
|
---|
51 | */
|
---|
52 | public $fileStorePath;
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $fullResource;
|
---|
57 | /**
|
---|
58 | * @var string
|
---|
59 | */
|
---|
60 | public $lastModifiedTime;
|
---|
61 | /**
|
---|
62 | * @var string
|
---|
63 | */
|
---|
64 | public $locationType;
|
---|
65 | /**
|
---|
66 | * @var string
|
---|
67 | */
|
---|
68 | public $name;
|
---|
69 | /**
|
---|
70 | * @var string
|
---|
71 | */
|
---|
72 | public $profileLastGenerated;
|
---|
73 | protected $profileStatusType = GooglePrivacyDlpV2ProfileStatus::class;
|
---|
74 | protected $profileStatusDataType = '';
|
---|
75 | /**
|
---|
76 | * @var string
|
---|
77 | */
|
---|
78 | public $projectDataProfile;
|
---|
79 | /**
|
---|
80 | * @var string
|
---|
81 | */
|
---|
82 | public $projectId;
|
---|
83 | protected $resourceAttributesType = GooglePrivacyDlpV2Value::class;
|
---|
84 | protected $resourceAttributesDataType = 'map';
|
---|
85 | /**
|
---|
86 | * @var string[]
|
---|
87 | */
|
---|
88 | public $resourceLabels;
|
---|
89 | /**
|
---|
90 | * @var string
|
---|
91 | */
|
---|
92 | public $resourceVisibility;
|
---|
93 | protected $sensitivityScoreType = GooglePrivacyDlpV2SensitivityScore::class;
|
---|
94 | protected $sensitivityScoreDataType = '';
|
---|
95 | /**
|
---|
96 | * @var string
|
---|
97 | */
|
---|
98 | public $state;
|
---|
99 |
|
---|
100 | /**
|
---|
101 | * @param GooglePrivacyDlpV2DataProfileConfigSnapshot
|
---|
102 | */
|
---|
103 | public function setConfigSnapshot(GooglePrivacyDlpV2DataProfileConfigSnapshot $configSnapshot)
|
---|
104 | {
|
---|
105 | $this->configSnapshot = $configSnapshot;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @return GooglePrivacyDlpV2DataProfileConfigSnapshot
|
---|
109 | */
|
---|
110 | public function getConfigSnapshot()
|
---|
111 | {
|
---|
112 | return $this->configSnapshot;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @param string
|
---|
116 | */
|
---|
117 | public function setCreateTime($createTime)
|
---|
118 | {
|
---|
119 | $this->createTime = $createTime;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @return string
|
---|
123 | */
|
---|
124 | public function getCreateTime()
|
---|
125 | {
|
---|
126 | return $this->createTime;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @param GooglePrivacyDlpV2DataRiskLevel
|
---|
130 | */
|
---|
131 | public function setDataRiskLevel(GooglePrivacyDlpV2DataRiskLevel $dataRiskLevel)
|
---|
132 | {
|
---|
133 | $this->dataRiskLevel = $dataRiskLevel;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @return GooglePrivacyDlpV2DataRiskLevel
|
---|
137 | */
|
---|
138 | public function getDataRiskLevel()
|
---|
139 | {
|
---|
140 | return $this->dataRiskLevel;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @param GooglePrivacyDlpV2DataSourceType
|
---|
144 | */
|
---|
145 | public function setDataSourceType(GooglePrivacyDlpV2DataSourceType $dataSourceType)
|
---|
146 | {
|
---|
147 | $this->dataSourceType = $dataSourceType;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @return GooglePrivacyDlpV2DataSourceType
|
---|
151 | */
|
---|
152 | public function getDataSourceType()
|
---|
153 | {
|
---|
154 | return $this->dataSourceType;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @param string[]
|
---|
158 | */
|
---|
159 | public function setDataStorageLocations($dataStorageLocations)
|
---|
160 | {
|
---|
161 | $this->dataStorageLocations = $dataStorageLocations;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @return string[]
|
---|
165 | */
|
---|
166 | public function getDataStorageLocations()
|
---|
167 | {
|
---|
168 | return $this->dataStorageLocations;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @param GooglePrivacyDlpV2FileClusterSummary[]
|
---|
172 | */
|
---|
173 | public function setFileClusterSummaries($fileClusterSummaries)
|
---|
174 | {
|
---|
175 | $this->fileClusterSummaries = $fileClusterSummaries;
|
---|
176 | }
|
---|
177 | /**
|
---|
178 | * @return GooglePrivacyDlpV2FileClusterSummary[]
|
---|
179 | */
|
---|
180 | public function getFileClusterSummaries()
|
---|
181 | {
|
---|
182 | return $this->fileClusterSummaries;
|
---|
183 | }
|
---|
184 | /**
|
---|
185 | * @param GooglePrivacyDlpV2FileStoreInfoTypeSummary[]
|
---|
186 | */
|
---|
187 | public function setFileStoreInfoTypeSummaries($fileStoreInfoTypeSummaries)
|
---|
188 | {
|
---|
189 | $this->fileStoreInfoTypeSummaries = $fileStoreInfoTypeSummaries;
|
---|
190 | }
|
---|
191 | /**
|
---|
192 | * @return GooglePrivacyDlpV2FileStoreInfoTypeSummary[]
|
---|
193 | */
|
---|
194 | public function getFileStoreInfoTypeSummaries()
|
---|
195 | {
|
---|
196 | return $this->fileStoreInfoTypeSummaries;
|
---|
197 | }
|
---|
198 | /**
|
---|
199 | * @param bool
|
---|
200 | */
|
---|
201 | public function setFileStoreIsEmpty($fileStoreIsEmpty)
|
---|
202 | {
|
---|
203 | $this->fileStoreIsEmpty = $fileStoreIsEmpty;
|
---|
204 | }
|
---|
205 | /**
|
---|
206 | * @return bool
|
---|
207 | */
|
---|
208 | public function getFileStoreIsEmpty()
|
---|
209 | {
|
---|
210 | return $this->fileStoreIsEmpty;
|
---|
211 | }
|
---|
212 | /**
|
---|
213 | * @param string
|
---|
214 | */
|
---|
215 | public function setFileStoreLocation($fileStoreLocation)
|
---|
216 | {
|
---|
217 | $this->fileStoreLocation = $fileStoreLocation;
|
---|
218 | }
|
---|
219 | /**
|
---|
220 | * @return string
|
---|
221 | */
|
---|
222 | public function getFileStoreLocation()
|
---|
223 | {
|
---|
224 | return $this->fileStoreLocation;
|
---|
225 | }
|
---|
226 | /**
|
---|
227 | * @param string
|
---|
228 | */
|
---|
229 | public function setFileStorePath($fileStorePath)
|
---|
230 | {
|
---|
231 | $this->fileStorePath = $fileStorePath;
|
---|
232 | }
|
---|
233 | /**
|
---|
234 | * @return string
|
---|
235 | */
|
---|
236 | public function getFileStorePath()
|
---|
237 | {
|
---|
238 | return $this->fileStorePath;
|
---|
239 | }
|
---|
240 | /**
|
---|
241 | * @param string
|
---|
242 | */
|
---|
243 | public function setFullResource($fullResource)
|
---|
244 | {
|
---|
245 | $this->fullResource = $fullResource;
|
---|
246 | }
|
---|
247 | /**
|
---|
248 | * @return string
|
---|
249 | */
|
---|
250 | public function getFullResource()
|
---|
251 | {
|
---|
252 | return $this->fullResource;
|
---|
253 | }
|
---|
254 | /**
|
---|
255 | * @param string
|
---|
256 | */
|
---|
257 | public function setLastModifiedTime($lastModifiedTime)
|
---|
258 | {
|
---|
259 | $this->lastModifiedTime = $lastModifiedTime;
|
---|
260 | }
|
---|
261 | /**
|
---|
262 | * @return string
|
---|
263 | */
|
---|
264 | public function getLastModifiedTime()
|
---|
265 | {
|
---|
266 | return $this->lastModifiedTime;
|
---|
267 | }
|
---|
268 | /**
|
---|
269 | * @param string
|
---|
270 | */
|
---|
271 | public function setLocationType($locationType)
|
---|
272 | {
|
---|
273 | $this->locationType = $locationType;
|
---|
274 | }
|
---|
275 | /**
|
---|
276 | * @return string
|
---|
277 | */
|
---|
278 | public function getLocationType()
|
---|
279 | {
|
---|
280 | return $this->locationType;
|
---|
281 | }
|
---|
282 | /**
|
---|
283 | * @param string
|
---|
284 | */
|
---|
285 | public function setName($name)
|
---|
286 | {
|
---|
287 | $this->name = $name;
|
---|
288 | }
|
---|
289 | /**
|
---|
290 | * @return string
|
---|
291 | */
|
---|
292 | public function getName()
|
---|
293 | {
|
---|
294 | return $this->name;
|
---|
295 | }
|
---|
296 | /**
|
---|
297 | * @param string
|
---|
298 | */
|
---|
299 | public function setProfileLastGenerated($profileLastGenerated)
|
---|
300 | {
|
---|
301 | $this->profileLastGenerated = $profileLastGenerated;
|
---|
302 | }
|
---|
303 | /**
|
---|
304 | * @return string
|
---|
305 | */
|
---|
306 | public function getProfileLastGenerated()
|
---|
307 | {
|
---|
308 | return $this->profileLastGenerated;
|
---|
309 | }
|
---|
310 | /**
|
---|
311 | * @param GooglePrivacyDlpV2ProfileStatus
|
---|
312 | */
|
---|
313 | public function setProfileStatus(GooglePrivacyDlpV2ProfileStatus $profileStatus)
|
---|
314 | {
|
---|
315 | $this->profileStatus = $profileStatus;
|
---|
316 | }
|
---|
317 | /**
|
---|
318 | * @return GooglePrivacyDlpV2ProfileStatus
|
---|
319 | */
|
---|
320 | public function getProfileStatus()
|
---|
321 | {
|
---|
322 | return $this->profileStatus;
|
---|
323 | }
|
---|
324 | /**
|
---|
325 | * @param string
|
---|
326 | */
|
---|
327 | public function setProjectDataProfile($projectDataProfile)
|
---|
328 | {
|
---|
329 | $this->projectDataProfile = $projectDataProfile;
|
---|
330 | }
|
---|
331 | /**
|
---|
332 | * @return string
|
---|
333 | */
|
---|
334 | public function getProjectDataProfile()
|
---|
335 | {
|
---|
336 | return $this->projectDataProfile;
|
---|
337 | }
|
---|
338 | /**
|
---|
339 | * @param string
|
---|
340 | */
|
---|
341 | public function setProjectId($projectId)
|
---|
342 | {
|
---|
343 | $this->projectId = $projectId;
|
---|
344 | }
|
---|
345 | /**
|
---|
346 | * @return string
|
---|
347 | */
|
---|
348 | public function getProjectId()
|
---|
349 | {
|
---|
350 | return $this->projectId;
|
---|
351 | }
|
---|
352 | /**
|
---|
353 | * @param GooglePrivacyDlpV2Value[]
|
---|
354 | */
|
---|
355 | public function setResourceAttributes($resourceAttributes)
|
---|
356 | {
|
---|
357 | $this->resourceAttributes = $resourceAttributes;
|
---|
358 | }
|
---|
359 | /**
|
---|
360 | * @return GooglePrivacyDlpV2Value[]
|
---|
361 | */
|
---|
362 | public function getResourceAttributes()
|
---|
363 | {
|
---|
364 | return $this->resourceAttributes;
|
---|
365 | }
|
---|
366 | /**
|
---|
367 | * @param string[]
|
---|
368 | */
|
---|
369 | public function setResourceLabels($resourceLabels)
|
---|
370 | {
|
---|
371 | $this->resourceLabels = $resourceLabels;
|
---|
372 | }
|
---|
373 | /**
|
---|
374 | * @return string[]
|
---|
375 | */
|
---|
376 | public function getResourceLabels()
|
---|
377 | {
|
---|
378 | return $this->resourceLabels;
|
---|
379 | }
|
---|
380 | /**
|
---|
381 | * @param string
|
---|
382 | */
|
---|
383 | public function setResourceVisibility($resourceVisibility)
|
---|
384 | {
|
---|
385 | $this->resourceVisibility = $resourceVisibility;
|
---|
386 | }
|
---|
387 | /**
|
---|
388 | * @return string
|
---|
389 | */
|
---|
390 | public function getResourceVisibility()
|
---|
391 | {
|
---|
392 | return $this->resourceVisibility;
|
---|
393 | }
|
---|
394 | /**
|
---|
395 | * @param GooglePrivacyDlpV2SensitivityScore
|
---|
396 | */
|
---|
397 | public function setSensitivityScore(GooglePrivacyDlpV2SensitivityScore $sensitivityScore)
|
---|
398 | {
|
---|
399 | $this->sensitivityScore = $sensitivityScore;
|
---|
400 | }
|
---|
401 | /**
|
---|
402 | * @return GooglePrivacyDlpV2SensitivityScore
|
---|
403 | */
|
---|
404 | public function getSensitivityScore()
|
---|
405 | {
|
---|
406 | return $this->sensitivityScore;
|
---|
407 | }
|
---|
408 | /**
|
---|
409 | * @param string
|
---|
410 | */
|
---|
411 | public function setState($state)
|
---|
412 | {
|
---|
413 | $this->state = $state;
|
---|
414 | }
|
---|
415 | /**
|
---|
416 | * @return string
|
---|
417 | */
|
---|
418 | public function getState()
|
---|
419 | {
|
---|
420 | return $this->state;
|
---|
421 | }
|
---|
422 | }
|
---|
423 |
|
---|
424 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
425 | class_alias(GooglePrivacyDlpV2FileStoreDataProfile::class, 'Google_Service_DLP_GooglePrivacyDlpV2FileStoreDataProfile');
|
---|