google-apis-documentai_v1 0.105.0 → 0.107.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: 5bf90c77c77e7658855f4a5dc7f1663a82e54864c0da6bfc5dc5193b3e9d169f
4
- data.tar.gz: 8f3d2c719c20942d2e1409efe3a15da1e1980e32cf247ce3de40d05bb35eff76
3
+ metadata.gz: 114cb23334db386a8d9b8f058c00b628415bf212301a6db8f4f0cb4107d3b109
4
+ data.tar.gz: 87cafb551095ea367ab01be43b8a3938d8bdff512af07073f468d8a9b78f726e
5
5
  SHA512:
6
- metadata.gz: 4c85f5e6b107c8c55424f693b385c5f3312049de6bcc9ec80fff9f805f60b27076e68f17de278d498a36826049688bd5d16e80c2fc8cdd8eb8d009c0ed9e80b4
7
- data.tar.gz: bf9bb5b68d7c62166f11ef8b8e6b869f3a8f7e0918e28de316a1c383806e0a0557b2940c92ad5fcc643936961026dfa9a42fc8685d073c5e6a2a6c5f9d134d28
6
+ metadata.gz: 01b67200b55af144214df422e4960cd066e03800d83d99e7b4244dc0917707cd129681ab1200d916c42638bba1481ee69fc6a12ecc8fa91f5fa5c24933d32bd6
7
+ data.tar.gz: a46f048434516e41de60940f115a9a17b57bd65a30df4bca2de6e16f29b64d04622ac965df2d88ab1910914cb2f2c8d3c753d3b4ecaae7c3859b8629a6004763
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.107.0 (2025-10-19)
4
+
5
+ * Regenerated from discovery document revision 20251013
6
+
7
+ ### v0.106.0 (2025-10-05)
8
+
9
+ * Regenerated from discovery document revision 20250929
10
+
3
11
  ### v0.105.0 (2025-09-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20250922
@@ -46,11 +46,21 @@ module Google
46
46
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule
47
47
  include Google::Apis::Core::Hashable
48
48
 
49
+ # A rule that aligns specified child fields with a parent field.
50
+ # Corresponds to the JSON property `childAlignmentRule`
51
+ # @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule]
52
+ attr_accessor :child_alignment_rule
53
+
49
54
  # Description of the validation rule. This has no use but for documentation
50
55
  # Corresponds to the JSON property `description`
51
56
  # @return [String]
52
57
  attr_accessor :description
53
58
 
59
+ # A rule that aligns specified fields with each other.
60
+ # Corresponds to the JSON property `entityAlignmentRule`
61
+ # @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule]
62
+ attr_accessor :entity_alignment_rule
63
+
54
64
  #
55
65
  # Corresponds to the JSON property `fieldOccurrences`
56
66
  # @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences]
@@ -77,7 +87,9 @@ module Google
77
87
 
78
88
  # Update properties of this object
79
89
  def update!(**args)
90
+ @child_alignment_rule = args[:child_alignment_rule] if args.key?(:child_alignment_rule)
80
91
  @description = args[:description] if args.key?(:description)
92
+ @entity_alignment_rule = args[:entity_alignment_rule] if args.key?(:entity_alignment_rule)
81
93
  @field_occurrences = args[:field_occurrences] if args.key?(:field_occurrences)
82
94
  @field_regex = args[:field_regex] if args.key?(:field_regex)
83
95
  @form_validation = args[:form_validation] if args.key?(:form_validation)
@@ -85,6 +97,68 @@ module Google
85
97
  end
86
98
  end
87
99
 
100
+ # A rule for checking field alignment. Horizontal alignment checks if fields are
101
+ # on the same row by comparing y-coordinates of bounding box centers, while
102
+ # vertical alignment checks if fields are on the same column by comparing x-
103
+ # coordinates of bounding box centers.
104
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule
105
+ include Google::Apis::Core::Hashable
106
+
107
+ #
108
+ # Corresponds to the JSON property `alignmentType`
109
+ # @return [String]
110
+ attr_accessor :alignment_type
111
+
112
+ # The tolerance to use when comparing coordinates.
113
+ # Corresponds to the JSON property `tolerance`
114
+ # @return [Float]
115
+ attr_accessor :tolerance
116
+
117
+ def initialize(**args)
118
+ update!(**args)
119
+ end
120
+
121
+ # Update properties of this object
122
+ def update!(**args)
123
+ @alignment_type = args[:alignment_type] if args.key?(:alignment_type)
124
+ @tolerance = args[:tolerance] if args.key?(:tolerance)
125
+ end
126
+ end
127
+
128
+ # A rule that aligns specified child fields with a parent field.
129
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule
130
+ include Google::Apis::Core::Hashable
131
+
132
+ # A rule for checking field alignment. Horizontal alignment checks if fields are
133
+ # on the same row by comparing y-coordinates of bounding box centers, while
134
+ # vertical alignment checks if fields are on the same column by comparing x-
135
+ # coordinates of bounding box centers.
136
+ # Corresponds to the JSON property `alignmentRule`
137
+ # @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule]
138
+ attr_accessor :alignment_rule
139
+
140
+ # The child fields to be aligned within the parent field.
141
+ # Corresponds to the JSON property `childFields`
142
+ # @return [Array<Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField>]
143
+ attr_accessor :child_fields
144
+
145
+ # The full path of the parent field.
146
+ # Corresponds to the JSON property `parentField`
147
+ # @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField]
148
+ attr_accessor :parent_field
149
+
150
+ def initialize(**args)
151
+ update!(**args)
152
+ end
153
+
154
+ # Update properties of this object
155
+ def update!(**args)
156
+ @alignment_rule = args[:alignment_rule] if args.key?(:alignment_rule)
157
+ @child_fields = args[:child_fields] if args.key?(:child_fields)
158
+ @parent_field = args[:parent_field] if args.key?(:parent_field)
159
+ end
160
+ end
161
+
88
162
  # The constant value used in the validation rules.
89
163
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant
90
164
  include Google::Apis::Core::Hashable
@@ -104,6 +178,34 @@ module Google
104
178
  end
105
179
  end
106
180
 
181
+ # A rule that aligns specified fields with each other.
182
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule
183
+ include Google::Apis::Core::Hashable
184
+
185
+ # A rule for checking field alignment. Horizontal alignment checks if fields are
186
+ # on the same row by comparing y-coordinates of bounding box centers, while
187
+ # vertical alignment checks if fields are on the same column by comparing x-
188
+ # coordinates of bounding box centers.
189
+ # Corresponds to the JSON property `alignmentRule`
190
+ # @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule]
191
+ attr_accessor :alignment_rule
192
+
193
+ # The fields to be aligned.
194
+ # Corresponds to the JSON property `fields`
195
+ # @return [Array<Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField>]
196
+ attr_accessor :fields
197
+
198
+ def initialize(**args)
199
+ update!(**args)
200
+ end
201
+
202
+ # Update properties of this object
203
+ def update!(**args)
204
+ @alignment_rule = args[:alignment_rule] if args.key?(:alignment_rule)
205
+ @fields = args[:fields] if args.key?(:fields)
206
+ end
207
+ end
208
+
107
209
  #
108
210
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
109
211
  include Google::Apis::Core::Hashable
@@ -2089,11 +2191,32 @@ module Google
2089
2191
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntity>]
2090
2192
  attr_accessor :entities
2091
2193
 
2194
+ # The entity revision id that `document.entities` field is based on. If this
2195
+ # field is set and `entities_revisions` is not empty, the entities in `document.
2196
+ # entities` field are the entities in the entity revision with this id and `
2197
+ # document.entity_validation_output` field is the `entity_validation_output`
2198
+ # field in this entity revision.
2199
+ # Corresponds to the JSON property `entitiesRevisionId`
2200
+ # @return [String]
2201
+ attr_accessor :entities_revision_id
2202
+
2203
+ # A list of entity revisions. The entity revisions are appended to the document
2204
+ # in the processing order. This field can be used for comparing the entity
2205
+ # extraction results at different stages of the processing.
2206
+ # Corresponds to the JSON property `entitiesRevisions`
2207
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntitiesRevision>]
2208
+ attr_accessor :entities_revisions
2209
+
2092
2210
  # Placeholder. Relationship among Document.entities.
2093
2211
  # Corresponds to the JSON property `entityRelations`
2094
2212
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityRelation>]
2095
2213
  attr_accessor :entity_relations
2096
2214
 
2215
+ # The output of the validation given the document and the validation rules.
2216
+ # Corresponds to the JSON property `entityValidationOutput`
2217
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityValidationOutput]
2218
+ attr_accessor :entity_validation_output
2219
+
2097
2220
  # The `Status` type defines a logical error model that is suitable for different
2098
2221
  # programming environments, including REST APIs and RPC APIs. It is used by [
2099
2222
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2162,7 +2285,10 @@ module Google
2162
2285
  @docid = args[:docid] if args.key?(:docid)
2163
2286
  @document_layout = args[:document_layout] if args.key?(:document_layout)
2164
2287
  @entities = args[:entities] if args.key?(:entities)
2288
+ @entities_revision_id = args[:entities_revision_id] if args.key?(:entities_revision_id)
2289
+ @entities_revisions = args[:entities_revisions] if args.key?(:entities_revisions)
2165
2290
  @entity_relations = args[:entity_relations] if args.key?(:entity_relations)
2291
+ @entity_validation_output = args[:entity_validation_output] if args.key?(:entity_validation_output)
2166
2292
  @error = args[:error] if args.key?(:error)
2167
2293
  @mime_type = args[:mime_type] if args.key?(:mime_type)
2168
2294
  @pages = args[:pages] if args.key?(:pages)
@@ -2575,6 +2701,37 @@ module Google
2575
2701
  end
2576
2702
  end
2577
2703
 
2704
+ # Entity revision.
2705
+ class GoogleCloudDocumentaiV1DocumentEntitiesRevision
2706
+ include Google::Apis::Core::Hashable
2707
+
2708
+ # The entities in this revision.
2709
+ # Corresponds to the JSON property `entities`
2710
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntity>]
2711
+ attr_accessor :entities
2712
+
2713
+ # The output of the validation given the document and the validation rules.
2714
+ # Corresponds to the JSON property `entityValidationOutput`
2715
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityValidationOutput]
2716
+ attr_accessor :entity_validation_output
2717
+
2718
+ # The revision id.
2719
+ # Corresponds to the JSON property `revisionId`
2720
+ # @return [String]
2721
+ attr_accessor :revision_id
2722
+
2723
+ def initialize(**args)
2724
+ update!(**args)
2725
+ end
2726
+
2727
+ # Update properties of this object
2728
+ def update!(**args)
2729
+ @entities = args[:entities] if args.key?(:entities)
2730
+ @entity_validation_output = args[:entity_validation_output] if args.key?(:entity_validation_output)
2731
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
2732
+ end
2733
+ end
2734
+
2578
2735
  # An entity that could be a phrase in the text or a property that belongs to the
2579
2736
  # document. It is a known entity type, such as a person, an organization, or
2580
2737
  # location.
@@ -2738,7 +2895,8 @@ module Google
2738
2895
  # @return [Google::Apis::DocumentaiV1::GoogleTypeMoney]
2739
2896
  attr_accessor :money_value
2740
2897
 
2741
- #
2898
+ # A signature - a graphical representation of a person's name, often used to
2899
+ # sign a document.
2742
2900
  # Corresponds to the JSON property `signatureValue`
2743
2901
  # @return [Boolean]
2744
2902
  attr_accessor :signature_value
@@ -2805,6 +2963,70 @@ module Google
2805
2963
  end
2806
2964
  end
2807
2965
 
2966
+ # The output of the validation given the document and the validation rules.
2967
+ class GoogleCloudDocumentaiV1DocumentEntityValidationOutput
2968
+ include Google::Apis::Core::Hashable
2969
+
2970
+ # The overall result of the validation, true if all applicable rules are valid.
2971
+ # Corresponds to the JSON property `passAllRules`
2972
+ # @return [Boolean]
2973
+ attr_accessor :pass_all_rules
2974
+ alias_method :pass_all_rules?, :pass_all_rules
2975
+
2976
+ # The result of each validation rule.
2977
+ # Corresponds to the JSON property `validationResults`
2978
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityValidationOutputValidationResult>]
2979
+ attr_accessor :validation_results
2980
+
2981
+ def initialize(**args)
2982
+ update!(**args)
2983
+ end
2984
+
2985
+ # Update properties of this object
2986
+ def update!(**args)
2987
+ @pass_all_rules = args[:pass_all_rules] if args.key?(:pass_all_rules)
2988
+ @validation_results = args[:validation_results] if args.key?(:validation_results)
2989
+ end
2990
+ end
2991
+
2992
+ # Validation result for a single validation rule.
2993
+ class GoogleCloudDocumentaiV1DocumentEntityValidationOutputValidationResult
2994
+ include Google::Apis::Core::Hashable
2995
+
2996
+ # The description of the validation rule.
2997
+ # Corresponds to the JSON property `ruleDescription`
2998
+ # @return [String]
2999
+ attr_accessor :rule_description
3000
+
3001
+ # The name of the validation rule.
3002
+ # Corresponds to the JSON property `ruleName`
3003
+ # @return [String]
3004
+ attr_accessor :rule_name
3005
+
3006
+ # The detailed information of the running the validation process using the
3007
+ # entity from the document based on the validation rule.
3008
+ # Corresponds to the JSON property `validationDetails`
3009
+ # @return [String]
3010
+ attr_accessor :validation_details
3011
+
3012
+ # The result of the validation rule.
3013
+ # Corresponds to the JSON property `validationResultType`
3014
+ # @return [String]
3015
+ attr_accessor :validation_result_type
3016
+
3017
+ def initialize(**args)
3018
+ update!(**args)
3019
+ end
3020
+
3021
+ # Update properties of this object
3022
+ def update!(**args)
3023
+ @rule_description = args[:rule_description] if args.key?(:rule_description)
3024
+ @rule_name = args[:rule_name] if args.key?(:rule_name)
3025
+ @validation_details = args[:validation_details] if args.key?(:validation_details)
3026
+ @validation_result_type = args[:validation_result_type] if args.key?(:validation_result_type)
3027
+ end
3028
+ end
3029
+
2808
3030
  # Config that controls the output of documents. All documents will be written as
2809
3031
  # a JSON file.
2810
3032
  class GoogleCloudDocumentaiV1DocumentOutputConfig
@@ -7659,6 +7881,13 @@ module Google
7659
7881
  # @return [Array<Google::Apis::DocumentaiV1::GoogleLongrunningOperation>]
7660
7882
  attr_accessor :operations
7661
7883
 
7884
+ # Unordered list. Unreachable resources. Populated when the request sets `
7885
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
7886
+ # when attempting to list all resources across all supported locations.
7887
+ # Corresponds to the JSON property `unreachable`
7888
+ # @return [Array<String>]
7889
+ attr_accessor :unreachable
7890
+
7662
7891
  def initialize(**args)
7663
7892
  update!(**args)
7664
7893
  end
@@ -7667,6 +7896,7 @@ module Google
7667
7896
  def update!(**args)
7668
7897
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7669
7898
  @operations = args[:operations] if args.key?(:operations)
7899
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
7670
7900
  end
7671
7901
  end
7672
7902
 
@@ -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.105.0"
19
+ GEM_VERSION = "0.107.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 = "20250922"
25
+ REVISION = "20251013"
26
26
  end
27
27
  end
28
28
  end
@@ -34,12 +34,30 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
37
49
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant
38
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
51
 
40
52
  include Google::Apis::Core::JsonObjectSupport
41
53
  end
42
54
 
55
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
43
61
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
44
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
63
 
@@ -604,6 +622,12 @@ module Google
604
622
  include Google::Apis::Core::JsonObjectSupport
605
623
  end
606
624
 
625
+ class GoogleCloudDocumentaiV1DocumentEntitiesRevision
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
607
631
  class GoogleCloudDocumentaiV1DocumentEntity
608
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
633
 
@@ -622,6 +646,18 @@ module Google
622
646
  include Google::Apis::Core::JsonObjectSupport
623
647
  end
624
648
 
649
+ class GoogleCloudDocumentaiV1DocumentEntityValidationOutput
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class GoogleCloudDocumentaiV1DocumentEntityValidationOutputValidationResult
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
625
661
  class GoogleCloudDocumentaiV1DocumentOutputConfig
626
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
663
 
@@ -1563,7 +1599,11 @@ module Google
1563
1599
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule
1564
1600
  # @private
1565
1601
  class Representation < Google::Apis::Core::JsonRepresentation
1602
+ property :child_alignment_rule, as: 'childAlignmentRule', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule::Representation
1603
+
1566
1604
  property :description, as: 'description'
1605
+ property :entity_alignment_rule, as: 'entityAlignmentRule', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule::Representation
1606
+
1567
1607
  property :field_occurrences, as: 'fieldOccurrences', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences::Representation
1568
1608
 
1569
1609
  property :field_regex, as: 'fieldRegex', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex::Representation
@@ -1574,6 +1614,26 @@ module Google
1574
1614
  end
1575
1615
  end
1576
1616
 
1617
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule
1618
+ # @private
1619
+ class Representation < Google::Apis::Core::JsonRepresentation
1620
+ property :alignment_type, as: 'alignmentType'
1621
+ property :tolerance, as: 'tolerance'
1622
+ end
1623
+ end
1624
+
1625
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule
1626
+ # @private
1627
+ class Representation < Google::Apis::Core::JsonRepresentation
1628
+ property :alignment_rule, as: 'alignmentRule', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule::Representation
1629
+
1630
+ collection :child_fields, as: 'childFields', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
1631
+
1632
+ property :parent_field, as: 'parentField', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
1633
+
1634
+ end
1635
+ end
1636
+
1577
1637
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant
1578
1638
  # @private
1579
1639
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1581,6 +1641,16 @@ module Google
1581
1641
  end
1582
1642
  end
1583
1643
 
1644
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule
1645
+ # @private
1646
+ class Representation < Google::Apis::Core::JsonRepresentation
1647
+ property :alignment_rule, as: 'alignmentRule', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule::Representation
1648
+
1649
+ collection :fields, as: 'fields', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
1650
+
1651
+ end
1652
+ end
1653
+
1584
1654
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
1585
1655
  # @private
1586
1656
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2284,8 +2354,13 @@ module Google
2284
2354
 
2285
2355
  collection :entities, as: 'entities', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntity, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntity::Representation
2286
2356
 
2357
+ property :entities_revision_id, as: 'entitiesRevisionId'
2358
+ collection :entities_revisions, as: 'entitiesRevisions', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntitiesRevision, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntitiesRevision::Representation
2359
+
2287
2360
  collection :entity_relations, as: 'entityRelations', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityRelation, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityRelation::Representation
2288
2361
 
2362
+ property :entity_validation_output, as: 'entityValidationOutput', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityValidationOutput, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityValidationOutput::Representation
2363
+
2289
2364
  property :error, as: 'error', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
2290
2365
 
2291
2366
  property :mime_type, as: 'mimeType'
@@ -2442,6 +2517,17 @@ module Google
2442
2517
  end
2443
2518
  end
2444
2519
 
2520
+ class GoogleCloudDocumentaiV1DocumentEntitiesRevision
2521
+ # @private
2522
+ class Representation < Google::Apis::Core::JsonRepresentation
2523
+ collection :entities, as: 'entities', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntity, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntity::Representation
2524
+
2525
+ property :entity_validation_output, as: 'entityValidationOutput', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityValidationOutput, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityValidationOutput::Representation
2526
+
2527
+ property :revision_id, as: 'revisionId'
2528
+ end
2529
+ end
2530
+
2445
2531
  class GoogleCloudDocumentaiV1DocumentEntity
2446
2532
  # @private
2447
2533
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2493,6 +2579,25 @@ module Google
2493
2579
  end
2494
2580
  end
2495
2581
 
2582
+ class GoogleCloudDocumentaiV1DocumentEntityValidationOutput
2583
+ # @private
2584
+ class Representation < Google::Apis::Core::JsonRepresentation
2585
+ property :pass_all_rules, as: 'passAllRules'
2586
+ collection :validation_results, as: 'validationResults', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityValidationOutputValidationResult, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityValidationOutputValidationResult::Representation
2587
+
2588
+ end
2589
+ end
2590
+
2591
+ class GoogleCloudDocumentaiV1DocumentEntityValidationOutputValidationResult
2592
+ # @private
2593
+ class Representation < Google::Apis::Core::JsonRepresentation
2594
+ property :rule_description, as: 'ruleDescription'
2595
+ property :rule_name, as: 'ruleName'
2596
+ property :validation_details, as: 'validationDetails'
2597
+ property :validation_result_type, as: 'validationResultType'
2598
+ end
2599
+ end
2600
+
2496
2601
  class GoogleCloudDocumentaiV1DocumentOutputConfig
2497
2602
  # @private
2498
2603
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3953,6 +4058,7 @@ module Google
3953
4058
  property :next_page_token, as: 'nextPageToken'
3954
4059
  collection :operations, as: 'operations', class: Google::Apis::DocumentaiV1::GoogleLongrunningOperation, decorator: Google::Apis::DocumentaiV1::GoogleLongrunningOperation::Representation
3955
4060
 
4061
+ collection :unreachable, as: 'unreachable'
3956
4062
  end
3957
4063
  end
3958
4064
 
@@ -273,6 +273,13 @@ module Google
273
273
  # The standard list page size.
274
274
  # @param [String] page_token
275
275
  # The standard list page token.
276
+ # @param [Boolean] return_partial_success
277
+ # When set to `true`, operations that are reachable are returned as normal, and
278
+ # those that are unreachable are returned in the [ListOperationsResponse.
279
+ # unreachable] field. This can only be `true` when reading across collections e.
280
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
281
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
282
+ # explicitly documented otherwise in service or product specific documentation.
276
283
  # @param [String] fields
277
284
  # Selector specifying which fields to include in a partial response.
278
285
  # @param [String] quota_user
@@ -290,7 +297,7 @@ module Google
290
297
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
291
298
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
292
299
  # @raise [Google::Apis::AuthorizationError] Authorization is required
293
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
300
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
294
301
  command = make_simple_command(:get, 'v1/{+name}', options)
295
302
  command.response_representation = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse::Representation
296
303
  command.response_class = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse
@@ -298,6 +305,7 @@ module Google
298
305
  command.query['filter'] = filter unless filter.nil?
299
306
  command.query['pageSize'] = page_size unless page_size.nil?
300
307
  command.query['pageToken'] = page_token unless page_token.nil?
308
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
301
309
  command.query['fields'] = fields unless fields.nil?
302
310
  command.query['quotaUser'] = quota_user unless quota_user.nil?
303
311
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.105.0
4
+ version: 0.107.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.105.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.107.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
62
62
  rdoc_options: []
63
63
  require_paths: