google-apis-documentai_v1beta2 0.54.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: 2234fc64aba7f9b660965853eb0d0906d7a4bfe487c750b917ace30040de49df
4
- data.tar.gz: b45fc737a45d65676d7bf929a102b07be6b18e2ad5743ae32df4ec958677ac23
3
+ metadata.gz: 17994f50a204dd1906f266d01831b637500a51051a1249cf9a1b3968d6b2c07f
4
+ data.tar.gz: 1f7d06c80849c66189ce2f64ed6322db98a288772308ce8a1cbcb1646588d6bc
5
5
  SHA512:
6
- metadata.gz: 91c0fe4813e6de41693424461274c9e159c0ab4edda116dc7140653d8a556e56dd7abb57749c52f513b708ae5db2141398845a8963acde3a6207d18f910fa26c
7
- data.tar.gz: 968f9eb7eb2cc9974f00e457b39826d97fa087c1b4c77e287c5808f11aa0784297a34fe8ee452e39403ad0e46f9416fd72ad56b58b00a662e6fcfb386b069fd6
6
+ metadata.gz: be16b9b1c12a841319cb4ebe74bf5f58ab867740e3c1530019ba9c185b9675b314c836df5ce868bdbb925cdfe925c1d34a89399c13e8807eb8ec4200a4930c81
7
+ data.tar.gz: 76ae92f4ffed8f30027b68bb1e2dfb8a60b0b196b8e5bea774b3fc4f24c071c496a22e5602712098972927bc8c294ff3ca8f4220101ca46c62af975d0b9d03d5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.54.0 (2023-01-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20230120
@@ -1469,6 +1469,44 @@ module Google
1469
1469
  end
1470
1470
  end
1471
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
+
1472
1510
  # The status of human review on a processed document.
1473
1511
  class GoogleCloudDocumentaiV1HumanReviewStatus
1474
1512
  include Google::Apis::Core::Hashable
@@ -1592,6 +1630,99 @@ module Google
1592
1630
  end
1593
1631
  end
1594
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
+
1595
1726
  # The long running operation metadata for the undeploy processor version method.
1596
1727
  class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
1597
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.54.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 = "20230120"
25
+ REVISION = "20230129"
26
26
  end
27
27
  end
28
28
  end
@@ -388,6 +388,18 @@ module Google
388
388
  include Google::Apis::Core::JsonObjectSupport
389
389
  end
390
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
+
391
403
  class GoogleCloudDocumentaiV1HumanReviewStatus
392
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
405
 
@@ -418,6 +430,24 @@ module Google
418
430
  include Google::Apis::Core::JsonObjectSupport
419
431
  end
420
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
+
421
451
  class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
422
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
453
 
@@ -1771,6 +1801,21 @@ module Google
1771
1801
  end
1772
1802
  end
1773
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
+
1774
1819
  class GoogleCloudDocumentaiV1HumanReviewStatus
1775
1820
  # @private
1776
1821
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1812,6 +1857,37 @@ module Google
1812
1857
  end
1813
1858
  end
1814
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
+
1815
1891
  class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
1816
1892
  # @private
1817
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.54.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-29 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.54.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: []