Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-dataplex/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-dataplex</artifactId>
<version>v1-rev20260127-2.0.0</version>
<version>v1-rev20260213-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-dataplex:v1-rev20260127-2.0.0'
implementation 'com.google.apis:google-api-services-dataplex:v1-rev20260213-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ public final class GoogleCloudDataplexV1DataQualityRule extends com.google.api.c
@com.google.api.client.util.Key
private java.lang.String column;

/**
* Optional. Specifies the debug queries for this rule. Currently, only one query is supported,
* but this may be expanded in the future.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<GoogleCloudDataplexV1DataQualityRuleDebugQuery> debugQueries;

/**
* Optional. Description of the rule. The maximum length is 1,024 characters.
* The value may be {@code null}.
Expand All @@ -44,7 +52,7 @@ public final class GoogleCloudDataplexV1DataQualityRule extends com.google.api.c
private java.lang.String description;

/**
* Required. The dimension a rule belongs to. Results are also aggregated at the dimension level.
* Optional. The dimension a rule belongs to. Results are also aggregated at the dimension level.
* Custom dimension name is supported with all uppercase letters and maximum length of 30
* characters.
* The value may be {@code null}.
Expand Down Expand Up @@ -168,6 +176,25 @@ public GoogleCloudDataplexV1DataQualityRule setColumn(java.lang.String column) {
return this;
}

/**
* Optional. Specifies the debug queries for this rule. Currently, only one query is supported,
* but this may be expanded in the future.
* @return value or {@code null} for none
*/
public java.util.List<GoogleCloudDataplexV1DataQualityRuleDebugQuery> getDebugQueries() {
return debugQueries;
}

/**
* Optional. Specifies the debug queries for this rule. Currently, only one query is supported,
* but this may be expanded in the future.
* @param debugQueries debugQueries or {@code null} for none
*/
public GoogleCloudDataplexV1DataQualityRule setDebugQueries(java.util.List<GoogleCloudDataplexV1DataQualityRuleDebugQuery> debugQueries) {
this.debugQueries = debugQueries;
return this;
}

/**
* Optional. Description of the rule. The maximum length is 1,024 characters.
* @return value or {@code null} for none
Expand All @@ -186,7 +213,7 @@ public GoogleCloudDataplexV1DataQualityRule setDescription(java.lang.String desc
}

/**
* Required. The dimension a rule belongs to. Results are also aggregated at the dimension level.
* Optional. The dimension a rule belongs to. Results are also aggregated at the dimension level.
* Custom dimension name is supported with all uppercase letters and maximum length of 30
* characters.
* @return value or {@code null} for none
Expand All @@ -196,7 +223,7 @@ public java.lang.String getDimension() {
}

/**
* Required. The dimension a rule belongs to. Results are also aggregated at the dimension level.
* Optional. The dimension a rule belongs to. Results are also aggregated at the dimension level.
* Custom dimension name is supported with all uppercase letters and maximum length of 30
* characters.
* @param dimension dimension or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
/*
* 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;

/**
* Specifies a SQL statement that is evaluated to return up to 10 scalar values that are used to
* debug rules. If the rule fails, the values can help diagnose the cause of the failure.The SQL
* statement must use GoogleSQL syntax (https://cloud.google.com/bigquery/docs/reference/standard-
* sql/query-syntax), and must not contain any semicolons.You can use the data reference parameter
* ${data()} to reference the source table with all of its precondition filters applied. Examples of
* precondition filters include row filters, incremental data filters, and sampling. For more
* information, see Data reference parameter (https://cloud.google.com/dataplex/docs/auto-data-
* quality-overview#data-reference-parameter).You can also name results with an explicit alias using
* [AS] alias. For more information, see BigQuery explicit aliases
* (https://docs.cloud.google.com/bigquery/docs/reference/standard-sql/query-
* syntax#explicit_alias_syntax).Example: SELECT MIN(col1) AS min_col1, MAX(col1) AS max_col1 FROM
* ${data()}
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleCloudDataplexV1DataQualityRuleDebugQuery extends com.google.api.client.json.GenericJson {

/**
* Optional. Specifies the description of the debug query. The maximum length is 1,024 characters.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;

/**
* Required. Specifies the SQL statement to be executed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String sqlStatement;

/**
* Optional. Specifies the description of the debug query. The maximum length is 1,024 characters.
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}

/**
* Optional. Specifies the description of the debug query. The maximum length is 1,024 characters.
* @param description description or {@code null} for none
*/
public GoogleCloudDataplexV1DataQualityRuleDebugQuery setDescription(java.lang.String description) {
this.description = description;
return this;
}

/**
* Required. Specifies the SQL statement to be executed.
* @return value or {@code null} for none
*/
public java.lang.String getSqlStatement() {
return sqlStatement;
}

/**
* Required. Specifies the SQL statement to be executed.
* @param sqlStatement sqlStatement or {@code null} for none
*/
public GoogleCloudDataplexV1DataQualityRuleDebugQuery setSqlStatement(java.lang.String sqlStatement) {
this.sqlStatement = sqlStatement;
return this;
}

@Override
public GoogleCloudDataplexV1DataQualityRuleDebugQuery set(String fieldName, Object value) {
return (GoogleCloudDataplexV1DataQualityRuleDebugQuery) super.set(fieldName, value);
}

@Override
public GoogleCloudDataplexV1DataQualityRuleDebugQuery clone() {
return (GoogleCloudDataplexV1DataQualityRuleDebugQuery) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ public final class GoogleCloudDataplexV1DataQualityRuleResult extends com.google
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long assertionRowCount;

/**
* Output only. Contains the results of all debug queries for this rule. The number of result sets
* will correspond to the number of debug_queries.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResultSet> debugQueriesResultSets;

/**
* Output only. The number of rows a rule was evaluated against.This field is only valid for row-
* level type rules.Evaluated count can be configured to either include all rows (default) - with
Expand Down Expand Up @@ -111,6 +119,25 @@ public GoogleCloudDataplexV1DataQualityRuleResult setAssertionRowCount(java.lang
return this;
}

/**
* Output only. Contains the results of all debug queries for this rule. The number of result sets
* will correspond to the number of debug_queries.
* @return value or {@code null} for none
*/
public java.util.List<GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResultSet> getDebugQueriesResultSets() {
return debugQueriesResultSets;
}

/**
* Output only. Contains the results of all debug queries for this rule. The number of result sets
* will correspond to the number of debug_queries.
* @param debugQueriesResultSets debugQueriesResultSets or {@code null} for none
*/
public GoogleCloudDataplexV1DataQualityRuleResult setDebugQueriesResultSets(java.util.List<GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResultSet> debugQueriesResultSets) {
this.debugQueriesResultSets = debugQueriesResultSets;
return this;
}

/**
* Output only. The number of rows a rule was evaluated against.This field is only valid for row-
* level type rules.Evaluated count can be configured to either include all rows (default) - with
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
/*
* 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;

/**
* Contains a single result from the debug query.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult extends com.google.api.client.json.GenericJson {

/**
* Specifies the name of the result. Available if provided with an explicit alias using [AS]
* alias.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/**
* Indicates the data type of the result. For more information, see BigQuery data types
* (https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String type;

/**
* Represents the value of the result as a string.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String value;

/**
* Specifies the name of the result. Available if provided with an explicit alias using [AS]
* alias.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* Specifies the name of the result. Available if provided with an explicit alias using [AS]
* alias.
* @param name name or {@code null} for none
*/
public GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult setName(java.lang.String name) {
this.name = name;
return this;
}

/**
* Indicates the data type of the result. For more information, see BigQuery data types
* (https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types).
* @return value or {@code null} for none
*/
public java.lang.String getType() {
return type;
}

/**
* Indicates the data type of the result. For more information, see BigQuery data types
* (https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types).
* @param type type or {@code null} for none
*/
public GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult setType(java.lang.String type) {
this.type = type;
return this;
}

/**
* Represents the value of the result as a string.
* @return value or {@code null} for none
*/
public java.lang.String getValue() {
return value;
}

/**
* Represents the value of the result as a string.
* @param value value or {@code null} for none
*/
public GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult setValue(java.lang.String value) {
this.value = value;
return this;
}

@Override
public GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult set(String fieldName, Object value) {
return (GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult) super.set(fieldName, value);
}

@Override
public GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult clone() {
return (GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult) super.clone();
}

}
Loading
Loading