google-apis-documentai_v1beta3 0.57.0 → 0.59.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +881 -195
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/documentai_v1beta3/representations.rb +363 -42
- data/lib/google/apis/documentai_v1beta3/service.rb +144 -0
- metadata +5 -5
@@ -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.59.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221201"
|
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
|
|
@@ -1120,6 +1144,12 @@ module Google
|
|
1120
1144
|
include Google::Apis::Core::JsonObjectSupport
|
1121
1145
|
end
|
1122
1146
|
|
1147
|
+
class GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig
|
1148
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1149
|
+
|
1150
|
+
include Google::Apis::Core::JsonObjectSupport
|
1151
|
+
end
|
1152
|
+
|
1123
1153
|
class GoogleCloudDocumentaiV1beta3DocumentPage
|
1124
1154
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1125
1155
|
|
@@ -1174,6 +1204,18 @@ module Google
|
|
1174
1204
|
include Google::Apis::Core::JsonObjectSupport
|
1175
1205
|
end
|
1176
1206
|
|
1207
|
+
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores
|
1208
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1209
|
+
|
1210
|
+
include Google::Apis::Core::JsonObjectSupport
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect
|
1214
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1215
|
+
|
1216
|
+
include Google::Apis::Core::JsonObjectSupport
|
1217
|
+
end
|
1218
|
+
|
1177
1219
|
class GoogleCloudDocumentaiV1beta3DocumentPageLayout
|
1178
1220
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1179
1221
|
|
@@ -1348,37 +1390,73 @@ module Google
|
|
1348
1390
|
include Google::Apis::Core::JsonObjectSupport
|
1349
1391
|
end
|
1350
1392
|
|
1351
|
-
class
|
1393
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
|
1352
1394
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1353
1395
|
|
1354
1396
|
include Google::Apis::Core::JsonObjectSupport
|
1355
1397
|
end
|
1356
1398
|
|
1357
|
-
class
|
1399
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest
|
1358
1400
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1359
1401
|
|
1360
1402
|
include Google::Apis::Core::JsonObjectSupport
|
1361
1403
|
end
|
1362
1404
|
|
1363
|
-
class
|
1405
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse
|
1364
1406
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1365
1407
|
|
1366
1408
|
include Google::Apis::Core::JsonObjectSupport
|
1367
1409
|
end
|
1368
1410
|
|
1369
|
-
class
|
1411
|
+
class GoogleCloudDocumentaiV1beta3Evaluation
|
1370
1412
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1371
1413
|
|
1372
1414
|
include Google::Apis::Core::JsonObjectSupport
|
1373
1415
|
end
|
1374
1416
|
|
1375
|
-
class
|
1417
|
+
class GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics
|
1418
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1419
|
+
|
1420
|
+
include Google::Apis::Core::JsonObjectSupport
|
1421
|
+
end
|
1422
|
+
|
1423
|
+
class GoogleCloudDocumentaiV1beta3EvaluationCounters
|
1424
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1425
|
+
|
1426
|
+
include Google::Apis::Core::JsonObjectSupport
|
1427
|
+
end
|
1428
|
+
|
1429
|
+
class GoogleCloudDocumentaiV1beta3EvaluationMetrics
|
1430
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1431
|
+
|
1432
|
+
include Google::Apis::Core::JsonObjectSupport
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
class GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics
|
1436
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1437
|
+
|
1438
|
+
include Google::Apis::Core::JsonObjectSupport
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
|
1442
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1443
|
+
|
1444
|
+
include Google::Apis::Core::JsonObjectSupport
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
class GoogleCloudDocumentaiV1beta3GcsDocument
|
1448
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1449
|
+
|
1450
|
+
include Google::Apis::Core::JsonObjectSupport
|
1451
|
+
end
|
1452
|
+
|
1453
|
+
class GoogleCloudDocumentaiV1beta3GcsDocuments
|
1376
1454
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1377
1455
|
|
1378
1456
|
include Google::Apis::Core::JsonObjectSupport
|
1379
1457
|
end
|
1380
1458
|
|
1381
|
-
class
|
1459
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
1382
1460
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1383
1461
|
|
1384
1462
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -1390,7 +1468,7 @@ module Google
|
|
1390
1468
|
include Google::Apis::Core::JsonObjectSupport
|
1391
1469
|
end
|
1392
1470
|
|
1393
|
-
class
|
1471
|
+
class GoogleCloudDocumentaiV1beta3ListEvaluationsResponse
|
1394
1472
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1395
1473
|
|
1396
1474
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -1420,6 +1498,18 @@ module Google
|
|
1420
1498
|
include Google::Apis::Core::JsonObjectSupport
|
1421
1499
|
end
|
1422
1500
|
|
1501
|
+
class GoogleCloudDocumentaiV1beta3OcrConfig
|
1502
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1503
|
+
|
1504
|
+
include Google::Apis::Core::JsonObjectSupport
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
class GoogleCloudDocumentaiV1beta3ProcessOptions
|
1508
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1509
|
+
|
1510
|
+
include Google::Apis::Core::JsonObjectSupport
|
1511
|
+
end
|
1512
|
+
|
1423
1513
|
class GoogleCloudDocumentaiV1beta3ProcessRequest
|
1424
1514
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1425
1515
|
|
@@ -1462,12 +1552,6 @@ module Google
|
|
1462
1552
|
include Google::Apis::Core::JsonObjectSupport
|
1463
1553
|
end
|
1464
1554
|
|
1465
|
-
class GoogleCloudDocumentaiV1beta3PropertyMetadata
|
1466
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1467
|
-
|
1468
|
-
include Google::Apis::Core::JsonObjectSupport
|
1469
|
-
end
|
1470
|
-
|
1471
1555
|
class GoogleCloudDocumentaiV1beta3RawDocument
|
1472
1556
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1473
1557
|
|
@@ -1510,6 +1594,36 @@ module Google
|
|
1510
1594
|
include Google::Apis::Core::JsonObjectSupport
|
1511
1595
|
end
|
1512
1596
|
|
1597
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata
|
1598
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1599
|
+
|
1600
|
+
include Google::Apis::Core::JsonObjectSupport
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation
|
1604
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1605
|
+
|
1606
|
+
include Google::Apis::Core::JsonObjectSupport
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest
|
1610
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1611
|
+
|
1612
|
+
include Google::Apis::Core::JsonObjectSupport
|
1613
|
+
end
|
1614
|
+
|
1615
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
|
1616
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1617
|
+
|
1618
|
+
include Google::Apis::Core::JsonObjectSupport
|
1619
|
+
end
|
1620
|
+
|
1621
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse
|
1622
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1623
|
+
|
1624
|
+
include Google::Apis::Core::JsonObjectSupport
|
1625
|
+
end
|
1626
|
+
|
1513
1627
|
class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
|
1514
1628
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1515
1629
|
|
@@ -2298,6 +2412,8 @@ module Google
|
|
2298
2412
|
|
2299
2413
|
property :image, as: 'image', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImage::Representation
|
2300
2414
|
|
2415
|
+
property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores::Representation
|
2416
|
+
|
2301
2417
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
|
2302
2418
|
|
2303
2419
|
collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLine, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLine::Representation
|
@@ -2408,6 +2524,23 @@ module Google
|
|
2408
2524
|
end
|
2409
2525
|
end
|
2410
2526
|
|
2527
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
|
2528
|
+
# @private
|
2529
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2530
|
+
collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect::Representation
|
2531
|
+
|
2532
|
+
property :quality_score, as: 'qualityScore'
|
2533
|
+
end
|
2534
|
+
end
|
2535
|
+
|
2536
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
|
2537
|
+
# @private
|
2538
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2539
|
+
property :confidence, as: 'confidence'
|
2540
|
+
property :type, as: 'type'
|
2541
|
+
end
|
2542
|
+
end
|
2543
|
+
|
2411
2544
|
class GoogleCloudDocumentaiV1beta1DocumentPageLayout
|
2412
2545
|
# @private
|
2413
2546
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2475,6 +2608,8 @@ module Google
|
|
2475
2608
|
|
2476
2609
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
|
2477
2610
|
|
2611
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
2612
|
+
|
2478
2613
|
end
|
2479
2614
|
end
|
2480
2615
|
|
@@ -2831,6 +2966,8 @@ module Google
|
|
2831
2966
|
|
2832
2967
|
property :image, as: 'image', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImage::Representation
|
2833
2968
|
|
2969
|
+
property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores::Representation
|
2970
|
+
|
2834
2971
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
|
2835
2972
|
|
2836
2973
|
collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLine, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLine::Representation
|
@@ -2941,6 +3078,23 @@ module Google
|
|
2941
3078
|
end
|
2942
3079
|
end
|
2943
3080
|
|
3081
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
|
3082
|
+
# @private
|
3083
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3084
|
+
collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect::Representation
|
3085
|
+
|
3086
|
+
property :quality_score, as: 'qualityScore'
|
3087
|
+
end
|
3088
|
+
end
|
3089
|
+
|
3090
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
|
3091
|
+
# @private
|
3092
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3093
|
+
property :confidence, as: 'confidence'
|
3094
|
+
property :type, as: 'type'
|
3095
|
+
end
|
3096
|
+
end
|
3097
|
+
|
2944
3098
|
class GoogleCloudDocumentaiV1beta2DocumentPageLayout
|
2945
3099
|
# @private
|
2946
3100
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3008,6 +3162,8 @@ module Google
|
|
3008
3162
|
|
3009
3163
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
|
3010
3164
|
|
3165
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
3166
|
+
|
3011
3167
|
end
|
3012
3168
|
end
|
3013
3169
|
|
@@ -3292,6 +3448,8 @@ module Google
|
|
3292
3448
|
|
3293
3449
|
property :output_config, as: 'outputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig::Representation
|
3294
3450
|
|
3451
|
+
property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions::Representation
|
3452
|
+
|
3295
3453
|
property :skip_human_review, as: 'skipHumanReview'
|
3296
3454
|
end
|
3297
3455
|
end
|
@@ -3482,6 +3640,16 @@ module Google
|
|
3482
3640
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3483
3641
|
property :field_mask, as: 'fieldMask'
|
3484
3642
|
property :gcs_uri, as: 'gcsUri'
|
3643
|
+
property :sharding_config, as: 'shardingConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig::Representation
|
3644
|
+
|
3645
|
+
end
|
3646
|
+
end
|
3647
|
+
|
3648
|
+
class GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig
|
3649
|
+
# @private
|
3650
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3651
|
+
property :pages_overlap, as: 'pagesOverlap'
|
3652
|
+
property :pages_per_shard, as: 'pagesPerShard'
|
3485
3653
|
end
|
3486
3654
|
end
|
3487
3655
|
|
@@ -3500,6 +3668,8 @@ module Google
|
|
3500
3668
|
|
3501
3669
|
property :image, as: 'image', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImage::Representation
|
3502
3670
|
|
3671
|
+
property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores::Representation
|
3672
|
+
|
3503
3673
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout::Representation
|
3504
3674
|
|
3505
3675
|
collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLine, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLine::Representation
|
@@ -3610,6 +3780,23 @@ module Google
|
|
3610
3780
|
end
|
3611
3781
|
end
|
3612
3782
|
|
3783
|
+
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores
|
3784
|
+
# @private
|
3785
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3786
|
+
collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect::Representation
|
3787
|
+
|
3788
|
+
property :quality_score, as: 'qualityScore'
|
3789
|
+
end
|
3790
|
+
end
|
3791
|
+
|
3792
|
+
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect
|
3793
|
+
# @private
|
3794
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3795
|
+
property :confidence, as: 'confidence'
|
3796
|
+
property :type, as: 'type'
|
3797
|
+
end
|
3798
|
+
end
|
3799
|
+
|
3613
3800
|
class GoogleCloudDocumentaiV1beta3DocumentPageLayout
|
3614
3801
|
# @private
|
3615
3802
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3677,6 +3864,8 @@ module Google
|
|
3677
3864
|
|
3678
3865
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout::Representation
|
3679
3866
|
|
3867
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance::Representation
|
3868
|
+
|
3680
3869
|
end
|
3681
3870
|
end
|
3682
3871
|
|
@@ -3791,8 +3980,6 @@ module Google
|
|
3791
3980
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3792
3981
|
collection :base_types, as: 'baseTypes'
|
3793
3982
|
property :display_name, as: 'displayName'
|
3794
|
-
property :entity_type_metadata, as: 'entityTypeMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EntityTypeMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EntityTypeMetadata::Representation
|
3795
|
-
|
3796
3983
|
property :enum_values, as: 'enumValues', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues::Representation
|
3797
3984
|
|
3798
3985
|
property :name, as: 'name'
|
@@ -3813,8 +4000,6 @@ module Google
|
|
3813
4000
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3814
4001
|
property :name, as: 'name'
|
3815
4002
|
property :occurrence_type, as: 'occurrenceType'
|
3816
|
-
property :property_metadata, as: 'propertyMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata::Representation
|
3817
|
-
|
3818
4003
|
property :value_type, as: 'valueType'
|
3819
4004
|
end
|
3820
4005
|
end
|
@@ -3912,14 +4097,93 @@ module Google
|
|
3912
4097
|
end
|
3913
4098
|
end
|
3914
4099
|
|
3915
|
-
class
|
4100
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
|
4101
|
+
# @private
|
4102
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4103
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
4104
|
+
|
4105
|
+
end
|
4106
|
+
end
|
4107
|
+
|
4108
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest
|
4109
|
+
# @private
|
4110
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4111
|
+
property :evaluation_documents, as: 'evaluationDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
|
4112
|
+
|
4113
|
+
end
|
4114
|
+
end
|
4115
|
+
|
4116
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse
|
4117
|
+
# @private
|
4118
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4119
|
+
property :evaluation, as: 'evaluation'
|
4120
|
+
end
|
4121
|
+
end
|
4122
|
+
|
4123
|
+
class GoogleCloudDocumentaiV1beta3Evaluation
|
4124
|
+
# @private
|
4125
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4126
|
+
property :all_entities_metrics, as: 'allEntitiesMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics::Representation
|
4127
|
+
|
4128
|
+
property :create_time, as: 'createTime'
|
4129
|
+
property :document_counters, as: 'documentCounters', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationCounters, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationCounters::Representation
|
4130
|
+
|
4131
|
+
hash :entity_metrics, as: 'entityMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics::Representation
|
4132
|
+
|
4133
|
+
property :kms_key_name, as: 'kmsKeyName'
|
4134
|
+
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
4135
|
+
property :name, as: 'name'
|
4136
|
+
end
|
4137
|
+
end
|
4138
|
+
|
4139
|
+
class GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics
|
4140
|
+
# @private
|
4141
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4142
|
+
property :confidence_level, as: 'confidenceLevel'
|
4143
|
+
property :metrics, as: 'metrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics::Representation
|
4144
|
+
|
4145
|
+
end
|
4146
|
+
end
|
4147
|
+
|
4148
|
+
class GoogleCloudDocumentaiV1beta3EvaluationCounters
|
4149
|
+
# @private
|
4150
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4151
|
+
property :evaluated_documents_count, as: 'evaluatedDocumentsCount'
|
4152
|
+
property :failed_documents_count, as: 'failedDocumentsCount'
|
4153
|
+
property :input_documents_count, as: 'inputDocumentsCount'
|
4154
|
+
property :invalid_documents_count, as: 'invalidDocumentsCount'
|
4155
|
+
end
|
4156
|
+
end
|
4157
|
+
|
4158
|
+
class GoogleCloudDocumentaiV1beta3EvaluationMetrics
|
4159
|
+
# @private
|
4160
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4161
|
+
property :f1_score, as: 'f1Score'
|
4162
|
+
property :false_negatives_count, as: 'falseNegativesCount'
|
4163
|
+
property :false_positives_count, as: 'falsePositivesCount'
|
4164
|
+
property :ground_truth_document_count, as: 'groundTruthDocumentCount'
|
4165
|
+
property :ground_truth_occurrences_count, as: 'groundTruthOccurrencesCount'
|
4166
|
+
property :precision, as: 'precision'
|
4167
|
+
property :predicted_document_count, as: 'predictedDocumentCount'
|
4168
|
+
property :predicted_occurrences_count, as: 'predictedOccurrencesCount'
|
4169
|
+
property :recall, as: 'recall'
|
4170
|
+
property :total_documents_count, as: 'totalDocumentsCount'
|
4171
|
+
property :true_positives_count, as: 'truePositivesCount'
|
4172
|
+
end
|
4173
|
+
end
|
4174
|
+
|
4175
|
+
class GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics
|
3916
4176
|
# @private
|
3917
4177
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3918
|
-
property :
|
4178
|
+
property :auprc, as: 'auprc'
|
4179
|
+
property :auprc_exact, as: 'auprcExact'
|
4180
|
+
collection :confidence_level_metrics, as: 'confidenceLevelMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics::Representation
|
3919
4181
|
|
3920
|
-
|
4182
|
+
collection :confidence_level_metrics_exact, as: 'confidenceLevelMetricsExact', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics::Representation
|
3921
4183
|
|
3922
|
-
property :
|
4184
|
+
property :estimated_calibration_error, as: 'estimatedCalibrationError'
|
4185
|
+
property :estimated_calibration_error_exact, as: 'estimatedCalibrationErrorExact'
|
4186
|
+
property :metrics_type, as: 'metricsType'
|
3923
4187
|
end
|
3924
4188
|
end
|
3925
4189
|
|
@@ -3954,13 +4218,6 @@ module Google
|
|
3954
4218
|
end
|
3955
4219
|
end
|
3956
4220
|
|
3957
|
-
class GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata
|
3958
|
-
# @private
|
3959
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3960
|
-
property :enable_normalization_editing, as: 'enableNormalizationEditing'
|
3961
|
-
end
|
3962
|
-
end
|
3963
|
-
|
3964
4221
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
3965
4222
|
# @private
|
3966
4223
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3970,11 +4227,12 @@ module Google
|
|
3970
4227
|
end
|
3971
4228
|
end
|
3972
4229
|
|
3973
|
-
class
|
4230
|
+
class GoogleCloudDocumentaiV1beta3ListEvaluationsResponse
|
3974
4231
|
# @private
|
3975
4232
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3976
|
-
|
3977
|
-
|
4233
|
+
collection :evaluations, as: 'evaluations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Evaluation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Evaluation::Representation
|
4234
|
+
|
4235
|
+
property :next_page_token, as: 'nextPageToken'
|
3978
4236
|
end
|
3979
4237
|
end
|
3980
4238
|
|
@@ -4013,6 +4271,21 @@ module Google
|
|
4013
4271
|
end
|
4014
4272
|
end
|
4015
4273
|
|
4274
|
+
class GoogleCloudDocumentaiV1beta3OcrConfig
|
4275
|
+
# @private
|
4276
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4277
|
+
property :enable_native_pdf_parsing, as: 'enableNativePdfParsing'
|
4278
|
+
end
|
4279
|
+
end
|
4280
|
+
|
4281
|
+
class GoogleCloudDocumentaiV1beta3ProcessOptions
|
4282
|
+
# @private
|
4283
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4284
|
+
property :ocr_config, as: 'ocrConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfig::Representation
|
4285
|
+
|
4286
|
+
end
|
4287
|
+
end
|
4288
|
+
|
4016
4289
|
class GoogleCloudDocumentaiV1beta3ProcessRequest
|
4017
4290
|
# @private
|
4018
4291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4021,6 +4294,8 @@ module Google
|
|
4021
4294
|
property :field_mask, as: 'fieldMask'
|
4022
4295
|
property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
4023
4296
|
|
4297
|
+
property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions::Representation
|
4298
|
+
|
4024
4299
|
property :raw_document, as: 'rawDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument::Representation
|
4025
4300
|
|
4026
4301
|
property :skip_human_review, as: 'skipHumanReview'
|
@@ -4061,6 +4336,7 @@ module Google
|
|
4061
4336
|
property :category, as: 'category'
|
4062
4337
|
property :launch_stage, as: 'launchStage'
|
4063
4338
|
property :name, as: 'name'
|
4339
|
+
collection :sample_document_uris, as: 'sampleDocumentUris'
|
4064
4340
|
property :type, as: 'type'
|
4065
4341
|
end
|
4066
4342
|
end
|
@@ -4079,6 +4355,8 @@ module Google
|
|
4079
4355
|
property :deprecation_info, as: 'deprecationInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo::Representation
|
4080
4356
|
|
4081
4357
|
property :display_name, as: 'displayName'
|
4358
|
+
property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
|
4359
|
+
|
4082
4360
|
property :google_managed, as: 'googleManaged'
|
4083
4361
|
property :kms_key_name, as: 'kmsKeyName'
|
4084
4362
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
@@ -4095,17 +4373,6 @@ module Google
|
|
4095
4373
|
end
|
4096
4374
|
end
|
4097
4375
|
|
4098
|
-
class GoogleCloudDocumentaiV1beta3PropertyMetadata
|
4099
|
-
# @private
|
4100
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
4101
|
-
property :human_review_labeling_metadata, as: 'humanReviewLabelingMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata::Representation
|
4102
|
-
|
4103
|
-
property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata::Representation
|
4104
|
-
|
4105
|
-
property :inactive, as: 'inactive'
|
4106
|
-
end
|
4107
|
-
end
|
4108
|
-
|
4109
4376
|
class GoogleCloudDocumentaiV1beta3RawDocument
|
4110
4377
|
# @private
|
4111
4378
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4171,6 +4438,60 @@ module Google
|
|
4171
4438
|
end
|
4172
4439
|
end
|
4173
4440
|
|
4441
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata
|
4442
|
+
# @private
|
4443
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4444
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
4445
|
+
|
4446
|
+
property :test_dataset_validation, as: 'testDatasetValidation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
|
4447
|
+
|
4448
|
+
property :training_dataset_validation, as: 'trainingDatasetValidation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
|
4449
|
+
|
4450
|
+
end
|
4451
|
+
end
|
4452
|
+
|
4453
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation
|
4454
|
+
# @private
|
4455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4456
|
+
property :dataset_error_count, as: 'datasetErrorCount'
|
4457
|
+
collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
4458
|
+
|
4459
|
+
property :document_error_count, as: 'documentErrorCount'
|
4460
|
+
collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
4461
|
+
|
4462
|
+
end
|
4463
|
+
end
|
4464
|
+
|
4465
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest
|
4466
|
+
# @private
|
4467
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4468
|
+
property :base_processor_version, as: 'baseProcessorVersion'
|
4469
|
+
property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
|
4470
|
+
|
4471
|
+
property :input_data, as: 'inputData', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData::Representation
|
4472
|
+
|
4473
|
+
property :processor_version, as: 'processorVersion', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion::Representation
|
4474
|
+
|
4475
|
+
end
|
4476
|
+
end
|
4477
|
+
|
4478
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
|
4479
|
+
# @private
|
4480
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4481
|
+
property :test_documents, as: 'testDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
|
4482
|
+
|
4483
|
+
property :training_documents, as: 'trainingDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
|
4484
|
+
|
4485
|
+
end
|
4486
|
+
end
|
4487
|
+
|
4488
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse
|
4489
|
+
# @private
|
4490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4491
|
+
property :processor_version, as: 'processorVersion'
|
4492
|
+
end
|
4493
|
+
end
|
4494
|
+
|
4174
4495
|
class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
|
4175
4496
|
# @private
|
4176
4497
|
class Representation < Google::Apis::Core::JsonRepresentation
|