google-apis-documentai_v1 0.55.0 → 0.57.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: cfb63fb2719e8b59ef6682a6e1ade5c020a294854a02e95e040b88eb1a644899
4
- data.tar.gz: 364b8eee4b663b9fd4a39170f5e2beb1786977a767eb92dce62cf96bcabcce0d
3
+ metadata.gz: f42761e7b423b4e13281330b22004f8e696bbedce43b6105d46a67128945b5ff
4
+ data.tar.gz: c055ab82ad1c723fadae5824b1830c3390ccd89d67b5cda17169a5afa38c9762
5
5
  SHA512:
6
- metadata.gz: 1cf8ddd53de846897095b7523591de142d1b17447abd7a7bc9c85d777557ab4166c32fd6ac323a939559312c4f5ad92647cef3207e95d78e56382887b13438e6
7
- data.tar.gz: 463447d87da942148ef7534d9a15e2fdf1717448d7f7de08f3041f6a829178a25187eb2d3ef9b5f153a19f36d14e85f594ba2ac3896772abf60f9d9873ae0df3
6
+ metadata.gz: 85b7b9a3158e91de8b87fe111359237baaf7c31b846233e91537c17f8a2cbc4b5e32260e5f6361fcb64f82a1716416f5e0b4b5d06a4c5acf34ef0e9c60280c3a
7
+ data.tar.gz: 855422fa34965b4ac121968fc4256a13332d85b1dd4c49551ed2449d6f412b823e99c9b929682bad3a8d52d827e647bb6281daecdee23ce86e559bdeb82bbb2c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.57.0 (2023-02-05)
4
+
5
+ * Regenerated from discovery document revision 20230129
6
+
7
+ ### v0.56.0 (2023-01-29)
8
+
9
+ * Regenerated from discovery document revision 20230120
10
+
3
11
  ### v0.55.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::DocumentaiV1::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::DocumentaiV1::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
@@ -3478,6 +3497,25 @@ module Google
3478
3497
  end
3479
3498
  end
3480
3499
 
3500
+ # Metadata of the EvaluateProcessorVersion method.
3501
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata
3502
+ include Google::Apis::Core::Hashable
3503
+
3504
+ # The common metadata for long running operations.
3505
+ # Corresponds to the JSON property `commonMetadata`
3506
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1CommonOperationMetadata]
3507
+ attr_accessor :common_metadata
3508
+
3509
+ def initialize(**args)
3510
+ update!(**args)
3511
+ end
3512
+
3513
+ # Update properties of this object
3514
+ def update!(**args)
3515
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
3516
+ end
3517
+ end
3518
+
3481
3519
  # Evaluates the given ProcessorVersion against the supplied documents.
3482
3520
  class GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest
3483
3521
  include Google::Apis::Core::Hashable
@@ -3497,6 +3535,25 @@ module Google
3497
3535
  end
3498
3536
  end
3499
3537
 
3538
+ # Metadata of the EvaluateProcessorVersion method.
3539
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse
3540
+ include Google::Apis::Core::Hashable
3541
+
3542
+ # The resource name of the created evaluation.
3543
+ # Corresponds to the JSON property `evaluation`
3544
+ # @return [String]
3545
+ attr_accessor :evaluation
3546
+
3547
+ def initialize(**args)
3548
+ update!(**args)
3549
+ end
3550
+
3551
+ # Update properties of this object
3552
+ def update!(**args)
3553
+ @evaluation = args[:evaluation] if args.key?(:evaluation)
3554
+ end
3555
+ end
3556
+
3500
3557
  # An evaluation of a ProcessorVersion's performance.
3501
3558
  class GoogleCloudDocumentaiV1Evaluation
3502
3559
  include Google::Apis::Core::Hashable
@@ -4533,6 +4590,80 @@ module Google
4533
4590
  end
4534
4591
  end
4535
4592
 
4593
+ # The metadata that represents a processor version being created.
4594
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata
4595
+ include Google::Apis::Core::Hashable
4596
+
4597
+ # The common metadata for long running operations.
4598
+ # Corresponds to the JSON property `commonMetadata`
4599
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1CommonOperationMetadata]
4600
+ attr_accessor :common_metadata
4601
+
4602
+ # The dataset validation information. This includes any and all errors with
4603
+ # documents and the dataset.
4604
+ # Corresponds to the JSON property `testDatasetValidation`
4605
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation]
4606
+ attr_accessor :test_dataset_validation
4607
+
4608
+ # The dataset validation information. This includes any and all errors with
4609
+ # documents and the dataset.
4610
+ # Corresponds to the JSON property `trainingDatasetValidation`
4611
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation]
4612
+ attr_accessor :training_dataset_validation
4613
+
4614
+ def initialize(**args)
4615
+ update!(**args)
4616
+ end
4617
+
4618
+ # Update properties of this object
4619
+ def update!(**args)
4620
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
4621
+ @test_dataset_validation = args[:test_dataset_validation] if args.key?(:test_dataset_validation)
4622
+ @training_dataset_validation = args[:training_dataset_validation] if args.key?(:training_dataset_validation)
4623
+ end
4624
+ end
4625
+
4626
+ # The dataset validation information. This includes any and all errors with
4627
+ # documents and the dataset.
4628
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation
4629
+ include Google::Apis::Core::Hashable
4630
+
4631
+ # The total number of dataset errors.
4632
+ # Corresponds to the JSON property `datasetErrorCount`
4633
+ # @return [Fixnum]
4634
+ attr_accessor :dataset_error_count
4635
+
4636
+ # Error information for the dataset as a whole. A maximum of 10 dataset errors
4637
+ # will be returned. A single dataset error is terminal for training.
4638
+ # Corresponds to the JSON property `datasetErrors`
4639
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleRpcStatus>]
4640
+ attr_accessor :dataset_errors
4641
+
4642
+ # The total number of document errors.
4643
+ # Corresponds to the JSON property `documentErrorCount`
4644
+ # @return [Fixnum]
4645
+ attr_accessor :document_error_count
4646
+
4647
+ # Error information pertaining to specific documents. A maximum of 10 document
4648
+ # errors will be returned. Any document with errors will not be used throughout
4649
+ # training.
4650
+ # Corresponds to the JSON property `documentErrors`
4651
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleRpcStatus>]
4652
+ attr_accessor :document_errors
4653
+
4654
+ def initialize(**args)
4655
+ update!(**args)
4656
+ end
4657
+
4658
+ # Update properties of this object
4659
+ def update!(**args)
4660
+ @dataset_error_count = args[:dataset_error_count] if args.key?(:dataset_error_count)
4661
+ @dataset_errors = args[:dataset_errors] if args.key?(:dataset_errors)
4662
+ @document_error_count = args[:document_error_count] if args.key?(:document_error_count)
4663
+ @document_errors = args[:document_errors] if args.key?(:document_errors)
4664
+ end
4665
+ end
4666
+
4536
4667
  # Request message for the create processor version method.
4537
4668
  class GoogleCloudDocumentaiV1TrainProcessorVersionRequest
4538
4669
  include Google::Apis::Core::Hashable
@@ -4601,6 +4732,25 @@ module Google
4601
4732
  end
4602
4733
  end
4603
4734
 
4735
+ # The response for the TrainProcessorVersion method.
4736
+ class GoogleCloudDocumentaiV1TrainProcessorVersionResponse
4737
+ include Google::Apis::Core::Hashable
4738
+
4739
+ # The resource name of the processor version produced by training.
4740
+ # Corresponds to the JSON property `processorVersion`
4741
+ # @return [String]
4742
+ attr_accessor :processor_version
4743
+
4744
+ def initialize(**args)
4745
+ update!(**args)
4746
+ end
4747
+
4748
+ # Update properties of this object
4749
+ def update!(**args)
4750
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
4751
+ end
4752
+ end
4753
+
4604
4754
  # The long running operation metadata for the undeploy processor version method.
4605
4755
  class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
4606
4756
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1
18
18
  # Version of the google-apis-documentai_v1 gem
19
- GEM_VERSION = "0.55.0"
19
+ GEM_VERSION = "0.57.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
 
@@ -688,12 +694,24 @@ module Google
688
694
  include Google::Apis::Core::JsonObjectSupport
689
695
  end
690
696
 
697
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
691
703
  class GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest
692
704
  class Representation < Google::Apis::Core::JsonRepresentation; end
693
705
 
694
706
  include Google::Apis::Core::JsonObjectSupport
695
707
  end
696
708
 
709
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
697
715
  class GoogleCloudDocumentaiV1Evaluation
698
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
717
 
@@ -874,6 +892,18 @@ module Google
874
892
  include Google::Apis::Core::JsonObjectSupport
875
893
  end
876
894
 
895
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
901
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
877
907
  class GoogleCloudDocumentaiV1TrainProcessorVersionRequest
878
908
  class Representation < Google::Apis::Core::JsonRepresentation; end
879
909
 
@@ -886,6 +916,12 @@ module Google
886
916
  include Google::Apis::Core::JsonObjectSupport
887
917
  end
888
918
 
919
+ class GoogleCloudDocumentaiV1TrainProcessorVersionResponse
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
889
925
  class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
890
926
  class Representation < Google::Apis::Core::JsonRepresentation; end
891
927
 
@@ -1771,14 +1807,6 @@ module Google
1771
1807
  end
1772
1808
  end
1773
1809
 
1774
- class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
1775
- # @private
1776
- class Representation < Google::Apis::Core::JsonRepresentation
1777
- property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1778
-
1779
- end
1780
- end
1781
-
1782
1810
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
1783
1811
  # @private
1784
1812
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1970,6 +1998,21 @@ module Google
1970
1998
  end
1971
1999
  end
1972
2000
 
2001
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata
2002
+ # @private
2003
+ class Representation < Google::Apis::Core::JsonRepresentation
2004
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
2005
+
2006
+ end
2007
+ end
2008
+
2009
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse
2010
+ # @private
2011
+ class Representation < Google::Apis::Core::JsonRepresentation
2012
+ property :processor_version, as: 'processorVersion'
2013
+ end
2014
+ end
2015
+
1973
2016
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
1974
2017
  # @private
1975
2018
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2791,6 +2834,14 @@ module Google
2791
2834
  end
2792
2835
  end
2793
2836
 
2837
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata
2838
+ # @private
2839
+ class Representation < Google::Apis::Core::JsonRepresentation
2840
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
2841
+
2842
+ end
2843
+ end
2844
+
2794
2845
  class GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest
2795
2846
  # @private
2796
2847
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2799,6 +2850,13 @@ module Google
2799
2850
  end
2800
2851
  end
2801
2852
 
2853
+ class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse
2854
+ # @private
2855
+ class Representation < Google::Apis::Core::JsonRepresentation
2856
+ property :evaluation, as: 'evaluation'
2857
+ end
2858
+ end
2859
+
2802
2860
  class GoogleCloudDocumentaiV1Evaluation
2803
2861
  # @private
2804
2862
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3105,6 +3163,30 @@ module Google
3105
3163
  end
3106
3164
  end
3107
3165
 
3166
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadata
3167
+ # @private
3168
+ class Representation < Google::Apis::Core::JsonRepresentation
3169
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
3170
+
3171
+ property :test_dataset_validation, as: 'testDatasetValidation', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation::Representation
3172
+
3173
+ property :training_dataset_validation, as: 'trainingDatasetValidation', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation::Representation
3174
+
3175
+ end
3176
+ end
3177
+
3178
+ class GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation
3179
+ # @private
3180
+ class Representation < Google::Apis::Core::JsonRepresentation
3181
+ property :dataset_error_count, as: 'datasetErrorCount'
3182
+ collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
3183
+
3184
+ property :document_error_count, as: 'documentErrorCount'
3185
+ collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
3186
+
3187
+ end
3188
+ end
3189
+
3108
3190
  class GoogleCloudDocumentaiV1TrainProcessorVersionRequest
3109
3191
  # @private
3110
3192
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3128,6 +3210,13 @@ module Google
3128
3210
  end
3129
3211
  end
3130
3212
 
3213
+ class GoogleCloudDocumentaiV1TrainProcessorVersionResponse
3214
+ # @private
3215
+ class Representation < Google::Apis::Core::JsonRepresentation
3216
+ property :processor_version, as: 'processorVersion'
3217
+ end
3218
+ end
3219
+
3131
3220
  class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
3132
3221
  # @private
3133
3222
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.57.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.57.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
63
63
  post_install_message:
64
64
  rdoc_options: []