google-apis-documentai_v1beta3 0.58.0 → 0.60.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 +10 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +727 -284
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/documentai_v1beta3/representations.rb +270 -73
- data/lib/google/apis/documentai_v1beta3/service.rb +174 -0
- metadata +6 -6
@@ -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.60.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230106"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -418,18 +418,6 @@ module Google
|
|
418
418
|
include Google::Apis::Core::JsonObjectSupport
|
419
419
|
end
|
420
420
|
|
421
|
-
class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
|
422
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
-
|
424
|
-
include Google::Apis::Core::JsonObjectSupport
|
425
|
-
end
|
426
|
-
|
427
|
-
class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
|
428
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
-
|
430
|
-
include Google::Apis::Core::JsonObjectSupport
|
431
|
-
end
|
432
|
-
|
433
421
|
class GoogleCloudDocumentaiV1beta1Barcode
|
434
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
423
|
|
@@ -1144,6 +1132,12 @@ module Google
|
|
1144
1132
|
include Google::Apis::Core::JsonObjectSupport
|
1145
1133
|
end
|
1146
1134
|
|
1135
|
+
class GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig
|
1136
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1137
|
+
|
1138
|
+
include Google::Apis::Core::JsonObjectSupport
|
1139
|
+
end
|
1140
|
+
|
1147
1141
|
class GoogleCloudDocumentaiV1beta3DocumentPage
|
1148
1142
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1149
1143
|
|
@@ -1384,37 +1378,73 @@ module Google
|
|
1384
1378
|
include Google::Apis::Core::JsonObjectSupport
|
1385
1379
|
end
|
1386
1380
|
|
1387
|
-
class
|
1381
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
|
1388
1382
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1389
1383
|
|
1390
1384
|
include Google::Apis::Core::JsonObjectSupport
|
1391
1385
|
end
|
1392
1386
|
|
1393
|
-
class
|
1387
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest
|
1394
1388
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1395
1389
|
|
1396
1390
|
include Google::Apis::Core::JsonObjectSupport
|
1397
1391
|
end
|
1398
1392
|
|
1399
|
-
class
|
1393
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse
|
1400
1394
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1401
1395
|
|
1402
1396
|
include Google::Apis::Core::JsonObjectSupport
|
1403
1397
|
end
|
1404
1398
|
|
1405
|
-
class
|
1399
|
+
class GoogleCloudDocumentaiV1beta3Evaluation
|
1406
1400
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1407
1401
|
|
1408
1402
|
include Google::Apis::Core::JsonObjectSupport
|
1409
1403
|
end
|
1410
1404
|
|
1411
|
-
class
|
1405
|
+
class GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics
|
1406
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1407
|
+
|
1408
|
+
include Google::Apis::Core::JsonObjectSupport
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
class GoogleCloudDocumentaiV1beta3EvaluationCounters
|
1412
1412
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1413
1413
|
|
1414
1414
|
include Google::Apis::Core::JsonObjectSupport
|
1415
1415
|
end
|
1416
1416
|
|
1417
|
-
class
|
1417
|
+
class GoogleCloudDocumentaiV1beta3EvaluationMetrics
|
1418
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1419
|
+
|
1420
|
+
include Google::Apis::Core::JsonObjectSupport
|
1421
|
+
end
|
1422
|
+
|
1423
|
+
class GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics
|
1424
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1425
|
+
|
1426
|
+
include Google::Apis::Core::JsonObjectSupport
|
1427
|
+
end
|
1428
|
+
|
1429
|
+
class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
|
1430
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1431
|
+
|
1432
|
+
include Google::Apis::Core::JsonObjectSupport
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
class GoogleCloudDocumentaiV1beta3GcsDocument
|
1436
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1437
|
+
|
1438
|
+
include Google::Apis::Core::JsonObjectSupport
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
class GoogleCloudDocumentaiV1beta3GcsDocuments
|
1442
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1443
|
+
|
1444
|
+
include Google::Apis::Core::JsonObjectSupport
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
1418
1448
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1419
1449
|
|
1420
1450
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -1426,7 +1456,7 @@ module Google
|
|
1426
1456
|
include Google::Apis::Core::JsonObjectSupport
|
1427
1457
|
end
|
1428
1458
|
|
1429
|
-
class
|
1459
|
+
class GoogleCloudDocumentaiV1beta3ListEvaluationsResponse
|
1430
1460
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1431
1461
|
|
1432
1462
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -1456,6 +1486,18 @@ module Google
|
|
1456
1486
|
include Google::Apis::Core::JsonObjectSupport
|
1457
1487
|
end
|
1458
1488
|
|
1489
|
+
class GoogleCloudDocumentaiV1beta3OcrConfig
|
1490
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1491
|
+
|
1492
|
+
include Google::Apis::Core::JsonObjectSupport
|
1493
|
+
end
|
1494
|
+
|
1495
|
+
class GoogleCloudDocumentaiV1beta3ProcessOptions
|
1496
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1497
|
+
|
1498
|
+
include Google::Apis::Core::JsonObjectSupport
|
1499
|
+
end
|
1500
|
+
|
1459
1501
|
class GoogleCloudDocumentaiV1beta3ProcessRequest
|
1460
1502
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1461
1503
|
|
@@ -1498,12 +1540,6 @@ module Google
|
|
1498
1540
|
include Google::Apis::Core::JsonObjectSupport
|
1499
1541
|
end
|
1500
1542
|
|
1501
|
-
class GoogleCloudDocumentaiV1beta3PropertyMetadata
|
1502
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1503
|
-
|
1504
|
-
include Google::Apis::Core::JsonObjectSupport
|
1505
|
-
end
|
1506
|
-
|
1507
1543
|
class GoogleCloudDocumentaiV1beta3RawDocument
|
1508
1544
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1509
1545
|
|
@@ -1546,6 +1582,36 @@ module Google
|
|
1546
1582
|
include Google::Apis::Core::JsonObjectSupport
|
1547
1583
|
end
|
1548
1584
|
|
1585
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata
|
1586
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1587
|
+
|
1588
|
+
include Google::Apis::Core::JsonObjectSupport
|
1589
|
+
end
|
1590
|
+
|
1591
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation
|
1592
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1593
|
+
|
1594
|
+
include Google::Apis::Core::JsonObjectSupport
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest
|
1598
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1599
|
+
|
1600
|
+
include Google::Apis::Core::JsonObjectSupport
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
|
1604
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1605
|
+
|
1606
|
+
include Google::Apis::Core::JsonObjectSupport
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse
|
1610
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1611
|
+
|
1612
|
+
include Google::Apis::Core::JsonObjectSupport
|
1613
|
+
end
|
1614
|
+
|
1549
1615
|
class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
|
1550
1616
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1551
1617
|
|
@@ -2198,25 +2264,6 @@ module Google
|
|
2198
2264
|
end
|
2199
2265
|
end
|
2200
2266
|
|
2201
|
-
class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
|
2202
|
-
# @private
|
2203
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2204
|
-
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata::Representation
|
2205
|
-
|
2206
|
-
end
|
2207
|
-
end
|
2208
|
-
|
2209
|
-
class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
|
2210
|
-
# @private
|
2211
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2212
|
-
property :create_time, as: 'createTime'
|
2213
|
-
property :resource, as: 'resource'
|
2214
|
-
property :state, as: 'state'
|
2215
|
-
property :state_message, as: 'stateMessage'
|
2216
|
-
property :update_time, as: 'updateTime'
|
2217
|
-
end
|
2218
|
-
end
|
2219
|
-
|
2220
2267
|
class GoogleCloudDocumentaiV1beta1Barcode
|
2221
2268
|
# @private
|
2222
2269
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2530,6 +2577,8 @@ module Google
|
|
2530
2577
|
|
2531
2578
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
|
2532
2579
|
|
2580
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
2581
|
+
|
2533
2582
|
end
|
2534
2583
|
end
|
2535
2584
|
|
@@ -3082,6 +3131,8 @@ module Google
|
|
3082
3131
|
|
3083
3132
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
|
3084
3133
|
|
3134
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
3135
|
+
|
3085
3136
|
end
|
3086
3137
|
end
|
3087
3138
|
|
@@ -3366,6 +3417,8 @@ module Google
|
|
3366
3417
|
|
3367
3418
|
property :output_config, as: 'outputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig::Representation
|
3368
3419
|
|
3420
|
+
property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions::Representation
|
3421
|
+
|
3369
3422
|
property :skip_human_review, as: 'skipHumanReview'
|
3370
3423
|
end
|
3371
3424
|
end
|
@@ -3556,6 +3609,16 @@ module Google
|
|
3556
3609
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3557
3610
|
property :field_mask, as: 'fieldMask'
|
3558
3611
|
property :gcs_uri, as: 'gcsUri'
|
3612
|
+
property :sharding_config, as: 'shardingConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig::Representation
|
3613
|
+
|
3614
|
+
end
|
3615
|
+
end
|
3616
|
+
|
3617
|
+
class GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig
|
3618
|
+
# @private
|
3619
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3620
|
+
property :pages_overlap, as: 'pagesOverlap'
|
3621
|
+
property :pages_per_shard, as: 'pagesPerShard'
|
3559
3622
|
end
|
3560
3623
|
end
|
3561
3624
|
|
@@ -3770,6 +3833,8 @@ module Google
|
|
3770
3833
|
|
3771
3834
|
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout::Representation
|
3772
3835
|
|
3836
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance::Representation
|
3837
|
+
|
3773
3838
|
end
|
3774
3839
|
end
|
3775
3840
|
|
@@ -3884,8 +3949,6 @@ module Google
|
|
3884
3949
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3885
3950
|
collection :base_types, as: 'baseTypes'
|
3886
3951
|
property :display_name, as: 'displayName'
|
3887
|
-
property :entity_type_metadata, as: 'entityTypeMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EntityTypeMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EntityTypeMetadata::Representation
|
3888
|
-
|
3889
3952
|
property :enum_values, as: 'enumValues', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues::Representation
|
3890
3953
|
|
3891
3954
|
property :name, as: 'name'
|
@@ -3906,8 +3969,6 @@ module Google
|
|
3906
3969
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3907
3970
|
property :name, as: 'name'
|
3908
3971
|
property :occurrence_type, as: 'occurrenceType'
|
3909
|
-
property :property_metadata, as: 'propertyMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata::Representation
|
3910
|
-
|
3911
3972
|
property :value_type, as: 'valueType'
|
3912
3973
|
end
|
3913
3974
|
end
|
@@ -4005,14 +4066,93 @@ module Google
|
|
4005
4066
|
end
|
4006
4067
|
end
|
4007
4068
|
|
4008
|
-
class
|
4069
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
|
4070
|
+
# @private
|
4071
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4072
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
4073
|
+
|
4074
|
+
end
|
4075
|
+
end
|
4076
|
+
|
4077
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest
|
4009
4078
|
# @private
|
4010
4079
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4011
|
-
property :
|
4080
|
+
property :evaluation_documents, as: 'evaluationDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
|
4012
4081
|
|
4013
|
-
|
4082
|
+
end
|
4083
|
+
end
|
4014
4084
|
|
4015
|
-
|
4085
|
+
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse
|
4086
|
+
# @private
|
4087
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4088
|
+
property :evaluation, as: 'evaluation'
|
4089
|
+
end
|
4090
|
+
end
|
4091
|
+
|
4092
|
+
class GoogleCloudDocumentaiV1beta3Evaluation
|
4093
|
+
# @private
|
4094
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4095
|
+
property :all_entities_metrics, as: 'allEntitiesMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics::Representation
|
4096
|
+
|
4097
|
+
property :create_time, as: 'createTime'
|
4098
|
+
property :document_counters, as: 'documentCounters', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationCounters, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationCounters::Representation
|
4099
|
+
|
4100
|
+
hash :entity_metrics, as: 'entityMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics::Representation
|
4101
|
+
|
4102
|
+
property :kms_key_name, as: 'kmsKeyName'
|
4103
|
+
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
4104
|
+
property :name, as: 'name'
|
4105
|
+
end
|
4106
|
+
end
|
4107
|
+
|
4108
|
+
class GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics
|
4109
|
+
# @private
|
4110
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4111
|
+
property :confidence_level, as: 'confidenceLevel'
|
4112
|
+
property :metrics, as: 'metrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics::Representation
|
4113
|
+
|
4114
|
+
end
|
4115
|
+
end
|
4116
|
+
|
4117
|
+
class GoogleCloudDocumentaiV1beta3EvaluationCounters
|
4118
|
+
# @private
|
4119
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4120
|
+
property :evaluated_documents_count, as: 'evaluatedDocumentsCount'
|
4121
|
+
property :failed_documents_count, as: 'failedDocumentsCount'
|
4122
|
+
property :input_documents_count, as: 'inputDocumentsCount'
|
4123
|
+
property :invalid_documents_count, as: 'invalidDocumentsCount'
|
4124
|
+
end
|
4125
|
+
end
|
4126
|
+
|
4127
|
+
class GoogleCloudDocumentaiV1beta3EvaluationMetrics
|
4128
|
+
# @private
|
4129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4130
|
+
property :f1_score, as: 'f1Score'
|
4131
|
+
property :false_negatives_count, as: 'falseNegativesCount'
|
4132
|
+
property :false_positives_count, as: 'falsePositivesCount'
|
4133
|
+
property :ground_truth_document_count, as: 'groundTruthDocumentCount'
|
4134
|
+
property :ground_truth_occurrences_count, as: 'groundTruthOccurrencesCount'
|
4135
|
+
property :precision, as: 'precision'
|
4136
|
+
property :predicted_document_count, as: 'predictedDocumentCount'
|
4137
|
+
property :predicted_occurrences_count, as: 'predictedOccurrencesCount'
|
4138
|
+
property :recall, as: 'recall'
|
4139
|
+
property :total_documents_count, as: 'totalDocumentsCount'
|
4140
|
+
property :true_positives_count, as: 'truePositivesCount'
|
4141
|
+
end
|
4142
|
+
end
|
4143
|
+
|
4144
|
+
class GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics
|
4145
|
+
# @private
|
4146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4147
|
+
property :auprc, as: 'auprc'
|
4148
|
+
property :auprc_exact, as: 'auprcExact'
|
4149
|
+
collection :confidence_level_metrics, as: 'confidenceLevelMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics::Representation
|
4150
|
+
|
4151
|
+
collection :confidence_level_metrics_exact, as: 'confidenceLevelMetricsExact', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics::Representation
|
4152
|
+
|
4153
|
+
property :estimated_calibration_error, as: 'estimatedCalibrationError'
|
4154
|
+
property :estimated_calibration_error_exact, as: 'estimatedCalibrationErrorExact'
|
4155
|
+
property :metrics_type, as: 'metricsType'
|
4016
4156
|
end
|
4017
4157
|
end
|
4018
4158
|
|
@@ -4047,13 +4187,6 @@ module Google
|
|
4047
4187
|
end
|
4048
4188
|
end
|
4049
4189
|
|
4050
|
-
class GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata
|
4051
|
-
# @private
|
4052
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
4053
|
-
property :enable_normalization_editing, as: 'enableNormalizationEditing'
|
4054
|
-
end
|
4055
|
-
end
|
4056
|
-
|
4057
4190
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
4058
4191
|
# @private
|
4059
4192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4063,11 +4196,12 @@ module Google
|
|
4063
4196
|
end
|
4064
4197
|
end
|
4065
4198
|
|
4066
|
-
class
|
4199
|
+
class GoogleCloudDocumentaiV1beta3ListEvaluationsResponse
|
4067
4200
|
# @private
|
4068
4201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4069
|
-
|
4070
|
-
|
4202
|
+
collection :evaluations, as: 'evaluations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Evaluation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Evaluation::Representation
|
4203
|
+
|
4204
|
+
property :next_page_token, as: 'nextPageToken'
|
4071
4205
|
end
|
4072
4206
|
end
|
4073
4207
|
|
@@ -4106,6 +4240,21 @@ module Google
|
|
4106
4240
|
end
|
4107
4241
|
end
|
4108
4242
|
|
4243
|
+
class GoogleCloudDocumentaiV1beta3OcrConfig
|
4244
|
+
# @private
|
4245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4246
|
+
property :enable_native_pdf_parsing, as: 'enableNativePdfParsing'
|
4247
|
+
end
|
4248
|
+
end
|
4249
|
+
|
4250
|
+
class GoogleCloudDocumentaiV1beta3ProcessOptions
|
4251
|
+
# @private
|
4252
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4253
|
+
property :ocr_config, as: 'ocrConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfig::Representation
|
4254
|
+
|
4255
|
+
end
|
4256
|
+
end
|
4257
|
+
|
4109
4258
|
class GoogleCloudDocumentaiV1beta3ProcessRequest
|
4110
4259
|
# @private
|
4111
4260
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4114,6 +4263,8 @@ module Google
|
|
4114
4263
|
property :field_mask, as: 'fieldMask'
|
4115
4264
|
property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
4116
4265
|
|
4266
|
+
property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions::Representation
|
4267
|
+
|
4117
4268
|
property :raw_document, as: 'rawDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument::Representation
|
4118
4269
|
|
4119
4270
|
property :skip_human_review, as: 'skipHumanReview'
|
@@ -4154,6 +4305,7 @@ module Google
|
|
4154
4305
|
property :category, as: 'category'
|
4155
4306
|
property :launch_stage, as: 'launchStage'
|
4156
4307
|
property :name, as: 'name'
|
4308
|
+
collection :sample_document_uris, as: 'sampleDocumentUris'
|
4157
4309
|
property :type, as: 'type'
|
4158
4310
|
end
|
4159
4311
|
end
|
@@ -4172,6 +4324,8 @@ module Google
|
|
4172
4324
|
property :deprecation_info, as: 'deprecationInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo::Representation
|
4173
4325
|
|
4174
4326
|
property :display_name, as: 'displayName'
|
4327
|
+
property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
|
4328
|
+
|
4175
4329
|
property :google_managed, as: 'googleManaged'
|
4176
4330
|
property :kms_key_name, as: 'kmsKeyName'
|
4177
4331
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
@@ -4188,17 +4342,6 @@ module Google
|
|
4188
4342
|
end
|
4189
4343
|
end
|
4190
4344
|
|
4191
|
-
class GoogleCloudDocumentaiV1beta3PropertyMetadata
|
4192
|
-
# @private
|
4193
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
4194
|
-
property :human_review_labeling_metadata, as: 'humanReviewLabelingMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata::Representation
|
4195
|
-
|
4196
|
-
property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata::Representation
|
4197
|
-
|
4198
|
-
property :inactive, as: 'inactive'
|
4199
|
-
end
|
4200
|
-
end
|
4201
|
-
|
4202
4345
|
class GoogleCloudDocumentaiV1beta3RawDocument
|
4203
4346
|
# @private
|
4204
4347
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4264,6 +4407,60 @@ module Google
|
|
4264
4407
|
end
|
4265
4408
|
end
|
4266
4409
|
|
4410
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata
|
4411
|
+
# @private
|
4412
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4413
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
4414
|
+
|
4415
|
+
property :test_dataset_validation, as: 'testDatasetValidation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
|
4416
|
+
|
4417
|
+
property :training_dataset_validation, as: 'trainingDatasetValidation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
|
4418
|
+
|
4419
|
+
end
|
4420
|
+
end
|
4421
|
+
|
4422
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation
|
4423
|
+
# @private
|
4424
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4425
|
+
property :dataset_error_count, as: 'datasetErrorCount'
|
4426
|
+
collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
4427
|
+
|
4428
|
+
property :document_error_count, as: 'documentErrorCount'
|
4429
|
+
collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
4430
|
+
|
4431
|
+
end
|
4432
|
+
end
|
4433
|
+
|
4434
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest
|
4435
|
+
# @private
|
4436
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4437
|
+
property :base_processor_version, as: 'baseProcessorVersion'
|
4438
|
+
property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
|
4439
|
+
|
4440
|
+
property :input_data, as: 'inputData', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData::Representation
|
4441
|
+
|
4442
|
+
property :processor_version, as: 'processorVersion', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion::Representation
|
4443
|
+
|
4444
|
+
end
|
4445
|
+
end
|
4446
|
+
|
4447
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
|
4448
|
+
# @private
|
4449
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4450
|
+
property :test_documents, as: 'testDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
|
4451
|
+
|
4452
|
+
property :training_documents, as: 'trainingDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
|
4453
|
+
|
4454
|
+
end
|
4455
|
+
end
|
4456
|
+
|
4457
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse
|
4458
|
+
# @private
|
4459
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4460
|
+
property :processor_version, as: 'processorVersion'
|
4461
|
+
end
|
4462
|
+
end
|
4463
|
+
|
4267
4464
|
class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
|
4268
4465
|
# @private
|
4269
4466
|
class Representation < Google::Apis::Core::JsonRepresentation
|