Skip to content

Commit 9dfb20d

Browse files
1 parent 2ca6f7e commit 9dfb20d

14 files changed

+586
-18
lines changed

clients/google-api-services-documentai/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-documentai</artifactId>
25-
<version>v1-rev20250716-2.0.0</version>
25+
<version>v1-rev20250811-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-documentai:v1-rev20250716-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1-rev20250811-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1Document.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,14 @@ public final class GoogleCloudDocumentaiV1Document extends com.google.api.client
145145
@com.google.api.client.util.Key
146146
private java.lang.String uri;
147147

148+
/**
149+
* The output of the validation given the document and the validation rules. The output is
150+
* appended to the document in the processing order.
151+
* The value may be {@code null}.
152+
*/
153+
@com.google.api.client.util.Key
154+
private java.util.List<GoogleCloudDocumentaiV1DocumentValidationOutput> validationOutputs;
155+
148156
/**
149157
* Document chunked based on chunking config.
150158
* @return value or {@code null} for none
@@ -446,6 +454,25 @@ public GoogleCloudDocumentaiV1Document setUri(java.lang.String uri) {
446454
return this;
447455
}
448456

457+
/**
458+
* The output of the validation given the document and the validation rules. The output is
459+
* appended to the document in the processing order.
460+
* @return value or {@code null} for none
461+
*/
462+
public java.util.List<GoogleCloudDocumentaiV1DocumentValidationOutput> getValidationOutputs() {
463+
return validationOutputs;
464+
}
465+
466+
/**
467+
* The output of the validation given the document and the validation rules. The output is
468+
* appended to the document in the processing order.
469+
* @param validationOutputs validationOutputs or {@code null} for none
470+
*/
471+
public GoogleCloudDocumentaiV1Document setValidationOutputs(java.util.List<GoogleCloudDocumentaiV1DocumentValidationOutput> validationOutputs) {
472+
this.validationOutputs = validationOutputs;
473+
return this;
474+
}
475+
449476
@Override
450477
public GoogleCloudDocumentaiV1Document set(String fieldName, Object value) {
451478
return (GoogleCloudDocumentaiV1Document) super.set(fieldName, value);

clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentEntity.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ public final class GoogleCloudDocumentaiV1DocumentEntity extends com.google.api.
5959
@com.google.api.client.util.Key
6060
private java.lang.String mentionText;
6161

62+
/**
63+
* Optional. Specifies how the entity's value is obtained.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private java.lang.String method;
68+
6269
/**
6370
* Optional. Normalized entity value. Absent if the extracted value could not be converted or the
6471
* type (e.g. address) is not supported for certain parsers. This field is also only populated for
@@ -180,6 +187,23 @@ public GoogleCloudDocumentaiV1DocumentEntity setMentionText(java.lang.String men
180187
return this;
181188
}
182189

190+
/**
191+
* Optional. Specifies how the entity's value is obtained.
192+
* @return value or {@code null} for none
193+
*/
194+
public java.lang.String getMethod() {
195+
return method;
196+
}
197+
198+
/**
199+
* Optional. Specifies how the entity's value is obtained.
200+
* @param method method or {@code null} for none
201+
*/
202+
public GoogleCloudDocumentaiV1DocumentEntity setMethod(java.lang.String method) {
203+
this.method = method;
204+
return this;
205+
}
206+
183207
/**
184208
* Optional. Normalized entity value. Absent if the extracted value could not be converted or the
185209
* type (e.g. address) is not supported for certain parsers. This field is also only populated for
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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.documentai.v1.model;
18+
19+
/**
20+
* The output of the validation given the document and the validation rules.
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 Document AI API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleCloudDocumentaiV1DocumentValidationOutput extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The overall result of the validation, true if all applicable rules are valid.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean passAllRules;
39+
40+
/**
41+
* The result of each validation rule.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult> validationResults;
46+
47+
/**
48+
* The overall result of the validation, true if all applicable rules are valid.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.Boolean getPassAllRules() {
52+
return passAllRules;
53+
}
54+
55+
/**
56+
* The overall result of the validation, true if all applicable rules are valid.
57+
* @param passAllRules passAllRules or {@code null} for none
58+
*/
59+
public GoogleCloudDocumentaiV1DocumentValidationOutput setPassAllRules(java.lang.Boolean passAllRules) {
60+
this.passAllRules = passAllRules;
61+
return this;
62+
}
63+
64+
/**
65+
* The result of each validation rule.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.util.List<GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult> getValidationResults() {
69+
return validationResults;
70+
}
71+
72+
/**
73+
* The result of each validation rule.
74+
* @param validationResults validationResults or {@code null} for none
75+
*/
76+
public GoogleCloudDocumentaiV1DocumentValidationOutput setValidationResults(java.util.List<GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult> validationResults) {
77+
this.validationResults = validationResults;
78+
return this;
79+
}
80+
81+
@Override
82+
public GoogleCloudDocumentaiV1DocumentValidationOutput set(String fieldName, Object value) {
83+
return (GoogleCloudDocumentaiV1DocumentValidationOutput) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public GoogleCloudDocumentaiV1DocumentValidationOutput clone() {
88+
return (GoogleCloudDocumentaiV1DocumentValidationOutput) super.clone();
89+
}
90+
91+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
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.documentai.v1.model;
18+
19+
/**
20+
* Validation result for a single validation rule.
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 Document AI API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The description of the validation rule.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String ruleDescription;
39+
40+
/**
41+
* The name of the validation rule.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String ruleName;
46+
47+
/**
48+
* The detailed information of the running the validation process using the entity from the
49+
* document based on the validation rule.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String validationDetails;
54+
55+
/**
56+
* The result of the validation rule.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String validationResultType;
61+
62+
/**
63+
* The description of the validation rule.
64+
* @return value or {@code null} for none
65+
*/
66+
public java.lang.String getRuleDescription() {
67+
return ruleDescription;
68+
}
69+
70+
/**
71+
* The description of the validation rule.
72+
* @param ruleDescription ruleDescription or {@code null} for none
73+
*/
74+
public GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult setRuleDescription(java.lang.String ruleDescription) {
75+
this.ruleDescription = ruleDescription;
76+
return this;
77+
}
78+
79+
/**
80+
* The name of the validation rule.
81+
* @return value or {@code null} for none
82+
*/
83+
public java.lang.String getRuleName() {
84+
return ruleName;
85+
}
86+
87+
/**
88+
* The name of the validation rule.
89+
* @param ruleName ruleName or {@code null} for none
90+
*/
91+
public GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult setRuleName(java.lang.String ruleName) {
92+
this.ruleName = ruleName;
93+
return this;
94+
}
95+
96+
/**
97+
* The detailed information of the running the validation process using the entity from the
98+
* document based on the validation rule.
99+
* @return value or {@code null} for none
100+
*/
101+
public java.lang.String getValidationDetails() {
102+
return validationDetails;
103+
}
104+
105+
/**
106+
* The detailed information of the running the validation process using the entity from the
107+
* document based on the validation rule.
108+
* @param validationDetails validationDetails or {@code null} for none
109+
*/
110+
public GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult setValidationDetails(java.lang.String validationDetails) {
111+
this.validationDetails = validationDetails;
112+
return this;
113+
}
114+
115+
/**
116+
* The result of the validation rule.
117+
* @return value or {@code null} for none
118+
*/
119+
public java.lang.String getValidationResultType() {
120+
return validationResultType;
121+
}
122+
123+
/**
124+
* The result of the validation rule.
125+
* @param validationResultType validationResultType or {@code null} for none
126+
*/
127+
public GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult setValidationResultType(java.lang.String validationResultType) {
128+
this.validationResultType = validationResultType;
129+
return this;
130+
}
131+
132+
@Override
133+
public GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult set(String fieldName, Object value) {
134+
return (GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult) super.set(fieldName, value);
135+
}
136+
137+
@Override
138+
public GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult clone() {
139+
return (GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult) super.clone();
140+
}
141+
142+
}

clients/google-api-services-documentai/v1/2.0.0/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-documentai</artifactId>
11-
<version>v1-rev20250716-2.0.0</version>
12-
<name>Cloud Document AI API v1-rev20250716-2.0.0</name>
11+
<version>v1-rev20250811-2.0.0</version>
12+
<name>Cloud Document AI API v1-rev20250811-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>
@@ -89,9 +89,9 @@
8989
<windowtitle>Cloud Document AI API ${project.version}</windowtitle>
9090
<links>
9191
<link>http://docs.oracle.com/javase/7/docs/api</link>
92-
<link>https://googleapis.dev/java/google-http-client/1.47.0/</link>
92+
<link>https://googleapis.dev/java/google-http-client/2.0.0/</link>
9393
<link>https://googleapis.dev/java/google-oauth-client/1.39.0/</link>
94-
<link>https://googleapis.dev/java/google-api-client/2.7.2/</link>
94+
<link>https://googleapis.dev/java/google-api-client/2.8.1/</link>
9595
</links>
9696
</configuration>
9797
</plugin>
@@ -124,7 +124,7 @@
124124
<dependency>
125125
<groupId>com.google.api-client</groupId>
126126
<artifactId>google-api-client</artifactId>
127-
<version>2.7.2</version>
127+
<version>2.8.1</version>
128128
</dependency>
129129
</dependencies>
130130

clients/google-api-services-documentai/v1/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-documentai</artifactId>
25-
<version>v1-rev20250716-2.0.0</version>
25+
<version>v1-rev20250811-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-documentai:v1-rev20250716-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1-rev20250811-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-documentai/v1beta3/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-documentai</artifactId>
25-
<version>v1beta3-rev20250716-2.0.0</version>
25+
<version>v1beta3-rev20250811-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-documentai:v1beta3-rev20250716-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1beta3-rev20250811-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)