google-apis-documentai_v1 0.56.0 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f42761e7b423b4e13281330b22004f8e696bbedce43b6105d46a67128945b5ff
|
4
|
+
data.tar.gz: c055ab82ad1c723fadae5824b1830c3390ccd89d67b5cda17169a5afa38c9762
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85b7b9a3158e91de8b87fe111359237baaf7c31b846233e91537c17f8a2cbc4b5e32260e5f6361fcb64f82a1716416f5e0b4b5d06a4c5acf34ef0e9c60280c3a
|
7
|
+
data.tar.gz: 855422fa34965b4ac121968fc4256a13332d85b1dd4c49551ed2449d6f412b823e99c9b929682bad3a8d52d827e647bb6281daecdee23ce86e559bdeb82bbb2c
|
data/CHANGELOG.md
CHANGED
@@ -3497,6 +3497,25 @@ module Google
|
|
3497
3497
|
end
|
3498
3498
|
end
|
3499
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
|
+
|
3500
3519
|
# Evaluates the given ProcessorVersion against the supplied documents.
|
3501
3520
|
class GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest
|
3502
3521
|
include Google::Apis::Core::Hashable
|
@@ -3516,6 +3535,25 @@ module Google
|
|
3516
3535
|
end
|
3517
3536
|
end
|
3518
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
|
+
|
3519
3557
|
# An evaluation of a ProcessorVersion's performance.
|
3520
3558
|
class GoogleCloudDocumentaiV1Evaluation
|
3521
3559
|
include Google::Apis::Core::Hashable
|
@@ -4552,6 +4590,80 @@ module Google
|
|
4552
4590
|
end
|
4553
4591
|
end
|
4554
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
|
+
|
4555
4667
|
# Request message for the create processor version method.
|
4556
4668
|
class GoogleCloudDocumentaiV1TrainProcessorVersionRequest
|
4557
4669
|
include Google::Apis::Core::Hashable
|
@@ -4620,6 +4732,25 @@ module Google
|
|
4620
4732
|
end
|
4621
4733
|
end
|
4622
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
|
+
|
4623
4754
|
# The long running operation metadata for the undeploy processor version method.
|
4624
4755
|
class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
|
4625
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.
|
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 = "
|
25
|
+
REVISION = "20230129"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -694,12 +694,24 @@ module Google
|
|
694
694
|
include Google::Apis::Core::JsonObjectSupport
|
695
695
|
end
|
696
696
|
|
697
|
+
class GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
|
+
|
700
|
+
include Google::Apis::Core::JsonObjectSupport
|
701
|
+
end
|
702
|
+
|
697
703
|
class GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest
|
698
704
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
705
|
|
700
706
|
include Google::Apis::Core::JsonObjectSupport
|
701
707
|
end
|
702
708
|
|
709
|
+
class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
|
+
|
712
|
+
include Google::Apis::Core::JsonObjectSupport
|
713
|
+
end
|
714
|
+
|
703
715
|
class GoogleCloudDocumentaiV1Evaluation
|
704
716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
717
|
|
@@ -880,6 +892,18 @@ module Google
|
|
880
892
|
include Google::Apis::Core::JsonObjectSupport
|
881
893
|
end
|
882
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
|
+
|
883
907
|
class GoogleCloudDocumentaiV1TrainProcessorVersionRequest
|
884
908
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
885
909
|
|
@@ -892,6 +916,12 @@ module Google
|
|
892
916
|
include Google::Apis::Core::JsonObjectSupport
|
893
917
|
end
|
894
918
|
|
919
|
+
class GoogleCloudDocumentaiV1TrainProcessorVersionResponse
|
920
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
921
|
+
|
922
|
+
include Google::Apis::Core::JsonObjectSupport
|
923
|
+
end
|
924
|
+
|
895
925
|
class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
|
896
926
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
897
927
|
|
@@ -2804,6 +2834,14 @@ module Google
|
|
2804
2834
|
end
|
2805
2835
|
end
|
2806
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
|
+
|
2807
2845
|
class GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest
|
2808
2846
|
# @private
|
2809
2847
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2812,6 +2850,13 @@ module Google
|
|
2812
2850
|
end
|
2813
2851
|
end
|
2814
2852
|
|
2853
|
+
class GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse
|
2854
|
+
# @private
|
2855
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2856
|
+
property :evaluation, as: 'evaluation'
|
2857
|
+
end
|
2858
|
+
end
|
2859
|
+
|
2815
2860
|
class GoogleCloudDocumentaiV1Evaluation
|
2816
2861
|
# @private
|
2817
2862
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3118,6 +3163,30 @@ module Google
|
|
3118
3163
|
end
|
3119
3164
|
end
|
3120
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
|
+
|
3121
3190
|
class GoogleCloudDocumentaiV1TrainProcessorVersionRequest
|
3122
3191
|
# @private
|
3123
3192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3141,6 +3210,13 @@ module Google
|
|
3141
3210
|
end
|
3142
3211
|
end
|
3143
3212
|
|
3213
|
+
class GoogleCloudDocumentaiV1TrainProcessorVersionResponse
|
3214
|
+
# @private
|
3215
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3216
|
+
property :processor_version, as: 'processorVersion'
|
3217
|
+
end
|
3218
|
+
end
|
3219
|
+
|
3144
3220
|
class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
|
3145
3221
|
# @private
|
3146
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.
|
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-
|
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.
|
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: []
|