google-apis-documentai_v1beta3 0.57.0 → 0.58.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: a668825bcb6a8077d1a606598f4cdfacac4f637b1637782f39ce180448b40154
|
4
|
+
data.tar.gz: 9732cb0736821a4ba7b8729cd42f730ba883e0c1b500b1893c5c0989cc53a3e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8fd69e014294188d5817caffad8988a119b4d0f87ab6c7a6afd52874352d08ae4f657cd6c401a15a2b1ed0042d500c6300ef3bd26236d2eeb96c0971b0ce408
|
7
|
+
data.tar.gz: ef605315a060d83126445b52b34949238e972f51e7973762eeaafe1dd5acd8eeaa0b39a58d042e2157250c1929ecdf6138a351a45374a611994abcfcf953d47c
|
data/CHANGELOG.md
CHANGED
@@ -2071,6 +2071,11 @@ module Google
|
|
2071
2071
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImage]
|
2072
2072
|
attr_accessor :image
|
2073
2073
|
|
2074
|
+
# Image Quality Scores for the page image
|
2075
|
+
# Corresponds to the JSON property `imageQualityScores`
|
2076
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores]
|
2077
|
+
attr_accessor :image_quality_scores
|
2078
|
+
|
2074
2079
|
# Visual element describing a layout unit on a page.
|
2075
2080
|
# Corresponds to the JSON property `layout`
|
2076
2081
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
|
@@ -2139,6 +2144,7 @@ module Google
|
|
2139
2144
|
@dimension = args[:dimension] if args.key?(:dimension)
|
2140
2145
|
@form_fields = args[:form_fields] if args.key?(:form_fields)
|
2141
2146
|
@image = args[:image] if args.key?(:image)
|
2147
|
+
@image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
|
2142
2148
|
@layout = args[:layout] if args.key?(:layout)
|
2143
2149
|
@lines = args[:lines] if args.key?(:lines)
|
2144
2150
|
@page_number = args[:page_number] if args.key?(:page_number)
|
@@ -2440,6 +2446,60 @@ module Google
|
|
2440
2446
|
end
|
2441
2447
|
end
|
2442
2448
|
|
2449
|
+
# Image Quality Scores for the page image
|
2450
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
|
2451
|
+
include Google::Apis::Core::Hashable
|
2452
|
+
|
2453
|
+
# A list of detected defects.
|
2454
|
+
# Corresponds to the JSON property `detectedDefects`
|
2455
|
+
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect>]
|
2456
|
+
attr_accessor :detected_defects
|
2457
|
+
|
2458
|
+
# The overall quality score. Range [0, 1] where 1 is perfect quality.
|
2459
|
+
# Corresponds to the JSON property `qualityScore`
|
2460
|
+
# @return [Float]
|
2461
|
+
attr_accessor :quality_score
|
2462
|
+
|
2463
|
+
def initialize(**args)
|
2464
|
+
update!(**args)
|
2465
|
+
end
|
2466
|
+
|
2467
|
+
# Update properties of this object
|
2468
|
+
def update!(**args)
|
2469
|
+
@detected_defects = args[:detected_defects] if args.key?(:detected_defects)
|
2470
|
+
@quality_score = args[:quality_score] if args.key?(:quality_score)
|
2471
|
+
end
|
2472
|
+
end
|
2473
|
+
|
2474
|
+
# Image Quality Defects
|
2475
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
|
2476
|
+
include Google::Apis::Core::Hashable
|
2477
|
+
|
2478
|
+
# Confidence of detected defect. Range [0, 1] where 1 indicates strong
|
2479
|
+
# confidence of that the defect exists.
|
2480
|
+
# Corresponds to the JSON property `confidence`
|
2481
|
+
# @return [Float]
|
2482
|
+
attr_accessor :confidence
|
2483
|
+
|
2484
|
+
# Name of the defect type. Supported values are "quality/defect_blurry", "
|
2485
|
+
# quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
|
2486
|
+
# defect_text_too_small", "quality/defect_document_cutoff", "quality/
|
2487
|
+
# defect_text_cutoff", "quality/defect_glare"
|
2488
|
+
# Corresponds to the JSON property `type`
|
2489
|
+
# @return [String]
|
2490
|
+
attr_accessor :type
|
2491
|
+
|
2492
|
+
def initialize(**args)
|
2493
|
+
update!(**args)
|
2494
|
+
end
|
2495
|
+
|
2496
|
+
# Update properties of this object
|
2497
|
+
def update!(**args)
|
2498
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2499
|
+
@type = args[:type] if args.key?(:type)
|
2500
|
+
end
|
2501
|
+
end
|
2502
|
+
|
2443
2503
|
# Visual element describing a layout unit on a page.
|
2444
2504
|
class GoogleCloudDocumentaiV1beta1DocumentPageLayout
|
2445
2505
|
include Google::Apis::Core::Hashable
|
@@ -3943,6 +4003,11 @@ module Google
|
|
3943
4003
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImage]
|
3944
4004
|
attr_accessor :image
|
3945
4005
|
|
4006
|
+
# Image Quality Scores for the page image
|
4007
|
+
# Corresponds to the JSON property `imageQualityScores`
|
4008
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores]
|
4009
|
+
attr_accessor :image_quality_scores
|
4010
|
+
|
3946
4011
|
# Visual element describing a layout unit on a page.
|
3947
4012
|
# Corresponds to the JSON property `layout`
|
3948
4013
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
|
@@ -4011,6 +4076,7 @@ module Google
|
|
4011
4076
|
@dimension = args[:dimension] if args.key?(:dimension)
|
4012
4077
|
@form_fields = args[:form_fields] if args.key?(:form_fields)
|
4013
4078
|
@image = args[:image] if args.key?(:image)
|
4079
|
+
@image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
|
4014
4080
|
@layout = args[:layout] if args.key?(:layout)
|
4015
4081
|
@lines = args[:lines] if args.key?(:lines)
|
4016
4082
|
@page_number = args[:page_number] if args.key?(:page_number)
|
@@ -4312,6 +4378,60 @@ module Google
|
|
4312
4378
|
end
|
4313
4379
|
end
|
4314
4380
|
|
4381
|
+
# Image Quality Scores for the page image
|
4382
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
|
4383
|
+
include Google::Apis::Core::Hashable
|
4384
|
+
|
4385
|
+
# A list of detected defects.
|
4386
|
+
# Corresponds to the JSON property `detectedDefects`
|
4387
|
+
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect>]
|
4388
|
+
attr_accessor :detected_defects
|
4389
|
+
|
4390
|
+
# The overall quality score. Range [0, 1] where 1 is perfect quality.
|
4391
|
+
# Corresponds to the JSON property `qualityScore`
|
4392
|
+
# @return [Float]
|
4393
|
+
attr_accessor :quality_score
|
4394
|
+
|
4395
|
+
def initialize(**args)
|
4396
|
+
update!(**args)
|
4397
|
+
end
|
4398
|
+
|
4399
|
+
# Update properties of this object
|
4400
|
+
def update!(**args)
|
4401
|
+
@detected_defects = args[:detected_defects] if args.key?(:detected_defects)
|
4402
|
+
@quality_score = args[:quality_score] if args.key?(:quality_score)
|
4403
|
+
end
|
4404
|
+
end
|
4405
|
+
|
4406
|
+
# Image Quality Defects
|
4407
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
|
4408
|
+
include Google::Apis::Core::Hashable
|
4409
|
+
|
4410
|
+
# Confidence of detected defect. Range [0, 1] where 1 indicates strong
|
4411
|
+
# confidence of that the defect exists.
|
4412
|
+
# Corresponds to the JSON property `confidence`
|
4413
|
+
# @return [Float]
|
4414
|
+
attr_accessor :confidence
|
4415
|
+
|
4416
|
+
# Name of the defect type. Supported values are "quality/defect_blurry", "
|
4417
|
+
# quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
|
4418
|
+
# defect_text_too_small", "quality/defect_document_cutoff", "quality/
|
4419
|
+
# defect_text_cutoff", "quality/defect_glare"
|
4420
|
+
# Corresponds to the JSON property `type`
|
4421
|
+
# @return [String]
|
4422
|
+
attr_accessor :type
|
4423
|
+
|
4424
|
+
def initialize(**args)
|
4425
|
+
update!(**args)
|
4426
|
+
end
|
4427
|
+
|
4428
|
+
# Update properties of this object
|
4429
|
+
def update!(**args)
|
4430
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
4431
|
+
@type = args[:type] if args.key?(:type)
|
4432
|
+
end
|
4433
|
+
end
|
4434
|
+
|
4315
4435
|
# Visual element describing a layout unit on a page.
|
4316
4436
|
class GoogleCloudDocumentaiV1beta2DocumentPageLayout
|
4317
4437
|
include Google::Apis::Core::Hashable
|
@@ -6208,6 +6328,11 @@ module Google
|
|
6208
6328
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImage]
|
6209
6329
|
attr_accessor :image
|
6210
6330
|
|
6331
|
+
# Image Quality Scores for the page image
|
6332
|
+
# Corresponds to the JSON property `imageQualityScores`
|
6333
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores]
|
6334
|
+
attr_accessor :image_quality_scores
|
6335
|
+
|
6211
6336
|
# Visual element describing a layout unit on a page.
|
6212
6337
|
# Corresponds to the JSON property `layout`
|
6213
6338
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout]
|
@@ -6276,6 +6401,7 @@ module Google
|
|
6276
6401
|
@dimension = args[:dimension] if args.key?(:dimension)
|
6277
6402
|
@form_fields = args[:form_fields] if args.key?(:form_fields)
|
6278
6403
|
@image = args[:image] if args.key?(:image)
|
6404
|
+
@image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
|
6279
6405
|
@layout = args[:layout] if args.key?(:layout)
|
6280
6406
|
@lines = args[:lines] if args.key?(:lines)
|
6281
6407
|
@page_number = args[:page_number] if args.key?(:page_number)
|
@@ -6577,6 +6703,60 @@ module Google
|
|
6577
6703
|
end
|
6578
6704
|
end
|
6579
6705
|
|
6706
|
+
# Image Quality Scores for the page image
|
6707
|
+
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores
|
6708
|
+
include Google::Apis::Core::Hashable
|
6709
|
+
|
6710
|
+
# A list of detected defects.
|
6711
|
+
# Corresponds to the JSON property `detectedDefects`
|
6712
|
+
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect>]
|
6713
|
+
attr_accessor :detected_defects
|
6714
|
+
|
6715
|
+
# The overall quality score. Range [0, 1] where 1 is perfect quality.
|
6716
|
+
# Corresponds to the JSON property `qualityScore`
|
6717
|
+
# @return [Float]
|
6718
|
+
attr_accessor :quality_score
|
6719
|
+
|
6720
|
+
def initialize(**args)
|
6721
|
+
update!(**args)
|
6722
|
+
end
|
6723
|
+
|
6724
|
+
# Update properties of this object
|
6725
|
+
def update!(**args)
|
6726
|
+
@detected_defects = args[:detected_defects] if args.key?(:detected_defects)
|
6727
|
+
@quality_score = args[:quality_score] if args.key?(:quality_score)
|
6728
|
+
end
|
6729
|
+
end
|
6730
|
+
|
6731
|
+
# Image Quality Defects
|
6732
|
+
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect
|
6733
|
+
include Google::Apis::Core::Hashable
|
6734
|
+
|
6735
|
+
# Confidence of detected defect. Range [0, 1] where 1 indicates strong
|
6736
|
+
# confidence of that the defect exists.
|
6737
|
+
# Corresponds to the JSON property `confidence`
|
6738
|
+
# @return [Float]
|
6739
|
+
attr_accessor :confidence
|
6740
|
+
|
6741
|
+
# Name of the defect type. Supported values are "quality/defect_blurry", "
|
6742
|
+
# quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
|
6743
|
+
# defect_text_too_small", "quality/defect_document_cutoff", "quality/
|
6744
|
+
# defect_text_cutoff", "quality/defect_glare"
|
6745
|
+
# Corresponds to the JSON property `type`
|
6746
|
+
# @return [String]
|
6747
|
+
attr_accessor :type
|
6748
|
+
|
6749
|
+
def initialize(**args)
|
6750
|
+
update!(**args)
|
6751
|
+
end
|
6752
|
+
|
6753
|
+
# Update properties of this object
|
6754
|
+
def update!(**args)
|
6755
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
6756
|
+
@type = args[:type] if args.key?(:type)
|
6757
|
+
end
|
6758
|
+
end
|
6759
|
+
|
6580
6760
|
# Visual element describing a layout unit on a page.
|
6581
6761
|
class GoogleCloudDocumentaiV1beta3DocumentPageLayout
|
6582
6762
|
include Google::Apis::Core::Hashable
|
@@ -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.58.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
|
@@ -526,6 +526,18 @@ module Google
|
|
526
526
|
include Google::Apis::Core::JsonObjectSupport
|
527
527
|
end
|
528
528
|
|
529
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
535
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
529
541
|
class GoogleCloudDocumentaiV1beta1DocumentPageLayout
|
530
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
543
|
|
@@ -802,6 +814,18 @@ module Google
|
|
802
814
|
include Google::Apis::Core::JsonObjectSupport
|
803
815
|
end
|
804
816
|
|
817
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
|
818
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
819
|
+
|
820
|
+
include Google::Apis::Core::JsonObjectSupport
|
821
|
+
end
|
822
|
+
|
823
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
|
+
|
826
|
+
include Google::Apis::Core::JsonObjectSupport
|
827
|
+
end
|
828
|
+
|
805
829
|
class GoogleCloudDocumentaiV1beta2DocumentPageLayout
|
806
830
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
807
831
|
|
@@ -1174,6 +1198,18 @@ module Google
|
|
1174
1198
|
include Google::Apis::Core::JsonObjectSupport
|
1175
1199
|
end
|
1176
1200
|
|
1201
|
+
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores
|
1202
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1203
|
+
|
1204
|
+
include Google::Apis::Core::JsonObjectSupport
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect
|
1208
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1209
|
+
|
1210
|
+
include Google::Apis::Core::JsonObjectSupport
|
1211
|
+
end
|
1212
|
+
|
1177
1213
|
class GoogleCloudDocumentaiV1beta3DocumentPageLayout
|
1178
1214
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1179
1215
|
|
@@ -2298,6 +2334,8 @@ module Google
|
|
2298
2334
|
|
2299
2335
|
property :image, as: 'image', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImage::Representation
|
2300
2336
|
|
2337
|
+
property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores::Representation
|
2338
|
+
|
2301
2339
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
|
2302
2340
|
|
2303
2341
|
collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLine, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLine::Representation
|
@@ -2408,6 +2446,23 @@ module Google
|
|
2408
2446
|
end
|
2409
2447
|
end
|
2410
2448
|
|
2449
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
|
2450
|
+
# @private
|
2451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2452
|
+
collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect::Representation
|
2453
|
+
|
2454
|
+
property :quality_score, as: 'qualityScore'
|
2455
|
+
end
|
2456
|
+
end
|
2457
|
+
|
2458
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
|
2459
|
+
# @private
|
2460
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2461
|
+
property :confidence, as: 'confidence'
|
2462
|
+
property :type, as: 'type'
|
2463
|
+
end
|
2464
|
+
end
|
2465
|
+
|
2411
2466
|
class GoogleCloudDocumentaiV1beta1DocumentPageLayout
|
2412
2467
|
# @private
|
2413
2468
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2831,6 +2886,8 @@ module Google
|
|
2831
2886
|
|
2832
2887
|
property :image, as: 'image', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImage::Representation
|
2833
2888
|
|
2889
|
+
property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores::Representation
|
2890
|
+
|
2834
2891
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
|
2835
2892
|
|
2836
2893
|
collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLine, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLine::Representation
|
@@ -2941,6 +2998,23 @@ module Google
|
|
2941
2998
|
end
|
2942
2999
|
end
|
2943
3000
|
|
3001
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
|
3002
|
+
# @private
|
3003
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3004
|
+
collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect::Representation
|
3005
|
+
|
3006
|
+
property :quality_score, as: 'qualityScore'
|
3007
|
+
end
|
3008
|
+
end
|
3009
|
+
|
3010
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
|
3011
|
+
# @private
|
3012
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3013
|
+
property :confidence, as: 'confidence'
|
3014
|
+
property :type, as: 'type'
|
3015
|
+
end
|
3016
|
+
end
|
3017
|
+
|
2944
3018
|
class GoogleCloudDocumentaiV1beta2DocumentPageLayout
|
2945
3019
|
# @private
|
2946
3020
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3500,6 +3574,8 @@ module Google
|
|
3500
3574
|
|
3501
3575
|
property :image, as: 'image', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImage::Representation
|
3502
3576
|
|
3577
|
+
property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores::Representation
|
3578
|
+
|
3503
3579
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout::Representation
|
3504
3580
|
|
3505
3581
|
collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLine, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLine::Representation
|
@@ -3610,6 +3686,23 @@ module Google
|
|
3610
3686
|
end
|
3611
3687
|
end
|
3612
3688
|
|
3689
|
+
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores
|
3690
|
+
# @private
|
3691
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3692
|
+
collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect::Representation
|
3693
|
+
|
3694
|
+
property :quality_score, as: 'qualityScore'
|
3695
|
+
end
|
3696
|
+
end
|
3697
|
+
|
3698
|
+
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect
|
3699
|
+
# @private
|
3700
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3701
|
+
property :confidence, as: 'confidence'
|
3702
|
+
property :type, as: 'type'
|
3703
|
+
end
|
3704
|
+
end
|
3705
|
+
|
3613
3706
|
class GoogleCloudDocumentaiV1beta3DocumentPageLayout
|
3614
3707
|
# @private
|
3615
3708
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.58.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_v1beta3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.58.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|