google-cloud-document_ai-v1beta3 0.18.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/document_ai/v1beta3/version.rb +1 -1
- data/lib/google/cloud/documentai/v1beta3/document_pb.rb +1 -0
- data/lib/google/cloud/documentai/v1beta3/evaluation_pb.rb +7 -0
- data/lib/google/cloud/documentai/v1beta3/processor_pb.rb +2 -0
- data/proto_docs/google/cloud/documentai/v1beta3/document.rb +16 -7
- data/proto_docs/google/cloud/documentai/v1beta3/evaluation.rb +18 -0
- data/proto_docs/google/cloud/documentai/v1beta3/processor.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66c468df9db12ad0d32f31243c0c581cc41d2caaeb6400c97481af10bbe8e33c
|
4
|
+
data.tar.gz: eee073b86cbfaeec30f69b2492169e7a38acb327322636f623ea4a85f36c71d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73ce56b1b088efe13921b21767f5b702e5e0383de2047231dfa095f94b74edd6132b12fb01765666fad16433f41c16df97cf5c947d2fdee40b3dbe5a014fb769
|
7
|
+
data.tar.gz: 611dc1bc7f7f89150374091cae56f1afb23f6849c9a0d5d2e02a25368aa43cec0e4cdf64c83fffcb9fbc0626031c0e699322103b8bf403dde8386612a4f60cf9
|
@@ -8,6 +8,12 @@ require 'google/protobuf/timestamp_pb'
|
|
8
8
|
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/documentai/v1beta3/evaluation.proto", :syntax => :proto3) do
|
11
|
+
add_message "google.cloud.documentai.v1beta3.EvaluationReference" do
|
12
|
+
optional :operation, :string, 1
|
13
|
+
optional :evaluation, :string, 2
|
14
|
+
optional :aggregate_metrics, :message, 4, "google.cloud.documentai.v1beta3.Evaluation.Metrics"
|
15
|
+
optional :aggregate_metrics_exact, :message, 5, "google.cloud.documentai.v1beta3.Evaluation.Metrics"
|
16
|
+
end
|
11
17
|
add_message "google.cloud.documentai.v1beta3.Evaluation" do
|
12
18
|
optional :name, :string, 1
|
13
19
|
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
@@ -60,6 +66,7 @@ module Google
|
|
60
66
|
module Cloud
|
61
67
|
module DocumentAI
|
62
68
|
module V1beta3
|
69
|
+
EvaluationReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.EvaluationReference").msgclass
|
63
70
|
Evaluation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Evaluation").msgclass
|
64
71
|
Evaluation::Counters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Evaluation.Counters").msgclass
|
65
72
|
Evaluation::Metrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Evaluation.Metrics").msgclass
|
@@ -6,6 +6,7 @@ require 'google/protobuf'
|
|
6
6
|
require 'google/api/field_behavior_pb'
|
7
7
|
require 'google/api/resource_pb'
|
8
8
|
require 'google/cloud/documentai/v1beta3/document_schema_pb'
|
9
|
+
require 'google/cloud/documentai/v1beta3/evaluation_pb'
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
|
11
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -16,6 +17,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
16
17
|
optional :document_schema, :message, 12, "google.cloud.documentai.v1beta3.DocumentSchema"
|
17
18
|
optional :state, :enum, 6, "google.cloud.documentai.v1beta3.ProcessorVersion.State"
|
18
19
|
optional :create_time, :message, 7, "google.protobuf.Timestamp"
|
20
|
+
optional :latest_evaluation, :message, 8, "google.cloud.documentai.v1beta3.EvaluationReference"
|
19
21
|
optional :kms_key_name, :string, 9
|
20
22
|
optional :kms_key_version_name, :string, 10
|
21
23
|
optional :google_managed, :bool, 11
|
@@ -882,17 +882,24 @@ module Google
|
|
882
882
|
# Remove an element identified by `parent`.
|
883
883
|
REMOVE = 2
|
884
884
|
|
885
|
-
#
|
885
|
+
# Updates any fields within the given provenance scope of the message. It
|
886
|
+
# 'overwrites' the fields rather than replacing them. This is
|
887
|
+
# especially relevant when we just want to update a field value of an
|
888
|
+
# entity without also affecting all the child properties.
|
889
|
+
UPDATE = 7
|
890
|
+
|
891
|
+
# Currently unused. Replace an element identified by `parent`.
|
886
892
|
REPLACE = 3
|
887
893
|
|
888
|
-
# Request human review for the element identified by
|
894
|
+
# Deprecated. Request human review for the element identified by
|
895
|
+
# `parent`.
|
889
896
|
EVAL_REQUESTED = 4
|
890
897
|
|
891
|
-
# Element is reviewed and approved at human review,
|
892
|
-
# set to 1.0.
|
898
|
+
# Deprecated. Element is reviewed and approved at human review,
|
899
|
+
# confidence will be set to 1.0.
|
893
900
|
EVAL_APPROVED = 5
|
894
901
|
|
895
|
-
# Element is skipped in the validation process.
|
902
|
+
# Deprecated. Element is skipped in the validation process.
|
896
903
|
EVAL_SKIPPED = 6
|
897
904
|
end
|
898
905
|
end
|
@@ -908,7 +915,8 @@ module Google
|
|
908
915
|
# resource name.
|
909
916
|
# @!attribute [rw] id
|
910
917
|
# @return [::String]
|
911
|
-
# Id of the revision
|
918
|
+
# Id of the revision, internally generated by doc proto storage.
|
919
|
+
# Unique within the context of the document.
|
912
920
|
# @!attribute [rw] parent
|
913
921
|
# @return [::Array<::Integer>]
|
914
922
|
# The revisions that this revision is based on. This can include one or
|
@@ -921,7 +929,8 @@ module Google
|
|
921
929
|
# `provenance.parent.revision` fields that index into this field.
|
922
930
|
# @!attribute [rw] create_time
|
923
931
|
# @return [::Google::Protobuf::Timestamp]
|
924
|
-
# The time that the revision was created
|
932
|
+
# The time that the revision was created, internally generated by
|
933
|
+
# doc proto storage at the time of create.
|
925
934
|
# @!attribute [rw] human_review
|
926
935
|
# @return [::Google::Cloud::DocumentAI::V1beta3::Document::Revision::HumanReview]
|
927
936
|
# Human Review information of this revision.
|
@@ -21,6 +21,24 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module DocumentAI
|
23
23
|
module V1beta3
|
24
|
+
# Gives a short summary of an evaluation, and links to the evaluation itself.
|
25
|
+
# @!attribute [rw] operation
|
26
|
+
# @return [::String]
|
27
|
+
# The resource name of the Long Running Operation for the evaluation.
|
28
|
+
# @!attribute [rw] evaluation
|
29
|
+
# @return [::String]
|
30
|
+
# The resource name of the evaluation.
|
31
|
+
# @!attribute [rw] aggregate_metrics
|
32
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::Evaluation::Metrics]
|
33
|
+
# An aggregate of the statistics for the evaluation with fuzzy matching on.
|
34
|
+
# @!attribute [rw] aggregate_metrics_exact
|
35
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::Evaluation::Metrics]
|
36
|
+
# An aggregate of the statistics for the evaluation with fuzzy matching off.
|
37
|
+
class EvaluationReference
|
38
|
+
include ::Google::Protobuf::MessageExts
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
40
|
+
end
|
41
|
+
|
24
42
|
# An evaluation of a ProcessorVersion's performance.
|
25
43
|
# @!attribute [rw] name
|
26
44
|
# @return [::String]
|
@@ -43,6 +43,9 @@ module Google
|
|
43
43
|
# @!attribute [rw] create_time
|
44
44
|
# @return [::Google::Protobuf::Timestamp]
|
45
45
|
# The time the processor version was created.
|
46
|
+
# @!attribute [rw] latest_evaluation
|
47
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::EvaluationReference]
|
48
|
+
# The most recently invoked evaluation for the processor version.
|
46
49
|
# @!attribute [rw] kms_key_name
|
47
50
|
# @return [::String]
|
48
51
|
# The KMS key name used for encryption.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-document_ai-v1beta3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|