source: vendor/google/apiclient-services/src/CloudDataplex/GoogleCloudDataplexV1DataQualityRule.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 7.7 KB
Line 
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\CloudDataplex;
19
20class GoogleCloudDataplexV1DataQualityRule extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $column;
26 /**
27 * @var string
28 */
29 public $description;
30 /**
31 * @var string
32 */
33 public $dimension;
34 /**
35 * @var bool
36 */
37 public $ignoreNull;
38 /**
39 * @var string
40 */
41 public $name;
42 protected $nonNullExpectationType = GoogleCloudDataplexV1DataQualityRuleNonNullExpectation::class;
43 protected $nonNullExpectationDataType = '';
44 protected $rangeExpectationType = GoogleCloudDataplexV1DataQualityRuleRangeExpectation::class;
45 protected $rangeExpectationDataType = '';
46 protected $regexExpectationType = GoogleCloudDataplexV1DataQualityRuleRegexExpectation::class;
47 protected $regexExpectationDataType = '';
48 protected $rowConditionExpectationType = GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation::class;
49 protected $rowConditionExpectationDataType = '';
50 protected $setExpectationType = GoogleCloudDataplexV1DataQualityRuleSetExpectation::class;
51 protected $setExpectationDataType = '';
52 protected $sqlAssertionType = GoogleCloudDataplexV1DataQualityRuleSqlAssertion::class;
53 protected $sqlAssertionDataType = '';
54 protected $statisticRangeExpectationType = GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation::class;
55 protected $statisticRangeExpectationDataType = '';
56 /**
57 * @var bool
58 */
59 public $suspended;
60 protected $tableConditionExpectationType = GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation::class;
61 protected $tableConditionExpectationDataType = '';
62 public $threshold;
63 protected $uniquenessExpectationType = GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation::class;
64 protected $uniquenessExpectationDataType = '';
65
66 /**
67 * @param string
68 */
69 public function setColumn($column)
70 {
71 $this->column = $column;
72 }
73 /**
74 * @return string
75 */
76 public function getColumn()
77 {
78 return $this->column;
79 }
80 /**
81 * @param string
82 */
83 public function setDescription($description)
84 {
85 $this->description = $description;
86 }
87 /**
88 * @return string
89 */
90 public function getDescription()
91 {
92 return $this->description;
93 }
94 /**
95 * @param string
96 */
97 public function setDimension($dimension)
98 {
99 $this->dimension = $dimension;
100 }
101 /**
102 * @return string
103 */
104 public function getDimension()
105 {
106 return $this->dimension;
107 }
108 /**
109 * @param bool
110 */
111 public function setIgnoreNull($ignoreNull)
112 {
113 $this->ignoreNull = $ignoreNull;
114 }
115 /**
116 * @return bool
117 */
118 public function getIgnoreNull()
119 {
120 return $this->ignoreNull;
121 }
122 /**
123 * @param string
124 */
125 public function setName($name)
126 {
127 $this->name = $name;
128 }
129 /**
130 * @return string
131 */
132 public function getName()
133 {
134 return $this->name;
135 }
136 /**
137 * @param GoogleCloudDataplexV1DataQualityRuleNonNullExpectation
138 */
139 public function setNonNullExpectation(GoogleCloudDataplexV1DataQualityRuleNonNullExpectation $nonNullExpectation)
140 {
141 $this->nonNullExpectation = $nonNullExpectation;
142 }
143 /**
144 * @return GoogleCloudDataplexV1DataQualityRuleNonNullExpectation
145 */
146 public function getNonNullExpectation()
147 {
148 return $this->nonNullExpectation;
149 }
150 /**
151 * @param GoogleCloudDataplexV1DataQualityRuleRangeExpectation
152 */
153 public function setRangeExpectation(GoogleCloudDataplexV1DataQualityRuleRangeExpectation $rangeExpectation)
154 {
155 $this->rangeExpectation = $rangeExpectation;
156 }
157 /**
158 * @return GoogleCloudDataplexV1DataQualityRuleRangeExpectation
159 */
160 public function getRangeExpectation()
161 {
162 return $this->rangeExpectation;
163 }
164 /**
165 * @param GoogleCloudDataplexV1DataQualityRuleRegexExpectation
166 */
167 public function setRegexExpectation(GoogleCloudDataplexV1DataQualityRuleRegexExpectation $regexExpectation)
168 {
169 $this->regexExpectation = $regexExpectation;
170 }
171 /**
172 * @return GoogleCloudDataplexV1DataQualityRuleRegexExpectation
173 */
174 public function getRegexExpectation()
175 {
176 return $this->regexExpectation;
177 }
178 /**
179 * @param GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation
180 */
181 public function setRowConditionExpectation(GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation $rowConditionExpectation)
182 {
183 $this->rowConditionExpectation = $rowConditionExpectation;
184 }
185 /**
186 * @return GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation
187 */
188 public function getRowConditionExpectation()
189 {
190 return $this->rowConditionExpectation;
191 }
192 /**
193 * @param GoogleCloudDataplexV1DataQualityRuleSetExpectation
194 */
195 public function setSetExpectation(GoogleCloudDataplexV1DataQualityRuleSetExpectation $setExpectation)
196 {
197 $this->setExpectation = $setExpectation;
198 }
199 /**
200 * @return GoogleCloudDataplexV1DataQualityRuleSetExpectation
201 */
202 public function getSetExpectation()
203 {
204 return $this->setExpectation;
205 }
206 /**
207 * @param GoogleCloudDataplexV1DataQualityRuleSqlAssertion
208 */
209 public function setSqlAssertion(GoogleCloudDataplexV1DataQualityRuleSqlAssertion $sqlAssertion)
210 {
211 $this->sqlAssertion = $sqlAssertion;
212 }
213 /**
214 * @return GoogleCloudDataplexV1DataQualityRuleSqlAssertion
215 */
216 public function getSqlAssertion()
217 {
218 return $this->sqlAssertion;
219 }
220 /**
221 * @param GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation
222 */
223 public function setStatisticRangeExpectation(GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation $statisticRangeExpectation)
224 {
225 $this->statisticRangeExpectation = $statisticRangeExpectation;
226 }
227 /**
228 * @return GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation
229 */
230 public function getStatisticRangeExpectation()
231 {
232 return $this->statisticRangeExpectation;
233 }
234 /**
235 * @param bool
236 */
237 public function setSuspended($suspended)
238 {
239 $this->suspended = $suspended;
240 }
241 /**
242 * @return bool
243 */
244 public function getSuspended()
245 {
246 return $this->suspended;
247 }
248 /**
249 * @param GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation
250 */
251 public function setTableConditionExpectation(GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation $tableConditionExpectation)
252 {
253 $this->tableConditionExpectation = $tableConditionExpectation;
254 }
255 /**
256 * @return GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation
257 */
258 public function getTableConditionExpectation()
259 {
260 return $this->tableConditionExpectation;
261 }
262 public function setThreshold($threshold)
263 {
264 $this->threshold = $threshold;
265 }
266 public function getThreshold()
267 {
268 return $this->threshold;
269 }
270 /**
271 * @param GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation
272 */
273 public function setUniquenessExpectation(GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation $uniquenessExpectation)
274 {
275 $this->uniquenessExpectation = $uniquenessExpectation;
276 }
277 /**
278 * @return GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation
279 */
280 public function getUniquenessExpectation()
281 {
282 return $this->uniquenessExpectation;
283 }
284}
285
286// Adding a class alias for backwards compatibility with the previous class name.
287class_alias(GoogleCloudDataplexV1DataQualityRule::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1DataQualityRule');
Note: See TracBrowser for help on using the repository browser.