Skip to content

Commit 08f882c

Browse files
1 parent 11e53b4 commit 08f882c

18 files changed

+816
-12
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-rev20250922-2.0.0</version>
25+
<version>v1-rev20250929-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-rev20250922-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1-rev20250929-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,6 +1327,40 @@ public List setPageToken(java.lang.String pageToken) {
13271327
return this;
13281328
}
13291329

1330+
/**
1331+
* When set to `true`, operations that are reachable are returned as normal, and those
1332+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
1333+
* This can only be `true` when reading across collections e.g. when `parent` is set to
1334+
* `"projects/example/locations/-"`. This field is not by default supported and will
1335+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
1336+
* service or product specific documentation.
1337+
*/
1338+
@com.google.api.client.util.Key
1339+
private java.lang.Boolean returnPartialSuccess;
1340+
1341+
/** When set to `true`, operations that are reachable are returned as normal, and those that are
1342+
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
1343+
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
1344+
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
1345+
explicitly documented otherwise in service or product specific documentation.
1346+
*/
1347+
public java.lang.Boolean getReturnPartialSuccess() {
1348+
return returnPartialSuccess;
1349+
}
1350+
1351+
/**
1352+
* When set to `true`, operations that are reachable are returned as normal, and those
1353+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
1354+
* This can only be `true` when reading across collections e.g. when `parent` is set to
1355+
* `"projects/example/locations/-"`. This field is not by default supported and will
1356+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
1357+
* service or product specific documentation.
1358+
*/
1359+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
1360+
this.returnPartialSuccess = returnPartialSuccess;
1361+
return this;
1362+
}
1363+
13301364
@Override
13311365
public List set(String parameterName, Object value) {
13321366
return (List) super.set(parameterName, value);

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,25 @@
3030
@SuppressWarnings("javadoc")
3131
public final class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule childAlignmentRule;
38+
3339
/**
3440
* Description of the validation rule. This has no use but for documentation
3541
* The value may be {@code null}.
3642
*/
3743
@com.google.api.client.util.Key
3844
private java.lang.String description;
3945

46+
/**
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule entityAlignmentRule;
51+
4052
/**
4153
* The value may be {@code null}.
4254
*/
@@ -62,6 +74,21 @@ public final class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidat
6274
@com.google.api.client.util.Key
6375
private java.lang.String name;
6476

77+
/**
78+
* @return value or {@code null} for none
79+
*/
80+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule getChildAlignmentRule() {
81+
return childAlignmentRule;
82+
}
83+
84+
/**
85+
* @param childAlignmentRule childAlignmentRule or {@code null} for none
86+
*/
87+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule setChildAlignmentRule(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule childAlignmentRule) {
88+
this.childAlignmentRule = childAlignmentRule;
89+
return this;
90+
}
91+
6592
/**
6693
* Description of the validation rule. This has no use but for documentation
6794
* @return value or {@code null} for none
@@ -79,6 +106,21 @@ public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule setD
79106
return this;
80107
}
81108

109+
/**
110+
* @return value or {@code null} for none
111+
*/
112+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule getEntityAlignmentRule() {
113+
return entityAlignmentRule;
114+
}
115+
116+
/**
117+
* @param entityAlignmentRule entityAlignmentRule or {@code null} for none
118+
*/
119+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule setEntityAlignmentRule(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule entityAlignmentRule) {
120+
this.entityAlignmentRule = entityAlignmentRule;
121+
return this;
122+
}
123+
82124
/**
83125
* @return value or {@code null} for none
84126
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* A rule for checking field alignment. Horizontal alignment checks if fields are on the same row by
21+
* comparing y-coordinates of bounding box centers, while vertical alignment checks if fields are on
22+
* the same column by comparing x-coordinates of bounding box centers.
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Cloud Document AI API. For a detailed explanation
26+
* see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String alignmentType;
40+
41+
/**
42+
* The tolerance to use when comparing coordinates.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.Float tolerance;
47+
48+
/**
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getAlignmentType() {
52+
return alignmentType;
53+
}
54+
55+
/**
56+
* @param alignmentType alignmentType or {@code null} for none
57+
*/
58+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule setAlignmentType(java.lang.String alignmentType) {
59+
this.alignmentType = alignmentType;
60+
return this;
61+
}
62+
63+
/**
64+
* The tolerance to use when comparing coordinates.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.Float getTolerance() {
68+
return tolerance;
69+
}
70+
71+
/**
72+
* The tolerance to use when comparing coordinates.
73+
* @param tolerance tolerance or {@code null} for none
74+
*/
75+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule setTolerance(java.lang.Float tolerance) {
76+
this.tolerance = tolerance;
77+
return this;
78+
}
79+
80+
@Override
81+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule set(String fieldName, Object value) {
82+
return (CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule clone() {
87+
return (CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule) super.clone();
88+
}
89+
90+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
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+
* A rule that aligns specified child fields with a parent field.
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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The alignment rule to apply to the child fields.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule alignmentRule;
39+
40+
/**
41+
* The child fields to be aligned within the parent field.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField> childFields;
46+
47+
/**
48+
* The full path of the parent field.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField parentField;
53+
54+
/**
55+
* The alignment rule to apply to the child fields.
56+
* @return value or {@code null} for none
57+
*/
58+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule getAlignmentRule() {
59+
return alignmentRule;
60+
}
61+
62+
/**
63+
* The alignment rule to apply to the child fields.
64+
* @param alignmentRule alignmentRule or {@code null} for none
65+
*/
66+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule setAlignmentRule(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule alignmentRule) {
67+
this.alignmentRule = alignmentRule;
68+
return this;
69+
}
70+
71+
/**
72+
* The child fields to be aligned within the parent field.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.util.List<CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField> getChildFields() {
76+
return childFields;
77+
}
78+
79+
/**
80+
* The child fields to be aligned within the parent field.
81+
* @param childFields childFields or {@code null} for none
82+
*/
83+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule setChildFields(java.util.List<CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField> childFields) {
84+
this.childFields = childFields;
85+
return this;
86+
}
87+
88+
/**
89+
* The full path of the parent field.
90+
* @return value or {@code null} for none
91+
*/
92+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField getParentField() {
93+
return parentField;
94+
}
95+
96+
/**
97+
* The full path of the parent field.
98+
* @param parentField parentField or {@code null} for none
99+
*/
100+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule setParentField(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField parentField) {
101+
this.parentField = parentField;
102+
return this;
103+
}
104+
105+
@Override
106+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule set(String fieldName, Object value) {
107+
return (CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule clone() {
112+
return (CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule) super.clone();
113+
}
114+
115+
}

0 commit comments

Comments
 (0)