Skip to content

Commit

Permalink
feat: [documentai] Added EvaluationReference to evaluation.proto (#9085)
Browse files Browse the repository at this point in the history
* feat: Added EvaluationReference to evaluation.proto
feat: Added latest_evaluation to processor.proto
chore!: Updated TrainProcessorVersion parent to correctly be a Processor, rather than ProcessorVersion

BREAKING CHANGE: The TrainProcessorVersion parent was incorrectly annotated.

PiperOrigin-RevId: 507577968

Source-Link: googleapis/googleapis@a2cdee8

Source-Link: https://github.com/googleapis/googleapis-gen/commit/68cd7fe32bd4387195a27b605b032ca1f5071222
Copy-Tag: eyJwIjoiamF2YS1kb2N1bWVudC1haS8uT3dsQm90LnlhbWwiLCJoIjoiNjhjZDdmZTMyYmQ0Mzg3MTk1YTI3YjYwNWIwMzJjYTFmNTA3MTIyMiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Feb 7, 2023
1 parent e1eb2e9 commit 935443d
Show file tree
Hide file tree
Showing 16 changed files with 2,416 additions and 466 deletions.
6 changes: 3 additions & 3 deletions java-document-ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-document-ai</artifactId>
<version>2.13.0</version>
<version>2.14.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-document-ai:2.13.0'
implementation 'com.google.cloud:google-cloud-document-ai:2.14.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.13.0"
libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.14.0"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,7 @@ public void getProcessorVersionTest() throws Exception {
.setDisplayName("displayName1714148973")
.setDocumentSchema(DocumentSchema.newBuilder().build())
.setCreateTime(Timestamp.newBuilder().build())
.setLatestEvaluation(EvaluationReference.newBuilder().build())
.setKmsKeyName("kmsKeyName412586233")
.setKmsKeyVersionName("kmsKeyVersionName-1798811307")
.setGoogleManaged(true)
Expand Down Expand Up @@ -942,6 +943,7 @@ public void getProcessorVersionTest2() throws Exception {
.setDisplayName("displayName1714148973")
.setDocumentSchema(DocumentSchema.newBuilder().build())
.setCreateTime(Timestamp.newBuilder().build())
.setLatestEvaluation(EvaluationReference.newBuilder().build())
.setKmsKeyName("kmsKeyName412586233")
.setKmsKeyVersionName("kmsKeyVersionName-1798811307")
.setGoogleManaged(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ public void getProcessorVersionTest() throws Exception {
.setDisplayName("displayName1714148973")
.setDocumentSchema(DocumentSchema.newBuilder().build())
.setCreateTime(Timestamp.newBuilder().build())
.setLatestEvaluation(EvaluationReference.newBuilder().build())
.setKmsKeyName("kmsKeyName412586233")
.setKmsKeyVersionName("kmsKeyVersionName-1798811307")
.setGoogleManaged(true)
Expand Down Expand Up @@ -862,6 +863,7 @@ public void getProcessorVersionTest2() throws Exception {
.setDisplayName("displayName1714148973")
.setDocumentSchema(DocumentSchema.newBuilder().build())
.setCreateTime(Timestamp.newBuilder().build())
.setLatestEvaluation(EvaluationReference.newBuilder().build())
.setKmsKeyName("kmsKeyName412586233")
.setKmsKeyVersionName("kmsKeyVersionName-1798811307")
.setGoogleManaged(true)
Expand Down
Loading

0 comments on commit 935443d

Please sign in to comment.