Skip to content

Commit cf0605c

Browse files
1 parent 0c24291 commit cf0605c

18 files changed

+169
-50
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-rev20251108-2.0.0</version>
25+
<version>v1-rev20251202-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-rev20251108-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1-rev20251202-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: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,30 +1329,31 @@ public List setPageToken(java.lang.String pageToken) {
13291329

13301330
/**
13311331
* 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
1332+
* that are unreachable are returned in the ListOperationsResponse.unreachable field. This
1333+
* can only be `true` when reading across collections. For example, when `parent` is set
1334+
* to `"projects/example/locations/-"`. This field is not supported by default and will
13351335
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
13361336
* service or product specific documentation.
13371337
*/
13381338
@com.google.api.client.util.Key
13391339
private java.lang.Boolean returnPartialSuccess;
13401340

13411341
/** 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.
1342+
unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true`
1343+
when reading across collections. For example, when `parent` is set to
1344+
`"projects/example/locations/-"`. This field is not supported by default and will result in an
1345+
`UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific
1346+
documentation.
13461347
*/
13471348
public java.lang.Boolean getReturnPartialSuccess() {
13481349
return returnPartialSuccess;
13491350
}
13501351

13511352
/**
13521353
* 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
1354+
* that are unreachable are returned in the ListOperationsResponse.unreachable field. This
1355+
* can only be `true` when reading across collections. For example, when `parent` is set
1356+
* to `"projects/example/locations/-"`. This field is not supported by default and will
13561357
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
13571358
* service or product specific documentation.
13581359
*/

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ public final class GoogleCloudDocumentaiUiv1beta3DocumentSchema extends com.goog
4444
@com.google.api.client.util.Key
4545
private java.lang.String displayName;
4646

47+
/**
48+
* Optional. Document level prompt provided by the user. This custom text is injected into the AI
49+
* model's prompt to provide extra, document-wide guidance for processing.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String documentPrompt;
54+
4755
/**
4856
* Entity types of the schema.
4957
* The value may be {@code null}.
@@ -92,6 +100,25 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchema setDisplayName(java.lang.Str
92100
return this;
93101
}
94102

103+
/**
104+
* Optional. Document level prompt provided by the user. This custom text is injected into the AI
105+
* model's prompt to provide extra, document-wide guidance for processing.
106+
* @return value or {@code null} for none
107+
*/
108+
public java.lang.String getDocumentPrompt() {
109+
return documentPrompt;
110+
}
111+
112+
/**
113+
* Optional. Document level prompt provided by the user. This custom text is injected into the AI
114+
* model's prompt to provide extra, document-wide guidance for processing.
115+
* @param documentPrompt documentPrompt or {@code null} for none
116+
*/
117+
public GoogleCloudDocumentaiUiv1beta3DocumentSchema setDocumentPrompt(java.lang.String documentPrompt) {
118+
this.documentPrompt = documentPrompt;
119+
return this;
120+
}
121+
95122
/**
96123
* Entity types of the schema.
97124
* @return value or {@code null} for none

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ public final class GoogleCloudDocumentaiV1GenerateSchemaVersionRequest extends c
6060
private GoogleCloudDocumentaiV1GenerateSchemaVersionRequestGenerateSchemaVersionParams generateSchemaVersionParams;
6161

6262
/**
63-
* The set of documents specified inline.
63+
* The set of documents specified inline. For each document, its `uri` or `content` field must be
64+
* set.
6465
* The value may be {@code null}.
6566
*/
6667
@com.google.api.client.util.Key
@@ -144,15 +145,17 @@ public GoogleCloudDocumentaiV1GenerateSchemaVersionRequest setGenerateSchemaVers
144145
}
145146

146147
/**
147-
* The set of documents specified inline.
148+
* The set of documents specified inline. For each document, its `uri` or `content` field must be
149+
* set.
148150
* @return value or {@code null} for none
149151
*/
150152
public GoogleCloudDocumentaiV1Documents getInlineDocuments() {
151153
return inlineDocuments;
152154
}
153155

154156
/**
155-
* The set of documents specified inline.
157+
* The set of documents specified inline. For each document, its `uri` or `content` field must be
158+
* set.
156159
* @param inlineDocuments inlineDocuments or {@code null} for none
157160
*/
158161
public GoogleCloudDocumentaiV1GenerateSchemaVersionRequest setInlineDocuments(GoogleCloudDocumentaiV1Documents inlineDocuments) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public final class GoogleLongrunningListOperationsResponse extends com.google.ap
4646

4747
/**
4848
* Unordered list. Unreachable resources. Populated when the request sets
49-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
49+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
5050
* attempting to list all resources across all supported locations.
5151
* The value may be {@code null}.
5252
*/
@@ -89,7 +89,7 @@ public GoogleLongrunningListOperationsResponse setOperations(java.util.List<Goog
8989

9090
/**
9191
* Unordered list. Unreachable resources. Populated when the request sets
92-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
92+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
9393
* attempting to list all resources across all supported locations.
9494
* @return value or {@code null} for none
9595
*/
@@ -99,7 +99,7 @@ public java.util.List<java.lang.String> getUnreachable() {
9999

100100
/**
101101
* Unordered list. Unreachable resources. Populated when the request sets
102-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
102+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
103103
* attempting to list all resources across all supported locations.
104104
* @param unreachable unreachable or {@code null} for none
105105
*/

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

Lines changed: 2 additions & 2 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-rev20251108-2.0.0</version>
12-
<name>Cloud Document AI API v1-rev20251108-2.0.0</name>
11+
<version>v1-rev20251202-2.0.0</version>
12+
<name>Cloud Document AI API v1-rev20251202-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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-rev20251108-2.0.0</version>
25+
<version>v1-rev20251202-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-rev20251108-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1-rev20251202-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-rev20251108-2.0.0</version>
25+
<version>v1beta3-rev20251209-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-rev20251108-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1beta3-rev20251209-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,30 +1173,31 @@ public List setPageToken(java.lang.String pageToken) {
11731173

11741174
/**
11751175
* When set to `true`, operations that are reachable are returned as normal, and those
1176-
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
1177-
* This can only be `true` when reading across collections e.g. when `parent` is set to
1178-
* `"projects/example/locations/-"`. This field is not by default supported and will
1176+
* that are unreachable are returned in the ListOperationsResponse.unreachable field. This
1177+
* can only be `true` when reading across collections. For example, when `parent` is set
1178+
* to `"projects/example/locations/-"`. This field is not supported by default and will
11791179
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
11801180
* service or product specific documentation.
11811181
*/
11821182
@com.google.api.client.util.Key
11831183
private java.lang.Boolean returnPartialSuccess;
11841184

11851185
/** When set to `true`, operations that are reachable are returned as normal, and those that are
1186-
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
1187-
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
1188-
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
1189-
explicitly documented otherwise in service or product specific documentation.
1186+
unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true`
1187+
when reading across collections. For example, when `parent` is set to
1188+
`"projects/example/locations/-"`. This field is not supported by default and will result in an
1189+
`UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific
1190+
documentation.
11901191
*/
11911192
public java.lang.Boolean getReturnPartialSuccess() {
11921193
return returnPartialSuccess;
11931194
}
11941195

11951196
/**
11961197
* When set to `true`, operations that are reachable are returned as normal, and those
1197-
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
1198-
* This can only be `true` when reading across collections e.g. when `parent` is set to
1199-
* `"projects/example/locations/-"`. This field is not by default supported and will
1198+
* that are unreachable are returned in the ListOperationsResponse.unreachable field. This
1199+
* can only be `true` when reading across collections. For example, when `parent` is set
1200+
* to `"projects/example/locations/-"`. This field is not supported by default and will
12001201
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
12011202
* service or product specific documentation.
12021203
*/

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ public final class GoogleCloudDocumentaiUiv1beta3DocumentSchema extends com.goog
4444
@com.google.api.client.util.Key
4545
private java.lang.String displayName;
4646

47+
/**
48+
* Optional. Document level prompt provided by the user. This custom text is injected into the AI
49+
* model's prompt to provide extra, document-wide guidance for processing.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String documentPrompt;
54+
4755
/**
4856
* Entity types of the schema.
4957
* The value may be {@code null}.
@@ -92,6 +100,25 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchema setDisplayName(java.lang.Str
92100
return this;
93101
}
94102

103+
/**
104+
* Optional. Document level prompt provided by the user. This custom text is injected into the AI
105+
* model's prompt to provide extra, document-wide guidance for processing.
106+
* @return value or {@code null} for none
107+
*/
108+
public java.lang.String getDocumentPrompt() {
109+
return documentPrompt;
110+
}
111+
112+
/**
113+
* Optional. Document level prompt provided by the user. This custom text is injected into the AI
114+
* model's prompt to provide extra, document-wide guidance for processing.
115+
* @param documentPrompt documentPrompt or {@code null} for none
116+
*/
117+
public GoogleCloudDocumentaiUiv1beta3DocumentSchema setDocumentPrompt(java.lang.String documentPrompt) {
118+
this.documentPrompt = documentPrompt;
119+
return this;
120+
}
121+
95122
/**
96123
* Entity types of the schema.
97124
* @return value or {@code null} for none

0 commit comments

Comments
 (0)