google-apis-documentai_v1 0.51.0 → 0.52.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: 3f62d7e66722e9048e6f973893f2693814c45988081daa4391d4dd10aa534598
|
4
|
+
data.tar.gz: fe41b377f0017bb79179a5e221430f373852e31dc55f5466f7af87c1e4a62970
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f7c7c0b4893f756a683eb96a43d3f5a2fda72300ca3b1296f21dda60785f0d0c5619f12ed3e4681405b091042671c4fb063e0283fb3f22e8ddab75847e0daac
|
7
|
+
data.tar.gz: 46e8059a2641335ba3306f124f86014f4fc1d7a38ae4e2f292decb223e3b6b07f912b2c5573497a8e53b8900da9b1c108211b59cf2079f71bda117d3c182cc47
|
data/CHANGELOG.md
CHANGED
@@ -3423,38 +3423,19 @@ module Google
|
|
3423
3423
|
class GoogleCloudDocumentaiV1EntityTypeMetadata
|
3424
3424
|
include Google::Apis::Core::Hashable
|
3425
3425
|
|
3426
|
-
# Metadata for human review labeling config.
|
3427
|
-
# Corresponds to the JSON property `humanReviewLabelingMetadata`
|
3428
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata]
|
3429
|
-
attr_accessor :human_review_labeling_metadata
|
3430
|
-
|
3431
|
-
# Metadata for Human Review config.
|
3432
|
-
# Corresponds to the JSON property `humanReviewMetadata`
|
3433
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata]
|
3434
|
-
attr_accessor :human_review_metadata
|
3435
|
-
|
3436
3426
|
# Whether the entity type should be considered as "inactive".
|
3437
3427
|
# Corresponds to the JSON property `inactive`
|
3438
3428
|
# @return [Boolean]
|
3439
3429
|
attr_accessor :inactive
|
3440
3430
|
alias_method :inactive?, :inactive
|
3441
3431
|
|
3442
|
-
# Metadata that specifies whether a label is editable and reasons why. These
|
3443
|
-
# fields are read-only. Changing these fields has no impact on the backend.
|
3444
|
-
# Corresponds to the JSON property `schemaMutabilityMetadata`
|
3445
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata]
|
3446
|
-
attr_accessor :schema_mutability_metadata
|
3447
|
-
|
3448
3432
|
def initialize(**args)
|
3449
3433
|
update!(**args)
|
3450
3434
|
end
|
3451
3435
|
|
3452
3436
|
# Update properties of this object
|
3453
3437
|
def update!(**args)
|
3454
|
-
@human_review_labeling_metadata = args[:human_review_labeling_metadata] if args.key?(:human_review_labeling_metadata)
|
3455
|
-
@human_review_metadata = args[:human_review_metadata] if args.key?(:human_review_metadata)
|
3456
3438
|
@inactive = args[:inactive] if args.key?(:inactive)
|
3457
|
-
@schema_mutability_metadata = args[:schema_mutability_metadata] if args.key?(:schema_mutability_metadata)
|
3458
3439
|
end
|
3459
3440
|
end
|
3460
3441
|
|
@@ -3540,26 +3521,6 @@ module Google
|
|
3540
3521
|
end
|
3541
3522
|
end
|
3542
3523
|
|
3543
|
-
# Metadata for human review labeling config.
|
3544
|
-
class GoogleCloudDocumentaiV1HumanReviewLabelingMetadata
|
3545
|
-
include Google::Apis::Core::Hashable
|
3546
|
-
|
3547
|
-
# Whether to enable normalization editing.
|
3548
|
-
# Corresponds to the JSON property `enableNormalizationEditing`
|
3549
|
-
# @return [Boolean]
|
3550
|
-
attr_accessor :enable_normalization_editing
|
3551
|
-
alias_method :enable_normalization_editing?, :enable_normalization_editing
|
3552
|
-
|
3553
|
-
def initialize(**args)
|
3554
|
-
update!(**args)
|
3555
|
-
end
|
3556
|
-
|
3557
|
-
# Update properties of this object
|
3558
|
-
def update!(**args)
|
3559
|
-
@enable_normalization_editing = args[:enable_normalization_editing] if args.key?(:enable_normalization_editing)
|
3560
|
-
end
|
3561
|
-
end
|
3562
|
-
|
3563
3524
|
# The status of human review on a processed document.
|
3564
3525
|
class GoogleCloudDocumentaiV1HumanReviewStatus
|
3565
3526
|
include Google::Apis::Core::Hashable
|
@@ -3594,32 +3555,6 @@ module Google
|
|
3594
3555
|
end
|
3595
3556
|
end
|
3596
3557
|
|
3597
|
-
# Metadata for Human Review config.
|
3598
|
-
class GoogleCloudDocumentaiV1HumanReviewValidationMetadata
|
3599
|
-
include Google::Apis::Core::Hashable
|
3600
|
-
|
3601
|
-
# The confidence threshold if human review validation is enabled.
|
3602
|
-
# Corresponds to the JSON property `confidenceThreshold`
|
3603
|
-
# @return [Float]
|
3604
|
-
attr_accessor :confidence_threshold
|
3605
|
-
|
3606
|
-
# Whether to enable human review validation.
|
3607
|
-
# Corresponds to the JSON property `enableValidation`
|
3608
|
-
# @return [Boolean]
|
3609
|
-
attr_accessor :enable_validation
|
3610
|
-
alias_method :enable_validation?, :enable_validation
|
3611
|
-
|
3612
|
-
def initialize(**args)
|
3613
|
-
update!(**args)
|
3614
|
-
end
|
3615
|
-
|
3616
|
-
# Update properties of this object
|
3617
|
-
def update!(**args)
|
3618
|
-
@confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
|
3619
|
-
@enable_validation = args[:enable_validation] if args.key?(:enable_validation)
|
3620
|
-
end
|
3621
|
-
end
|
3622
|
-
|
3623
3558
|
# Response message for list processor types.
|
3624
3559
|
class GoogleCloudDocumentaiV1ListProcessorTypesResponse
|
3625
3560
|
include Google::Apis::Core::Hashable
|
@@ -3954,6 +3889,11 @@ module Google
|
|
3954
3889
|
# @return [String]
|
3955
3890
|
attr_accessor :display_name
|
3956
3891
|
|
3892
|
+
# The schema defines the output of the processed document by a processor.
|
3893
|
+
# Corresponds to the JSON property `documentSchema`
|
3894
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema]
|
3895
|
+
attr_accessor :document_schema
|
3896
|
+
|
3957
3897
|
# Denotes that this ProcessorVersion is managed by google.
|
3958
3898
|
# Corresponds to the JSON property `googleManaged`
|
3959
3899
|
# @return [Boolean]
|
@@ -3991,6 +3931,7 @@ module Google
|
|
3991
3931
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3992
3932
|
@deprecation_info = args[:deprecation_info] if args.key?(:deprecation_info)
|
3993
3933
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3934
|
+
@document_schema = args[:document_schema] if args.key?(:document_schema)
|
3994
3935
|
@google_managed = args[:google_managed] if args.key?(:google_managed)
|
3995
3936
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
3996
3937
|
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
@@ -4028,38 +3969,19 @@ module Google
|
|
4028
3969
|
class GoogleCloudDocumentaiV1PropertyMetadata
|
4029
3970
|
include Google::Apis::Core::Hashable
|
4030
3971
|
|
4031
|
-
# Metadata for human review labeling config.
|
4032
|
-
# Corresponds to the JSON property `humanReviewLabelingMetadata`
|
4033
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata]
|
4034
|
-
attr_accessor :human_review_labeling_metadata
|
4035
|
-
|
4036
|
-
# Metadata for Human Review config.
|
4037
|
-
# Corresponds to the JSON property `humanReviewMetadata`
|
4038
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata]
|
4039
|
-
attr_accessor :human_review_metadata
|
4040
|
-
|
4041
3972
|
# Whether the property should be considered as "inactive".
|
4042
3973
|
# Corresponds to the JSON property `inactive`
|
4043
3974
|
# @return [Boolean]
|
4044
3975
|
attr_accessor :inactive
|
4045
3976
|
alias_method :inactive?, :inactive
|
4046
3977
|
|
4047
|
-
# Metadata that specifies whether a label is editable and reasons why. These
|
4048
|
-
# fields are read-only. Changing these fields has no impact on the backend.
|
4049
|
-
# Corresponds to the JSON property `schemaMutabilityMetadata`
|
4050
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata]
|
4051
|
-
attr_accessor :schema_mutability_metadata
|
4052
|
-
|
4053
3978
|
def initialize(**args)
|
4054
3979
|
update!(**args)
|
4055
3980
|
end
|
4056
3981
|
|
4057
3982
|
# Update properties of this object
|
4058
3983
|
def update!(**args)
|
4059
|
-
@human_review_labeling_metadata = args[:human_review_labeling_metadata] if args.key?(:human_review_labeling_metadata)
|
4060
|
-
@human_review_metadata = args[:human_review_metadata] if args.key?(:human_review_metadata)
|
4061
3984
|
@inactive = args[:inactive] if args.key?(:inactive)
|
4062
|
-
@schema_mutability_metadata = args[:schema_mutability_metadata] if args.key?(:schema_mutability_metadata)
|
4063
3985
|
end
|
4064
3986
|
end
|
4065
3987
|
|
@@ -4187,35 +4109,6 @@ module Google
|
|
4187
4109
|
end
|
4188
4110
|
end
|
4189
4111
|
|
4190
|
-
# Metadata that specifies whether a label is editable and reasons why. These
|
4191
|
-
# fields are read-only. Changing these fields has no impact on the backend.
|
4192
|
-
class GoogleCloudDocumentaiV1SchemaMutabilityMetadata
|
4193
|
-
include Google::Apis::Core::Hashable
|
4194
|
-
|
4195
|
-
# Explicit flag that controls whether the label is editable.
|
4196
|
-
# Corresponds to the JSON property `editable`
|
4197
|
-
# @return [Boolean]
|
4198
|
-
attr_accessor :editable
|
4199
|
-
alias_method :editable?, :editable
|
4200
|
-
|
4201
|
-
# Full resource name of processor versions that contain this label. e.g. `
|
4202
|
-
# projects/`project`/locations/`location`/processors/`processor`/
|
4203
|
-
# processorVersions/`processorVersion``
|
4204
|
-
# Corresponds to the JSON property `processorVersions`
|
4205
|
-
# @return [Array<String>]
|
4206
|
-
attr_accessor :processor_versions
|
4207
|
-
|
4208
|
-
def initialize(**args)
|
4209
|
-
update!(**args)
|
4210
|
-
end
|
4211
|
-
|
4212
|
-
# Update properties of this object
|
4213
|
-
def update!(**args)
|
4214
|
-
@editable = args[:editable] if args.key?(:editable)
|
4215
|
-
@processor_versions = args[:processor_versions] if args.key?(:processor_versions)
|
4216
|
-
end
|
4217
|
-
end
|
4218
|
-
|
4219
4112
|
# The long running operation metadata for set default processor version method.
|
4220
4113
|
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
|
4221
4114
|
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.52.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221027"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -706,24 +706,12 @@ module Google
|
|
706
706
|
include Google::Apis::Core::JsonObjectSupport
|
707
707
|
end
|
708
708
|
|
709
|
-
class GoogleCloudDocumentaiV1HumanReviewLabelingMetadata
|
710
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
|
-
|
712
|
-
include Google::Apis::Core::JsonObjectSupport
|
713
|
-
end
|
714
|
-
|
715
709
|
class GoogleCloudDocumentaiV1HumanReviewStatus
|
716
710
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
711
|
|
718
712
|
include Google::Apis::Core::JsonObjectSupport
|
719
713
|
end
|
720
714
|
|
721
|
-
class GoogleCloudDocumentaiV1HumanReviewValidationMetadata
|
722
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
-
|
724
|
-
include Google::Apis::Core::JsonObjectSupport
|
725
|
-
end
|
726
|
-
|
727
715
|
class GoogleCloudDocumentaiV1ListProcessorTypesResponse
|
728
716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
729
717
|
|
@@ -820,12 +808,6 @@ module Google
|
|
820
808
|
include Google::Apis::Core::JsonObjectSupport
|
821
809
|
end
|
822
810
|
|
823
|
-
class GoogleCloudDocumentaiV1SchemaMutabilityMetadata
|
824
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
|
-
|
826
|
-
include Google::Apis::Core::JsonObjectSupport
|
827
|
-
end
|
828
|
-
|
829
811
|
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
|
830
812
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
831
813
|
|
@@ -2717,13 +2699,7 @@ module Google
|
|
2717
2699
|
class GoogleCloudDocumentaiV1EntityTypeMetadata
|
2718
2700
|
# @private
|
2719
2701
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2720
|
-
property :human_review_labeling_metadata, as: 'humanReviewLabelingMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata::Representation
|
2721
|
-
|
2722
|
-
property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata::Representation
|
2723
|
-
|
2724
2702
|
property :inactive, as: 'inactive'
|
2725
|
-
property :schema_mutability_metadata, as: 'schemaMutabilityMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata::Representation
|
2726
|
-
|
2727
2703
|
end
|
2728
2704
|
end
|
2729
2705
|
|
@@ -2758,13 +2734,6 @@ module Google
|
|
2758
2734
|
end
|
2759
2735
|
end
|
2760
2736
|
|
2761
|
-
class GoogleCloudDocumentaiV1HumanReviewLabelingMetadata
|
2762
|
-
# @private
|
2763
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2764
|
-
property :enable_normalization_editing, as: 'enableNormalizationEditing'
|
2765
|
-
end
|
2766
|
-
end
|
2767
|
-
|
2768
2737
|
class GoogleCloudDocumentaiV1HumanReviewStatus
|
2769
2738
|
# @private
|
2770
2739
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2774,14 +2743,6 @@ module Google
|
|
2774
2743
|
end
|
2775
2744
|
end
|
2776
2745
|
|
2777
|
-
class GoogleCloudDocumentaiV1HumanReviewValidationMetadata
|
2778
|
-
# @private
|
2779
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2780
|
-
property :confidence_threshold, as: 'confidenceThreshold'
|
2781
|
-
property :enable_validation, as: 'enableValidation'
|
2782
|
-
end
|
2783
|
-
end
|
2784
|
-
|
2785
2746
|
class GoogleCloudDocumentaiV1ListProcessorTypesResponse
|
2786
2747
|
# @private
|
2787
2748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2880,6 +2841,8 @@ module Google
|
|
2880
2841
|
property :deprecation_info, as: 'deprecationInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo::Representation
|
2881
2842
|
|
2882
2843
|
property :display_name, as: 'displayName'
|
2844
|
+
property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema::Representation
|
2845
|
+
|
2883
2846
|
property :google_managed, as: 'googleManaged'
|
2884
2847
|
property :kms_key_name, as: 'kmsKeyName'
|
2885
2848
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
@@ -2899,13 +2862,7 @@ module Google
|
|
2899
2862
|
class GoogleCloudDocumentaiV1PropertyMetadata
|
2900
2863
|
# @private
|
2901
2864
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2902
|
-
property :human_review_labeling_metadata, as: 'humanReviewLabelingMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata::Representation
|
2903
|
-
|
2904
|
-
property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata::Representation
|
2905
|
-
|
2906
2865
|
property :inactive, as: 'inactive'
|
2907
|
-
property :schema_mutability_metadata, as: 'schemaMutabilityMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata::Representation
|
2908
|
-
|
2909
2866
|
end
|
2910
2867
|
end
|
2911
2868
|
|
@@ -2947,14 +2904,6 @@ module Google
|
|
2947
2904
|
end
|
2948
2905
|
end
|
2949
2906
|
|
2950
|
-
class GoogleCloudDocumentaiV1SchemaMutabilityMetadata
|
2951
|
-
# @private
|
2952
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2953
|
-
property :editable, as: 'editable'
|
2954
|
-
collection :processor_versions, as: 'processorVersions'
|
2955
|
-
end
|
2956
|
-
end
|
2957
|
-
|
2958
2907
|
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
|
2959
2908
|
# @private
|
2960
2909
|
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.52.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: 2022-
|
11
|
+
date: 2022-11-07 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.52.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: []
|