Skip to content

Commit 4ca3218

Browse files
1 parent 1b29cbf commit 4ca3218

15 files changed

+340
-174
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-rev20250117-2.0.0</version>
25+
<version>v1-rev20250416-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-rev20250117-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1-rev20250416-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: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,29 @@ public List setName(java.lang.String name) {
750750
return this;
751751
}
752752

753+
/**
754+
* Optional. A list of extra location types that should be used as conditions for
755+
* controlling the visibility of the locations.
756+
*/
757+
@com.google.api.client.util.Key
758+
private java.util.List<java.lang.String> extraLocationTypes;
759+
760+
/** Optional. A list of extra location types that should be used as conditions for controlling the
761+
visibility of the locations.
762+
*/
763+
public java.util.List<java.lang.String> getExtraLocationTypes() {
764+
return extraLocationTypes;
765+
}
766+
767+
/**
768+
* Optional. A list of extra location types that should be used as conditions for
769+
* controlling the visibility of the locations.
770+
*/
771+
public List setExtraLocationTypes(java.util.List<java.lang.String> extraLocationTypes) {
772+
this.extraLocationTypes = extraLocationTypes;
773+
return this;
774+
}
775+
753776
/**
754777
* A filter to narrow down results to a preferred subset. The filtering language accepts
755778
* strings like `"displayName=tokyo"`, and is documented in more detail in

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ public final class GoogleCloudDocumentaiV1Document extends com.google.api.client
4747
@com.google.api.client.util.Key
4848
private java.lang.String content;
4949

50+
/**
51+
* Optional. An internal identifier for document. Should be loggable (no PII).
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.String docid;
56+
5057
/**
5158
* Parsed layout of the document.
5259
* The value may be {@code null}.
@@ -204,6 +211,23 @@ public GoogleCloudDocumentaiV1Document encodeContent(byte[] content) {
204211
return this;
205212
}
206213

214+
/**
215+
* Optional. An internal identifier for document. Should be loggable (no PII).
216+
* @return value or {@code null} for none
217+
*/
218+
public java.lang.String getDocid() {
219+
return docid;
220+
}
221+
222+
/**
223+
* Optional. An internal identifier for document. Should be loggable (no PII).
224+
* @param docid docid or {@code null} for none
225+
*/
226+
public GoogleCloudDocumentaiV1Document setDocid(java.lang.String docid) {
227+
this.docid = docid;
228+
return this;
229+
}
230+
207231
/**
208232
* Parsed layout of the document.
209233
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBl
3737
@com.google.api.client.util.Key
3838
private java.lang.String blockId;
3939

40+
/**
41+
* Identifies the bounding box for the block.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private GoogleCloudDocumentaiV1BoundingPoly boundingBox;
46+
4047
/**
4148
* Block consisting of list content/structure.
4249
* The value may be {@code null}.
@@ -82,6 +89,23 @@ public GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock setBlock
8289
return this;
8390
}
8491

92+
/**
93+
* Identifies the bounding box for the block.
94+
* @return value or {@code null} for none
95+
*/
96+
public GoogleCloudDocumentaiV1BoundingPoly getBoundingBox() {
97+
return boundingBox;
98+
}
99+
100+
/**
101+
* Identifies the bounding box for the block.
102+
* @param boundingBox boundingBox or {@code null} for none
103+
*/
104+
public GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock setBoundingBox(GoogleCloudDocumentaiV1BoundingPoly boundingBox) {
105+
this.boundingBox = boundingBox;
106+
return this;
107+
}
108+
85109
/**
86110
* Block consisting of list content/structure.
87111
* @return value or {@code null} for none

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

Lines changed: 81 additions & 81 deletions
Large diffs are not rendered by default.

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-rev20250117-2.0.0</version>
12-
<name>Cloud Document AI API v1-rev20250117-2.0.0</name>
11+
<version>v1-rev20250416-2.0.0</version>
12+
<name>Cloud Document AI API v1-rev20250416-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-rev20250117-2.0.0</version>
25+
<version>v1-rev20250416-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-rev20250117-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1-rev20250416-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-rev20250210-2.0.0</version>
25+
<version>v1beta3-rev20250416-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-rev20250210-2.0.0'
38+
implementation 'com.google.apis:google-api-services-documentai:v1beta3-rev20250416-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: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,29 @@ public List setName(java.lang.String name) {
594594
return this;
595595
}
596596

597+
/**
598+
* Optional. A list of extra location types that should be used as conditions for
599+
* controlling the visibility of the locations.
600+
*/
601+
@com.google.api.client.util.Key
602+
private java.util.List<java.lang.String> extraLocationTypes;
603+
604+
/** Optional. A list of extra location types that should be used as conditions for controlling the
605+
visibility of the locations.
606+
*/
607+
public java.util.List<java.lang.String> getExtraLocationTypes() {
608+
return extraLocationTypes;
609+
}
610+
611+
/**
612+
* Optional. A list of extra location types that should be used as conditions for
613+
* controlling the visibility of the locations.
614+
*/
615+
public List setExtraLocationTypes(java.util.List<java.lang.String> extraLocationTypes) {
616+
this.extraLocationTypes = extraLocationTypes;
617+
return this;
618+
}
619+
597620
/**
598621
* A filter to narrow down results to a preferred subset. The filtering language accepts
599622
* strings like `"displayName=tokyo"`, and is documented in more detail in

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ public final class GoogleCloudDocumentaiV1beta3Document extends com.google.api.c
4747
@com.google.api.client.util.Key
4848
private java.lang.String content;
4949

50+
/**
51+
* Optional. An internal identifier for document. Should be loggable (no PII).
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.String docid;
56+
5057
/**
5158
* Parsed layout of the document.
5259
* The value may be {@code null}.
@@ -204,6 +211,23 @@ public GoogleCloudDocumentaiV1beta3Document encodeContent(byte[] content) {
204211
return this;
205212
}
206213

214+
/**
215+
* Optional. An internal identifier for document. Should be loggable (no PII).
216+
* @return value or {@code null} for none
217+
*/
218+
public java.lang.String getDocid() {
219+
return docid;
220+
}
221+
222+
/**
223+
* Optional. An internal identifier for document. Should be loggable (no PII).
224+
* @param docid docid or {@code null} for none
225+
*/
226+
public GoogleCloudDocumentaiV1beta3Document setDocid(java.lang.String docid) {
227+
this.docid = docid;
228+
return this;
229+
}
230+
207231
/**
208232
* Parsed layout of the document.
209233
* @return value or {@code null} for none

0 commit comments

Comments
 (0)