All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1DataQualityResult Maven / Gradle / Ivy

There is a newer version: v1-rev20250107-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.dataplex.v1.model;

/**
 * The output of a DataQualityScan.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud Dataplex API. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class GoogleCloudDataplexV1DataQualityResult extends com.google.api.client.json.GenericJson { /** * Output only. A list of results at the column level.A column will have a corresponding * DataQualityColumnResult if and only if there is at least one rule with the 'column' field set * to it. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List columns; static { // hack to force ProGuard to consider GoogleCloudDataplexV1DataQualityColumnResult used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(GoogleCloudDataplexV1DataQualityColumnResult.class); } /** * A list of results at the dimension level.A dimension will have a corresponding * DataQualityDimensionResult if and only if there is at least one rule with the 'dimension' field * set to it. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List dimensions; static { // hack to force ProGuard to consider GoogleCloudDataplexV1DataQualityDimensionResult used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(GoogleCloudDataplexV1DataQualityDimensionResult.class); } /** * Overall data quality result -- true if all rules passed. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean passed; /** * Output only. The result of post scan actions. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudDataplexV1DataQualityResultPostScanActionsResult postScanActionsResult; /** * The count of rows processed. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long rowCount; /** * A list of all the rules in a job, and their results. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List rules; /** * The data scanned for this result. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudDataplexV1ScannedData scannedData; /** * Output only. The overall data quality score.The score ranges between 0, 100 (up to two decimal * points). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Float score; /** * Output only. A list of results at the column level.A column will have a corresponding * DataQualityColumnResult if and only if there is at least one rule with the 'column' field set * to it. * @return value or {@code null} for none */ public java.util.List getColumns() { return columns; } /** * Output only. A list of results at the column level.A column will have a corresponding * DataQualityColumnResult if and only if there is at least one rule with the 'column' field set * to it. * @param columns columns or {@code null} for none */ public GoogleCloudDataplexV1DataQualityResult setColumns(java.util.List columns) { this.columns = columns; return this; } /** * A list of results at the dimension level.A dimension will have a corresponding * DataQualityDimensionResult if and only if there is at least one rule with the 'dimension' field * set to it. * @return value or {@code null} for none */ public java.util.List getDimensions() { return dimensions; } /** * A list of results at the dimension level.A dimension will have a corresponding * DataQualityDimensionResult if and only if there is at least one rule with the 'dimension' field * set to it. * @param dimensions dimensions or {@code null} for none */ public GoogleCloudDataplexV1DataQualityResult setDimensions(java.util.List dimensions) { this.dimensions = dimensions; return this; } /** * Overall data quality result -- true if all rules passed. * @return value or {@code null} for none */ public java.lang.Boolean getPassed() { return passed; } /** * Overall data quality result -- true if all rules passed. * @param passed passed or {@code null} for none */ public GoogleCloudDataplexV1DataQualityResult setPassed(java.lang.Boolean passed) { this.passed = passed; return this; } /** * Output only. The result of post scan actions. * @return value or {@code null} for none */ public GoogleCloudDataplexV1DataQualityResultPostScanActionsResult getPostScanActionsResult() { return postScanActionsResult; } /** * Output only. The result of post scan actions. * @param postScanActionsResult postScanActionsResult or {@code null} for none */ public GoogleCloudDataplexV1DataQualityResult setPostScanActionsResult(GoogleCloudDataplexV1DataQualityResultPostScanActionsResult postScanActionsResult) { this.postScanActionsResult = postScanActionsResult; return this; } /** * The count of rows processed. * @return value or {@code null} for none */ public java.lang.Long getRowCount() { return rowCount; } /** * The count of rows processed. * @param rowCount rowCount or {@code null} for none */ public GoogleCloudDataplexV1DataQualityResult setRowCount(java.lang.Long rowCount) { this.rowCount = rowCount; return this; } /** * A list of all the rules in a job, and their results. * @return value or {@code null} for none */ public java.util.List getRules() { return rules; } /** * A list of all the rules in a job, and their results. * @param rules rules or {@code null} for none */ public GoogleCloudDataplexV1DataQualityResult setRules(java.util.List rules) { this.rules = rules; return this; } /** * The data scanned for this result. * @return value or {@code null} for none */ public GoogleCloudDataplexV1ScannedData getScannedData() { return scannedData; } /** * The data scanned for this result. * @param scannedData scannedData or {@code null} for none */ public GoogleCloudDataplexV1DataQualityResult setScannedData(GoogleCloudDataplexV1ScannedData scannedData) { this.scannedData = scannedData; return this; } /** * Output only. The overall data quality score.The score ranges between 0, 100 (up to two decimal * points). * @return value or {@code null} for none */ public java.lang.Float getScore() { return score; } /** * Output only. The overall data quality score.The score ranges between 0, 100 (up to two decimal * points). * @param score score or {@code null} for none */ public GoogleCloudDataplexV1DataQualityResult setScore(java.lang.Float score) { this.score = score; return this; } @Override public GoogleCloudDataplexV1DataQualityResult set(String fieldName, Object value) { return (GoogleCloudDataplexV1DataQualityResult) super.set(fieldName, value); } @Override public GoogleCloudDataplexV1DataQualityResult clone() { return (GoogleCloudDataplexV1DataQualityResult) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy