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
18namespace Google\Service\DLP;
19
20class GooglePrivacyDlpV2InspectConfig extends \Google\Collection
21{
22  protected $collection_key = 'ruleSet';
23  /**
24   * @var string[]
25   */
26  public $contentOptions;
27  protected $customInfoTypesType = GooglePrivacyDlpV2CustomInfoType::class;
28  protected $customInfoTypesDataType = 'array';
29  /**
30   * @var bool
31   */
32  public $excludeInfoTypes;
33  /**
34   * @var bool
35   */
36  public $includeQuote;
37  protected $infoTypesType = GooglePrivacyDlpV2InfoType::class;
38  protected $infoTypesDataType = 'array';
39  protected $limitsType = GooglePrivacyDlpV2FindingLimits::class;
40  protected $limitsDataType = '';
41  /**
42   * @var string
43   */
44  public $minLikelihood;
45  protected $ruleSetType = GooglePrivacyDlpV2InspectionRuleSet::class;
46  protected $ruleSetDataType = 'array';
47
48  /**
49   * @param string[]
50   */
51  public function setContentOptions($contentOptions)
52  {
53    $this->contentOptions = $contentOptions;
54  }
55  /**
56   * @return string[]
57   */
58  public function getContentOptions()
59  {
60    return $this->contentOptions;
61  }
62  /**
63   * @param GooglePrivacyDlpV2CustomInfoType[]
64   */
65  public function setCustomInfoTypes($customInfoTypes)
66  {
67    $this->customInfoTypes = $customInfoTypes;
68  }
69  /**
70   * @return GooglePrivacyDlpV2CustomInfoType[]
71   */
72  public function getCustomInfoTypes()
73  {
74    return $this->customInfoTypes;
75  }
76  /**
77   * @param bool
78   */
79  public function setExcludeInfoTypes($excludeInfoTypes)
80  {
81    $this->excludeInfoTypes = $excludeInfoTypes;
82  }
83  /**
84   * @return bool
85   */
86  public function getExcludeInfoTypes()
87  {
88    return $this->excludeInfoTypes;
89  }
90  /**
91   * @param bool
92   */
93  public function setIncludeQuote($includeQuote)
94  {
95    $this->includeQuote = $includeQuote;
96  }
97  /**
98   * @return bool
99   */
100  public function getIncludeQuote()
101  {
102    return $this->includeQuote;
103  }
104  /**
105   * @param GooglePrivacyDlpV2InfoType[]
106   */
107  public function setInfoTypes($infoTypes)
108  {
109    $this->infoTypes = $infoTypes;
110  }
111  /**
112   * @return GooglePrivacyDlpV2InfoType[]
113   */
114  public function getInfoTypes()
115  {
116    return $this->infoTypes;
117  }
118  /**
119   * @param GooglePrivacyDlpV2FindingLimits
120   */
121  public function setLimits(GooglePrivacyDlpV2FindingLimits $limits)
122  {
123    $this->limits = $limits;
124  }
125  /**
126   * @return GooglePrivacyDlpV2FindingLimits
127   */
128  public function getLimits()
129  {
130    return $this->limits;
131  }
132  /**
133   * @param string
134   */
135  public function setMinLikelihood($minLikelihood)
136  {
137    $this->minLikelihood = $minLikelihood;
138  }
139  /**
140   * @return string
141   */
142  public function getMinLikelihood()
143  {
144    return $this->minLikelihood;
145  }
146  /**
147   * @param GooglePrivacyDlpV2InspectionRuleSet[]
148   */
149  public function setRuleSet($ruleSet)
150  {
151    $this->ruleSet = $ruleSet;
152  }
153  /**
154   * @return GooglePrivacyDlpV2InspectionRuleSet[]
155   */
156  public function getRuleSet()
157  {
158    return $this->ruleSet;
159  }
160}
161
162// Adding a class alias for backwards compatibility with the previous class name.
163class_alias(GooglePrivacyDlpV2InspectConfig::class, 'Google_Service_DLP_GooglePrivacyDlpV2InspectConfig');
164