google-apis-documentai_v1 0.101.0 → 0.102.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: d401e4a2d5ccc9de7b938b3d794d799d7b4e487ad4fce9ac4607186c0cb1aa69
|
4
|
+
data.tar.gz: ca90daddcd8e7e2c11e753a99424e441a5cdbbbc913e54d195c13cdd2ff22082
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae77aec26e194095c58fb521b21af1eb5d4df616775f787e2b4698b369bb739d8b4220047611be9035d19df150cda6efb74095e388b09b5b3f445ac546563ca5
|
7
|
+
data.tar.gz: 732abc5acf6e64c248cf2ff044449dd626f73006169a60b69bccf1cccb4ef1a51cccd827d67a4f470e87baaaee9691c891f4499d70235be585db986cb74a98bb
|
data/CHANGELOG.md
CHANGED
@@ -22,6 +22,239 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DocumentaiV1
|
24
24
|
|
25
|
+
# Definition of the validation rules. Those are the input to the validator logic
|
26
|
+
# and they are used to validate a document.
|
27
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInput
|
28
|
+
include Google::Apis::Core::Hashable
|
29
|
+
|
30
|
+
#
|
31
|
+
# Corresponds to the JSON property `validationRules`
|
32
|
+
# @return [Array<Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule>]
|
33
|
+
attr_accessor :validation_rules
|
34
|
+
|
35
|
+
def initialize(**args)
|
36
|
+
update!(**args)
|
37
|
+
end
|
38
|
+
|
39
|
+
# Update properties of this object
|
40
|
+
def update!(**args)
|
41
|
+
@validation_rules = args[:validation_rules] if args.key?(:validation_rules)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
#
|
46
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule
|
47
|
+
include Google::Apis::Core::Hashable
|
48
|
+
|
49
|
+
# Description of the validation rule. This has no use but for documentation
|
50
|
+
# Corresponds to the JSON property `description`
|
51
|
+
# @return [String]
|
52
|
+
attr_accessor :description
|
53
|
+
|
54
|
+
#
|
55
|
+
# Corresponds to the JSON property `fieldOccurrences`
|
56
|
+
# @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences]
|
57
|
+
attr_accessor :field_occurrences
|
58
|
+
|
59
|
+
#
|
60
|
+
# Corresponds to the JSON property `fieldRegex`
|
61
|
+
# @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex]
|
62
|
+
attr_accessor :field_regex
|
63
|
+
|
64
|
+
#
|
65
|
+
# Corresponds to the JSON property `formValidation`
|
66
|
+
# @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation]
|
67
|
+
attr_accessor :form_validation
|
68
|
+
|
69
|
+
# Name of the validation rule.
|
70
|
+
# Corresponds to the JSON property `name`
|
71
|
+
# @return [String]
|
72
|
+
attr_accessor :name
|
73
|
+
|
74
|
+
def initialize(**args)
|
75
|
+
update!(**args)
|
76
|
+
end
|
77
|
+
|
78
|
+
# Update properties of this object
|
79
|
+
def update!(**args)
|
80
|
+
@description = args[:description] if args.key?(:description)
|
81
|
+
@field_occurrences = args[:field_occurrences] if args.key?(:field_occurrences)
|
82
|
+
@field_regex = args[:field_regex] if args.key?(:field_regex)
|
83
|
+
@form_validation = args[:form_validation] if args.key?(:form_validation)
|
84
|
+
@name = args[:name] if args.key?(:name)
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# The constant value used in the validation rules.
|
89
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant
|
90
|
+
include Google::Apis::Core::Hashable
|
91
|
+
|
92
|
+
#
|
93
|
+
# Corresponds to the JSON property `floatValue`
|
94
|
+
# @return [Float]
|
95
|
+
attr_accessor :float_value
|
96
|
+
|
97
|
+
def initialize(**args)
|
98
|
+
update!(**args)
|
99
|
+
end
|
100
|
+
|
101
|
+
# Update properties of this object
|
102
|
+
def update!(**args)
|
103
|
+
@float_value = args[:float_value] if args.key?(:float_value)
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
#
|
108
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
|
109
|
+
include Google::Apis::Core::Hashable
|
110
|
+
|
111
|
+
# The constant value used in the validation rules.
|
112
|
+
# Corresponds to the JSON property `defaultValue`
|
113
|
+
# @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant]
|
114
|
+
attr_accessor :default_value
|
115
|
+
|
116
|
+
# The field name to validate. This can be a simple field name or a nested field
|
117
|
+
# one using the ':' (meant as an aggregator) or '*' (meant as foreach) operators.
|
118
|
+
# Corresponds to the JSON property `fieldName`
|
119
|
+
# @return [String]
|
120
|
+
attr_accessor :field_name
|
121
|
+
|
122
|
+
def initialize(**args)
|
123
|
+
update!(**args)
|
124
|
+
end
|
125
|
+
|
126
|
+
# Update properties of this object
|
127
|
+
def update!(**args)
|
128
|
+
@default_value = args[:default_value] if args.key?(:default_value)
|
129
|
+
@field_name = args[:field_name] if args.key?(:field_name)
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
#
|
134
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences
|
135
|
+
include Google::Apis::Core::Hashable
|
136
|
+
|
137
|
+
#
|
138
|
+
# Corresponds to the JSON property `field`
|
139
|
+
# @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField]
|
140
|
+
attr_accessor :field
|
141
|
+
|
142
|
+
#
|
143
|
+
# Corresponds to the JSON property `maxOccurrences`
|
144
|
+
# @return [Fixnum]
|
145
|
+
attr_accessor :max_occurrences
|
146
|
+
|
147
|
+
# Min and max occurrences of the field. If not set, there is limit set. The
|
148
|
+
# defined interval is a closed-closed interval, i.e. [min, max].
|
149
|
+
# Corresponds to the JSON property `minOccurrences`
|
150
|
+
# @return [Fixnum]
|
151
|
+
attr_accessor :min_occurrences
|
152
|
+
|
153
|
+
def initialize(**args)
|
154
|
+
update!(**args)
|
155
|
+
end
|
156
|
+
|
157
|
+
# Update properties of this object
|
158
|
+
def update!(**args)
|
159
|
+
@field = args[:field] if args.key?(:field)
|
160
|
+
@max_occurrences = args[:max_occurrences] if args.key?(:max_occurrences)
|
161
|
+
@min_occurrences = args[:min_occurrences] if args.key?(:min_occurrences)
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
#
|
166
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex
|
167
|
+
include Google::Apis::Core::Hashable
|
168
|
+
|
169
|
+
#
|
170
|
+
# Corresponds to the JSON property `field`
|
171
|
+
# @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField]
|
172
|
+
attr_accessor :field
|
173
|
+
|
174
|
+
# Python regex to validate the field values.
|
175
|
+
# Corresponds to the JSON property `pattern`
|
176
|
+
# @return [String]
|
177
|
+
attr_accessor :pattern
|
178
|
+
|
179
|
+
def initialize(**args)
|
180
|
+
update!(**args)
|
181
|
+
end
|
182
|
+
|
183
|
+
# Update properties of this object
|
184
|
+
def update!(**args)
|
185
|
+
@field = args[:field] if args.key?(:field)
|
186
|
+
@pattern = args[:pattern] if args.key?(:pattern)
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
#
|
191
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation
|
192
|
+
include Google::Apis::Core::Hashable
|
193
|
+
|
194
|
+
#
|
195
|
+
# Corresponds to the JSON property `leftOperand`
|
196
|
+
# @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation]
|
197
|
+
attr_accessor :left_operand
|
198
|
+
|
199
|
+
#
|
200
|
+
# Corresponds to the JSON property `rightOperand`
|
201
|
+
# @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation]
|
202
|
+
attr_accessor :right_operand
|
203
|
+
|
204
|
+
# The relational operator to be applied to the operands.
|
205
|
+
# Corresponds to the JSON property `validationOperator`
|
206
|
+
# @return [String]
|
207
|
+
attr_accessor :validation_operator
|
208
|
+
|
209
|
+
def initialize(**args)
|
210
|
+
update!(**args)
|
211
|
+
end
|
212
|
+
|
213
|
+
# Update properties of this object
|
214
|
+
def update!(**args)
|
215
|
+
@left_operand = args[:left_operand] if args.key?(:left_operand)
|
216
|
+
@right_operand = args[:right_operand] if args.key?(:right_operand)
|
217
|
+
@validation_operator = args[:validation_operator] if args.key?(:validation_operator)
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
#
|
222
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation
|
223
|
+
include Google::Apis::Core::Hashable
|
224
|
+
|
225
|
+
# A list of constants to be used as operands.
|
226
|
+
# Corresponds to the JSON property `constants`
|
227
|
+
# @return [Array<Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant>]
|
228
|
+
attr_accessor :constants
|
229
|
+
|
230
|
+
# A list of fields to be used as operands.
|
231
|
+
# Corresponds to the JSON property `fields`
|
232
|
+
# @return [Array<Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField>]
|
233
|
+
attr_accessor :fields
|
234
|
+
|
235
|
+
# The operation type to be applied to all the operands.
|
236
|
+
# Corresponds to the JSON property `operationType`
|
237
|
+
# @return [String]
|
238
|
+
attr_accessor :operation_type
|
239
|
+
|
240
|
+
# A list of recursive operations to be used as operands.
|
241
|
+
# Corresponds to the JSON property `operations`
|
242
|
+
# @return [Array<Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation>]
|
243
|
+
attr_accessor :operations
|
244
|
+
|
245
|
+
def initialize(**args)
|
246
|
+
update!(**args)
|
247
|
+
end
|
248
|
+
|
249
|
+
# Update properties of this object
|
250
|
+
def update!(**args)
|
251
|
+
@constants = args[:constants] if args.key?(:constants)
|
252
|
+
@fields = args[:fields] if args.key?(:fields)
|
253
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
254
|
+
@operations = args[:operations] if args.key?(:operations)
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
25
258
|
# Metadata of the auto-labeling documents operation.
|
26
259
|
class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata
|
27
260
|
include Google::Apis::Core::Hashable
|
@@ -1918,12 +2151,6 @@ module Google
|
|
1918
2151
|
# @return [String]
|
1919
2152
|
attr_accessor :uri
|
1920
2153
|
|
1921
|
-
# The output of the validation given the document and the validation rules. The
|
1922
|
-
# output is appended to the document in the processing order.
|
1923
|
-
# Corresponds to the JSON property `validationOutputs`
|
1924
|
-
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentValidationOutput>]
|
1925
|
-
attr_accessor :validation_outputs
|
1926
|
-
|
1927
2154
|
def initialize(**args)
|
1928
2155
|
update!(**args)
|
1929
2156
|
end
|
@@ -1945,7 +2172,6 @@ module Google
|
|
1945
2172
|
@text_changes = args[:text_changes] if args.key?(:text_changes)
|
1946
2173
|
@text_styles = args[:text_styles] if args.key?(:text_styles)
|
1947
2174
|
@uri = args[:uri] if args.key?(:uri)
|
1948
|
-
@validation_outputs = args[:validation_outputs] if args.key?(:validation_outputs)
|
1949
2175
|
end
|
1950
2176
|
end
|
1951
2177
|
|
@@ -4342,70 +4568,6 @@ module Google
|
|
4342
4568
|
end
|
4343
4569
|
end
|
4344
4570
|
|
4345
|
-
# The output of the validation given the document and the validation rules.
|
4346
|
-
class GoogleCloudDocumentaiV1DocumentValidationOutput
|
4347
|
-
include Google::Apis::Core::Hashable
|
4348
|
-
|
4349
|
-
# The overall result of the validation, true if all applicable rules are valid.
|
4350
|
-
# Corresponds to the JSON property `passAllRules`
|
4351
|
-
# @return [Boolean]
|
4352
|
-
attr_accessor :pass_all_rules
|
4353
|
-
alias_method :pass_all_rules?, :pass_all_rules
|
4354
|
-
|
4355
|
-
# The result of each validation rule.
|
4356
|
-
# Corresponds to the JSON property `validationResults`
|
4357
|
-
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult>]
|
4358
|
-
attr_accessor :validation_results
|
4359
|
-
|
4360
|
-
def initialize(**args)
|
4361
|
-
update!(**args)
|
4362
|
-
end
|
4363
|
-
|
4364
|
-
# Update properties of this object
|
4365
|
-
def update!(**args)
|
4366
|
-
@pass_all_rules = args[:pass_all_rules] if args.key?(:pass_all_rules)
|
4367
|
-
@validation_results = args[:validation_results] if args.key?(:validation_results)
|
4368
|
-
end
|
4369
|
-
end
|
4370
|
-
|
4371
|
-
# Validation result for a single validation rule.
|
4372
|
-
class GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult
|
4373
|
-
include Google::Apis::Core::Hashable
|
4374
|
-
|
4375
|
-
# The description of the validation rule.
|
4376
|
-
# Corresponds to the JSON property `ruleDescription`
|
4377
|
-
# @return [String]
|
4378
|
-
attr_accessor :rule_description
|
4379
|
-
|
4380
|
-
# The name of the validation rule.
|
4381
|
-
# Corresponds to the JSON property `ruleName`
|
4382
|
-
# @return [String]
|
4383
|
-
attr_accessor :rule_name
|
4384
|
-
|
4385
|
-
# The detailed information of the running the validation process using the
|
4386
|
-
# entity from the document based on the validation rule.
|
4387
|
-
# Corresponds to the JSON property `validationDetails`
|
4388
|
-
# @return [String]
|
4389
|
-
attr_accessor :validation_details
|
4390
|
-
|
4391
|
-
# The result of the validation rule.
|
4392
|
-
# Corresponds to the JSON property `validationResultType`
|
4393
|
-
# @return [String]
|
4394
|
-
attr_accessor :validation_result_type
|
4395
|
-
|
4396
|
-
def initialize(**args)
|
4397
|
-
update!(**args)
|
4398
|
-
end
|
4399
|
-
|
4400
|
-
# Update properties of this object
|
4401
|
-
def update!(**args)
|
4402
|
-
@rule_description = args[:rule_description] if args.key?(:rule_description)
|
4403
|
-
@rule_name = args[:rule_name] if args.key?(:rule_name)
|
4404
|
-
@validation_details = args[:validation_details] if args.key?(:validation_details)
|
4405
|
-
@validation_result_type = args[:validation_result_type] if args.key?(:validation_result_type)
|
4406
|
-
end
|
4407
|
-
end
|
4408
|
-
|
4409
4571
|
# The long-running operation metadata for the EnableProcessor method.
|
4410
4572
|
class GoogleCloudDocumentaiV1EnableProcessorMetadata
|
4411
4573
|
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.102.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 = "20250820"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,54 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DocumentaiV1
|
24
24
|
|
25
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInput
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
25
73
|
class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata
|
26
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
75
|
|
@@ -820,18 +868,6 @@ module Google
|
|
820
868
|
include Google::Apis::Core::JsonObjectSupport
|
821
869
|
end
|
822
870
|
|
823
|
-
class GoogleCloudDocumentaiV1DocumentValidationOutput
|
824
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
|
-
|
826
|
-
include Google::Apis::Core::JsonObjectSupport
|
827
|
-
end
|
828
|
-
|
829
|
-
class GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult
|
830
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
831
|
-
|
832
|
-
include Google::Apis::Core::JsonObjectSupport
|
833
|
-
end
|
834
|
-
|
835
871
|
class GoogleCloudDocumentaiV1EnableProcessorMetadata
|
836
872
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
837
873
|
|
@@ -1516,6 +1552,87 @@ module Google
|
|
1516
1552
|
include Google::Apis::Core::JsonObjectSupport
|
1517
1553
|
end
|
1518
1554
|
|
1555
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInput
|
1556
|
+
# @private
|
1557
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1558
|
+
collection :validation_rules, as: 'validationRules', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule::Representation
|
1559
|
+
|
1560
|
+
end
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule
|
1564
|
+
# @private
|
1565
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1566
|
+
property :description, as: 'description'
|
1567
|
+
property :field_occurrences, as: 'fieldOccurrences', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences::Representation
|
1568
|
+
|
1569
|
+
property :field_regex, as: 'fieldRegex', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex::Representation
|
1570
|
+
|
1571
|
+
property :form_validation, as: 'formValidation', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation::Representation
|
1572
|
+
|
1573
|
+
property :name, as: 'name'
|
1574
|
+
end
|
1575
|
+
end
|
1576
|
+
|
1577
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant
|
1578
|
+
# @private
|
1579
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1580
|
+
property :float_value, as: 'floatValue'
|
1581
|
+
end
|
1582
|
+
end
|
1583
|
+
|
1584
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
|
1585
|
+
# @private
|
1586
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1587
|
+
property :default_value, as: 'defaultValue', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant::Representation
|
1588
|
+
|
1589
|
+
property :field_name, as: 'fieldName'
|
1590
|
+
end
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences
|
1594
|
+
# @private
|
1595
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1596
|
+
property :field, as: 'field', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
|
1597
|
+
|
1598
|
+
property :max_occurrences, as: 'maxOccurrences'
|
1599
|
+
property :min_occurrences, as: 'minOccurrences'
|
1600
|
+
end
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex
|
1604
|
+
# @private
|
1605
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1606
|
+
property :field, as: 'field', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
|
1607
|
+
|
1608
|
+
property :pattern, as: 'pattern'
|
1609
|
+
end
|
1610
|
+
end
|
1611
|
+
|
1612
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation
|
1613
|
+
# @private
|
1614
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1615
|
+
property :left_operand, as: 'leftOperand', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation::Representation
|
1616
|
+
|
1617
|
+
property :right_operand, as: 'rightOperand', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation::Representation
|
1618
|
+
|
1619
|
+
property :validation_operator, as: 'validationOperator'
|
1620
|
+
end
|
1621
|
+
end
|
1622
|
+
|
1623
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation
|
1624
|
+
# @private
|
1625
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1626
|
+
collection :constants, as: 'constants', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant::Representation
|
1627
|
+
|
1628
|
+
collection :fields, as: 'fields', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
|
1629
|
+
|
1630
|
+
property :operation_type, as: 'operationType'
|
1631
|
+
collection :operations, as: 'operations', class: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation, decorator: Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation::Representation
|
1632
|
+
|
1633
|
+
end
|
1634
|
+
end
|
1635
|
+
|
1519
1636
|
class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata
|
1520
1637
|
# @private
|
1521
1638
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2184,8 +2301,6 @@ module Google
|
|
2184
2301
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyle, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyle::Representation
|
2185
2302
|
|
2186
2303
|
property :uri, as: 'uri'
|
2187
|
-
collection :validation_outputs, as: 'validationOutputs', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentValidationOutput, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentValidationOutput::Representation
|
2188
|
-
|
2189
2304
|
end
|
2190
2305
|
end
|
2191
2306
|
|
@@ -2855,25 +2970,6 @@ module Google
|
|
2855
2970
|
end
|
2856
2971
|
end
|
2857
2972
|
|
2858
|
-
class GoogleCloudDocumentaiV1DocumentValidationOutput
|
2859
|
-
# @private
|
2860
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2861
|
-
property :pass_all_rules, as: 'passAllRules'
|
2862
|
-
collection :validation_results, as: 'validationResults', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult::Representation
|
2863
|
-
|
2864
|
-
end
|
2865
|
-
end
|
2866
|
-
|
2867
|
-
class GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult
|
2868
|
-
# @private
|
2869
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2870
|
-
property :rule_description, as: 'ruleDescription'
|
2871
|
-
property :rule_name, as: 'ruleName'
|
2872
|
-
property :validation_details, as: 'validationDetails'
|
2873
|
-
property :validation_result_type, as: 'validationResultType'
|
2874
|
-
end
|
2875
|
-
end
|
2876
|
-
|
2877
2973
|
class GoogleCloudDocumentaiV1EnableProcessorMetadata
|
2878
2974
|
# @private
|
2879
2975
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -152,8 +152,8 @@ module Google
|
|
152
152
|
# @param [String] name
|
153
153
|
# The resource that owns the locations collection, if applicable.
|
154
154
|
# @param [Array<String>, String] extra_location_types
|
155
|
-
# Optional.
|
156
|
-
#
|
155
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
156
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
157
157
|
# @param [String] filter
|
158
158
|
# A filter to narrow down results to a preferred subset. The filtering language
|
159
159
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
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.
|
4
|
+
version: 0.102.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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.102.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:
|