google-apis-documentai_v1beta2 0.53.0 → 0.55.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: f7c7cd95b3596f68737fef7e2ea297e45d876c5e7115d1cdbd2373f704112309
4
- data.tar.gz: 1d5755aebd093bfa1921de917b95d467af7a18c3a7fd9858f8c7600db0aef487
3
+ metadata.gz: 17994f50a204dd1906f266d01831b637500a51051a1249cf9a1b3968d6b2c07f
4
+ data.tar.gz: 1f7d06c80849c66189ce2f64ed6322db98a288772308ce8a1cbcb1646588d6bc
5
5
  SHA512:
6
- metadata.gz: 6d40bd460c653fab297c0feadc37b8ae93d6412f43a68837341aef9dd5f86f03e52f5fdc9be05879ecf1c4e6876f2fcf80bc34c49d06d5854dfd32c633f7a7a5
7
- data.tar.gz: fffd0021c47fdc9e9cc00e9af3364d4c49a8b1bfe55a8d47fb0d1f765dad43518e3dbd8dcf5f48d74825ca14b9d1708e9624c4c4c5ad858bd948089faa723915
6
+ metadata.gz: be16b9b1c12a841319cb4ebe74bf5f58ab867740e3c1530019ba9c185b9675b314c836df5ce868bdbb925cdfe925c1d34a89399c13e8807eb8ec4200a4930c81
7
+ data.tar.gz: 76ae92f4ffed8f30027b68bb1e2dfb8a60b0b196b8e5bea774b3fc4f24c071c496a22e5602712098972927bc8c294ff3ca8f4220101ca46c62af975d0b9d03d5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.55.0 (2023-02-05)
4
+
5
+ * Regenerated from discovery document revision 20230129
6
+
7
+ ### v0.54.0 (2023-01-29)
8
+
9
+ * Regenerated from discovery document revision 20230120
10
+
3
11
  ### v0.53.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::DocumentaiV1beta2::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
@@ -777,6 +758,44 @@ module Google
777
758
  end
778
759
  end
779
760
 
761
+ # The long running operation metadata for the ImportProcessorVersion method.
762
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata
763
+ include Google::Apis::Core::Hashable
764
+
765
+ # The common metadata for long running operations.
766
+ # Corresponds to the JSON property `commonMetadata`
767
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
768
+ attr_accessor :common_metadata
769
+
770
+ def initialize(**args)
771
+ update!(**args)
772
+ end
773
+
774
+ # Update properties of this object
775
+ def update!(**args)
776
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
777
+ end
778
+ end
779
+
780
+ # The response message for the ImportProcessorVersion method.
781
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse
782
+ include Google::Apis::Core::Hashable
783
+
784
+ # The destination processor version name.
785
+ # Corresponds to the JSON property `processorVersion`
786
+ # @return [String]
787
+ attr_accessor :processor_version
788
+
789
+ def initialize(**args)
790
+ update!(**args)
791
+ end
792
+
793
+ # Update properties of this object
794
+ def update!(**args)
795
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
796
+ end
797
+ end
798
+
780
799
  # The metadata proto of ResyncDataset method.
781
800
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
782
801
  include Google::Apis::Core::Hashable
@@ -1450,6 +1469,44 @@ module Google
1450
1469
  end
1451
1470
  end
1452
1471
 
1472
+ # Metadata of the EvaluateProcessorVersion method.
1473
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata
1474
+ include Google::Apis::Core::Hashable
1475
+
1476
+ # The common metadata for long running operations.
1477
+ # Corresponds to the JSON property `commonMetadata`
1478
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
1479
+ attr_accessor :common_metadata
1480
+
1481
+ def initialize(**args)
1482
+ update!(**args)
1483
+ end
1484
+
1485
+ # Update properties of this object
1486
+ def update!(**args)
1487
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1488
+ end
1489
+ end
1490
+
1491
+ # Metadata of the EvaluateProcessorVersion method.
1492
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse
1493
+ include Google::Apis::Core::Hashable
1494
+
1495
+ # The resource name of the created evaluation.
1496
+ # Corresponds to the JSON property `evaluation`
1497
+ # @return [String]
1498
+ attr_accessor :evaluation
1499
+
1500
+ def initialize(**args)
1501
+ update!(**args)
1502
+ end
1503
+
1504
+ # Update properties of this object
1505
+ def update!(**args)
1506
+ @evaluation = args[:evaluation] if args.key?(:evaluation)
1507
+ end
1508
+ end
1509
+
1453
1510
  # The status of human review on a processed document.
1454
1511
  class GoogleCloudDocumentaiV1HumanReviewStatus
1455
1512
  include Google::Apis::Core::Hashable
@@ -1573,6 +1630,99 @@ module Google
1573
1630
  end
1574
1631
  end
1575
1632
 
1633
+ # The metadata that represents a processor version being created.
1634
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata
1635
+ include Google::Apis::Core::Hashable
1636
+
1637
+ # The common metadata for long running operations.
1638
+ # Corresponds to the JSON property `commonMetadata`
1639
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
1640
+ attr_accessor :common_metadata
1641
+
1642
+ # The dataset validation information. This includes any and all errors with
1643
+ # documents and the dataset.
1644
+ # Corresponds to the JSON property `testDatasetValidation`
1645
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation]
1646
+ attr_accessor :test_dataset_validation
1647
+
1648
+ # The dataset validation information. This includes any and all errors with
1649
+ # documents and the dataset.
1650
+ # Corresponds to the JSON property `trainingDatasetValidation`
1651
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation]
1652
+ attr_accessor :training_dataset_validation
1653
+
1654
+ def initialize(**args)
1655
+ update!(**args)
1656
+ end
1657
+
1658
+ # Update properties of this object
1659
+ def update!(**args)
1660
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1661
+ @test_dataset_validation = args[:test_dataset_validation] if args.key?(:test_dataset_validation)
1662
+ @training_dataset_validation = args[:training_dataset_validation] if args.key?(:training_dataset_validation)
1663
+ end
1664
+ end
1665
+
1666
+ # The dataset validation information. This includes any and all errors with
1667
+ # documents and the dataset.
1668
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation
1669
+ include Google::Apis::Core::Hashable
1670
+
1671
+ # The total number of dataset errors.
1672
+ # Corresponds to the JSON property `datasetErrorCount`
1673
+ # @return [Fixnum]
1674
+ attr_accessor :dataset_error_count
1675
+
1676
+ # Error information for the dataset as a whole. A maximum of 10 dataset errors
1677
+ # will be returned. A single dataset error is terminal for training.
1678
+ # Corresponds to the JSON property `datasetErrors`
1679
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleRpcStatus>]
1680
+ attr_accessor :dataset_errors
1681
+
1682
+ # The total number of document errors.
1683
+ # Corresponds to the JSON property `documentErrorCount`
1684
+ # @return [Fixnum]
1685
+ attr_accessor :document_error_count
1686
+
1687
+ # Error information pertaining to specific documents. A maximum of 10 document
1688
+ # errors will be returned. Any document with errors will not be used throughout
1689
+ # training.
1690
+ # Corresponds to the JSON property `documentErrors`
1691
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleRpcStatus>]
1692
+ attr_accessor :document_errors
1693
+
1694
+ def initialize(**args)
1695
+ update!(**args)
1696
+ end
1697
+
1698
+ # Update properties of this object
1699
+ def update!(**args)
1700
+ @dataset_error_count = args[:dataset_error_count] if args.key?(:dataset_error_count)
1701
+ @dataset_errors = args[:dataset_errors] if args.key?(:dataset_errors)
1702
+ @document_error_count = args[:document_error_count] if args.key?(:document_error_count)
1703
+ @document_errors = args[:document_errors] if args.key?(:document_errors)
1704
+ end
1705
+ end
1706
+
1707
+ # The response for the TrainProcessorVersion method.
1708
+ class GoogleCloudDocumentaiV1TrainProcessorVersionResponse
1709
+ include Google::Apis::Core::Hashable
1710
+
1711
+ # The resource name of the processor version produced by training.
1712
+ # Corresponds to the JSON property `processorVersion`
1713
+ # @return [String]
1714
+ attr_accessor :processor_version
1715
+
1716
+ def initialize(**args)
1717
+ update!(**args)
1718
+ end
1719
+
1720
+ # Update properties of this object
1721
+ def update!(**args)
1722
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
1723
+ end
1724
+ end
1725
+
1576
1726
  # The long running operation metadata for the undeploy processor version method.
1577
1727
  class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
1578
1728
  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.53.0"
19
+ GEM_VERSION = "0.55.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 = "20230129"
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,6 +208,18 @@ module Google
214
208
  include Google::Apis::Core::JsonObjectSupport
215
209
  end
216
210
 
211
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -382,6 +388,18 @@ module Google
382
388
  include Google::Apis::Core::JsonObjectSupport
383
389
  end
384
390
 
391
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
385
403
  class GoogleCloudDocumentaiV1HumanReviewStatus
386
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
405
 
@@ -412,6 +430,24 @@ module Google
412
430
  include Google::Apis::Core::JsonObjectSupport
413
431
  end
414
432
 
433
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class GoogleCloudDocumentaiV1TrainProcessorVersionResponse
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
415
451
  class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
416
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
453
 
@@ -1321,14 +1357,6 @@ module Google
1321
1357
  end
1322
1358
  end
1323
1359
 
1324
- class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
1325
- # @private
1326
- class Representation < Google::Apis::Core::JsonRepresentation
1327
- property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1328
-
1329
- end
1330
- end
1331
-
1332
1360
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
1333
1361
  # @private
1334
1362
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1520,6 +1548,21 @@ module Google
1520
1548
  end
1521
1549
  end
1522
1550
 
1551
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata
1552
+ # @private
1553
+ class Representation < Google::Apis::Core::JsonRepresentation
1554
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1555
+
1556
+ end
1557
+ end
1558
+
1559
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse
1560
+ # @private
1561
+ class Representation < Google::Apis::Core::JsonRepresentation
1562
+ property :processor_version, as: 'processorVersion'
1563
+ end
1564
+ end
1565
+
1523
1566
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
1524
1567
  # @private
1525
1568
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1758,6 +1801,21 @@ module Google
1758
1801
  end
1759
1802
  end
1760
1803
 
1804
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata
1805
+ # @private
1806
+ class Representation < Google::Apis::Core::JsonRepresentation
1807
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1808
+
1809
+ end
1810
+ end
1811
+
1812
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse
1813
+ # @private
1814
+ class Representation < Google::Apis::Core::JsonRepresentation
1815
+ property :evaluation, as: 'evaluation'
1816
+ end
1817
+ end
1818
+
1761
1819
  class GoogleCloudDocumentaiV1HumanReviewStatus
1762
1820
  # @private
1763
1821
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1799,6 +1857,37 @@ module Google
1799
1857
  end
1800
1858
  end
1801
1859
 
1860
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata
1861
+ # @private
1862
+ class Representation < Google::Apis::Core::JsonRepresentation
1863
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1864
+
1865
+ property :test_dataset_validation, as: 'testDatasetValidation', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation::Representation
1866
+
1867
+ property :training_dataset_validation, as: 'trainingDatasetValidation', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation::Representation
1868
+
1869
+ end
1870
+ end
1871
+
1872
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation
1873
+ # @private
1874
+ class Representation < Google::Apis::Core::JsonRepresentation
1875
+ property :dataset_error_count, as: 'datasetErrorCount'
1876
+ collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1877
+
1878
+ property :document_error_count, as: 'documentErrorCount'
1879
+ collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1880
+
1881
+ end
1882
+ end
1883
+
1884
+ class GoogleCloudDocumentaiV1TrainProcessorVersionResponse
1885
+ # @private
1886
+ class Representation < Google::Apis::Core::JsonRepresentation
1887
+ property :processor_version, as: 'processorVersion'
1888
+ end
1889
+ end
1890
+
1802
1891
  class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
1803
1892
  # @private
1804
1893
  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.53.0
4
+ version: 0.55.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-05 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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.53.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.55.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []