GoogleCloudSecuritycenterV2CloudDlpInspection.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. namespace Google\Service\SecurityCommandCenter;
  18. class GoogleCloudSecuritycenterV2CloudDlpInspection extends \Google\Model
  19. {
  20. /**
  21. * Whether Cloud DLP scanned the complete resource or a sampled subset.
  22. *
  23. * @var bool
  24. */
  25. public $fullScan;
  26. /**
  27. * The type of information (or
  28. * *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found,
  29. * for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
  30. *
  31. * @var string
  32. */
  33. public $infoType;
  34. /**
  35. * The number of times Cloud DLP found this infoType within this job and
  36. * resource.
  37. *
  38. * @var string
  39. */
  40. public $infoTypeCount;
  41. /**
  42. * Name of the inspection job, for example,
  43. * `projects/123/locations/europe/dlpJobs/i-8383929`.
  44. *
  45. * @var string
  46. */
  47. public $inspectJob;
  48. /**
  49. * Whether Cloud DLP scanned the complete resource or a sampled subset.
  50. *
  51. * @param bool $fullScan
  52. */
  53. public function setFullScan($fullScan)
  54. {
  55. $this->fullScan = $fullScan;
  56. }
  57. /**
  58. * @return bool
  59. */
  60. public function getFullScan()
  61. {
  62. return $this->fullScan;
  63. }
  64. /**
  65. * The type of information (or
  66. * *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found,
  67. * for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
  68. *
  69. * @param string $infoType
  70. */
  71. public function setInfoType($infoType)
  72. {
  73. $this->infoType = $infoType;
  74. }
  75. /**
  76. * @return string
  77. */
  78. public function getInfoType()
  79. {
  80. return $this->infoType;
  81. }
  82. /**
  83. * The number of times Cloud DLP found this infoType within this job and
  84. * resource.
  85. *
  86. * @param string $infoTypeCount
  87. */
  88. public function setInfoTypeCount($infoTypeCount)
  89. {
  90. $this->infoTypeCount = $infoTypeCount;
  91. }
  92. /**
  93. * @return string
  94. */
  95. public function getInfoTypeCount()
  96. {
  97. return $this->infoTypeCount;
  98. }
  99. /**
  100. * Name of the inspection job, for example,
  101. * `projects/123/locations/europe/dlpJobs/i-8383929`.
  102. *
  103. * @param string $inspectJob
  104. */
  105. public function setInspectJob($inspectJob)
  106. {
  107. $this->inspectJob = $inspectJob;
  108. }
  109. /**
  110. * @return string
  111. */
  112. public function getInspectJob()
  113. {
  114. return $this->inspectJob;
  115. }
  116. }
  117. // Adding a class alias for backwards compatibility with the previous class name.
  118. class_alias(GoogleCloudSecuritycenterV2CloudDlpInspection::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2CloudDlpInspection');