Skip to content

Commit 3228f68

Browse files
1 parent 992863b commit 3228f68

12 files changed

+105
-24
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-rev20250908-2.0.0</version>
25+
<version>v1-rev20250914-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-rev20250908-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1-rev20250914-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@
3131
@SuppressWarnings("javadoc")
3232
public final class GoogleCloudDocumentaiV1Processor extends com.google.api.client.json.GenericJson {
3333

34+
/**
35+
* Optional. SchemaVersion used by the Processor. It is the same as Processor's
36+
* DatasetSchema.schema_version Format is
37+
* `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.String activeSchemaVersion;
42+
3443
/**
3544
* Output only. The time the processor was created.
3645
* The value may be {@code null}.
@@ -111,6 +120,27 @@ public final class GoogleCloudDocumentaiV1Processor extends com.google.api.clien
111120
@com.google.api.client.util.Key
112121
private java.lang.String type;
113122

123+
/**
124+
* Optional. SchemaVersion used by the Processor. It is the same as Processor's
125+
* DatasetSchema.schema_version Format is
126+
* `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}
127+
* @return value or {@code null} for none
128+
*/
129+
public java.lang.String getActiveSchemaVersion() {
130+
return activeSchemaVersion;
131+
}
132+
133+
/**
134+
* Optional. SchemaVersion used by the Processor. It is the same as Processor's
135+
* DatasetSchema.schema_version Format is
136+
* `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}
137+
* @param activeSchemaVersion activeSchemaVersion or {@code null} for none
138+
*/
139+
public GoogleCloudDocumentaiV1Processor setActiveSchemaVersion(java.lang.String activeSchemaVersion) {
140+
this.activeSchemaVersion = activeSchemaVersion;
141+
return this;
142+
}
143+
114144
/**
115145
* Output only. The time the processor was created.
116146
* @return value or {@code null} for none

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

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

3333
/**
34-
* Training method to use for CDE training.
34+
* Optional. Training method to use for CDE training.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private java.lang.String trainingMethod;
3939

4040
/**
41-
* Training method to use for CDE training.
41+
* Optional. Training method to use for CDE training.
4242
* @return value or {@code null} for none
4343
*/
4444
public java.lang.String getTrainingMethod() {
4545
return trainingMethod;
4646
}
4747

4848
/**
49-
* Training method to use for CDE training.
49+
* Optional. Training method to use for CDE training.
5050
* @param trainingMethod trainingMethod or {@code null} for none
5151
*/
5252
public GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions setTrainingMethod(java.lang.String trainingMethod) {

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-rev20250908-2.0.0</version>
12-
<name>Cloud Document AI API v1-rev20250908-2.0.0</name>
11+
<version>v1-rev20250914-2.0.0</version>
12+
<name>Cloud Document AI API v1-rev20250914-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-rev20250908-2.0.0</version>
25+
<version>v1-rev20250914-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-rev20250908-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1-rev20250914-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-rev20250908-2.0.0</version>
25+
<version>v1beta3-rev20250914-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-rev20250908-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1beta3-rev20250914-2.0.0'
3939
}
4040
```
4141

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

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

33+
/**
34+
* Annotation of the text block.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GoogleCloudDocumentaiV1beta3DocumentAnnotations annotations;
39+
3340
/**
3441
* A text block could further have child blocks. Repeated blocks support further hierarchies and
3542
* nested blocks.
@@ -59,6 +66,23 @@ public final class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLay
5966
@com.google.api.client.util.Key
6067
private java.lang.String type;
6168

69+
/**
70+
* Annotation of the text block.
71+
* @return value or {@code null} for none
72+
*/
73+
public GoogleCloudDocumentaiV1beta3DocumentAnnotations getAnnotations() {
74+
return annotations;
75+
}
76+
77+
/**
78+
* Annotation of the text block.
79+
* @param annotations annotations or {@code null} for none
80+
*/
81+
public GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock setAnnotations(GoogleCloudDocumentaiV1beta3DocumentAnnotations annotations) {
82+
this.annotations = annotations;
83+
return this;
84+
}
85+
6286
/**
6387
* A text block could further have child blocks. Repeated blocks support further hierarchies and
6488
* nested blocks.

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public final class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest ext
4444

4545
/**
4646
* The source processor version to import from. The source processor version and destination
47-
* processor need to be in the same environment and region. Note that ProcessorVersions with
48-
* `model_type` `MODEL_TYPE_LLM` are not supported.
47+
* processor need to be in the same environment and region.
4948
* The value may be {@code null}.
5049
*/
5150
@com.google.api.client.util.Key
@@ -72,8 +71,7 @@ public GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest setExternalProc
7271

7372
/**
7473
* The source processor version to import from. The source processor version and destination
75-
* processor need to be in the same environment and region. Note that ProcessorVersions with
76-
* `model_type` `MODEL_TYPE_LLM` are not supported.
74+
* processor need to be in the same environment and region.
7775
* @return value or {@code null} for none
7876
*/
7977
public java.lang.String getProcessorVersionSource() {
@@ -82,8 +80,7 @@ public java.lang.String getProcessorVersionSource() {
8280

8381
/**
8482
* The source processor version to import from. The source processor version and destination
85-
* processor need to be in the same environment and region. Note that ProcessorVersions with
86-
* `model_type` `MODEL_TYPE_LLM` are not supported.
83+
* processor need to be in the same environment and region.
8784
* @param processorVersionSource processorVersionSource or {@code null} for none
8885
*/
8986
public GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest setProcessorVersionSource(java.lang.String processorVersionSource) {

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@
3131
@SuppressWarnings("javadoc")
3232
public final class GoogleCloudDocumentaiV1beta3Processor extends com.google.api.client.json.GenericJson {
3333

34+
/**
35+
* Optional. SchemaVersion used by the Processor. It is the same as Processor's
36+
* DatasetSchema.schema_version Format is
37+
* `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.String activeSchemaVersion;
42+
3443
/**
3544
* Output only. The time the processor was created.
3645
* The value may be {@code null}.
@@ -111,6 +120,27 @@ public final class GoogleCloudDocumentaiV1beta3Processor extends com.google.api.
111120
@com.google.api.client.util.Key
112121
private java.lang.String type;
113122

123+
/**
124+
* Optional. SchemaVersion used by the Processor. It is the same as Processor's
125+
* DatasetSchema.schema_version Format is
126+
* `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}
127+
* @return value or {@code null} for none
128+
*/
129+
public java.lang.String getActiveSchemaVersion() {
130+
return activeSchemaVersion;
131+
}
132+
133+
/**
134+
* Optional. SchemaVersion used by the Processor. It is the same as Processor's
135+
* DatasetSchema.schema_version Format is
136+
* `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}
137+
* @param activeSchemaVersion activeSchemaVersion or {@code null} for none
138+
*/
139+
public GoogleCloudDocumentaiV1beta3Processor setActiveSchemaVersion(java.lang.String activeSchemaVersion) {
140+
this.activeSchemaVersion = activeSchemaVersion;
141+
return this;
142+
}
143+
114144
/**
115145
* Output only. The time the processor was created.
116146
* @return value or {@code null} for none

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

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

3333
/**
34-
* Training method to use for CDE training.
34+
* Optional. Training method to use for CDE training.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private java.lang.String trainingMethod;
3939

4040
/**
41-
* Training method to use for CDE training.
41+
* Optional. Training method to use for CDE training.
4242
* @return value or {@code null} for none
4343
*/
4444
public java.lang.String getTrainingMethod() {
4545
return trainingMethod;
4646
}
4747

4848
/**
49-
* Training method to use for CDE training.
49+
* Optional. Training method to use for CDE training.
5050
* @param trainingMethod trainingMethod or {@code null} for none
5151
*/
5252
public GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions setTrainingMethod(java.lang.String trainingMethod) {

0 commit comments

Comments
 (0)