google-apis-documentai_v1beta3 0.61.0 → 0.63.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: 23635066af827d96b67103d60dba12086d95a5f9dd6c046a8423edff6f350303
4
- data.tar.gz: 060a55a4f1ec571f04e4b8dc7529e73eb47a465abb6e7c7fbd2308f93db160b5
3
+ metadata.gz: 6d2b2d3a07a44947d5b0746a37cb9f45c1ed068dc266ddde3e96d7ebafb2259f
4
+ data.tar.gz: 1ef3734bc7bd7ab6d87a2a632b4469a60079ce643c8d5bf13cc42f92faf07da4
5
5
  SHA512:
6
- metadata.gz: 8a83ff07ef07c2437d51bdb49da67b3bf8562db3705e11de2d3e823a999ef268d28526f37c4d62e3c7021160755187c935a555d8fb8dd8adf25386e5f22b6b13
7
- data.tar.gz: 06e3093628527e46612e6ca9990807aa58ba6805a33ff3399af4d8efd2b696cb460d687df2221540391e518fb3ef48830553bd415b7fd743a091b2048132f3fb
6
+ metadata.gz: e59290c4088fe6adde181210b9d4355c59c15cfc6d9d5c2a0e1e453cfc4543d50d76f1f7c5013f3cfbcf8cad35589a549c214beb99e347b6861793e7593af5fb
7
+ data.tar.gz: 5f84acd3c85098a320c1841af16e1e82f1d4de6f399c971e7048ae2a1f8b52dca68ce074b353116a8d7d801c8fe55a648fda5597930fa27b9bcad1bbca0b0894
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.63.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230202
6
+
7
+ ### v0.62.0 (2023-01-29)
8
+
9
+ * Regenerated from discovery document revision 20230120
10
+
3
11
  ### v0.61.0 (2023-01-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20230113
@@ -244,25 +244,6 @@ module Google
244
244
  end
245
245
  end
246
246
 
247
- # The long running operation metadata for DeleteDataLabelingJob.
248
- class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
249
- include Google::Apis::Core::Hashable
250
-
251
- # The common metadata for long running operations.
252
- # Corresponds to the JSON property `commonMetadata`
253
- # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
254
- attr_accessor :common_metadata
255
-
256
- def initialize(**args)
257
- update!(**args)
258
- end
259
-
260
- # Update properties of this object
261
- def update!(**args)
262
- @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
263
- end
264
- end
265
-
266
247
  # The long running operation metadata for DeleteLabelerPool.
267
248
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
268
249
  include Google::Apis::Core::Hashable
@@ -400,11 +381,6 @@ module Google
400
381
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef]
401
382
  attr_accessor :revision_ref
402
383
 
403
- # The revision reference specifies which revision on the document to read.
404
- # Corresponds to the JSON property `revisionReference`
405
- # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference]
406
- attr_accessor :revision_reference
407
-
408
384
  def initialize(**args)
409
385
  update!(**args)
410
386
  end
@@ -413,7 +389,6 @@ module Google
413
389
  def update!(**args)
414
390
  @gcs_managed_doc_id = args[:gcs_managed_doc_id] if args.key?(:gcs_managed_doc_id)
415
391
  @revision_ref = args[:revision_ref] if args.key?(:revision_ref)
416
- @revision_reference = args[:revision_reference] if args.key?(:revision_reference)
417
392
  end
418
393
  end
419
394
 
@@ -777,6 +752,44 @@ module Google
777
752
  end
778
753
  end
779
754
 
755
+ # The long running operation metadata for the ImportProcessorVersion method.
756
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata
757
+ include Google::Apis::Core::Hashable
758
+
759
+ # The common metadata for long running operations.
760
+ # Corresponds to the JSON property `commonMetadata`
761
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
762
+ attr_accessor :common_metadata
763
+
764
+ def initialize(**args)
765
+ update!(**args)
766
+ end
767
+
768
+ # Update properties of this object
769
+ def update!(**args)
770
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
771
+ end
772
+ end
773
+
774
+ # The response message for the ImportProcessorVersion method.
775
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse
776
+ include Google::Apis::Core::Hashable
777
+
778
+ # The destination processor version name.
779
+ # Corresponds to the JSON property `processorVersion`
780
+ # @return [String]
781
+ attr_accessor :processor_version
782
+
783
+ def initialize(**args)
784
+ update!(**args)
785
+ end
786
+
787
+ # Update properties of this object
788
+ def update!(**args)
789
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
790
+ end
791
+ end
792
+
780
793
  # The metadata proto of ResyncDataset method.
781
794
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
782
795
  include Google::Apis::Core::Hashable
@@ -922,37 +935,6 @@ module Google
922
935
  end
923
936
  end
924
937
 
925
- # The revision reference specifies which revision on the document to read.
926
- class GoogleCloudDocumentaiUiv1beta3RevisionReference
927
- include Google::Apis::Core::Hashable
928
-
929
- # Reads the revision generated by the processor version.
930
- # Corresponds to the JSON property `latestProcessorVersion`
931
- # @return [String]
932
- attr_accessor :latest_processor_version
933
-
934
- # Reads the revision by the predefined case.
935
- # Corresponds to the JSON property `revisionCase`
936
- # @return [String]
937
- attr_accessor :revision_case
938
-
939
- # Reads the revision given by the id.
940
- # Corresponds to the JSON property `revisionId`
941
- # @return [String]
942
- attr_accessor :revision_id
943
-
944
- def initialize(**args)
945
- update!(**args)
946
- end
947
-
948
- # Update properties of this object
949
- def update!(**args)
950
- @latest_processor_version = args[:latest_processor_version] if args.key?(:latest_processor_version)
951
- @revision_case = args[:revision_case] if args.key?(:revision_case)
952
- @revision_id = args[:revision_id] if args.key?(:revision_id)
953
- end
954
- end
955
-
956
938
  # The long running operation metadata for set default processor version method.
957
939
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
958
940
  include Google::Apis::Core::Hashable
@@ -1450,6 +1432,44 @@ module Google
1450
1432
  end
1451
1433
  end
1452
1434
 
1435
+ # Metadata of the EvaluateProcessorVersion method.
1436
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata
1437
+ include Google::Apis::Core::Hashable
1438
+
1439
+ # The common metadata for long running operations.
1440
+ # Corresponds to the JSON property `commonMetadata`
1441
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1CommonOperationMetadata]
1442
+ attr_accessor :common_metadata
1443
+
1444
+ def initialize(**args)
1445
+ update!(**args)
1446
+ end
1447
+
1448
+ # Update properties of this object
1449
+ def update!(**args)
1450
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1451
+ end
1452
+ end
1453
+
1454
+ # Metadata of the EvaluateProcessorVersion method.
1455
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse
1456
+ include Google::Apis::Core::Hashable
1457
+
1458
+ # The resource name of the created evaluation.
1459
+ # Corresponds to the JSON property `evaluation`
1460
+ # @return [String]
1461
+ attr_accessor :evaluation
1462
+
1463
+ def initialize(**args)
1464
+ update!(**args)
1465
+ end
1466
+
1467
+ # Update properties of this object
1468
+ def update!(**args)
1469
+ @evaluation = args[:evaluation] if args.key?(:evaluation)
1470
+ end
1471
+ end
1472
+
1453
1473
  # The status of human review on a processed document.
1454
1474
  class GoogleCloudDocumentaiV1HumanReviewStatus
1455
1475
  include Google::Apis::Core::Hashable
@@ -1573,6 +1593,99 @@ module Google
1573
1593
  end
1574
1594
  end
1575
1595
 
1596
+ # The metadata that represents a processor version being created.
1597
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata
1598
+ include Google::Apis::Core::Hashable
1599
+
1600
+ # The common metadata for long running operations.
1601
+ # Corresponds to the JSON property `commonMetadata`
1602
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1CommonOperationMetadata]
1603
+ attr_accessor :common_metadata
1604
+
1605
+ # The dataset validation information. This includes any and all errors with
1606
+ # documents and the dataset.
1607
+ # Corresponds to the JSON property `testDatasetValidation`
1608
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation]
1609
+ attr_accessor :test_dataset_validation
1610
+
1611
+ # The dataset validation information. This includes any and all errors with
1612
+ # documents and the dataset.
1613
+ # Corresponds to the JSON property `trainingDatasetValidation`
1614
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation]
1615
+ attr_accessor :training_dataset_validation
1616
+
1617
+ def initialize(**args)
1618
+ update!(**args)
1619
+ end
1620
+
1621
+ # Update properties of this object
1622
+ def update!(**args)
1623
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1624
+ @test_dataset_validation = args[:test_dataset_validation] if args.key?(:test_dataset_validation)
1625
+ @training_dataset_validation = args[:training_dataset_validation] if args.key?(:training_dataset_validation)
1626
+ end
1627
+ end
1628
+
1629
+ # The dataset validation information. This includes any and all errors with
1630
+ # documents and the dataset.
1631
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation
1632
+ include Google::Apis::Core::Hashable
1633
+
1634
+ # The total number of dataset errors.
1635
+ # Corresponds to the JSON property `datasetErrorCount`
1636
+ # @return [Fixnum]
1637
+ attr_accessor :dataset_error_count
1638
+
1639
+ # Error information for the dataset as a whole. A maximum of 10 dataset errors
1640
+ # will be returned. A single dataset error is terminal for training.
1641
+ # Corresponds to the JSON property `datasetErrors`
1642
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleRpcStatus>]
1643
+ attr_accessor :dataset_errors
1644
+
1645
+ # The total number of document errors.
1646
+ # Corresponds to the JSON property `documentErrorCount`
1647
+ # @return [Fixnum]
1648
+ attr_accessor :document_error_count
1649
+
1650
+ # Error information pertaining to specific documents. A maximum of 10 document
1651
+ # errors will be returned. Any document with errors will not be used throughout
1652
+ # training.
1653
+ # Corresponds to the JSON property `documentErrors`
1654
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleRpcStatus>]
1655
+ attr_accessor :document_errors
1656
+
1657
+ def initialize(**args)
1658
+ update!(**args)
1659
+ end
1660
+
1661
+ # Update properties of this object
1662
+ def update!(**args)
1663
+ @dataset_error_count = args[:dataset_error_count] if args.key?(:dataset_error_count)
1664
+ @dataset_errors = args[:dataset_errors] if args.key?(:dataset_errors)
1665
+ @document_error_count = args[:document_error_count] if args.key?(:document_error_count)
1666
+ @document_errors = args[:document_errors] if args.key?(:document_errors)
1667
+ end
1668
+ end
1669
+
1670
+ # The response for the TrainProcessorVersion method.
1671
+ class GoogleCloudDocumentaiV1TrainProcessorVersionResponse
1672
+ include Google::Apis::Core::Hashable
1673
+
1674
+ # The resource name of the processor version produced by training.
1675
+ # Corresponds to the JSON property `processorVersion`
1676
+ # @return [String]
1677
+ attr_accessor :processor_version
1678
+
1679
+ def initialize(**args)
1680
+ update!(**args)
1681
+ end
1682
+
1683
+ # Update properties of this object
1684
+ def update!(**args)
1685
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
1686
+ end
1687
+ end
1688
+
1576
1689
  # The long running operation metadata for the undeploy processor version method.
1577
1690
  class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
1578
1691
  include Google::Apis::Core::Hashable
@@ -2917,7 +3030,8 @@ module Google
2917
3030
  # @return [String]
2918
3031
  attr_accessor :agent
2919
3032
 
2920
- # The time that the revision was created.
3033
+ # The time that the revision was created, internally generated by doc proto
3034
+ # storage at the time of create.
2921
3035
  # Corresponds to the JSON property `createTime`
2922
3036
  # @return [String]
2923
3037
  attr_accessor :create_time
@@ -2927,7 +3041,8 @@ module Google
2927
3041
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview]
2928
3042
  attr_accessor :human_review
2929
3043
 
2930
- # Id of the revision. Unique within the context of the document.
3044
+ # Id of the revision, internally generated by doc proto storage. Unique within
3045
+ # the context of the document.
2931
3046
  # Corresponds to the JSON property `id`
2932
3047
  # @return [String]
2933
3048
  attr_accessor :id
@@ -4858,7 +4973,8 @@ module Google
4858
4973
  # @return [String]
4859
4974
  attr_accessor :agent
4860
4975
 
4861
- # The time that the revision was created.
4976
+ # The time that the revision was created, internally generated by doc proto
4977
+ # storage at the time of create.
4862
4978
  # Corresponds to the JSON property `createTime`
4863
4979
  # @return [String]
4864
4980
  attr_accessor :create_time
@@ -4868,7 +4984,8 @@ module Google
4868
4984
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview]
4869
4985
  attr_accessor :human_review
4870
4986
 
4871
- # Id of the revision. Unique within the context of the document.
4987
+ # Id of the revision, internally generated by doc proto storage. Unique within
4988
+ # the context of the document.
4872
4989
  # Corresponds to the JSON property `id`
4873
4990
  # @return [String]
4874
4991
  attr_accessor :id
@@ -7231,7 +7348,8 @@ module Google
7231
7348
  # @return [String]
7232
7349
  attr_accessor :agent
7233
7350
 
7234
- # The time that the revision was created.
7351
+ # The time that the revision was created, internally generated by doc proto
7352
+ # storage at the time of create.
7235
7353
  # Corresponds to the JSON property `createTime`
7236
7354
  # @return [String]
7237
7355
  attr_accessor :create_time
@@ -7241,7 +7359,8 @@ module Google
7241
7359
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview]
7242
7360
  attr_accessor :human_review
7243
7361
 
7244
- # Id of the revision. Unique within the context of the document.
7362
+ # Id of the revision, internally generated by doc proto storage. Unique within
7363
+ # the context of the document.
7245
7364
  # Corresponds to the JSON property `id`
7246
7365
  # @return [String]
7247
7366
  attr_accessor :id
@@ -8436,6 +8555,11 @@ module Google
8436
8555
  class GoogleCloudDocumentaiV1beta3OcrConfig
8437
8556
  include Google::Apis::Core::Hashable
8438
8557
 
8558
+ # A list of advanced OCR options to further fine-tune OCR behavior.
8559
+ # Corresponds to the JSON property `advancedOcrOptions`
8560
+ # @return [Array<String>]
8561
+ attr_accessor :advanced_ocr_options
8562
+
8439
8563
  # Enables special handling for PDFs with existing text information. Results in
8440
8564
  # better text extraction quality in such PDF inputs.
8441
8565
  # Corresponds to the JSON property `enableNativePdfParsing`
@@ -8449,6 +8573,7 @@ module Google
8449
8573
 
8450
8574
  # Update properties of this object
8451
8575
  def update!(**args)
8576
+ @advanced_ocr_options = args[:advanced_ocr_options] if args.key?(:advanced_ocr_options)
8452
8577
  @enable_native_pdf_parsing = args[:enable_native_pdf_parsing] if args.key?(:enable_native_pdf_parsing)
8453
8578
  end
8454
8579
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta3
18
18
  # Version of the google-apis-documentai_v1beta3 gem
19
- GEM_VERSION = "0.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230113"
25
+ REVISION = "20230202"
26
26
  end
27
27
  end
28
28
  end
@@ -70,12 +70,6 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
73
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
80
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
75
 
@@ -214,37 +208,43 @@ module Google
214
208
  include Google::Apis::Core::JsonObjectSupport
215
209
  end
216
210
 
217
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
211
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata
218
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
213
 
220
214
  include Google::Apis::Core::JsonObjectSupport
221
215
  end
222
216
 
223
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus
217
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse
224
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
219
 
226
220
  include Google::Apis::Core::JsonObjectSupport
227
221
  end
228
222
 
229
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus
223
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
230
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
225
 
232
226
  include Google::Apis::Core::JsonObjectSupport
233
227
  end
234
228
 
235
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
229
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus
236
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
231
 
238
232
  include Google::Apis::Core::JsonObjectSupport
239
233
  end
240
234
 
241
- class GoogleCloudDocumentaiUiv1beta3RevisionRef
235
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus
242
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
237
 
244
238
  include Google::Apis::Core::JsonObjectSupport
245
239
  end
246
240
 
247
- class GoogleCloudDocumentaiUiv1beta3RevisionReference
241
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
248
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
249
 
250
250
  include Google::Apis::Core::JsonObjectSupport
@@ -382,6 +382,18 @@ module Google
382
382
  include Google::Apis::Core::JsonObjectSupport
383
383
  end
384
384
 
385
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
385
397
  class GoogleCloudDocumentaiV1HumanReviewStatus
386
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
399
 
@@ -412,6 +424,24 @@ module Google
412
424
  include Google::Apis::Core::JsonObjectSupport
413
425
  end
414
426
 
427
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class GoogleCloudDocumentaiV1TrainProcessorVersionResponse
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
415
445
  class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
416
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
447
 
@@ -1795,14 +1825,6 @@ module Google
1795
1825
  end
1796
1826
  end
1797
1827
 
1798
- class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
1799
- # @private
1800
- class Representation < Google::Apis::Core::JsonRepresentation
1801
- property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1802
-
1803
- end
1804
- end
1805
-
1806
1828
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
1807
1829
  # @private
1808
1830
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1862,8 +1884,6 @@ module Google
1862
1884
 
1863
1885
  property :revision_ref, as: 'revisionRef', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef::Representation
1864
1886
 
1865
- property :revision_reference, as: 'revisionReference', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference::Representation
1866
-
1867
1887
  end
1868
1888
  end
1869
1889
 
@@ -1994,6 +2014,21 @@ module Google
1994
2014
  end
1995
2015
  end
1996
2016
 
2017
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata
2018
+ # @private
2019
+ class Representation < Google::Apis::Core::JsonRepresentation
2020
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
2021
+
2022
+ end
2023
+ end
2024
+
2025
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse
2026
+ # @private
2027
+ class Representation < Google::Apis::Core::JsonRepresentation
2028
+ property :processor_version, as: 'processorVersion'
2029
+ end
2030
+ end
2031
+
1997
2032
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
1998
2033
  # @private
1999
2034
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2041,15 +2076,6 @@ module Google
2041
2076
  end
2042
2077
  end
2043
2078
 
2044
- class GoogleCloudDocumentaiUiv1beta3RevisionReference
2045
- # @private
2046
- class Representation < Google::Apis::Core::JsonRepresentation
2047
- property :latest_processor_version, as: 'latestProcessorVersion'
2048
- property :revision_case, as: 'revisionCase'
2049
- property :revision_id, as: 'revisionId'
2050
- end
2051
- end
2052
-
2053
2079
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
2054
2080
  # @private
2055
2081
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2232,6 +2258,21 @@ module Google
2232
2258
  end
2233
2259
  end
2234
2260
 
2261
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata
2262
+ # @private
2263
+ class Representation < Google::Apis::Core::JsonRepresentation
2264
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
2265
+
2266
+ end
2267
+ end
2268
+
2269
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse
2270
+ # @private
2271
+ class Representation < Google::Apis::Core::JsonRepresentation
2272
+ property :evaluation, as: 'evaluation'
2273
+ end
2274
+ end
2275
+
2235
2276
  class GoogleCloudDocumentaiV1HumanReviewStatus
2236
2277
  # @private
2237
2278
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2273,6 +2314,37 @@ module Google
2273
2314
  end
2274
2315
  end
2275
2316
 
2317
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata
2318
+ # @private
2319
+ class Representation < Google::Apis::Core::JsonRepresentation
2320
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
2321
+
2322
+ property :test_dataset_validation, as: 'testDatasetValidation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation::Representation
2323
+
2324
+ property :training_dataset_validation, as: 'trainingDatasetValidation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation::Representation
2325
+
2326
+ end
2327
+ end
2328
+
2329
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation
2330
+ # @private
2331
+ class Representation < Google::Apis::Core::JsonRepresentation
2332
+ property :dataset_error_count, as: 'datasetErrorCount'
2333
+ collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
2334
+
2335
+ property :document_error_count, as: 'documentErrorCount'
2336
+ collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
2337
+
2338
+ end
2339
+ end
2340
+
2341
+ class GoogleCloudDocumentaiV1TrainProcessorVersionResponse
2342
+ # @private
2343
+ class Representation < Google::Apis::Core::JsonRepresentation
2344
+ property :processor_version, as: 'processorVersion'
2345
+ end
2346
+ end
2347
+
2276
2348
  class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
2277
2349
  # @private
2278
2350
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4278,6 +4350,7 @@ module Google
4278
4350
  class GoogleCloudDocumentaiV1beta3OcrConfig
4279
4351
  # @private
4280
4352
  class Representation < Google::Apis::Core::JsonRepresentation
4353
+ collection :advanced_ocr_options, as: 'advancedOcrOptions'
4281
4354
  property :enable_native_pdf_parsing, as: 'enableNativePdfParsing'
4282
4355
  end
4283
4356
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.0
4
+ version: 0.63.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-22 00:00:00.000000000 Z
11
+ date: 2023-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.61.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.63.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
63
63
  post_install_message:
64
64
  rdoc_options: []