google-apis-documentai_v1beta3 0.109.0 → 0.110.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: 8fb7888ebd40ebb3b4a1a746e09b2099b3ec9918db5c6a735a4b9ed03dfaaf4e
|
4
|
+
data.tar.gz: c8b28a7e23337091379bcc690181ecb6701fd5f8cb06faaf90ddb20a1eb37ee8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd1c6a39ab5e62c11d7444e0f990bdc95835b283f12a6487ceae23e4762fe55f477e4ed30b0818c59933f08156cc43c9b3eae00514400830340a4440a54a10b7
|
7
|
+
data.tar.gz: 44d15fed228eb4e82e29fe0a18a8f3163d84ccbccbb336d7324af78706585d46c4e4aa2e32346b9a09c440f858927024c75f48c4ef8307e30d3f69a5981e8254
|
data/CHANGELOG.md
CHANGED
@@ -2882,6 +2882,12 @@ module Google
|
|
2882
2882
|
# @return [String]
|
2883
2883
|
attr_accessor :uri
|
2884
2884
|
|
2885
|
+
# The output of the validation given the document and the validation rules. The
|
2886
|
+
# output is appended to the document in the processing order.
|
2887
|
+
# Corresponds to the JSON property `validationOutputs`
|
2888
|
+
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentValidationOutput>]
|
2889
|
+
attr_accessor :validation_outputs
|
2890
|
+
|
2885
2891
|
def initialize(**args)
|
2886
2892
|
update!(**args)
|
2887
2893
|
end
|
@@ -2904,6 +2910,7 @@ module Google
|
|
2904
2910
|
@text_changes = args[:text_changes] if args.key?(:text_changes)
|
2905
2911
|
@text_styles = args[:text_styles] if args.key?(:text_styles)
|
2906
2912
|
@uri = args[:uri] if args.key?(:uri)
|
2913
|
+
@validation_outputs = args[:validation_outputs] if args.key?(:validation_outputs)
|
2907
2914
|
end
|
2908
2915
|
end
|
2909
2916
|
|
@@ -3544,6 +3551,11 @@ module Google
|
|
3544
3551
|
# @return [String]
|
3545
3552
|
attr_accessor :mention_text
|
3546
3553
|
|
3554
|
+
# Optional. Specifies how the entity's value is obtained.
|
3555
|
+
# Corresponds to the JSON property `method`
|
3556
|
+
# @return [String]
|
3557
|
+
attr_accessor :method_prop
|
3558
|
+
|
3547
3559
|
# Parsed and normalized entity value.
|
3548
3560
|
# Corresponds to the JSON property `normalizedValue`
|
3549
3561
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue]
|
@@ -3594,6 +3606,7 @@ module Google
|
|
3594
3606
|
@id = args[:id] if args.key?(:id)
|
3595
3607
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
3596
3608
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
3609
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
3597
3610
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
3598
3611
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
3599
3612
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -5652,6 +5665,70 @@ module Google
|
|
5652
5665
|
end
|
5653
5666
|
end
|
5654
5667
|
|
5668
|
+
# The output of the validation given the document and the validation rules.
|
5669
|
+
class GoogleCloudDocumentaiV1beta3DocumentValidationOutput
|
5670
|
+
include Google::Apis::Core::Hashable
|
5671
|
+
|
5672
|
+
# The overall result of the validation, true if all applicable rules are valid.
|
5673
|
+
# Corresponds to the JSON property `passAllRules`
|
5674
|
+
# @return [Boolean]
|
5675
|
+
attr_accessor :pass_all_rules
|
5676
|
+
alias_method :pass_all_rules?, :pass_all_rules
|
5677
|
+
|
5678
|
+
# The result of each validation rule.
|
5679
|
+
# Corresponds to the JSON property `validationResults`
|
5680
|
+
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult>]
|
5681
|
+
attr_accessor :validation_results
|
5682
|
+
|
5683
|
+
def initialize(**args)
|
5684
|
+
update!(**args)
|
5685
|
+
end
|
5686
|
+
|
5687
|
+
# Update properties of this object
|
5688
|
+
def update!(**args)
|
5689
|
+
@pass_all_rules = args[:pass_all_rules] if args.key?(:pass_all_rules)
|
5690
|
+
@validation_results = args[:validation_results] if args.key?(:validation_results)
|
5691
|
+
end
|
5692
|
+
end
|
5693
|
+
|
5694
|
+
# Validation result for a single validation rule.
|
5695
|
+
class GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult
|
5696
|
+
include Google::Apis::Core::Hashable
|
5697
|
+
|
5698
|
+
# The description of the validation rule.
|
5699
|
+
# Corresponds to the JSON property `ruleDescription`
|
5700
|
+
# @return [String]
|
5701
|
+
attr_accessor :rule_description
|
5702
|
+
|
5703
|
+
# The name of the validation rule.
|
5704
|
+
# Corresponds to the JSON property `ruleName`
|
5705
|
+
# @return [String]
|
5706
|
+
attr_accessor :rule_name
|
5707
|
+
|
5708
|
+
# The detailed information of the running the validation process using the
|
5709
|
+
# entity from the document based on the validation rule.
|
5710
|
+
# Corresponds to the JSON property `validationDetails`
|
5711
|
+
# @return [String]
|
5712
|
+
attr_accessor :validation_details
|
5713
|
+
|
5714
|
+
# The result of the validation rule.
|
5715
|
+
# Corresponds to the JSON property `validationResultType`
|
5716
|
+
# @return [String]
|
5717
|
+
attr_accessor :validation_result_type
|
5718
|
+
|
5719
|
+
def initialize(**args)
|
5720
|
+
update!(**args)
|
5721
|
+
end
|
5722
|
+
|
5723
|
+
# Update properties of this object
|
5724
|
+
def update!(**args)
|
5725
|
+
@rule_description = args[:rule_description] if args.key?(:rule_description)
|
5726
|
+
@rule_name = args[:rule_name] if args.key?(:rule_name)
|
5727
|
+
@validation_details = args[:validation_details] if args.key?(:validation_details)
|
5728
|
+
@validation_result_type = args[:validation_result_type] if args.key?(:validation_result_type)
|
5729
|
+
end
|
5730
|
+
end
|
5731
|
+
|
5655
5732
|
# The long-running operation metadata for the EnableProcessor method.
|
5656
5733
|
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
5657
5734
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1beta3
|
18
18
|
# Version of the google-apis-documentai_v1beta3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.110.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250811"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1108,6 +1108,18 @@ module Google
|
|
1108
1108
|
include Google::Apis::Core::JsonObjectSupport
|
1109
1109
|
end
|
1110
1110
|
|
1111
|
+
class GoogleCloudDocumentaiV1beta3DocumentValidationOutput
|
1112
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1113
|
+
|
1114
|
+
include Google::Apis::Core::JsonObjectSupport
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
class GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult
|
1118
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1119
|
+
|
1120
|
+
include Google::Apis::Core::JsonObjectSupport
|
1121
|
+
end
|
1122
|
+
|
1111
1123
|
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
1112
1124
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1113
1125
|
|
@@ -2648,6 +2660,8 @@ module Google
|
|
2648
2660
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle::Representation
|
2649
2661
|
|
2650
2662
|
property :uri, as: 'uri'
|
2663
|
+
collection :validation_outputs, as: 'validationOutputs', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentValidationOutput, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentValidationOutput::Representation
|
2664
|
+
|
2651
2665
|
end
|
2652
2666
|
end
|
2653
2667
|
|
@@ -2860,6 +2874,7 @@ module Google
|
|
2860
2874
|
property :id, as: 'id'
|
2861
2875
|
property :mention_id, as: 'mentionId'
|
2862
2876
|
property :mention_text, as: 'mentionText'
|
2877
|
+
property :method_prop, as: 'method'
|
2863
2878
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue::Representation
|
2864
2879
|
|
2865
2880
|
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchor::Representation
|
@@ -3425,6 +3440,25 @@ module Google
|
|
3425
3440
|
end
|
3426
3441
|
end
|
3427
3442
|
|
3443
|
+
class GoogleCloudDocumentaiV1beta3DocumentValidationOutput
|
3444
|
+
# @private
|
3445
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3446
|
+
property :pass_all_rules, as: 'passAllRules'
|
3447
|
+
collection :validation_results, as: 'validationResults', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult::Representation
|
3448
|
+
|
3449
|
+
end
|
3450
|
+
end
|
3451
|
+
|
3452
|
+
class GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult
|
3453
|
+
# @private
|
3454
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3455
|
+
property :rule_description, as: 'ruleDescription'
|
3456
|
+
property :rule_name, as: 'ruleName'
|
3457
|
+
property :validation_details, as: 'validationDetails'
|
3458
|
+
property :validation_result_type, as: 'validationResultType'
|
3459
|
+
end
|
3460
|
+
end
|
3461
|
+
|
3428
3462
|
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
3429
3463
|
# @private
|
3430
3464
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1beta3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.110.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.110.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|