google-apis-documentai_v1beta3 0.110.0 → 0.111.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 +4 -4
- data/CHANGELOG.md +6 -2
- data/lib/google/apis/documentai_v1beta3/classes.rb +249 -74
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +2 -2
- data/lib/google/apis/documentai_v1beta3/representations.rb +132 -33
- data/lib/google/apis/documentai_v1beta3/service.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d25dd53ea2fd20ae644d481d74403f8b0f8c1724549dda148a80ac4545c26f88
|
4
|
+
data.tar.gz: 84dc4d20b57cc0ce47b291ca3c9e1bb778a93f3df72ad48097eaf8dcedb1fd9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a9db82ab1fe637b168c97f3460caa50b31e1bb87a899b5bcc82b9b82f8ee67a428b80b099a658d635bd08043224b6d40b1c3947804c6b1558359bfe89116ad5
|
7
|
+
data.tar.gz: 2ae622b1f78e67e421c1b76f8d8953ef2c92c5327d78638c12c49ae99bfd5b150a251797da55f3b4324726180c23cbafcf89a011558e3e06c1079e2a35e310e7
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
2
2
|
|
3
|
-
### v0.
|
3
|
+
### v0.111.0 (2025-09-21)
|
4
4
|
|
5
|
-
* Regenerated from discovery document revision
|
5
|
+
* Regenerated from discovery document revision 20250914
|
6
|
+
|
7
|
+
### v0.110.0 (2025-08-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250820
|
6
10
|
|
7
11
|
### v0.109.0 (2025-07-27)
|
8
12
|
|
@@ -22,6 +22,239 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DocumentaiV1beta3
|
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::DocumentaiV1beta3::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::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences]
|
57
|
+
attr_accessor :field_occurrences
|
58
|
+
|
59
|
+
#
|
60
|
+
# Corresponds to the JSON property `fieldRegex`
|
61
|
+
# @return [Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex]
|
62
|
+
attr_accessor :field_regex
|
63
|
+
|
64
|
+
#
|
65
|
+
# Corresponds to the JSON property `formValidation`
|
66
|
+
# @return [Google::Apis::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation]
|
197
|
+
attr_accessor :left_operand
|
198
|
+
|
199
|
+
#
|
200
|
+
# Corresponds to the JSON property `rightOperand`
|
201
|
+
# @return [Google::Apis::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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
|
@@ -2882,12 +3115,6 @@ module Google
|
|
2882
3115
|
# @return [String]
|
2883
3116
|
attr_accessor :uri
|
2884
3117
|
|
2885
|
-
# The output of the validation given the document and the validation rules. The
|
2886
|
-
# output is appended to the document in the processing order.
|
2887
|
-
# Corresponds to the JSON property `validationOutputs`
|
2888
|
-
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentValidationOutput>]
|
2889
|
-
attr_accessor :validation_outputs
|
2890
|
-
|
2891
3118
|
def initialize(**args)
|
2892
3119
|
update!(**args)
|
2893
3120
|
end
|
@@ -2910,7 +3137,6 @@ module Google
|
|
2910
3137
|
@text_changes = args[:text_changes] if args.key?(:text_changes)
|
2911
3138
|
@text_styles = args[:text_styles] if args.key?(:text_styles)
|
2912
3139
|
@uri = args[:uri] if args.key?(:uri)
|
2913
|
-
@validation_outputs = args[:validation_outputs] if args.key?(:validation_outputs)
|
2914
3140
|
end
|
2915
3141
|
end
|
2916
3142
|
|
@@ -3494,6 +3720,11 @@ module Google
|
|
3494
3720
|
class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock
|
3495
3721
|
include Google::Apis::Core::Hashable
|
3496
3722
|
|
3723
|
+
# Represents the annotation of a block or a chunk.
|
3724
|
+
# Corresponds to the JSON property `annotations`
|
3725
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations]
|
3726
|
+
attr_accessor :annotations
|
3727
|
+
|
3497
3728
|
# A text block could further have child blocks. Repeated blocks support further
|
3498
3729
|
# hierarchies and nested blocks.
|
3499
3730
|
# Corresponds to the JSON property `blocks`
|
@@ -3518,6 +3749,7 @@ module Google
|
|
3518
3749
|
|
3519
3750
|
# Update properties of this object
|
3520
3751
|
def update!(**args)
|
3752
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
3521
3753
|
@blocks = args[:blocks] if args.key?(:blocks)
|
3522
3754
|
@text = args[:text] if args.key?(:text)
|
3523
3755
|
@type = args[:type] if args.key?(:type)
|
@@ -5665,70 +5897,6 @@ module Google
|
|
5665
5897
|
end
|
5666
5898
|
end
|
5667
5899
|
|
5668
|
-
# The output of the validation given the document and the validation rules.
|
5669
|
-
class GoogleCloudDocumentaiV1beta3DocumentValidationOutput
|
5670
|
-
include Google::Apis::Core::Hashable
|
5671
|
-
|
5672
|
-
# The overall result of the validation, true if all applicable rules are valid.
|
5673
|
-
# Corresponds to the JSON property `passAllRules`
|
5674
|
-
# @return [Boolean]
|
5675
|
-
attr_accessor :pass_all_rules
|
5676
|
-
alias_method :pass_all_rules?, :pass_all_rules
|
5677
|
-
|
5678
|
-
# The result of each validation rule.
|
5679
|
-
# Corresponds to the JSON property `validationResults`
|
5680
|
-
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult>]
|
5681
|
-
attr_accessor :validation_results
|
5682
|
-
|
5683
|
-
def initialize(**args)
|
5684
|
-
update!(**args)
|
5685
|
-
end
|
5686
|
-
|
5687
|
-
# Update properties of this object
|
5688
|
-
def update!(**args)
|
5689
|
-
@pass_all_rules = args[:pass_all_rules] if args.key?(:pass_all_rules)
|
5690
|
-
@validation_results = args[:validation_results] if args.key?(:validation_results)
|
5691
|
-
end
|
5692
|
-
end
|
5693
|
-
|
5694
|
-
# Validation result for a single validation rule.
|
5695
|
-
class GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult
|
5696
|
-
include Google::Apis::Core::Hashable
|
5697
|
-
|
5698
|
-
# The description of the validation rule.
|
5699
|
-
# Corresponds to the JSON property `ruleDescription`
|
5700
|
-
# @return [String]
|
5701
|
-
attr_accessor :rule_description
|
5702
|
-
|
5703
|
-
# The name of the validation rule.
|
5704
|
-
# Corresponds to the JSON property `ruleName`
|
5705
|
-
# @return [String]
|
5706
|
-
attr_accessor :rule_name
|
5707
|
-
|
5708
|
-
# The detailed information of the running the validation process using the
|
5709
|
-
# entity from the document based on the validation rule.
|
5710
|
-
# Corresponds to the JSON property `validationDetails`
|
5711
|
-
# @return [String]
|
5712
|
-
attr_accessor :validation_details
|
5713
|
-
|
5714
|
-
# The result of the validation rule.
|
5715
|
-
# Corresponds to the JSON property `validationResultType`
|
5716
|
-
# @return [String]
|
5717
|
-
attr_accessor :validation_result_type
|
5718
|
-
|
5719
|
-
def initialize(**args)
|
5720
|
-
update!(**args)
|
5721
|
-
end
|
5722
|
-
|
5723
|
-
# Update properties of this object
|
5724
|
-
def update!(**args)
|
5725
|
-
@rule_description = args[:rule_description] if args.key?(:rule_description)
|
5726
|
-
@rule_name = args[:rule_name] if args.key?(:rule_name)
|
5727
|
-
@validation_details = args[:validation_details] if args.key?(:validation_details)
|
5728
|
-
@validation_result_type = args[:validation_result_type] if args.key?(:validation_result_type)
|
5729
|
-
end
|
5730
|
-
end
|
5731
|
-
|
5732
5900
|
# The long-running operation metadata for the EnableProcessor method.
|
5733
5901
|
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
5734
5902
|
include Google::Apis::Core::Hashable
|
@@ -6526,8 +6694,7 @@ module Google
|
|
6526
6694
|
attr_accessor :external_processor_version_source
|
6527
6695
|
|
6528
6696
|
# The source processor version to import from. The source processor version and
|
6529
|
-
# destination processor need to be in the same environment and region.
|
6530
|
-
# ProcessorVersions with `model_type` `MODEL_TYPE_LLM` are not supported.
|
6697
|
+
# destination processor need to be in the same environment and region.
|
6531
6698
|
# Corresponds to the JSON property `processorVersionSource`
|
6532
6699
|
# @return [String]
|
6533
6700
|
attr_accessor :processor_version_source
|
@@ -7241,6 +7408,13 @@ module Google
|
|
7241
7408
|
class GoogleCloudDocumentaiV1beta3Processor
|
7242
7409
|
include Google::Apis::Core::Hashable
|
7243
7410
|
|
7411
|
+
# Optional. SchemaVersion used by the Processor. It is the same as Processor's
|
7412
|
+
# DatasetSchema.schema_version Format is `projects/`project`/locations/`location`
|
7413
|
+
# /schemas/`schema`/schemaVersions/`schema_version`
|
7414
|
+
# Corresponds to the JSON property `activeSchemaVersion`
|
7415
|
+
# @return [String]
|
7416
|
+
attr_accessor :active_schema_version
|
7417
|
+
|
7244
7418
|
# Output only. The time the processor was created.
|
7245
7419
|
# Corresponds to the JSON property `createTime`
|
7246
7420
|
# @return [String]
|
@@ -7308,6 +7482,7 @@ module Google
|
|
7308
7482
|
|
7309
7483
|
# Update properties of this object
|
7310
7484
|
def update!(**args)
|
7485
|
+
@active_schema_version = args[:active_schema_version] if args.key?(:active_schema_version)
|
7311
7486
|
@create_time = args[:create_time] if args.key?(:create_time)
|
7312
7487
|
@default_processor_version = args[:default_processor_version] if args.key?(:default_processor_version)
|
7313
7488
|
@display_name = args[:display_name] if args.key?(:display_name)
|
@@ -8074,7 +8249,7 @@ module Google
|
|
8074
8249
|
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions
|
8075
8250
|
include Google::Apis::Core::Hashable
|
8076
8251
|
|
8077
|
-
# Training method to use for CDE training.
|
8252
|
+
# Optional. Training method to use for CDE training.
|
8078
8253
|
# Corresponds to the JSON property `trainingMethod`
|
8079
8254
|
# @return [String]
|
8080
8255
|
attr_accessor :training_method
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1beta3
|
18
18
|
# Version of the google-apis-documentai_v1beta3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.111.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 = "20250914"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,54 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DocumentaiV1beta3
|
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
|
|
@@ -1108,18 +1156,6 @@ module Google
|
|
1108
1156
|
include Google::Apis::Core::JsonObjectSupport
|
1109
1157
|
end
|
1110
1158
|
|
1111
|
-
class GoogleCloudDocumentaiV1beta3DocumentValidationOutput
|
1112
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1113
|
-
|
1114
|
-
include Google::Apis::Core::JsonObjectSupport
|
1115
|
-
end
|
1116
|
-
|
1117
|
-
class GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult
|
1118
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1119
|
-
|
1120
|
-
include Google::Apis::Core::JsonObjectSupport
|
1121
|
-
end
|
1122
|
-
|
1123
1159
|
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
1124
1160
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1125
1161
|
|
@@ -1660,6 +1696,87 @@ module Google
|
|
1660
1696
|
include Google::Apis::Core::JsonObjectSupport
|
1661
1697
|
end
|
1662
1698
|
|
1699
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInput
|
1700
|
+
# @private
|
1701
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1702
|
+
collection :validation_rules, as: 'validationRules', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule::Representation
|
1703
|
+
|
1704
|
+
end
|
1705
|
+
end
|
1706
|
+
|
1707
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule
|
1708
|
+
# @private
|
1709
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1710
|
+
property :description, as: 'description'
|
1711
|
+
property :field_occurrences, as: 'fieldOccurrences', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences::Representation
|
1712
|
+
|
1713
|
+
property :field_regex, as: 'fieldRegex', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex::Representation
|
1714
|
+
|
1715
|
+
property :form_validation, as: 'formValidation', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation::Representation
|
1716
|
+
|
1717
|
+
property :name, as: 'name'
|
1718
|
+
end
|
1719
|
+
end
|
1720
|
+
|
1721
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant
|
1722
|
+
# @private
|
1723
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1724
|
+
property :float_value, as: 'floatValue'
|
1725
|
+
end
|
1726
|
+
end
|
1727
|
+
|
1728
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
|
1729
|
+
# @private
|
1730
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1731
|
+
property :default_value, as: 'defaultValue', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant::Representation
|
1732
|
+
|
1733
|
+
property :field_name, as: 'fieldName'
|
1734
|
+
end
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences
|
1738
|
+
# @private
|
1739
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1740
|
+
property :field, as: 'field', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
|
1741
|
+
|
1742
|
+
property :max_occurrences, as: 'maxOccurrences'
|
1743
|
+
property :min_occurrences, as: 'minOccurrences'
|
1744
|
+
end
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex
|
1748
|
+
# @private
|
1749
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1750
|
+
property :field, as: 'field', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
|
1751
|
+
|
1752
|
+
property :pattern, as: 'pattern'
|
1753
|
+
end
|
1754
|
+
end
|
1755
|
+
|
1756
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation
|
1757
|
+
# @private
|
1758
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1759
|
+
property :left_operand, as: 'leftOperand', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation::Representation
|
1760
|
+
|
1761
|
+
property :right_operand, as: 'rightOperand', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation::Representation
|
1762
|
+
|
1763
|
+
property :validation_operator, as: 'validationOperator'
|
1764
|
+
end
|
1765
|
+
end
|
1766
|
+
|
1767
|
+
class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation
|
1768
|
+
# @private
|
1769
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1770
|
+
collection :constants, as: 'constants', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant::Representation
|
1771
|
+
|
1772
|
+
collection :fields, as: 'fields', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::Representation
|
1773
|
+
|
1774
|
+
property :operation_type, as: 'operationType'
|
1775
|
+
collection :operations, as: 'operations', class: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation, decorator: Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation::Representation
|
1776
|
+
|
1777
|
+
end
|
1778
|
+
end
|
1779
|
+
|
1663
1780
|
class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata
|
1664
1781
|
# @private
|
1665
1782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2660,8 +2777,6 @@ module Google
|
|
2660
2777
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle::Representation
|
2661
2778
|
|
2662
2779
|
property :uri, as: 'uri'
|
2663
|
-
collection :validation_outputs, as: 'validationOutputs', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentValidationOutput, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentValidationOutput::Representation
|
2664
|
-
|
2665
2780
|
end
|
2666
2781
|
end
|
2667
2782
|
|
@@ -2860,6 +2975,8 @@ module Google
|
|
2860
2975
|
class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock
|
2861
2976
|
# @private
|
2862
2977
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2978
|
+
property :annotations, as: 'annotations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentAnnotations::Representation
|
2979
|
+
|
2863
2980
|
collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock::Representation
|
2864
2981
|
|
2865
2982
|
property :text, as: 'text'
|
@@ -3440,25 +3557,6 @@ module Google
|
|
3440
3557
|
end
|
3441
3558
|
end
|
3442
3559
|
|
3443
|
-
class GoogleCloudDocumentaiV1beta3DocumentValidationOutput
|
3444
|
-
# @private
|
3445
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3446
|
-
property :pass_all_rules, as: 'passAllRules'
|
3447
|
-
collection :validation_results, as: 'validationResults', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult::Representation
|
3448
|
-
|
3449
|
-
end
|
3450
|
-
end
|
3451
|
-
|
3452
|
-
class GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult
|
3453
|
-
# @private
|
3454
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3455
|
-
property :rule_description, as: 'ruleDescription'
|
3456
|
-
property :rule_name, as: 'ruleName'
|
3457
|
-
property :validation_details, as: 'validationDetails'
|
3458
|
-
property :validation_result_type, as: 'validationResultType'
|
3459
|
-
end
|
3460
|
-
end
|
3461
|
-
|
3462
3560
|
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
3463
3561
|
# @private
|
3464
3562
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3919,6 +4017,7 @@ module Google
|
|
3919
4017
|
class GoogleCloudDocumentaiV1beta3Processor
|
3920
4018
|
# @private
|
3921
4019
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4020
|
+
property :active_schema_version, as: 'activeSchemaVersion'
|
3922
4021
|
property :create_time, as: 'createTime'
|
3923
4022
|
property :default_processor_version, as: 'defaultProcessorVersion'
|
3924
4023
|
property :display_name, as: 'displayName'
|
@@ -119,8 +119,8 @@ module Google
|
|
119
119
|
# @param [String] name
|
120
120
|
# The resource that owns the locations collection, if applicable.
|
121
121
|
# @param [Array<String>, String] extra_location_types
|
122
|
-
# Optional.
|
123
|
-
#
|
122
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
123
|
+
# field which is primarily intended for internal usage.
|
124
124
|
# @param [String] filter
|
125
125
|
# A filter to narrow down results to a preferred subset. The filtering language
|
126
126
|
# 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_v1beta3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.111.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.111.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:
|