google-cloud-document_ai-v1beta3 0.18.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dcfc57a7ccafe29e077fc24b7bda5f649eca0816673cb7b5bc58298b2a3dda85
4
- data.tar.gz: 8cdb98225c5d9648bf8e5aefce32c7e6579225b1193b11bb76d58b21243fca2d
3
+ metadata.gz: 66c468df9db12ad0d32f31243c0c581cc41d2caaeb6400c97481af10bbe8e33c
4
+ data.tar.gz: eee073b86cbfaeec30f69b2492169e7a38acb327322636f623ea4a85f36c71d6
5
5
  SHA512:
6
- metadata.gz: ed9190ce5a5e089cac8676ac585c6d150e0b761c13fc94fa0b4b3eca0f728a7d933b6f7e73b8e56d4f303c9076589aec7fcdd4af302a748939ab5c9351a4f5d1
7
- data.tar.gz: 793a0abea6968ace9fb988220eebc60dada1096423552e27554a866f8005a893363ce210b422c7683695a200813ccb7abe51ac0f7fc31d13116d15ef2fdc5f5f
6
+ metadata.gz: 73ce56b1b088efe13921b21767f5b702e5e0383de2047231dfa095f94b74edd6132b12fb01765666fad16433f41c16df97cf5c947d2fdee40b3dbe5a014fb769
7
+ data.tar.gz: 611dc1bc7f7f89150374091cae56f1afb23f6849c9a0d5d2e02a25368aa43cec0e4cdf64c83fffcb9fbc0626031c0e699322103b8bf403dde8386612a4f60cf9
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DocumentAI
23
23
  module V1beta3
24
- VERSION = "0.18.0"
24
+ VERSION = "0.19.0"
25
25
  end
26
26
  end
27
27
  end
@@ -254,6 +254,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
254
254
  value :OPERATION_TYPE_UNSPECIFIED, 0
255
255
  value :ADD, 1
256
256
  value :REMOVE, 2
257
+ value :UPDATE, 7
257
258
  value :REPLACE, 3
258
259
  value :EVAL_REQUESTED, 4
259
260
  value :EVAL_APPROVED, 5
@@ -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
- # Replace an element identified by `parent`.
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 `parent`.
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, confidence will be
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. Unique within the context of the document.
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.18.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-01-30 00:00:00.000000000 Z
11
+ date: 2023-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common