google-apis-documentai_v1beta3 0.112.0 → 0.113.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: 3a0d567d8996a938ff50798bb9ee38f7a0e269f84ae7132172ee17ccda1f3b85
4
+ data.tar.gz: 8fbc0efc1533f0f9867d0bb6d32b82525cb9d03d9709f7d388ed5845dbd6555a
5
5
  SHA512:
6
- metadata.gz: 89a20cd5073decba500fbf8a2011c71ff90a676652f52dcc3203fde32c92764638877d1f4bdedef4a1926febb290b77593def7fce51e1efd55317ce3888ee15d
7
- data.tar.gz: 3682ffdbba0469c13597e58425561081c8c8b439f8524e4fad825bd618192627a4ce2b886fe36490696d45415f2bd2215243f52e597e063c219e521885696413
6
+ metadata.gz: 05b5c7bbee00bbb4cad6466994d8f078c6947ea2abad717e39d42a221004a78080f99441a31ec46fba7e09da9ff7c4a19b20b5cca410bffa7228d29d301279cb
7
+ data.tar.gz: 7001a1b95300827da340a96e18c9e500273fd9f4da1051211ab2dd437ba2dd182f3df2d3645433897263f28977bd02b54d2da52f37822379214c86555a2c3247
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.113.0 (2025-10-05)
4
+
5
+ * Regenerated from discovery document revision 20250929
6
+
3
7
  ### v0.112.0 (2025-09-28)
4
8
 
5
9
  * 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
@@ -8504,6 +8606,13 @@ module Google
8504
8606
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation>]
8505
8607
  attr_accessor :operations
8506
8608
 
8609
+ # Unordered list. Unreachable resources. Populated when the request sets `
8610
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
8611
+ # when attempting to list all resources across all supported locations.
8612
+ # Corresponds to the JSON property `unreachable`
8613
+ # @return [Array<String>]
8614
+ attr_accessor :unreachable
8615
+
8507
8616
  def initialize(**args)
8508
8617
  update!(**args)
8509
8618
  end
@@ -8512,6 +8621,7 @@ module Google
8512
8621
  def update!(**args)
8513
8622
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8514
8623
  @operations = args[:operations] if args.key?(:operations)
8624
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
8515
8625
  end
8516
8626
  end
8517
8627
 
@@ -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.113.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 = "20250929"
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
 
@@ -1707,7 +1725,11 @@ module Google
1707
1725
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule
1708
1726
  # @private
1709
1727
  class Representation < Google::Apis::Core::JsonRepresentation
1728
+ property :child_alignment_rule, as: 'childAlignmentRule', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule::Representation
1729
+
1710
1730
  property :description, as: 'description'
1731
+ property :entity_alignment_rule, as: 'entityAlignmentRule', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule::Representation
1732
+
1711
1733
  property :field_occurrences, as: 'fieldOccurrences', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences::Representation
1712
1734
 
1713
1735
  property :field_regex, as: 'fieldRegex', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex::Representation
@@ -1718,6 +1740,26 @@ module Google
1718
1740
  end
1719
1741
  end
1720
1742
 
1743
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule
1744
+ # @private
1745
+ class Representation < Google::Apis::Core::JsonRepresentation
1746
+ property :alignment_type, as: 'alignmentType'
1747
+ property :tolerance, as: 'tolerance'
1748
+ end
1749
+ end
1750
+
1751
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule
1752
+ # @private
1753
+ class Representation < Google::Apis::Core::JsonRepresentation
1754
+ property :alignment_rule, as: 'alignmentRule', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule::Representation
1755
+
1756
+ collection :child_fields, as: 'childFields', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
1757
+
1758
+ property :parent_field, as: 'parentField', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
1759
+
1760
+ end
1761
+ end
1762
+
1721
1763
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant
1722
1764
  # @private
1723
1765
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1725,6 +1767,16 @@ module Google
1725
1767
  end
1726
1768
  end
1727
1769
 
1770
+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule
1771
+ # @private
1772
+ class Representation < Google::Apis::Core::JsonRepresentation
1773
+ property :alignment_rule, as: 'alignmentRule', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule::Representation
1774
+
1775
+ collection :fields, as: 'fields', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
1776
+
1777
+ end
1778
+ end
1779
+
1728
1780
  class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
1729
1781
  # @private
1730
1782
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4346,6 +4398,7 @@ module Google
4346
4398
  property :next_page_token, as: 'nextPageToken'
4347
4399
  collection :operations, as: 'operations', class: Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation, decorator: Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation::Representation
4348
4400
 
4401
+ collection :unreachable, as: 'unreachable'
4349
4402
  end
4350
4403
  end
4351
4404
 
@@ -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.113.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.113.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: