google-apis-documentai_v1beta2 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 498f628957dbb456e810763a9623bc3a174c0ad93fbac5583dce1a691cd8b581
4
- data.tar.gz: 984f0f3c1dc4340c83d67f21219356c58d56cdb0946ce68e0815381b7ca9555f
3
+ metadata.gz: 4084420ad4d1c5ba10422242bf34b34657a608e6a48e7be9d2633f72280d9abf
4
+ data.tar.gz: 22ea48df89f154961ed358ecc1554c70c0f1f68f42734634fb54323ff9d370aa
5
5
  SHA512:
6
- metadata.gz: 6ac5a72b381d5de35168fc7a85ea44fdabb17f5bff3ff99f23fd4c3adcec2c3132357f270aaf5bb14833eb6de52ceaed610d2972f1ec438a29baf14ae1617445
7
- data.tar.gz: 9d810dd62687a26d2174c1169cf23f009f7606a231ca88b273bd7660852596f337d23b32b9043b0e317ec5dc963b6eee9f0a235b6ff97fb733c6e65d047d7c67
6
+ metadata.gz: ee046841db5de36868c93cd734025b627c370425002864d45ba7bb8caac17bc87a61786513bc675b1efe8c809435336bc428fb0fcd0b0bb084071ce8a32fcfc4
7
+ data.tar.gz: 4dcab13447f2a6f7cc2d26908bd5d88affe26fc627e1b01c57fe8d0e4ba91abaa224dc15bf0dd3fec61dc1c56493d4a246cff26d029ac4127b66966536a6d3c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.2.0 (2021-02-03)
4
+
5
+ * Regenerated from discovery document revision 20210201
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated from discovery document revision 20201231
@@ -233,6 +233,189 @@ module Google
233
233
  end
234
234
  end
235
235
 
236
+ # Metadata of the EvaluateProcessorVersion method.
237
+ class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata
238
+ include Google::Apis::Core::Hashable
239
+
240
+ # The common metadata for long running operations.
241
+ # Corresponds to the JSON property `commonMetadata`
242
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
243
+ attr_accessor :common_metadata
244
+
245
+ def initialize(**args)
246
+ update!(**args)
247
+ end
248
+
249
+ # Update properties of this object
250
+ def update!(**args)
251
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
252
+ end
253
+ end
254
+
255
+ # Metadata of the EvaluateProcessorVersion method.
256
+ class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse
257
+ include Google::Apis::Core::Hashable
258
+
259
+ # An evaluation of a ProcessorVersion's performance.
260
+ # Corresponds to the JSON property `evaluation`
261
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Evaluation]
262
+ attr_accessor :evaluation
263
+
264
+ def initialize(**args)
265
+ update!(**args)
266
+ end
267
+
268
+ # Update properties of this object
269
+ def update!(**args)
270
+ @evaluation = args[:evaluation] if args.key?(:evaluation)
271
+ end
272
+ end
273
+
274
+ # An evaluation of a ProcessorVersion's performance.
275
+ class GoogleCloudDocumentaiUiv1beta3Evaluation
276
+ include Google::Apis::Core::Hashable
277
+
278
+ # Metrics across multiple confidence levels.
279
+ # Corresponds to the JSON property `allEntitiesMetrics`
280
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics]
281
+ attr_accessor :all_entities_metrics
282
+
283
+ # The time that the evaluation was created.
284
+ # Corresponds to the JSON property `createTime`
285
+ # @return [String]
286
+ attr_accessor :create_time
287
+
288
+ # Metrics across confidence levels, for different entities.
289
+ # Corresponds to the JSON property `entityMetrics`
290
+ # @return [Hash<String,Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics>]
291
+ attr_accessor :entity_metrics
292
+
293
+ # The resource name of the evaluation. Format: projects/`project`/locations/`
294
+ # location`/processors/`processor`/processorVersions/`processor_version`/
295
+ # evaluations/`evaluation`
296
+ # Corresponds to the JSON property `name`
297
+ # @return [String]
298
+ attr_accessor :name
299
+
300
+ def initialize(**args)
301
+ update!(**args)
302
+ end
303
+
304
+ # Update properties of this object
305
+ def update!(**args)
306
+ @all_entities_metrics = args[:all_entities_metrics] if args.key?(:all_entities_metrics)
307
+ @create_time = args[:create_time] if args.key?(:create_time)
308
+ @entity_metrics = args[:entity_metrics] if args.key?(:entity_metrics)
309
+ @name = args[:name] if args.key?(:name)
310
+ end
311
+ end
312
+
313
+ # Evaluations metrics, at a specific confidence level.
314
+ class GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics
315
+ include Google::Apis::Core::Hashable
316
+
317
+ # The confidence level.
318
+ # Corresponds to the JSON property `confidenceLevel`
319
+ # @return [Float]
320
+ attr_accessor :confidence_level
321
+
322
+ # Evaluation metrics, either in aggregate or about a specific entity.
323
+ # Corresponds to the JSON property `metrics`
324
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics]
325
+ attr_accessor :metrics
326
+
327
+ def initialize(**args)
328
+ update!(**args)
329
+ end
330
+
331
+ # Update properties of this object
332
+ def update!(**args)
333
+ @confidence_level = args[:confidence_level] if args.key?(:confidence_level)
334
+ @metrics = args[:metrics] if args.key?(:metrics)
335
+ end
336
+ end
337
+
338
+ # Evaluation metrics, either in aggregate or about a specific entity.
339
+ class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics
340
+ include Google::Apis::Core::Hashable
341
+
342
+ # The calculated f1 score.
343
+ # Corresponds to the JSON property `f1Score`
344
+ # @return [Float]
345
+ attr_accessor :f1_score
346
+
347
+ # The calculated precision.
348
+ # Corresponds to the JSON property `precision`
349
+ # @return [Float]
350
+ attr_accessor :precision
351
+
352
+ # The calculated recall.
353
+ # Corresponds to the JSON property `recall`
354
+ # @return [Float]
355
+ attr_accessor :recall
356
+
357
+ def initialize(**args)
358
+ update!(**args)
359
+ end
360
+
361
+ # Update properties of this object
362
+ def update!(**args)
363
+ @f1_score = args[:f1_score] if args.key?(:f1_score)
364
+ @precision = args[:precision] if args.key?(:precision)
365
+ @recall = args[:recall] if args.key?(:recall)
366
+ end
367
+ end
368
+
369
+ # Metrics across multiple confidence levels.
370
+ class GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics
371
+ include Google::Apis::Core::Hashable
372
+
373
+ # Metrics across confidence levels.
374
+ # Corresponds to the JSON property `confidenceLevelMetrics`
375
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics>]
376
+ attr_accessor :confidence_level_metrics
377
+
378
+ def initialize(**args)
379
+ update!(**args)
380
+ end
381
+
382
+ # Update properties of this object
383
+ def update!(**args)
384
+ @confidence_level_metrics = args[:confidence_level_metrics] if args.key?(:confidence_level_metrics)
385
+ end
386
+ end
387
+
388
+ # Gives a short summary of an evaluation, and links to the evaluation itself.
389
+ class GoogleCloudDocumentaiUiv1beta3EvaluationReference
390
+ include Google::Apis::Core::Hashable
391
+
392
+ # Evaluation metrics, either in aggregate or about a specific entity.
393
+ # Corresponds to the JSON property `aggregateMetrics`
394
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics]
395
+ attr_accessor :aggregate_metrics
396
+
397
+ # The resource name of the evaluation.
398
+ # Corresponds to the JSON property `evaluation`
399
+ # @return [String]
400
+ attr_accessor :evaluation
401
+
402
+ # The resource name of the Long Running Operation for the evaluation.
403
+ # Corresponds to the JSON property `operation`
404
+ # @return [String]
405
+ attr_accessor :operation
406
+
407
+ def initialize(**args)
408
+ update!(**args)
409
+ end
410
+
411
+ # Update properties of this object
412
+ def update!(**args)
413
+ @aggregate_metrics = args[:aggregate_metrics] if args.key?(:aggregate_metrics)
414
+ @evaluation = args[:evaluation] if args.key?(:evaluation)
415
+ @operation = args[:operation] if args.key?(:operation)
416
+ end
417
+ end
418
+
236
419
  # A processor version is an implementation of a processor. Each processor can
237
420
  # have multiple versions, pre-trained by Google internally or up-trained by the
238
421
  # customer. At a time, a processor can only have one default version version. So
@@ -251,6 +434,11 @@ module Google
251
434
  # @return [String]
252
435
  attr_accessor :display_name
253
436
 
437
+ # Gives a short summary of an evaluation, and links to the evaluation itself.
438
+ # Corresponds to the JSON property `latestEvaluation`
439
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationReference]
440
+ attr_accessor :latest_evaluation
441
+
254
442
  # The resource name of the processor version. Format: projects/`project`/
255
443
  # locations/`location`/processors/`processor`/processorVersions/`
256
444
  # processor_version`
@@ -276,6 +464,7 @@ module Google
276
464
  def update!(**args)
277
465
  @create_time = args[:create_time] if args.key?(:create_time)
278
466
  @display_name = args[:display_name] if args.key?(:display_name)
467
+ @latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
279
468
  @name = args[:name] if args.key?(:name)
280
469
  @schema = args[:schema] if args.key?(:schema)
281
470
  @state = args[:state] if args.key?(:state)
@@ -532,13 +721,10 @@ module Google
532
721
  class GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus
533
722
  include Google::Apis::Core::Hashable
534
723
 
535
- # The name of the operation triggered by the processed document. If the human
536
- # review process is not triggered, this field will be empty. It has the same
537
- # response type and metadata as the long running operation returned by
538
- # ReviewDocument method.
539
- # Corresponds to the JSON property `humanReviewOperation`
540
- # @return [String]
541
- attr_accessor :human_review_operation
724
+ # The status of human review on a processed document.
725
+ # Corresponds to the JSON property `humanReviewStatus`
726
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1HumanReviewStatus]
727
+ attr_accessor :human_review_status
542
728
 
543
729
  # The source of the document, same as the [input_gcs_source] field in the
544
730
  # request when the batch process started. The batch process is started by take
@@ -570,7 +756,7 @@ module Google
570
756
 
571
757
  # Update properties of this object
572
758
  def update!(**args)
573
- @human_review_operation = args[:human_review_operation] if args.key?(:human_review_operation)
759
+ @human_review_status = args[:human_review_status] if args.key?(:human_review_status)
574
760
  @input_gcs_source = args[:input_gcs_source] if args.key?(:input_gcs_source)
575
761
  @output_gcs_destination = args[:output_gcs_destination] if args.key?(:output_gcs_destination)
576
762
  @status = args[:status] if args.key?(:status)
@@ -627,6 +813,39 @@ module Google
627
813
  end
628
814
  end
629
815
 
816
+ # The status of human review on a processed document.
817
+ class GoogleCloudDocumentaiV1HumanReviewStatus
818
+ include Google::Apis::Core::Hashable
819
+
820
+ # The name of the operation triggered by the processed document. Non-empty only
821
+ # when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has the same response type
822
+ # and metadata as the long running operation returned by [ReviewDocument] method.
823
+ # Corresponds to the JSON property `humanReviewOperation`
824
+ # @return [String]
825
+ attr_accessor :human_review_operation
826
+
827
+ # The state of human review on the processing request.
828
+ # Corresponds to the JSON property `state`
829
+ # @return [String]
830
+ attr_accessor :state
831
+
832
+ # A message providing more details about the human review state.
833
+ # Corresponds to the JSON property `stateMessage`
834
+ # @return [String]
835
+ attr_accessor :state_message
836
+
837
+ def initialize(**args)
838
+ update!(**args)
839
+ end
840
+
841
+ # Update properties of this object
842
+ def update!(**args)
843
+ @human_review_operation = args[:human_review_operation] if args.key?(:human_review_operation)
844
+ @state = args[:state] if args.key?(:state)
845
+ @state_message = args[:state_message] if args.key?(:state_message)
846
+ end
847
+ end
848
+
630
849
  # The long running operation metadata for review document method.
631
850
  class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
632
851
  include Google::Apis::Core::Hashable
@@ -4442,11 +4661,16 @@ module Google
4442
4661
  # The name of the operation triggered by the processed document. If the human
4443
4662
  # review process is not triggered, this field will be empty. It has the same
4444
4663
  # response type and metadata as the long running operation returned by
4445
- # ReviewDocument method.
4664
+ # ReviewDocument method. .
4446
4665
  # Corresponds to the JSON property `humanReviewOperation`
4447
4666
  # @return [String]
4448
4667
  attr_accessor :human_review_operation
4449
4668
 
4669
+ # The status of human review on a processed document.
4670
+ # Corresponds to the JSON property `humanReviewStatus`
4671
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3HumanReviewStatus]
4672
+ attr_accessor :human_review_status
4673
+
4450
4674
  # The source of the document, same as the [input_gcs_source] field in the
4451
4675
  # request when the batch process started. The batch process is started by take
4452
4676
  # snapshot of that document, since a user can move or change that document
@@ -4478,6 +4702,7 @@ module Google
4478
4702
  # Update properties of this object
4479
4703
  def update!(**args)
4480
4704
  @human_review_operation = args[:human_review_operation] if args.key?(:human_review_operation)
4705
+ @human_review_status = args[:human_review_status] if args.key?(:human_review_status)
4481
4706
  @input_gcs_source = args[:input_gcs_source] if args.key?(:input_gcs_source)
4482
4707
  @output_gcs_destination = args[:output_gcs_destination] if args.key?(:output_gcs_destination)
4483
4708
  @status = args[:status] if args.key?(:status)
@@ -4534,6 +4759,39 @@ module Google
4534
4759
  end
4535
4760
  end
4536
4761
 
4762
+ # The status of human review on a processed document.
4763
+ class GoogleCloudDocumentaiV1beta3HumanReviewStatus
4764
+ include Google::Apis::Core::Hashable
4765
+
4766
+ # The name of the operation triggered by the processed document. Non-empty only
4767
+ # when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has the same response type
4768
+ # and metadata as the long running operation returned by [ReviewDocument] method.
4769
+ # Corresponds to the JSON property `humanReviewOperation`
4770
+ # @return [String]
4771
+ attr_accessor :human_review_operation
4772
+
4773
+ # The state of human review on the processing request.
4774
+ # Corresponds to the JSON property `state`
4775
+ # @return [String]
4776
+ attr_accessor :state
4777
+
4778
+ # A message providing more details about the human review state.
4779
+ # Corresponds to the JSON property `stateMessage`
4780
+ # @return [String]
4781
+ attr_accessor :state_message
4782
+
4783
+ def initialize(**args)
4784
+ update!(**args)
4785
+ end
4786
+
4787
+ # Update properties of this object
4788
+ def update!(**args)
4789
+ @human_review_operation = args[:human_review_operation] if args.key?(:human_review_operation)
4790
+ @state = args[:state] if args.key?(:state)
4791
+ @state_message = args[:state_message] if args.key?(:state_message)
4792
+ end
4793
+ end
4794
+
4537
4795
  # The long running operation metadata for review document method.
4538
4796
  class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
4539
4797
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta2
18
18
  # Version of the google-apis-documentai_v1beta2 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201231"
25
+ REVISION = "20210201"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,48 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudDocumentaiUiv1beta3Evaluation
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleCloudDocumentaiUiv1beta3EvaluationReference
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
91
133
  class GoogleCloudDocumentaiUiv1beta3ProcessorVersion
92
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
135
 
@@ -166,6 +208,12 @@ module Google
166
208
  include Google::Apis::Core::JsonObjectSupport
167
209
  end
168
210
 
211
+ class GoogleCloudDocumentaiV1HumanReviewStatus
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
169
217
  class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
170
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
219
 
@@ -778,6 +826,12 @@ module Google
778
826
  include Google::Apis::Core::JsonObjectSupport
779
827
  end
780
828
 
829
+ class GoogleCloudDocumentaiV1beta3HumanReviewStatus
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
781
835
  class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
782
836
  class Representation < Google::Apis::Core::JsonRepresentation; end
783
837
 
@@ -928,11 +982,77 @@ module Google
928
982
  end
929
983
  end
930
984
 
985
+ class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata
986
+ # @private
987
+ class Representation < Google::Apis::Core::JsonRepresentation
988
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
989
+
990
+ end
991
+ end
992
+
993
+ class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse
994
+ # @private
995
+ class Representation < Google::Apis::Core::JsonRepresentation
996
+ property :evaluation, as: 'evaluation', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Evaluation, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Evaluation::Representation
997
+
998
+ end
999
+ end
1000
+
1001
+ class GoogleCloudDocumentaiUiv1beta3Evaluation
1002
+ # @private
1003
+ class Representation < Google::Apis::Core::JsonRepresentation
1004
+ property :all_entities_metrics, as: 'allEntitiesMetrics', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics::Representation
1005
+
1006
+ property :create_time, as: 'createTime'
1007
+ hash :entity_metrics, as: 'entityMetrics', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics::Representation
1008
+
1009
+ property :name, as: 'name'
1010
+ end
1011
+ end
1012
+
1013
+ class GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics
1014
+ # @private
1015
+ class Representation < Google::Apis::Core::JsonRepresentation
1016
+ property :confidence_level, as: 'confidenceLevel'
1017
+ property :metrics, as: 'metrics', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics::Representation
1018
+
1019
+ end
1020
+ end
1021
+
1022
+ class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics
1023
+ # @private
1024
+ class Representation < Google::Apis::Core::JsonRepresentation
1025
+ property :f1_score, as: 'f1Score'
1026
+ property :precision, as: 'precision'
1027
+ property :recall, as: 'recall'
1028
+ end
1029
+ end
1030
+
1031
+ class GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics
1032
+ # @private
1033
+ class Representation < Google::Apis::Core::JsonRepresentation
1034
+ collection :confidence_level_metrics, as: 'confidenceLevelMetrics', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics::Representation
1035
+
1036
+ end
1037
+ end
1038
+
1039
+ class GoogleCloudDocumentaiUiv1beta3EvaluationReference
1040
+ # @private
1041
+ class Representation < Google::Apis::Core::JsonRepresentation
1042
+ property :aggregate_metrics, as: 'aggregateMetrics', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics::Representation
1043
+
1044
+ property :evaluation, as: 'evaluation'
1045
+ property :operation, as: 'operation'
1046
+ end
1047
+ end
1048
+
931
1049
  class GoogleCloudDocumentaiUiv1beta3ProcessorVersion
932
1050
  # @private
933
1051
  class Representation < Google::Apis::Core::JsonRepresentation
934
1052
  property :create_time, as: 'createTime'
935
1053
  property :display_name, as: 'displayName'
1054
+ property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationReference::Representation
1055
+
936
1056
  property :name, as: 'name'
937
1057
  property :schema, as: 'schema', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Schema, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Schema::Representation
938
1058
 
@@ -1024,7 +1144,8 @@ module Google
1024
1144
  class GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus
1025
1145
  # @private
1026
1146
  class Representation < Google::Apis::Core::JsonRepresentation
1027
- property :human_review_operation, as: 'humanReviewOperation'
1147
+ property :human_review_status, as: 'humanReviewStatus', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1HumanReviewStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1HumanReviewStatus::Representation
1148
+
1028
1149
  property :input_gcs_source, as: 'inputGcsSource'
1029
1150
  property :output_gcs_destination, as: 'outputGcsDestination'
1030
1151
  property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
@@ -1048,6 +1169,15 @@ module Google
1048
1169
  end
1049
1170
  end
1050
1171
 
1172
+ class GoogleCloudDocumentaiV1HumanReviewStatus
1173
+ # @private
1174
+ class Representation < Google::Apis::Core::JsonRepresentation
1175
+ property :human_review_operation, as: 'humanReviewOperation'
1176
+ property :state, as: 'state'
1177
+ property :state_message, as: 'stateMessage'
1178
+ end
1179
+ end
1180
+
1051
1181
  class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
1052
1182
  # @private
1053
1183
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2161,6 +2291,8 @@ module Google
2161
2291
  # @private
2162
2292
  class Representation < Google::Apis::Core::JsonRepresentation
2163
2293
  property :human_review_operation, as: 'humanReviewOperation'
2294
+ property :human_review_status, as: 'humanReviewStatus', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3HumanReviewStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3HumanReviewStatus::Representation
2295
+
2164
2296
  property :input_gcs_source, as: 'inputGcsSource'
2165
2297
  property :output_gcs_destination, as: 'outputGcsDestination'
2166
2298
  property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
@@ -2184,6 +2316,15 @@ module Google
2184
2316
  end
2185
2317
  end
2186
2318
 
2319
+ class GoogleCloudDocumentaiV1beta3HumanReviewStatus
2320
+ # @private
2321
+ class Representation < Google::Apis::Core::JsonRepresentation
2322
+ property :human_review_operation, as: 'humanReviewOperation'
2323
+ property :state, as: 'state'
2324
+ property :state_message, as: 'stateMessage'
2325
+ end
2326
+ end
2327
+
2187
2328
  class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
2188
2329
  # @private
2189
2330
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Document AI API V1beta2