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