暫無描述

GooglePrivacyDlpV2CustomInfoType.php 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. class Google_Service_DLP_GooglePrivacyDlpV2CustomInfoType extends Google_Collection
  18. {
  19. protected $collection_key = 'detectionRules';
  20. protected $detectionRulesType = 'Google_Service_DLP_GooglePrivacyDlpV2DetectionRule';
  21. protected $detectionRulesDataType = 'array';
  22. protected $dictionaryType = 'Google_Service_DLP_GooglePrivacyDlpV2Dictionary';
  23. protected $dictionaryDataType = '';
  24. protected $infoTypeType = 'Google_Service_DLP_GooglePrivacyDlpV2InfoType';
  25. protected $infoTypeDataType = '';
  26. public $likelihood;
  27. protected $regexType = 'Google_Service_DLP_GooglePrivacyDlpV2Regex';
  28. protected $regexDataType = '';
  29. protected $surrogateTypeType = 'Google_Service_DLP_GooglePrivacyDlpV2SurrogateType';
  30. protected $surrogateTypeDataType = '';
  31. /**
  32. * @param Google_Service_DLP_GooglePrivacyDlpV2DetectionRule
  33. */
  34. public function setDetectionRules($detectionRules)
  35. {
  36. $this->detectionRules = $detectionRules;
  37. }
  38. /**
  39. * @return Google_Service_DLP_GooglePrivacyDlpV2DetectionRule
  40. */
  41. public function getDetectionRules()
  42. {
  43. return $this->detectionRules;
  44. }
  45. /**
  46. * @param Google_Service_DLP_GooglePrivacyDlpV2Dictionary
  47. */
  48. public function setDictionary(Google_Service_DLP_GooglePrivacyDlpV2Dictionary $dictionary)
  49. {
  50. $this->dictionary = $dictionary;
  51. }
  52. /**
  53. * @return Google_Service_DLP_GooglePrivacyDlpV2Dictionary
  54. */
  55. public function getDictionary()
  56. {
  57. return $this->dictionary;
  58. }
  59. /**
  60. * @param Google_Service_DLP_GooglePrivacyDlpV2InfoType
  61. */
  62. public function setInfoType(Google_Service_DLP_GooglePrivacyDlpV2InfoType $infoType)
  63. {
  64. $this->infoType = $infoType;
  65. }
  66. /**
  67. * @return Google_Service_DLP_GooglePrivacyDlpV2InfoType
  68. */
  69. public function getInfoType()
  70. {
  71. return $this->infoType;
  72. }
  73. public function setLikelihood($likelihood)
  74. {
  75. $this->likelihood = $likelihood;
  76. }
  77. public function getLikelihood()
  78. {
  79. return $this->likelihood;
  80. }
  81. /**
  82. * @param Google_Service_DLP_GooglePrivacyDlpV2Regex
  83. */
  84. public function setRegex(Google_Service_DLP_GooglePrivacyDlpV2Regex $regex)
  85. {
  86. $this->regex = $regex;
  87. }
  88. /**
  89. * @return Google_Service_DLP_GooglePrivacyDlpV2Regex
  90. */
  91. public function getRegex()
  92. {
  93. return $this->regex;
  94. }
  95. /**
  96. * @param Google_Service_DLP_GooglePrivacyDlpV2SurrogateType
  97. */
  98. public function setSurrogateType(Google_Service_DLP_GooglePrivacyDlpV2SurrogateType $surrogateType)
  99. {
  100. $this->surrogateType = $surrogateType;
  101. }
  102. /**
  103. * @return Google_Service_DLP_GooglePrivacyDlpV2SurrogateType
  104. */
  105. public function getSurrogateType()
  106. {
  107. return $this->surrogateType;
  108. }
  109. }