Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Commit 7e11d08

Browse files
authored
feat(v1beta3): add v1beta3 client (#191)
* feat(v1beta3): add v1beta3 client * deps: fix dependency declarations
1 parent 1a8da37 commit 7e11d08

File tree

52 files changed

+82191
-95
lines changed

Some content is hidden

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

52 files changed

+82191
-95
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ If you are using Maven without BOM, add this to your dependencies:
4141
<dependency>
4242
<groupId>com.google.cloud</groupId>
4343
<artifactId>google-cloud-document-ai</artifactId>
44-
<version>0.2.1</version>
44+
<version>0.2.4</version>
4545
</dependency>
4646

4747
```
Lines changed: 98 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,100 +1,110 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3-
<modelVersion>4.0.0</modelVersion>
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.google.cloud</groupId>
5+
<artifactId>google-cloud-document-ai-bom</artifactId>
6+
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:google-cloud-document-ai:current} -->
7+
<packaging>pom</packaging>
8+
<parent>
49
<groupId>com.google.cloud</groupId>
5-
<artifactId>google-cloud-document-ai-bom</artifactId>
6-
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:google-cloud-document-ai:current} -->
7-
<packaging>pom</packaging>
8-
<parent>
9-
<groupId>com.google.cloud</groupId>
10-
<artifactId>google-cloud-shared-config</artifactId>
11-
<version>0.9.2</version>
12-
</parent>
10+
<artifactId>google-cloud-shared-config</artifactId>
11+
<version>0.9.2</version>
12+
</parent>
1313

14-
<name>Google Cloud Document AI BOM</name>
15-
<url>https://github.com/googleapis/java-document-ai</url>
16-
<description>BOM for Google Cloud Document AI</description>
14+
<name>Google Cloud Document AI BOM</name>
15+
<url>https://github.com/googleapis/java-document-ai</url>
16+
<description>BOM for Google Cloud Document AI</description>
1717

18-
<organization>
19-
<name>Google LLC</name>
20-
</organization>
18+
<organization>
19+
<name>Google LLC</name>
20+
</organization>
2121

22-
<developers>
23-
<developer>
24-
<id>chingor13</id>
25-
<name>Jeff Ching</name>
26-
<email>chingor@google.com</email>
27-
<organization>Google LLC</organization>
28-
<roles>
29-
<role>Developer</role>
30-
</roles>
31-
</developer>
32-
</developers>
22+
<developers>
23+
<developer>
24+
<id>chingor13</id>
25+
<name>Jeff Ching</name>
26+
<email>chingor@google.com</email>
27+
<organization>Google LLC</organization>
28+
<roles>
29+
<role>Developer</role>
30+
</roles>
31+
</developer>
32+
</developers>
3333

34-
<scm>
35-
<connection>scm:git:https://github.com/googleapis/java-document-ai.git</connection>
36-
<developerConnection>scm:git:git@github.com:googleapis/java-document-ai.git</developerConnection>
37-
<url>https://github.com/googleapis/java-document-ai</url>
38-
</scm>
34+
<scm>
35+
<connection>scm:git:https://github.com/googleapis/java-document-ai.git</connection>
36+
<developerConnection>scm:git:git@github.com:googleapis/java-document-ai.git</developerConnection>
37+
<url>https://github.com/googleapis/java-document-ai</url>
38+
</scm>
3939

40-
<distributionManagement>
41-
<snapshotRepository>
42-
<id>sonatype-nexus-snapshots</id>
43-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
44-
</snapshotRepository>
45-
<repository>
46-
<id>sonatype-nexus-staging</id>
47-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
48-
</repository>
49-
</distributionManagement>
40+
<distributionManagement>
41+
<snapshotRepository>
42+
<id>sonatype-nexus-snapshots</id>
43+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
44+
</snapshotRepository>
45+
<repository>
46+
<id>sonatype-nexus-staging</id>
47+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
48+
</repository>
49+
</distributionManagement>
5050

51-
<licenses>
52-
<license>
53-
<name>The Apache Software License, Version 2.0</name>
54-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
55-
<distribution>repo</distribution>
56-
</license>
57-
</licenses>
51+
<licenses>
52+
<license>
53+
<name>The Apache Software License, Version 2.0</name>
54+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
55+
<distribution>repo</distribution>
56+
</license>
57+
</licenses>
5858

59-
<dependencyManagement>
60-
<dependencies>
61-
<dependency>
62-
<groupId>com.google.api.grpc</groupId>
63-
<artifactId>proto-google-cloud-document-ai-v1beta1</artifactId>
64-
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:proto-google-cloud-document-ai-v1beta1:current} -->
65-
</dependency>
66-
<dependency>
67-
<groupId>com.google.api.grpc</groupId>
68-
<artifactId>proto-google-cloud-document-ai-v1beta2</artifactId>
69-
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:proto-google-cloud-document-ai-v1beta2:current} -->
70-
</dependency>
71-
<dependency>
72-
<groupId>com.google.api.grpc</groupId>
73-
<artifactId>grpc-google-cloud-document-ai-v1beta1</artifactId>
74-
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:grpc-google-cloud-document-ai-v1beta1:current} -->
75-
</dependency>
76-
<dependency>
77-
<groupId>com.google.api.grpc</groupId>
78-
<artifactId>grpc-google-cloud-document-ai-v1beta2</artifactId>
79-
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:grpc-google-cloud-document-ai-v1beta2:current} -->
80-
</dependency>
81-
<dependency>
82-
<groupId>com.google.cloud</groupId>
83-
<artifactId>google-cloud-document-ai</artifactId>
84-
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:google-cloud-document-ai:current} -->
85-
</dependency>
86-
</dependencies>
87-
</dependencyManagement>
59+
<dependencyManagement>
60+
<dependencies>
61+
<dependency>
62+
<groupId>com.google.api.grpc</groupId>
63+
<artifactId>proto-google-cloud-document-ai-v1beta1</artifactId>
64+
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:proto-google-cloud-document-ai-v1beta1:current} -->
65+
</dependency>
66+
<dependency>
67+
<groupId>com.google.api.grpc</groupId>
68+
<artifactId>proto-google-cloud-document-ai-v1beta2</artifactId>
69+
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:proto-google-cloud-document-ai-v1beta2:current} -->
70+
</dependency>
71+
<dependency>
72+
<groupId>com.google.api.grpc</groupId>
73+
<artifactId>proto-google-cloud-document-ai-v1beta3</artifactId>
74+
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:proto-google-cloud-document-ai-v1beta3:current} -->
75+
</dependency>
76+
<dependency>
77+
<groupId>com.google.api.grpc</groupId>
78+
<artifactId>grpc-google-cloud-document-ai-v1beta1</artifactId>
79+
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:grpc-google-cloud-document-ai-v1beta1:current} -->
80+
</dependency>
81+
<dependency>
82+
<groupId>com.google.api.grpc</groupId>
83+
<artifactId>grpc-google-cloud-document-ai-v1beta2</artifactId>
84+
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:grpc-google-cloud-document-ai-v1beta2:current} -->
85+
</dependency>
86+
<dependency>
87+
<groupId>com.google.api.grpc</groupId>
88+
<artifactId>grpc-google-cloud-document-ai-v1beta3</artifactId>
89+
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:grpc-google-cloud-document-ai-v1beta3:current} -->
90+
</dependency>
91+
<dependency>
92+
<groupId>com.google.cloud</groupId>
93+
<artifactId>google-cloud-document-ai</artifactId>
94+
<version>0.2.5-SNAPSHOT</version> <!-- {x-version-update:google-cloud-document-ai:current} -->
95+
</dependency>
96+
</dependencies>
97+
</dependencyManagement>
8898

89-
<build>
90-
<plugins>
91-
<plugin>
92-
<groupId>org.apache.maven.plugins</groupId>
93-
<artifactId>maven-checkstyle-plugin</artifactId>
94-
<configuration>
95-
<skip>true</skip>
96-
</configuration>
97-
</plugin>
98-
</plugins>
99-
</build>
99+
<build>
100+
<plugins>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-checkstyle-plugin</artifactId>
104+
<configuration>
105+
<skip>true</skip>
106+
</configuration>
107+
</plugin>
108+
</plugins>
109+
</build>
100110
</project>

google-cloud-document-ai/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
<groupId>com.google.api.grpc</groupId>
5151
<artifactId>proto-google-cloud-document-ai-v1beta2</artifactId>
5252
</dependency>
53+
<dependency>
54+
<groupId>com.google.api.grpc</groupId>
55+
<artifactId>proto-google-cloud-document-ai-v1beta3</artifactId>
56+
</dependency>
5357
<dependency>
5458
<groupId>com.google.guava</groupId>
5559
<artifactId>guava</artifactId>
@@ -83,6 +87,11 @@
8387
<artifactId>grpc-google-cloud-document-ai-v1beta2</artifactId>
8488
<scope>test</scope>
8589
</dependency>
90+
<dependency>
91+
<groupId>com.google.api.grpc</groupId>
92+
<artifactId>grpc-google-cloud-document-ai-v1beta3</artifactId>
93+
<scope>test</scope>
94+
</dependency>
8695

8796
<!-- Need testing utility classes for generated gRPC clients tests -->
8897
<dependency>

0 commit comments

Comments
 (0)