Skip to content

Commit e0702a7

Browse files
1 parent d4ab88d commit e0702a7

File tree

30 files changed

+1712
-544
lines changed

30 files changed

+1712
-544
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-rev20250811-2.0.0</version>
25+
<version>v1-rev20250820-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-rev20250811-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1-rev20250820-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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -751,22 +751,22 @@ public List setName(java.lang.String name) {
751751
}
752752

753753
/**
754-
* Optional. A list of extra location types that should be used as conditions for
755-
* controlling the visibility of the locations.
754+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly
755+
* documented otherwise. This is primarily for internal usage.
756756
*/
757757
@com.google.api.client.util.Key
758758
private java.util.List<java.lang.String> extraLocationTypes;
759759

760-
/** Optional. A list of extra location types that should be used as conditions for controlling the
761-
visibility of the locations.
760+
/** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented
761+
otherwise. This is primarily for internal usage.
762762
*/
763763
public java.util.List<java.lang.String> getExtraLocationTypes() {
764764
return extraLocationTypes;
765765
}
766766

767767
/**
768-
* Optional. A list of extra location types that should be used as conditions for
769-
* controlling the visibility of the locations.
768+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly
769+
* documented otherwise. This is primarily for internal usage.
770770
*/
771771
public List setExtraLocationTypes(java.util.List<java.lang.String> extraLocationTypes) {
772772
this.extraLocationTypes = extraLocationTypes;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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+
* Definition of the validation rules. Those are the input to the validator logic and they are used
21+
* to validate a document.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Cloud Document AI API. For a detailed explanation
25+
* see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class CloudAiDocumentaiLabHifiaToolsValidationValidatorInput extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule> validationRules;
39+
40+
/**
41+
* @return value or {@code null} for none
42+
*/
43+
public java.util.List<CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule> getValidationRules() {
44+
return validationRules;
45+
}
46+
47+
/**
48+
* @param validationRules validationRules or {@code null} for none
49+
*/
50+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInput setValidationRules(java.util.List<CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule> validationRules) {
51+
this.validationRules = validationRules;
52+
return this;
53+
}
54+
55+
@Override
56+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInput set(String fieldName, Object value) {
57+
return (CloudAiDocumentaiLabHifiaToolsValidationValidatorInput) super.set(fieldName, value);
58+
}
59+
60+
@Override
61+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInput clone() {
62+
return (CloudAiDocumentaiLabHifiaToolsValidationValidatorInput) super.clone();
63+
}
64+
65+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
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+
* Model definition for CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule.
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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Description of the validation rule. This has no use but for documentation
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String description;
39+
40+
/**
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences fieldOccurrences;
45+
46+
/**
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex fieldRegex;
51+
52+
/**
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation formValidation;
57+
58+
/**
59+
* Name of the validation rule.
60+
* The value may be {@code null}.
61+
*/
62+
@com.google.api.client.util.Key
63+
private java.lang.String name;
64+
65+
/**
66+
* Description of the validation rule. This has no use but for documentation
67+
* @return value or {@code null} for none
68+
*/
69+
public java.lang.String getDescription() {
70+
return description;
71+
}
72+
73+
/**
74+
* Description of the validation rule. This has no use but for documentation
75+
* @param description description or {@code null} for none
76+
*/
77+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule setDescription(java.lang.String description) {
78+
this.description = description;
79+
return this;
80+
}
81+
82+
/**
83+
* @return value or {@code null} for none
84+
*/
85+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences getFieldOccurrences() {
86+
return fieldOccurrences;
87+
}
88+
89+
/**
90+
* @param fieldOccurrences fieldOccurrences or {@code null} for none
91+
*/
92+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule setFieldOccurrences(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences fieldOccurrences) {
93+
this.fieldOccurrences = fieldOccurrences;
94+
return this;
95+
}
96+
97+
/**
98+
* @return value or {@code null} for none
99+
*/
100+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex getFieldRegex() {
101+
return fieldRegex;
102+
}
103+
104+
/**
105+
* @param fieldRegex fieldRegex or {@code null} for none
106+
*/
107+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule setFieldRegex(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex fieldRegex) {
108+
this.fieldRegex = fieldRegex;
109+
return this;
110+
}
111+
112+
/**
113+
* @return value or {@code null} for none
114+
*/
115+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation getFormValidation() {
116+
return formValidation;
117+
}
118+
119+
/**
120+
* @param formValidation formValidation or {@code null} for none
121+
*/
122+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule setFormValidation(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation formValidation) {
123+
this.formValidation = formValidation;
124+
return this;
125+
}
126+
127+
/**
128+
* Name of the validation rule.
129+
* @return value or {@code null} for none
130+
*/
131+
public java.lang.String getName() {
132+
return name;
133+
}
134+
135+
/**
136+
* Name of the validation rule.
137+
* @param name name or {@code null} for none
138+
*/
139+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule setName(java.lang.String name) {
140+
this.name = name;
141+
return this;
142+
}
143+
144+
@Override
145+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule set(String fieldName, Object value) {
146+
return (CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule) super.set(fieldName, value);
147+
}
148+
149+
@Override
150+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule clone() {
151+
return (CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule) super.clone();
152+
}
153+
154+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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 constant value used in 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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Float floatValue;
38+
39+
/**
40+
* @return value or {@code null} for none
41+
*/
42+
public java.lang.Float getFloatValue() {
43+
return floatValue;
44+
}
45+
46+
/**
47+
* @param floatValue floatValue or {@code null} for none
48+
*/
49+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant setFloatValue(java.lang.Float floatValue) {
50+
this.floatValue = floatValue;
51+
return this;
52+
}
53+
54+
@Override
55+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant set(String fieldName, Object value) {
56+
return (CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant) super.set(fieldName, value);
57+
}
58+
59+
@Override
60+
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant clone() {
61+
return (CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant) super.clone();
62+
}
63+
64+
}

0 commit comments

Comments
 (0)