Skip to content

Commit 6109626

Browse files
chore: regenerate documentai client
1 parent 38c1764 commit 6109626

File tree

66 files changed

+628
-425
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+628
-425
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-rev20260118-2.0.0</version>
25+
<version>v1-rev20260203-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-rev20260118-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1-rev20260203-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: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class Document extends com.google.api.client.googleapis.services.json.Abs
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -618,7 +618,10 @@ public Get set(String parameterName, Object value) {
618618
}
619619
}
620620
/**
621-
* Lists information about the supported locations for this service.
621+
* Lists information about the supported locations for this service. This method can be called in
622+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
623+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
624+
* public locations as well as private or other locations specifically visible to the project.
622625
*
623626
* Create a request for the method "locations.list".
624627
*
@@ -642,7 +645,10 @@ public class List extends DocumentRequest<com.google.api.services.documentai.v1.
642645
java.util.regex.Pattern.compile("^projects/[^/]+$");
643646

644647
/**
645-
* Lists information about the supported locations for this service.
648+
* Lists information about the supported locations for this service. This method can be called in
649+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
650+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
651+
* public locations as well as private or other locations specifically visible to the project.
646652
*
647653
* Create a request for the method "locations.list".
648654
*
@@ -5524,22 +5530,22 @@ public List setPageSize(java.lang.Integer pageSize) {
55245530
}
55255531

55265532
/**
5527-
* Optional. We will return the schema groups sorted by creation time. The page token will
5528-
* point to the next Schema.
5533+
* Optional. Returns the schema groups sorted by creation time. The page token will point
5534+
* to the next Schema.
55295535
*/
55305536
@com.google.api.client.util.Key
55315537
private java.lang.String pageToken;
55325538

5533-
/** Optional. We will return the schema groups sorted by creation time. The page token will point to
5534-
the next Schema.
5539+
/** Optional. Returns the schema groups sorted by creation time. The page token will point to the next
5540+
Schema.
55355541
*/
55365542
public java.lang.String getPageToken() {
55375543
return pageToken;
55385544
}
55395545

55405546
/**
5541-
* Optional. We will return the schema groups sorted by creation time. The page token will
5542-
* point to the next Schema.
5547+
* Optional. Returns the schema groups sorted by creation time. The page token will point
5548+
* to the next Schema.
55435549
*/
55445550
public List setPageToken(java.lang.String pageToken) {
55455551
this.pageToken = pageToken;
@@ -5688,21 +5694,21 @@ public Patch setName(java.lang.String name) {
56885694

56895695
/**
56905696
* Optional. The update mask to apply to the resource. **Note:** Only the following fields
5691-
* can be updated: - display_name. - labels.
5697+
* can be updated: - `display_name` - `labels`
56925698
*/
56935699
@com.google.api.client.util.Key
56945700
private String updateMask;
56955701

56965702
/** Optional. The update mask to apply to the resource. **Note:** Only the following fields can be
5697-
updated: - display_name. - labels.
5703+
updated: - `display_name` - `labels`
56985704
*/
56995705
public String getUpdateMask() {
57005706
return updateMask;
57015707
}
57025708

57035709
/**
57045710
* Optional. The update mask to apply to the resource. **Note:** Only the following fields
5705-
* can be updated: - display_name. - labels.
5711+
* can be updated: - `display_name` - `labels`
57065712
*/
57075713
public Patch setUpdateMask(String updateMask) {
57085714
this.updateMask = updateMask;
@@ -6459,22 +6465,22 @@ public List setPageSize(java.lang.Integer pageSize) {
64596465
}
64606466

64616467
/**
6462-
* Optional. We will return the SchemaVersion sorted by creation time. The page token
6463-
* will point to the next SchemaVersion.
6468+
* Optional. Returns the SchemaVersion sorted by creation time. The page token will
6469+
* point to the next SchemaVersion.
64646470
*/
64656471
@com.google.api.client.util.Key
64666472
private java.lang.String pageToken;
64676473

6468-
/** Optional. We will return the SchemaVersion sorted by creation time. The page token will point to
6469-
the next SchemaVersion.
6474+
/** Optional. Returns the SchemaVersion sorted by creation time. The page token will point to the next
6475+
SchemaVersion.
64706476
*/
64716477
public java.lang.String getPageToken() {
64726478
return pageToken;
64736479
}
64746480

64756481
/**
6476-
* Optional. We will return the SchemaVersion sorted by creation time. The page token
6477-
* will point to the next SchemaVersion.
6482+
* Optional. Returns the SchemaVersion sorted by creation time. The page token will
6483+
* point to the next SchemaVersion.
64786484
*/
64796485
public List setPageToken(java.lang.String pageToken) {
64806486
this.pageToken = pageToken;
@@ -6623,21 +6629,21 @@ public Patch setName(java.lang.String name) {
66236629

66246630
/**
66256631
* Optional. The update mask to apply to the resource. **Note:** Only the following
6626-
* fields can be updated: - display_name. - labels.
6632+
* fields can be updated: - `display_name` - `labels`
66276633
*/
66286634
@com.google.api.client.util.Key
66296635
private String updateMask;
66306636

66316637
/** Optional. The update mask to apply to the resource. **Note:** Only the following fields can be
6632-
updated: - display_name. - labels.
6638+
updated: - `display_name` - `labels`
66336639
*/
66346640
public String getUpdateMask() {
66356641
return updateMask;
66366642
}
66376643

66386644
/**
66396645
* Optional. The update mask to apply to the resource. **Note:** Only the following
6640-
* fields can be updated: - display_name. - labels.
6646+
* fields can be updated: - `display_name` - `labels`
66416647
*/
66426648
public Patch setUpdateMask(String updateMask) {
66436649
this.updateMask = updateMask;
@@ -6849,8 +6855,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
68496855
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
68506856
* <li>Android: {@code newCompatibleTransport} from
68516857
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
6852-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
6853-
* </li>
6858+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
68546859
* </ul>
68556860
* @param jsonFactory JSON factory, which may be:
68566861
* <ul>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public final class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidat
3737
private CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule childAlignmentRule;
3838

3939
/**
40-
* Description of the validation rule. This has no use but for documentation
40+
* Description of the validation rule. This has no use but for documentation.
4141
* The value may be {@code null}.
4242
*/
4343
@com.google.api.client.util.Key
@@ -97,15 +97,15 @@ public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule setC
9797
}
9898

9999
/**
100-
* Description of the validation rule. This has no use but for documentation
100+
* Description of the validation rule. This has no use but for documentation.
101101
* @return value or {@code null} for none
102102
*/
103103
public java.lang.String getDescription() {
104104
return description;
105105
}
106106

107107
/**
108-
* Description of the validation rule. This has no use but for documentation
108+
* Description of the validation rule. This has no use but for documentation.
109109
* @param description description or {@code null} for none
110110
*/
111111
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule setDescription(java.lang.String description) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public final class GoogleCloudDocumentaiUiv1beta3DocumentSchema extends com.goog
3838
private java.lang.String description;
3939

4040
/**
41-
* Display name to show to users.
41+
* Display name to show users.
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
@@ -84,15 +84,15 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchema setDescription(java.lang.Str
8484
}
8585

8686
/**
87-
* Display name to show to users.
87+
* Display name to show users.
8888
* @return value or {@code null} for none
8989
*/
9090
public java.lang.String getDisplayName() {
9191
return displayName;
9292
}
9393

9494
/**
95-
* Display name to show to users.
95+
* Display name to show users.
9696
* @param displayName displayName or {@code null} for none
9797
*/
9898
public GoogleCloudDocumentaiUiv1beta3DocumentSchema setDisplayName(java.lang.String displayName) {

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public final class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType extend
6363

6464
/**
6565
* If specified, lists all the possible values for this entity. This should not be more than a
66-
* handful of values. If the number of values is >10 or could change frequently use the
66+
* handful of values. If the number of values is >10 or could change frequently, use the
6767
* `EntityType.value_ontology` field and specify a list of all possible values in a value ontology
6868
* file.
6969
* The value may be {@code null}.
@@ -75,8 +75,8 @@ public final class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType extend
7575
* Name of the type. It must be unique within the schema file and cannot be a "Common Type". The
7676
* following naming conventions are used: - Use `snake_casing`. - Name matching is case-sensitive.
7777
* - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters
78-
* `[a-z0-9_-]`. (For backward compatibility internal infrastructure and tooling can handle any
79-
* ascii character.) - The `/` is sometimes used to denote a property of a type. For example
78+
* `[a-z0-9_-]`. (For backward compatibility, internal infrastructure and tooling can handle any
79+
* ASCII character.) - The `/` is sometimes used to denote a property of a type. For example
8080
* `line_item/amount`. This convention is deprecated, but will still be honored for backward
8181
* compatibility.
8282
* The value may be {@code null}.
@@ -163,7 +163,7 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType setEntityTypeMetad
163163

164164
/**
165165
* If specified, lists all the possible values for this entity. This should not be more than a
166-
* handful of values. If the number of values is >10 or could change frequently use the
166+
* handful of values. If the number of values is >10 or could change frequently, use the
167167
* `EntityType.value_ontology` field and specify a list of all possible values in a value ontology
168168
* file.
169169
* @return value or {@code null} for none
@@ -174,7 +174,7 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues getEnumV
174174

175175
/**
176176
* If specified, lists all the possible values for this entity. This should not be more than a
177-
* handful of values. If the number of values is >10 or could change frequently use the
177+
* handful of values. If the number of values is >10 or could change frequently, use the
178178
* `EntityType.value_ontology` field and specify a list of all possible values in a value ontology
179179
* file.
180180
* @param enumValues enumValues or {@code null} for none
@@ -188,8 +188,8 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType setEnumValues(Goog
188188
* Name of the type. It must be unique within the schema file and cannot be a "Common Type". The
189189
* following naming conventions are used: - Use `snake_casing`. - Name matching is case-sensitive.
190190
* - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters
191-
* `[a-z0-9_-]`. (For backward compatibility internal infrastructure and tooling can handle any
192-
* ascii character.) - The `/` is sometimes used to denote a property of a type. For example
191+
* `[a-z0-9_-]`. (For backward compatibility, internal infrastructure and tooling can handle any
192+
* ASCII character.) - The `/` is sometimes used to denote a property of a type. For example
193193
* `line_item/amount`. This convention is deprecated, but will still be honored for backward
194194
* compatibility.
195195
* @return value or {@code null} for none
@@ -202,8 +202,8 @@ public java.lang.String getName() {
202202
* Name of the type. It must be unique within the schema file and cannot be a "Common Type". The
203203
* following naming conventions are used: - Use `snake_casing`. - Name matching is case-sensitive.
204204
* - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters
205-
* `[a-z0-9_-]`. (For backward compatibility internal infrastructure and tooling can handle any
206-
* ascii character.) - The `/` is sometimes used to denote a property of a type. For example
205+
* `[a-z0-9_-]`. (For backward compatibility, internal infrastructure and tooling can handle any
206+
* ASCII character.) - The `/` is sometimes used to denote a property of a type. For example
207207
* `line_item/amount`. This convention is deprecated, but will still be honored for backward
208208
* compatibility.
209209
* @param name name or {@code null} for none

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public final class GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata extends
5353
private java.lang.Boolean prefixedNamingOnProperties;
5454

5555
/**
56-
* If set, we will skip the naming format validation in the schema. So the string values in
56+
* If set, this will skip the naming format validation in the schema. So the string values in
5757
* `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.Property.name` will not be
5858
* checked.
5959
* The value may be {@code null}.
@@ -115,7 +115,7 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata setPrefixedNamingOnP
115115
}
116116

117117
/**
118-
* If set, we will skip the naming format validation in the schema. So the string values in
118+
* If set, this will skip the naming format validation in the schema. So the string values in
119119
* `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.Property.name` will not be
120120
* checked.
121121
* @return value or {@code null} for none
@@ -125,7 +125,7 @@ public java.lang.Boolean getSkipNamingValidation() {
125125
}
126126

127127
/**
128-
* If set, we will skip the naming format validation in the schema. So the string values in
128+
* If set, this will skip the naming format validation in the schema. So the string values in
129129
* `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.Property.name` will not be
130130
* checked.
131131
* @param skipNamingValidation skipNamingValidation or {@code null} for none

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
public final class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* The calculated f1 score.
34+
* The calculated F1 score.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
@@ -108,15 +108,15 @@ public final class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics extends com.g
108108
private java.lang.Integer truePositivesCount;
109109

110110
/**
111-
* The calculated f1 score.
111+
* The calculated F1 score.
112112
* @return value or {@code null} for none
113113
*/
114114
public java.lang.Float getF1Score() {
115115
return f1Score;
116116
}
117117

118118
/**
119-
* The calculated f1 score.
119+
* The calculated F1 score.
120120
* @param f1Score f1Score or {@code null} for none
121121
*/
122122
public GoogleCloudDocumentaiUiv1beta3EvaluationMetrics setF1Score(java.lang.Float f1Score) {

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,29 +31,29 @@
3131
public final class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Whether finetuning is allowed for this base processor version.
34+
* Whether fine tuning is allowed for this base processor version.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private java.lang.Boolean finetuningAllowed;
3939

4040
/**
41-
* The minimum number of labeled documents in the training dataset required for finetuning.
41+
* The minimum number of labeled documents in the training dataset required for fine tuning.
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
4545
private java.lang.Integer minTrainLabeledDocuments;
4646

4747
/**
48-
* Whether finetuning is allowed for this base processor version.
48+
* Whether fine tuning is allowed for this base processor version.
4949
* @return value or {@code null} for none
5050
*/
5151
public java.lang.Boolean getFinetuningAllowed() {
5252
return finetuningAllowed;
5353
}
5454

5555
/**
56-
* Whether finetuning is allowed for this base processor version.
56+
* Whether fine tuning is allowed for this base processor version.
5757
* @param finetuningAllowed finetuningAllowed or {@code null} for none
5858
*/
5959
public GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo setFinetuningAllowed(java.lang.Boolean finetuningAllowed) {
@@ -62,15 +62,15 @@ public GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGen
6262
}
6363

6464
/**
65-
* The minimum number of labeled documents in the training dataset required for finetuning.
65+
* The minimum number of labeled documents in the training dataset required for fine tuning.
6666
* @return value or {@code null} for none
6767
*/
6868
public java.lang.Integer getMinTrainLabeledDocuments() {
6969
return minTrainLabeledDocuments;
7070
}
7171

7272
/**
73-
* The minimum number of labeled documents in the training dataset required for finetuning.
73+
* The minimum number of labeled documents in the training dataset required for fine tuning.
7474
* @param minTrainLabeledDocuments minTrainLabeledDocuments or {@code null} for none
7575
*/
7676
public GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo setMinTrainLabeledDocuments(java.lang.Integer minTrainLabeledDocuments) {

0 commit comments

Comments
 (0)