google-apis-documentai_v1 0.49.0 → 0.50.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: 8abf42cd659c2ea3beb9e171c7152a233063fdb965eb828aa1b40f7d8d053f66
|
4
|
+
data.tar.gz: 72cc1dee811f5947c642a4394e3dad3a8bbfd852e1cf428c00385506ee602ddb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10a0d1ef85b8c540f9b1f7e5c2a3c55245eb6c7019527629f9aec90d483cbb0c479e348adeac865c524ace4df9db1bb07d01cc2bf397ac85c7f935a67783acf7
|
7
|
+
data.tar.gz: 3385d2b035167083e0ab6c03ee2a214824636c7168f87324a98d9a5777fcf5a2d89f591d9a1161f71873188dc8ba1057906288876efabb5d74f8acf3d5bbede7
|
data/CHANGELOG.md
CHANGED
@@ -1931,6 +1931,11 @@ module Google
|
|
1931
1931
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImage]
|
1932
1932
|
attr_accessor :image
|
1933
1933
|
|
1934
|
+
# Image Quality Scores for the page image
|
1935
|
+
# Corresponds to the JSON property `imageQualityScores`
|
1936
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScores]
|
1937
|
+
attr_accessor :image_quality_scores
|
1938
|
+
|
1934
1939
|
# Visual element describing a layout unit on a page.
|
1935
1940
|
# Corresponds to the JSON property `layout`
|
1936
1941
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout]
|
@@ -1999,6 +2004,7 @@ module Google
|
|
1999
2004
|
@dimension = args[:dimension] if args.key?(:dimension)
|
2000
2005
|
@form_fields = args[:form_fields] if args.key?(:form_fields)
|
2001
2006
|
@image = args[:image] if args.key?(:image)
|
2007
|
+
@image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
|
2002
2008
|
@layout = args[:layout] if args.key?(:layout)
|
2003
2009
|
@lines = args[:lines] if args.key?(:lines)
|
2004
2010
|
@page_number = args[:page_number] if args.key?(:page_number)
|
@@ -2300,6 +2306,60 @@ module Google
|
|
2300
2306
|
end
|
2301
2307
|
end
|
2302
2308
|
|
2309
|
+
# Image Quality Scores for the page image
|
2310
|
+
class GoogleCloudDocumentaiV1DocumentPageImageQualityScores
|
2311
|
+
include Google::Apis::Core::Hashable
|
2312
|
+
|
2313
|
+
# A list of detected defects.
|
2314
|
+
# Corresponds to the JSON property `detectedDefects`
|
2315
|
+
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect>]
|
2316
|
+
attr_accessor :detected_defects
|
2317
|
+
|
2318
|
+
# The overall quality score. Range [0, 1] where 1 is perfect quality.
|
2319
|
+
# Corresponds to the JSON property `qualityScore`
|
2320
|
+
# @return [Float]
|
2321
|
+
attr_accessor :quality_score
|
2322
|
+
|
2323
|
+
def initialize(**args)
|
2324
|
+
update!(**args)
|
2325
|
+
end
|
2326
|
+
|
2327
|
+
# Update properties of this object
|
2328
|
+
def update!(**args)
|
2329
|
+
@detected_defects = args[:detected_defects] if args.key?(:detected_defects)
|
2330
|
+
@quality_score = args[:quality_score] if args.key?(:quality_score)
|
2331
|
+
end
|
2332
|
+
end
|
2333
|
+
|
2334
|
+
# Image Quality Defects
|
2335
|
+
class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect
|
2336
|
+
include Google::Apis::Core::Hashable
|
2337
|
+
|
2338
|
+
# Confidence of detected defect. Range [0, 1] where 1 indicates strong
|
2339
|
+
# confidence of that the defect exists.
|
2340
|
+
# Corresponds to the JSON property `confidence`
|
2341
|
+
# @return [Float]
|
2342
|
+
attr_accessor :confidence
|
2343
|
+
|
2344
|
+
# Name of the defect type. Supported values are "quality/defect_blurry", "
|
2345
|
+
# quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
|
2346
|
+
# defect_text_too_small", "quality/defect_document_cutoff", "quality/
|
2347
|
+
# defect_text_cutoff", "quality/defect_glare"
|
2348
|
+
# Corresponds to the JSON property `type`
|
2349
|
+
# @return [String]
|
2350
|
+
attr_accessor :type
|
2351
|
+
|
2352
|
+
def initialize(**args)
|
2353
|
+
update!(**args)
|
2354
|
+
end
|
2355
|
+
|
2356
|
+
# Update properties of this object
|
2357
|
+
def update!(**args)
|
2358
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2359
|
+
@type = args[:type] if args.key?(:type)
|
2360
|
+
end
|
2361
|
+
end
|
2362
|
+
|
2303
2363
|
# Visual element describing a layout unit on a page.
|
2304
2364
|
class GoogleCloudDocumentaiV1DocumentPageLayout
|
2305
2365
|
include Google::Apis::Core::Hashable
|
@@ -4730,6 +4790,11 @@ module Google
|
|
4730
4790
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImage]
|
4731
4791
|
attr_accessor :image
|
4732
4792
|
|
4793
|
+
# Image Quality Scores for the page image
|
4794
|
+
# Corresponds to the JSON property `imageQualityScores`
|
4795
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores]
|
4796
|
+
attr_accessor :image_quality_scores
|
4797
|
+
|
4733
4798
|
# Visual element describing a layout unit on a page.
|
4734
4799
|
# Corresponds to the JSON property `layout`
|
4735
4800
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
|
@@ -4798,6 +4863,7 @@ module Google
|
|
4798
4863
|
@dimension = args[:dimension] if args.key?(:dimension)
|
4799
4864
|
@form_fields = args[:form_fields] if args.key?(:form_fields)
|
4800
4865
|
@image = args[:image] if args.key?(:image)
|
4866
|
+
@image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
|
4801
4867
|
@layout = args[:layout] if args.key?(:layout)
|
4802
4868
|
@lines = args[:lines] if args.key?(:lines)
|
4803
4869
|
@page_number = args[:page_number] if args.key?(:page_number)
|
@@ -5099,6 +5165,60 @@ module Google
|
|
5099
5165
|
end
|
5100
5166
|
end
|
5101
5167
|
|
5168
|
+
# Image Quality Scores for the page image
|
5169
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
|
5170
|
+
include Google::Apis::Core::Hashable
|
5171
|
+
|
5172
|
+
# A list of detected defects.
|
5173
|
+
# Corresponds to the JSON property `detectedDefects`
|
5174
|
+
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect>]
|
5175
|
+
attr_accessor :detected_defects
|
5176
|
+
|
5177
|
+
# The overall quality score. Range [0, 1] where 1 is perfect quality.
|
5178
|
+
# Corresponds to the JSON property `qualityScore`
|
5179
|
+
# @return [Float]
|
5180
|
+
attr_accessor :quality_score
|
5181
|
+
|
5182
|
+
def initialize(**args)
|
5183
|
+
update!(**args)
|
5184
|
+
end
|
5185
|
+
|
5186
|
+
# Update properties of this object
|
5187
|
+
def update!(**args)
|
5188
|
+
@detected_defects = args[:detected_defects] if args.key?(:detected_defects)
|
5189
|
+
@quality_score = args[:quality_score] if args.key?(:quality_score)
|
5190
|
+
end
|
5191
|
+
end
|
5192
|
+
|
5193
|
+
# Image Quality Defects
|
5194
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
|
5195
|
+
include Google::Apis::Core::Hashable
|
5196
|
+
|
5197
|
+
# Confidence of detected defect. Range [0, 1] where 1 indicates strong
|
5198
|
+
# confidence of that the defect exists.
|
5199
|
+
# Corresponds to the JSON property `confidence`
|
5200
|
+
# @return [Float]
|
5201
|
+
attr_accessor :confidence
|
5202
|
+
|
5203
|
+
# Name of the defect type. Supported values are "quality/defect_blurry", "
|
5204
|
+
# quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
|
5205
|
+
# defect_text_too_small", "quality/defect_document_cutoff", "quality/
|
5206
|
+
# defect_text_cutoff", "quality/defect_glare"
|
5207
|
+
# Corresponds to the JSON property `type`
|
5208
|
+
# @return [String]
|
5209
|
+
attr_accessor :type
|
5210
|
+
|
5211
|
+
def initialize(**args)
|
5212
|
+
update!(**args)
|
5213
|
+
end
|
5214
|
+
|
5215
|
+
# Update properties of this object
|
5216
|
+
def update!(**args)
|
5217
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
5218
|
+
@type = args[:type] if args.key?(:type)
|
5219
|
+
end
|
5220
|
+
end
|
5221
|
+
|
5102
5222
|
# Visual element describing a layout unit on a page.
|
5103
5223
|
class GoogleCloudDocumentaiV1beta1DocumentPageLayout
|
5104
5224
|
include Google::Apis::Core::Hashable
|
@@ -6602,6 +6722,11 @@ module Google
|
|
6602
6722
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImage]
|
6603
6723
|
attr_accessor :image
|
6604
6724
|
|
6725
|
+
# Image Quality Scores for the page image
|
6726
|
+
# Corresponds to the JSON property `imageQualityScores`
|
6727
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores]
|
6728
|
+
attr_accessor :image_quality_scores
|
6729
|
+
|
6605
6730
|
# Visual element describing a layout unit on a page.
|
6606
6731
|
# Corresponds to the JSON property `layout`
|
6607
6732
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
|
@@ -6670,6 +6795,7 @@ module Google
|
|
6670
6795
|
@dimension = args[:dimension] if args.key?(:dimension)
|
6671
6796
|
@form_fields = args[:form_fields] if args.key?(:form_fields)
|
6672
6797
|
@image = args[:image] if args.key?(:image)
|
6798
|
+
@image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
|
6673
6799
|
@layout = args[:layout] if args.key?(:layout)
|
6674
6800
|
@lines = args[:lines] if args.key?(:lines)
|
6675
6801
|
@page_number = args[:page_number] if args.key?(:page_number)
|
@@ -6971,6 +7097,60 @@ module Google
|
|
6971
7097
|
end
|
6972
7098
|
end
|
6973
7099
|
|
7100
|
+
# Image Quality Scores for the page image
|
7101
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
|
7102
|
+
include Google::Apis::Core::Hashable
|
7103
|
+
|
7104
|
+
# A list of detected defects.
|
7105
|
+
# Corresponds to the JSON property `detectedDefects`
|
7106
|
+
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect>]
|
7107
|
+
attr_accessor :detected_defects
|
7108
|
+
|
7109
|
+
# The overall quality score. Range [0, 1] where 1 is perfect quality.
|
7110
|
+
# Corresponds to the JSON property `qualityScore`
|
7111
|
+
# @return [Float]
|
7112
|
+
attr_accessor :quality_score
|
7113
|
+
|
7114
|
+
def initialize(**args)
|
7115
|
+
update!(**args)
|
7116
|
+
end
|
7117
|
+
|
7118
|
+
# Update properties of this object
|
7119
|
+
def update!(**args)
|
7120
|
+
@detected_defects = args[:detected_defects] if args.key?(:detected_defects)
|
7121
|
+
@quality_score = args[:quality_score] if args.key?(:quality_score)
|
7122
|
+
end
|
7123
|
+
end
|
7124
|
+
|
7125
|
+
# Image Quality Defects
|
7126
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
|
7127
|
+
include Google::Apis::Core::Hashable
|
7128
|
+
|
7129
|
+
# Confidence of detected defect. Range [0, 1] where 1 indicates strong
|
7130
|
+
# confidence of that the defect exists.
|
7131
|
+
# Corresponds to the JSON property `confidence`
|
7132
|
+
# @return [Float]
|
7133
|
+
attr_accessor :confidence
|
7134
|
+
|
7135
|
+
# Name of the defect type. Supported values are "quality/defect_blurry", "
|
7136
|
+
# quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
|
7137
|
+
# defect_text_too_small", "quality/defect_document_cutoff", "quality/
|
7138
|
+
# defect_text_cutoff", "quality/defect_glare"
|
7139
|
+
# Corresponds to the JSON property `type`
|
7140
|
+
# @return [String]
|
7141
|
+
attr_accessor :type
|
7142
|
+
|
7143
|
+
def initialize(**args)
|
7144
|
+
update!(**args)
|
7145
|
+
end
|
7146
|
+
|
7147
|
+
# Update properties of this object
|
7148
|
+
def update!(**args)
|
7149
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
7150
|
+
@type = args[:type] if args.key?(:type)
|
7151
|
+
end
|
7152
|
+
end
|
7153
|
+
|
6974
7154
|
# Visual element describing a layout unit on a page.
|
6975
7155
|
class GoogleCloudDocumentaiV1beta2DocumentPageLayout
|
6976
7156
|
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.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220921"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -490,6 +490,18 @@ module Google
|
|
490
490
|
include Google::Apis::Core::JsonObjectSupport
|
491
491
|
end
|
492
492
|
|
493
|
+
class GoogleCloudDocumentaiV1DocumentPageImageQualityScores
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
499
|
+
class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
493
505
|
class GoogleCloudDocumentaiV1DocumentPageLayout
|
494
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
507
|
|
@@ -958,6 +970,18 @@ module Google
|
|
958
970
|
include Google::Apis::Core::JsonObjectSupport
|
959
971
|
end
|
960
972
|
|
973
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
|
974
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
|
+
|
976
|
+
include Google::Apis::Core::JsonObjectSupport
|
977
|
+
end
|
978
|
+
|
979
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
|
+
|
982
|
+
include Google::Apis::Core::JsonObjectSupport
|
983
|
+
end
|
984
|
+
|
961
985
|
class GoogleCloudDocumentaiV1beta1DocumentPageLayout
|
962
986
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
963
987
|
|
@@ -1234,6 +1258,18 @@ module Google
|
|
1234
1258
|
include Google::Apis::Core::JsonObjectSupport
|
1235
1259
|
end
|
1236
1260
|
|
1261
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
|
1262
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1263
|
+
|
1264
|
+
include Google::Apis::Core::JsonObjectSupport
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
|
1268
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1269
|
+
|
1270
|
+
include Google::Apis::Core::JsonObjectSupport
|
1271
|
+
end
|
1272
|
+
|
1237
1273
|
class GoogleCloudDocumentaiV1beta2DocumentPageLayout
|
1238
1274
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1239
1275
|
|
@@ -2239,6 +2275,8 @@ module Google
|
|
2239
2275
|
|
2240
2276
|
property :image, as: 'image', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImage::Representation
|
2241
2277
|
|
2278
|
+
property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScores::Representation
|
2279
|
+
|
2242
2280
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout::Representation
|
2243
2281
|
|
2244
2282
|
collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLine, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLine::Representation
|
@@ -2349,6 +2387,23 @@ module Google
|
|
2349
2387
|
end
|
2350
2388
|
end
|
2351
2389
|
|
2390
|
+
class GoogleCloudDocumentaiV1DocumentPageImageQualityScores
|
2391
|
+
# @private
|
2392
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2393
|
+
collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect::Representation
|
2394
|
+
|
2395
|
+
property :quality_score, as: 'qualityScore'
|
2396
|
+
end
|
2397
|
+
end
|
2398
|
+
|
2399
|
+
class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect
|
2400
|
+
# @private
|
2401
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2402
|
+
property :confidence, as: 'confidence'
|
2403
|
+
property :type, as: 'type'
|
2404
|
+
end
|
2405
|
+
end
|
2406
|
+
|
2352
2407
|
class GoogleCloudDocumentaiV1DocumentPageLayout
|
2353
2408
|
# @private
|
2354
2409
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3065,6 +3120,8 @@ module Google
|
|
3065
3120
|
|
3066
3121
|
property :image, as: 'image', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImage::Representation
|
3067
3122
|
|
3123
|
+
property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores::Representation
|
3124
|
+
|
3068
3125
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
|
3069
3126
|
|
3070
3127
|
collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLine, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLine::Representation
|
@@ -3175,6 +3232,23 @@ module Google
|
|
3175
3232
|
end
|
3176
3233
|
end
|
3177
3234
|
|
3235
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
|
3236
|
+
# @private
|
3237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3238
|
+
collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect::Representation
|
3239
|
+
|
3240
|
+
property :quality_score, as: 'qualityScore'
|
3241
|
+
end
|
3242
|
+
end
|
3243
|
+
|
3244
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
|
3245
|
+
# @private
|
3246
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3247
|
+
property :confidence, as: 'confidence'
|
3248
|
+
property :type, as: 'type'
|
3249
|
+
end
|
3250
|
+
end
|
3251
|
+
|
3178
3252
|
class GoogleCloudDocumentaiV1beta1DocumentPageLayout
|
3179
3253
|
# @private
|
3180
3254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3598,6 +3672,8 @@ module Google
|
|
3598
3672
|
|
3599
3673
|
property :image, as: 'image', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImage::Representation
|
3600
3674
|
|
3675
|
+
property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores::Representation
|
3676
|
+
|
3601
3677
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
|
3602
3678
|
|
3603
3679
|
collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLine, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLine::Representation
|
@@ -3708,6 +3784,23 @@ module Google
|
|
3708
3784
|
end
|
3709
3785
|
end
|
3710
3786
|
|
3787
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
|
3788
|
+
# @private
|
3789
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3790
|
+
collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect::Representation
|
3791
|
+
|
3792
|
+
property :quality_score, as: 'qualityScore'
|
3793
|
+
end
|
3794
|
+
end
|
3795
|
+
|
3796
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
|
3797
|
+
# @private
|
3798
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3799
|
+
property :confidence, as: 'confidence'
|
3800
|
+
property :type, as: 'type'
|
3801
|
+
end
|
3802
|
+
end
|
3803
|
+
|
3711
3804
|
class GoogleCloudDocumentaiV1beta2DocumentPageLayout
|
3712
3805
|
# @private
|
3713
3806
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.50.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.50.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|