Skip to content

Commit 730ccad

Browse files
chore: regenerate dataplex client
1 parent 38c1764 commit 730ccad

10 files changed

+1240
-36
lines changed

clients/google-api-services-dataplex/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-dataplex</artifactId>
25-
<version>v1-rev20260127-2.0.0</version>
25+
<version>v1-rev20260213-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-dataplex:v1-rev20260127-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dataplex:v1-rev20260213-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-dataplex/v1/2.0.0/com/google/api/services/dataplex/v1/CloudDataplex.java

Lines changed: 788 additions & 27 deletions
Large diffs are not rendered by default.

clients/google-api-services-dataplex/v1/2.0.0/com/google/api/services/dataplex/v1/model/GoogleCloudDataplexV1DataQualityRule.java

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ public final class GoogleCloudDataplexV1DataQualityRule extends com.google.api.c
3636
@com.google.api.client.util.Key
3737
private java.lang.String column;
3838

39+
/**
40+
* Optional. Specifies the debug queries for this rule. Currently, only one query is supported,
41+
* but this may be expanded in the future.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<GoogleCloudDataplexV1DataQualityRuleDebugQuery> debugQueries;
46+
3947
/**
4048
* Optional. Description of the rule. The maximum length is 1,024 characters.
4149
* The value may be {@code null}.
@@ -44,7 +52,7 @@ public final class GoogleCloudDataplexV1DataQualityRule extends com.google.api.c
4452
private java.lang.String description;
4553

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

179+
/**
180+
* Optional. Specifies the debug queries for this rule. Currently, only one query is supported,
181+
* but this may be expanded in the future.
182+
* @return value or {@code null} for none
183+
*/
184+
public java.util.List<GoogleCloudDataplexV1DataQualityRuleDebugQuery> getDebugQueries() {
185+
return debugQueries;
186+
}
187+
188+
/**
189+
* Optional. Specifies the debug queries for this rule. Currently, only one query is supported,
190+
* but this may be expanded in the future.
191+
* @param debugQueries debugQueries or {@code null} for none
192+
*/
193+
public GoogleCloudDataplexV1DataQualityRule setDebugQueries(java.util.List<GoogleCloudDataplexV1DataQualityRuleDebugQuery> debugQueries) {
194+
this.debugQueries = debugQueries;
195+
return this;
196+
}
197+
171198
/**
172199
* Optional. Description of the rule. The maximum length is 1,024 characters.
173200
* @return value or {@code null} for none
@@ -186,7 +213,7 @@ public GoogleCloudDataplexV1DataQualityRule setDescription(java.lang.String desc
186213
}
187214

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

198225
/**
199-
* Required. The dimension a rule belongs to. Results are also aggregated at the dimension level.
226+
* Optional. The dimension a rule belongs to. Results are also aggregated at the dimension level.
200227
* Custom dimension name is supported with all uppercase letters and maximum length of 30
201228
* characters.
202229
* @param dimension dimension or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.dataplex.v1.model;
18+
19+
/**
20+
* Specifies a SQL statement that is evaluated to return up to 10 scalar values that are used to
21+
* debug rules. If the rule fails, the values can help diagnose the cause of the failure.The SQL
22+
* statement must use GoogleSQL syntax (https://cloud.google.com/bigquery/docs/reference/standard-
23+
* sql/query-syntax), and must not contain any semicolons.You can use the data reference parameter
24+
* ${data()} to reference the source table with all of its precondition filters applied. Examples of
25+
* precondition filters include row filters, incremental data filters, and sampling. For more
26+
* information, see Data reference parameter (https://cloud.google.com/dataplex/docs/auto-data-
27+
* quality-overview#data-reference-parameter).You can also name results with an explicit alias using
28+
* [AS] alias. For more information, see BigQuery explicit aliases
29+
* (https://docs.cloud.google.com/bigquery/docs/reference/standard-sql/query-
30+
* syntax#explicit_alias_syntax).Example: SELECT MIN(col1) AS min_col1, MAX(col1) AS max_col1 FROM
31+
* ${data()}
32+
*
33+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
34+
* transmitted over HTTP when working with the Cloud Dataplex API. For a detailed explanation see:
35+
* <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>
36+
* </p>
37+
*
38+
* @author Google, Inc.
39+
*/
40+
@SuppressWarnings("javadoc")
41+
public final class GoogleCloudDataplexV1DataQualityRuleDebugQuery extends com.google.api.client.json.GenericJson {
42+
43+
/**
44+
* Optional. Specifies the description of the debug query. The maximum length is 1,024 characters.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String description;
49+
50+
/**
51+
* Required. Specifies the SQL statement to be executed.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.String sqlStatement;
56+
57+
/**
58+
* Optional. Specifies the description of the debug query. The maximum length is 1,024 characters.
59+
* @return value or {@code null} for none
60+
*/
61+
public java.lang.String getDescription() {
62+
return description;
63+
}
64+
65+
/**
66+
* Optional. Specifies the description of the debug query. The maximum length is 1,024 characters.
67+
* @param description description or {@code null} for none
68+
*/
69+
public GoogleCloudDataplexV1DataQualityRuleDebugQuery setDescription(java.lang.String description) {
70+
this.description = description;
71+
return this;
72+
}
73+
74+
/**
75+
* Required. Specifies the SQL statement to be executed.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.String getSqlStatement() {
79+
return sqlStatement;
80+
}
81+
82+
/**
83+
* Required. Specifies the SQL statement to be executed.
84+
* @param sqlStatement sqlStatement or {@code null} for none
85+
*/
86+
public GoogleCloudDataplexV1DataQualityRuleDebugQuery setSqlStatement(java.lang.String sqlStatement) {
87+
this.sqlStatement = sqlStatement;
88+
return this;
89+
}
90+
91+
@Override
92+
public GoogleCloudDataplexV1DataQualityRuleDebugQuery set(String fieldName, Object value) {
93+
return (GoogleCloudDataplexV1DataQualityRuleDebugQuery) super.set(fieldName, value);
94+
}
95+
96+
@Override
97+
public GoogleCloudDataplexV1DataQualityRuleDebugQuery clone() {
98+
return (GoogleCloudDataplexV1DataQualityRuleDebugQuery) super.clone();
99+
}
100+
101+
}

clients/google-api-services-dataplex/v1/2.0.0/com/google/api/services/dataplex/v1/model/GoogleCloudDataplexV1DataQualityRuleResult.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ public final class GoogleCloudDataplexV1DataQualityRuleResult extends com.google
3737
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
3838
private java.lang.Long assertionRowCount;
3939

40+
/**
41+
* Output only. Contains the results of all debug queries for this rule. The number of result sets
42+
* will correspond to the number of debug_queries.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.List<GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResultSet> debugQueriesResultSets;
47+
4048
/**
4149
* Output only. The number of rows a rule was evaluated against.This field is only valid for row-
4250
* level type rules.Evaluated count can be configured to either include all rows (default) - with
@@ -111,6 +119,25 @@ public GoogleCloudDataplexV1DataQualityRuleResult setAssertionRowCount(java.lang
111119
return this;
112120
}
113121

122+
/**
123+
* Output only. Contains the results of all debug queries for this rule. The number of result sets
124+
* will correspond to the number of debug_queries.
125+
* @return value or {@code null} for none
126+
*/
127+
public java.util.List<GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResultSet> getDebugQueriesResultSets() {
128+
return debugQueriesResultSets;
129+
}
130+
131+
/**
132+
* Output only. Contains the results of all debug queries for this rule. The number of result sets
133+
* will correspond to the number of debug_queries.
134+
* @param debugQueriesResultSets debugQueriesResultSets or {@code null} for none
135+
*/
136+
public GoogleCloudDataplexV1DataQualityRuleResult setDebugQueriesResultSets(java.util.List<GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResultSet> debugQueriesResultSets) {
137+
this.debugQueriesResultSets = debugQueriesResultSets;
138+
return this;
139+
}
140+
114141
/**
115142
* Output only. The number of rows a rule was evaluated against.This field is only valid for row-
116143
* level type rules.Evaluated count can be configured to either include all rows (default) - with
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.dataplex.v1.model;
18+
19+
/**
20+
* Contains a single result from the debug query.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Dataplex API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Specifies the name of the result. Available if provided with an explicit alias using [AS]
34+
* alias.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String name;
39+
40+
/**
41+
* Indicates the data type of the result. For more information, see BigQuery data types
42+
* (https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types).
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String type;
47+
48+
/**
49+
* Represents the value of the result as a string.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String value;
54+
55+
/**
56+
* Specifies the name of the result. Available if provided with an explicit alias using [AS]
57+
* alias.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.String getName() {
61+
return name;
62+
}
63+
64+
/**
65+
* Specifies the name of the result. Available if provided with an explicit alias using [AS]
66+
* alias.
67+
* @param name name or {@code null} for none
68+
*/
69+
public GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult setName(java.lang.String name) {
70+
this.name = name;
71+
return this;
72+
}
73+
74+
/**
75+
* Indicates the data type of the result. For more information, see BigQuery data types
76+
* (https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types).
77+
* @return value or {@code null} for none
78+
*/
79+
public java.lang.String getType() {
80+
return type;
81+
}
82+
83+
/**
84+
* Indicates the data type of the result. For more information, see BigQuery data types
85+
* (https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types).
86+
* @param type type or {@code null} for none
87+
*/
88+
public GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult setType(java.lang.String type) {
89+
this.type = type;
90+
return this;
91+
}
92+
93+
/**
94+
* Represents the value of the result as a string.
95+
* @return value or {@code null} for none
96+
*/
97+
public java.lang.String getValue() {
98+
return value;
99+
}
100+
101+
/**
102+
* Represents the value of the result as a string.
103+
* @param value value or {@code null} for none
104+
*/
105+
public GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult setValue(java.lang.String value) {
106+
this.value = value;
107+
return this;
108+
}
109+
110+
@Override
111+
public GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult set(String fieldName, Object value) {
112+
return (GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult) super.set(fieldName, value);
113+
}
114+
115+
@Override
116+
public GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult clone() {
117+
return (GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult) super.clone();
118+
}
119+
120+
}

0 commit comments

Comments
 (0)