google-apis-documentai_v1beta3 0.112.0 → 0.114.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: 7145d43728a6b4352af41ad08ead27a70ab9586bdb1348cb9e2a5b6cd28552bb
4
- data.tar.gz: ad4a643c5defa7fb03d94d1738007989c0bc08c11878d8257d302e65b7a282b7
3
+ metadata.gz: ac3a0af57274749ac43e33b08ce11511c2b5727d48da4b0ec1846622bb47c7b8
4
+ data.tar.gz: '018205408e9a697748c0b8aab27eeefe24552e2cbf463c973917d0ddd1804999'
5
5
  SHA512:
6
- metadata.gz: 89a20cd5073decba500fbf8a2011c71ff90a676652f52dcc3203fde32c92764638877d1f4bdedef4a1926febb290b77593def7fce51e1efd55317ce3888ee15d
7
- data.tar.gz: 3682ffdbba0469c13597e58425561081c8c8b439f8524e4fad825bd618192627a4ce2b886fe36490696d45415f2bd2215243f52e597e063c219e521885696413
6
+ metadata.gz: 8ba865af4b7401defc545849ada170f5cabc543b1f37c4b0aafadd845bed74198ce23a04a727d4d972d88c727fb612d95c3b068be6b6bb866f1a5d245399c358
7
+ data.tar.gz: da8980c0eb9d88eb3180a2e390c4be7284ea3b207bee1913a84daee30e2df9b842ee6ee3b4389611fbc347ceb1dc3620745b4a88653053c3df2e620a8c031ce7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.114.0 (2025-10-12)
4
+
5
+ * Regenerated from discovery document revision 20251007
6
+
7
+ ### v0.113.0 (2025-10-05)
8
+
9
+ * Regenerated from discovery document revision 20250929
10
+
3
11
  ### v0.112.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::DocumentaiV1beta3::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::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule]
62
+ attr_accessor :entity_alignment_rule
63
+
54
64
  #
55
65
  # Corresponds to the JSON property `fieldOccurrences`
56
66
  # @return [Google::Apis::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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
@@ -3053,11 +3155,32 @@ module Google
3053
3155
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntity>]
3054
3156
  attr_accessor :entities
3055
3157
 
3158
+ # The entity revision id that `document.entities` field is based on. If this
3159
+ # field is set and `entities_revisions` is not empty, the entities in `document.
3160
+ # entities` field are the entities in the entity revision with this id and `
3161
+ # document.entity_validation_output` field is the `entity_validation_output`
3162
+ # field in this entity revision.
3163
+ # Corresponds to the JSON property `entitiesRevisionId`
3164
+ # @return [String]
3165
+ attr_accessor :entities_revision_id
3166
+
3167
+ # A list of entity revisions. The entity revisions are appended to the document
3168
+ # in the processing order. This field can be used for comparing the entity
3169
+ # extraction results at different stages of the processing.
3170
+ # Corresponds to the JSON property `entitiesRevisions`
3171
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision>]
3172
+ attr_accessor :entities_revisions
3173
+
3056
3174
  # Placeholder. Relationship among Document.entities.
3057
3175
  # Corresponds to the JSON property `entityRelations`
3058
3176
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityRelation>]
3059
3177
  attr_accessor :entity_relations
3060
3178
 
3179
+ # The output of the validation given the document and the validation rules.
3180
+ # Corresponds to the JSON property `entityValidationOutput`
3181
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput]
3182
+ attr_accessor :entity_validation_output
3183
+
3061
3184
  # The `Status` type defines a logical error model that is suitable for different
3062
3185
  # programming environments, including REST APIs and RPC APIs. It is used by [
3063
3186
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -3127,7 +3250,10 @@ module Google
3127
3250
  @docid = args[:docid] if args.key?(:docid)
3128
3251
  @document_layout = args[:document_layout] if args.key?(:document_layout)
3129
3252
  @entities = args[:entities] if args.key?(:entities)
3253
+ @entities_revision_id = args[:entities_revision_id] if args.key?(:entities_revision_id)
3254
+ @entities_revisions = args[:entities_revisions] if args.key?(:entities_revisions)
3130
3255
  @entity_relations = args[:entity_relations] if args.key?(:entity_relations)
3256
+ @entity_validation_output = args[:entity_validation_output] if args.key?(:entity_validation_output)
3131
3257
  @error = args[:error] if args.key?(:error)
3132
3258
  @mime_type = args[:mime_type] if args.key?(:mime_type)
3133
3259
  @pages = args[:pages] if args.key?(:pages)
@@ -3756,6 +3882,37 @@ module Google
3756
3882
  end
3757
3883
  end
3758
3884
 
3885
+ # Entity revision.
3886
+ class GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision
3887
+ include Google::Apis::Core::Hashable
3888
+
3889
+ # The entities in this revision.
3890
+ # Corresponds to the JSON property `entities`
3891
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntity>]
3892
+ attr_accessor :entities
3893
+
3894
+ # The output of the validation given the document and the validation rules.
3895
+ # Corresponds to the JSON property `entityValidationOutput`
3896
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput]
3897
+ attr_accessor :entity_validation_output
3898
+
3899
+ # The revision id.
3900
+ # Corresponds to the JSON property `revisionId`
3901
+ # @return [String]
3902
+ attr_accessor :revision_id
3903
+
3904
+ def initialize(**args)
3905
+ update!(**args)
3906
+ end
3907
+
3908
+ # Update properties of this object
3909
+ def update!(**args)
3910
+ @entities = args[:entities] if args.key?(:entities)
3911
+ @entity_validation_output = args[:entity_validation_output] if args.key?(:entity_validation_output)
3912
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
3913
+ end
3914
+ end
3915
+
3759
3916
  # An entity that could be a phrase in the text or a property that belongs to the
3760
3917
  # document. It is a known entity type, such as a person, an organization, or
3761
3918
  # location.
@@ -3986,6 +4143,70 @@ module Google
3986
4143
  end
3987
4144
  end
3988
4145
 
4146
+ # The output of the validation given the document and the validation rules.
4147
+ class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput
4148
+ include Google::Apis::Core::Hashable
4149
+
4150
+ # The overall result of the validation, true if all applicable rules are valid.
4151
+ # Corresponds to the JSON property `passAllRules`
4152
+ # @return [Boolean]
4153
+ attr_accessor :pass_all_rules
4154
+ alias_method :pass_all_rules?, :pass_all_rules
4155
+
4156
+ # The result of each validation rule.
4157
+ # Corresponds to the JSON property `validationResults`
4158
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult>]
4159
+ attr_accessor :validation_results
4160
+
4161
+ def initialize(**args)
4162
+ update!(**args)
4163
+ end
4164
+
4165
+ # Update properties of this object
4166
+ def update!(**args)
4167
+ @pass_all_rules = args[:pass_all_rules] if args.key?(:pass_all_rules)
4168
+ @validation_results = args[:validation_results] if args.key?(:validation_results)
4169
+ end
4170
+ end
4171
+
4172
+ # Validation result for a single validation rule.
4173
+ class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult
4174
+ include Google::Apis::Core::Hashable
4175
+
4176
+ # The description of the validation rule.
4177
+ # Corresponds to the JSON property `ruleDescription`
4178
+ # @return [String]
4179
+ attr_accessor :rule_description
4180
+
4181
+ # The name of the validation rule.
4182
+ # Corresponds to the JSON property `ruleName`
4183
+ # @return [String]
4184
+ attr_accessor :rule_name
4185
+
4186
+ # The detailed information of the running the validation process using the
4187
+ # entity from the document based on the validation rule.
4188
+ # Corresponds to the JSON property `validationDetails`
4189
+ # @return [String]
4190
+ attr_accessor :validation_details
4191
+
4192
+ # The result of the validation rule.
4193
+ # Corresponds to the JSON property `validationResultType`
4194
+ # @return [String]
4195
+ attr_accessor :validation_result_type
4196
+
4197
+ def initialize(**args)
4198
+ update!(**args)
4199
+ end
4200
+
4201
+ # Update properties of this object
4202
+ def update!(**args)
4203
+ @rule_description = args[:rule_description] if args.key?(:rule_description)
4204
+ @rule_name = args[:rule_name] if args.key?(:rule_name)
4205
+ @validation_details = args[:validation_details] if args.key?(:validation_details)
4206
+ @validation_result_type = args[:validation_result_type] if args.key?(:validation_result_type)
4207
+ end
4208
+ end
4209
+
3989
4210
  # Document Identifier.
3990
4211
  class GoogleCloudDocumentaiV1beta3DocumentId
3991
4212
  include Google::Apis::Core::Hashable
@@ -8504,6 +8725,13 @@ module Google
8504
8725
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation>]
8505
8726
  attr_accessor :operations
8506
8727
 
8728
+ # Unordered list. Unreachable resources. Populated when the request sets `
8729
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
8730
+ # when attempting to list all resources across all supported locations.
8731
+ # Corresponds to the JSON property `unreachable`
8732
+ # @return [Array<String>]
8733
+ attr_accessor :unreachable
8734
+
8507
8735
  def initialize(**args)
8508
8736
  update!(**args)
8509
8737
  end
@@ -8512,6 +8740,7 @@ module Google
8512
8740
  def update!(**args)
8513
8741
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8514
8742
  @operations = args[:operations] if args.key?(:operations)
8743
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
8515
8744
  end
8516
8745
  end
8517
8746
 
@@ -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.112.0"
19
+ GEM_VERSION = "0.114.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 = "20251007"
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
 
@@ -868,6 +886,12 @@ module Google
868
886
  include Google::Apis::Core::JsonObjectSupport
869
887
  end
870
888
 
889
+ class GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
871
895
  class GoogleCloudDocumentaiV1beta3DocumentEntity
872
896
  class Representation < Google::Apis::Core::JsonRepresentation; end
873
897
 
@@ -886,6 +910,18 @@ module Google
886
910
  include Google::Apis::Core::JsonObjectSupport
887
911
  end
888
912
 
913
+ class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
919
+ class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
889
925
  class GoogleCloudDocumentaiV1beta3DocumentId
890
926
  class Representation < Google::Apis::Core::JsonRepresentation; end
891
927
 
@@ -1707,7 +1743,11 @@ module Google
1707
1743
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule
1708
1744
  # @private
1709
1745
  class Representation < Google::Apis::Core::JsonRepresentation
1746
+ property :child_alignment_rule, as: 'childAlignmentRule', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule::Representation
1747
+
1710
1748
  property :description, as: 'description'
1749
+ property :entity_alignment_rule, as: 'entityAlignmentRule', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule::Representation
1750
+
1711
1751
  property :field_occurrences, as: 'fieldOccurrences', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences::Representation
1712
1752
 
1713
1753
  property :field_regex, as: 'fieldRegex', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex::Representation
@@ -1718,6 +1758,26 @@ module Google
1718
1758
  end
1719
1759
  end
1720
1760
 
1761
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule
1762
+ # @private
1763
+ class Representation < Google::Apis::Core::JsonRepresentation
1764
+ property :alignment_type, as: 'alignmentType'
1765
+ property :tolerance, as: 'tolerance'
1766
+ end
1767
+ end
1768
+
1769
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule
1770
+ # @private
1771
+ class Representation < Google::Apis::Core::JsonRepresentation
1772
+ property :alignment_rule, as: 'alignmentRule', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule::Representation
1773
+
1774
+ collection :child_fields, as: 'childFields', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
1775
+
1776
+ property :parent_field, as: 'parentField', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
1777
+
1778
+ end
1779
+ end
1780
+
1721
1781
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant
1722
1782
  # @private
1723
1783
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1725,6 +1785,16 @@ module Google
1725
1785
  end
1726
1786
  end
1727
1787
 
1788
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule
1789
+ # @private
1790
+ class Representation < Google::Apis::Core::JsonRepresentation
1791
+ property :alignment_rule, as: 'alignmentRule', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule::Representation
1792
+
1793
+ collection :fields, as: 'fields', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
1794
+
1795
+ end
1796
+ end
1797
+
1728
1798
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
1729
1799
  # @private
1730
1800
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2760,8 +2830,13 @@ module Google
2760
2830
 
2761
2831
  collection :entities, as: 'entities', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntity, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntity::Representation
2762
2832
 
2833
+ property :entities_revision_id, as: 'entitiesRevisionId'
2834
+ collection :entities_revisions, as: 'entitiesRevisions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision::Representation
2835
+
2763
2836
  collection :entity_relations, as: 'entityRelations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityRelation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityRelation::Representation
2764
2837
 
2838
+ property :entity_validation_output, as: 'entityValidationOutput', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput::Representation
2839
+
2765
2840
  property :error, as: 'error', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
2766
2841
 
2767
2842
  property :mime_type, as: 'mimeType'
@@ -2984,6 +3059,17 @@ module Google
2984
3059
  end
2985
3060
  end
2986
3061
 
3062
+ class GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision
3063
+ # @private
3064
+ class Representation < Google::Apis::Core::JsonRepresentation
3065
+ collection :entities, as: 'entities', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntity, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntity::Representation
3066
+
3067
+ property :entity_validation_output, as: 'entityValidationOutput', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput::Representation
3068
+
3069
+ property :revision_id, as: 'revisionId'
3070
+ end
3071
+ end
3072
+
2987
3073
  class GoogleCloudDocumentaiV1beta3DocumentEntity
2988
3074
  # @private
2989
3075
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3035,6 +3121,25 @@ module Google
3035
3121
  end
3036
3122
  end
3037
3123
 
3124
+ class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput
3125
+ # @private
3126
+ class Representation < Google::Apis::Core::JsonRepresentation
3127
+ property :pass_all_rules, as: 'passAllRules'
3128
+ collection :validation_results, as: 'validationResults', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult::Representation
3129
+
3130
+ end
3131
+ end
3132
+
3133
+ class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult
3134
+ # @private
3135
+ class Representation < Google::Apis::Core::JsonRepresentation
3136
+ property :rule_description, as: 'ruleDescription'
3137
+ property :rule_name, as: 'ruleName'
3138
+ property :validation_details, as: 'validationDetails'
3139
+ property :validation_result_type, as: 'validationResultType'
3140
+ end
3141
+ end
3142
+
3038
3143
  class GoogleCloudDocumentaiV1beta3DocumentId
3039
3144
  # @private
3040
3145
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4346,6 +4451,7 @@ module Google
4346
4451
  property :next_page_token, as: 'nextPageToken'
4347
4452
  collection :operations, as: 'operations', class: Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation, decorator: Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation::Representation
4348
4453
 
4454
+ collection :unreachable, as: 'unreachable'
4349
4455
  end
4350
4456
  end
4351
4457
 
@@ -240,6 +240,13 @@ module Google
240
240
  # The standard list page size.
241
241
  # @param [String] page_token
242
242
  # The standard list page token.
243
+ # @param [Boolean] return_partial_success
244
+ # When set to `true`, operations that are reachable are returned as normal, and
245
+ # those that are unreachable are returned in the [ListOperationsResponse.
246
+ # unreachable] field. This can only be `true` when reading across collections e.
247
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
248
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
249
+ # explicitly documented otherwise in service or product specific documentation.
243
250
  # @param [String] fields
244
251
  # Selector specifying which fields to include in a partial response.
245
252
  # @param [String] quota_user
@@ -257,7 +264,7 @@ module Google
257
264
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
258
265
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
259
266
  # @raise [Google::Apis::AuthorizationError] Authorization is required
260
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
267
+ 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)
261
268
  command = make_simple_command(:get, 'v1beta3/{+name}', options)
262
269
  command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleLongrunningListOperationsResponse::Representation
263
270
  command.response_class = Google::Apis::DocumentaiV1beta3::GoogleLongrunningListOperationsResponse
@@ -265,6 +272,7 @@ module Google
265
272
  command.query['filter'] = filter unless filter.nil?
266
273
  command.query['pageSize'] = page_size unless page_size.nil?
267
274
  command.query['pageToken'] = page_token unless page_token.nil?
275
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
268
276
  command.query['fields'] = fields unless fields.nil?
269
277
  command.query['quotaUser'] = quota_user unless quota_user.nil?
270
278
  execute_or_queue_command(command, &block)
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.112.0
4
+ version: 0.114.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.112.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.114.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: