[e3d4e0a] | 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\CloudDataplex;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudDataplexV1DataQualityResult extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'rules';
|
---|
| 23 | protected $columnsType = GoogleCloudDataplexV1DataQualityColumnResult::class;
|
---|
| 24 | protected $columnsDataType = 'array';
|
---|
| 25 | protected $dimensionsType = GoogleCloudDataplexV1DataQualityDimensionResult::class;
|
---|
| 26 | protected $dimensionsDataType = 'array';
|
---|
| 27 | /**
|
---|
| 28 | * @var bool
|
---|
| 29 | */
|
---|
| 30 | public $passed;
|
---|
| 31 | protected $postScanActionsResultType = GoogleCloudDataplexV1DataQualityResultPostScanActionsResult::class;
|
---|
| 32 | protected $postScanActionsResultDataType = '';
|
---|
| 33 | /**
|
---|
| 34 | * @var string
|
---|
| 35 | */
|
---|
| 36 | public $rowCount;
|
---|
| 37 | protected $rulesType = GoogleCloudDataplexV1DataQualityRuleResult::class;
|
---|
| 38 | protected $rulesDataType = 'array';
|
---|
| 39 | protected $scannedDataType = GoogleCloudDataplexV1ScannedData::class;
|
---|
| 40 | protected $scannedDataDataType = '';
|
---|
| 41 | /**
|
---|
| 42 | * @var float
|
---|
| 43 | */
|
---|
| 44 | public $score;
|
---|
| 45 |
|
---|
| 46 | /**
|
---|
| 47 | * @param GoogleCloudDataplexV1DataQualityColumnResult[]
|
---|
| 48 | */
|
---|
| 49 | public function setColumns($columns)
|
---|
| 50 | {
|
---|
| 51 | $this->columns = $columns;
|
---|
| 52 | }
|
---|
| 53 | /**
|
---|
| 54 | * @return GoogleCloudDataplexV1DataQualityColumnResult[]
|
---|
| 55 | */
|
---|
| 56 | public function getColumns()
|
---|
| 57 | {
|
---|
| 58 | return $this->columns;
|
---|
| 59 | }
|
---|
| 60 | /**
|
---|
| 61 | * @param GoogleCloudDataplexV1DataQualityDimensionResult[]
|
---|
| 62 | */
|
---|
| 63 | public function setDimensions($dimensions)
|
---|
| 64 | {
|
---|
| 65 | $this->dimensions = $dimensions;
|
---|
| 66 | }
|
---|
| 67 | /**
|
---|
| 68 | * @return GoogleCloudDataplexV1DataQualityDimensionResult[]
|
---|
| 69 | */
|
---|
| 70 | public function getDimensions()
|
---|
| 71 | {
|
---|
| 72 | return $this->dimensions;
|
---|
| 73 | }
|
---|
| 74 | /**
|
---|
| 75 | * @param bool
|
---|
| 76 | */
|
---|
| 77 | public function setPassed($passed)
|
---|
| 78 | {
|
---|
| 79 | $this->passed = $passed;
|
---|
| 80 | }
|
---|
| 81 | /**
|
---|
| 82 | * @return bool
|
---|
| 83 | */
|
---|
| 84 | public function getPassed()
|
---|
| 85 | {
|
---|
| 86 | return $this->passed;
|
---|
| 87 | }
|
---|
| 88 | /**
|
---|
| 89 | * @param GoogleCloudDataplexV1DataQualityResultPostScanActionsResult
|
---|
| 90 | */
|
---|
| 91 | public function setPostScanActionsResult(GoogleCloudDataplexV1DataQualityResultPostScanActionsResult $postScanActionsResult)
|
---|
| 92 | {
|
---|
| 93 | $this->postScanActionsResult = $postScanActionsResult;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @return GoogleCloudDataplexV1DataQualityResultPostScanActionsResult
|
---|
| 97 | */
|
---|
| 98 | public function getPostScanActionsResult()
|
---|
| 99 | {
|
---|
| 100 | return $this->postScanActionsResult;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @param string
|
---|
| 104 | */
|
---|
| 105 | public function setRowCount($rowCount)
|
---|
| 106 | {
|
---|
| 107 | $this->rowCount = $rowCount;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @return string
|
---|
| 111 | */
|
---|
| 112 | public function getRowCount()
|
---|
| 113 | {
|
---|
| 114 | return $this->rowCount;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @param GoogleCloudDataplexV1DataQualityRuleResult[]
|
---|
| 118 | */
|
---|
| 119 | public function setRules($rules)
|
---|
| 120 | {
|
---|
| 121 | $this->rules = $rules;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @return GoogleCloudDataplexV1DataQualityRuleResult[]
|
---|
| 125 | */
|
---|
| 126 | public function getRules()
|
---|
| 127 | {
|
---|
| 128 | return $this->rules;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @param GoogleCloudDataplexV1ScannedData
|
---|
| 132 | */
|
---|
| 133 | public function setScannedData(GoogleCloudDataplexV1ScannedData $scannedData)
|
---|
| 134 | {
|
---|
| 135 | $this->scannedData = $scannedData;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @return GoogleCloudDataplexV1ScannedData
|
---|
| 139 | */
|
---|
| 140 | public function getScannedData()
|
---|
| 141 | {
|
---|
| 142 | return $this->scannedData;
|
---|
| 143 | }
|
---|
| 144 | /**
|
---|
| 145 | * @param float
|
---|
| 146 | */
|
---|
| 147 | public function setScore($score)
|
---|
| 148 | {
|
---|
| 149 | $this->score = $score;
|
---|
| 150 | }
|
---|
| 151 | /**
|
---|
| 152 | * @return float
|
---|
| 153 | */
|
---|
| 154 | public function getScore()
|
---|
| 155 | {
|
---|
| 156 | return $this->score;
|
---|
| 157 | }
|
---|
| 158 | }
|
---|
| 159 |
|
---|
| 160 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 161 | class_alias(GoogleCloudDataplexV1DataQualityResult::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1DataQualityResult');
|
---|