google-apis-documentai_v1beta3 0.58.0 → 0.59.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.
@@ -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.58.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.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220921"
25
+ REVISION = "20221201"
26
26
  end
27
27
  end
28
28
  end
@@ -1144,6 +1144,12 @@ module Google
1144
1144
  include Google::Apis::Core::JsonObjectSupport
1145
1145
  end
1146
1146
 
1147
+ class GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig
1148
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1149
+
1150
+ include Google::Apis::Core::JsonObjectSupport
1151
+ end
1152
+
1147
1153
  class GoogleCloudDocumentaiV1beta3DocumentPage
1148
1154
  class Representation < Google::Apis::Core::JsonRepresentation; end
1149
1155
 
@@ -1384,37 +1390,73 @@ module Google
1384
1390
  include Google::Apis::Core::JsonObjectSupport
1385
1391
  end
1386
1392
 
1387
- class GoogleCloudDocumentaiV1beta3EntityTypeMetadata
1393
+ class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
1388
1394
  class Representation < Google::Apis::Core::JsonRepresentation; end
1389
1395
 
1390
1396
  include Google::Apis::Core::JsonObjectSupport
1391
1397
  end
1392
1398
 
1393
- class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
1399
+ class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest
1394
1400
  class Representation < Google::Apis::Core::JsonRepresentation; end
1395
1401
 
1396
1402
  include Google::Apis::Core::JsonObjectSupport
1397
1403
  end
1398
1404
 
1399
- class GoogleCloudDocumentaiV1beta3GcsDocument
1405
+ class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse
1400
1406
  class Representation < Google::Apis::Core::JsonRepresentation; end
1401
1407
 
1402
1408
  include Google::Apis::Core::JsonObjectSupport
1403
1409
  end
1404
1410
 
1405
- class GoogleCloudDocumentaiV1beta3GcsDocuments
1411
+ class GoogleCloudDocumentaiV1beta3Evaluation
1406
1412
  class Representation < Google::Apis::Core::JsonRepresentation; end
1407
1413
 
1408
1414
  include Google::Apis::Core::JsonObjectSupport
1409
1415
  end
1410
1416
 
1411
- class GoogleCloudDocumentaiV1beta3GcsPrefix
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
1412
1448
  class Representation < Google::Apis::Core::JsonRepresentation; end
1413
1449
 
1414
1450
  include Google::Apis::Core::JsonObjectSupport
1415
1451
  end
1416
1452
 
1417
- class GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata
1453
+ class GoogleCloudDocumentaiV1beta3GcsDocuments
1454
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1455
+
1456
+ include Google::Apis::Core::JsonObjectSupport
1457
+ end
1458
+
1459
+ class GoogleCloudDocumentaiV1beta3GcsPrefix
1418
1460
  class Representation < Google::Apis::Core::JsonRepresentation; end
1419
1461
 
1420
1462
  include Google::Apis::Core::JsonObjectSupport
@@ -1426,7 +1468,7 @@ module Google
1426
1468
  include Google::Apis::Core::JsonObjectSupport
1427
1469
  end
1428
1470
 
1429
- class GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata
1471
+ class GoogleCloudDocumentaiV1beta3ListEvaluationsResponse
1430
1472
  class Representation < Google::Apis::Core::JsonRepresentation; end
1431
1473
 
1432
1474
  include Google::Apis::Core::JsonObjectSupport
@@ -1456,6 +1498,18 @@ module Google
1456
1498
  include Google::Apis::Core::JsonObjectSupport
1457
1499
  end
1458
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
+
1459
1513
  class GoogleCloudDocumentaiV1beta3ProcessRequest
1460
1514
  class Representation < Google::Apis::Core::JsonRepresentation; end
1461
1515
 
@@ -1498,12 +1552,6 @@ module Google
1498
1552
  include Google::Apis::Core::JsonObjectSupport
1499
1553
  end
1500
1554
 
1501
- class GoogleCloudDocumentaiV1beta3PropertyMetadata
1502
- class Representation < Google::Apis::Core::JsonRepresentation; end
1503
-
1504
- include Google::Apis::Core::JsonObjectSupport
1505
- end
1506
-
1507
1555
  class GoogleCloudDocumentaiV1beta3RawDocument
1508
1556
  class Representation < Google::Apis::Core::JsonRepresentation; end
1509
1557
 
@@ -1546,6 +1594,36 @@ module Google
1546
1594
  include Google::Apis::Core::JsonObjectSupport
1547
1595
  end
1548
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
+
1549
1627
  class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
1550
1628
  class Representation < Google::Apis::Core::JsonRepresentation; end
1551
1629
 
@@ -2530,6 +2608,8 @@ module Google
2530
2608
 
2531
2609
  property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
2532
2610
 
2611
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
2612
+
2533
2613
  end
2534
2614
  end
2535
2615
 
@@ -3082,6 +3162,8 @@ module Google
3082
3162
 
3083
3163
  property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
3084
3164
 
3165
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
3166
+
3085
3167
  end
3086
3168
  end
3087
3169
 
@@ -3366,6 +3448,8 @@ module Google
3366
3448
 
3367
3449
  property :output_config, as: 'outputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig::Representation
3368
3450
 
3451
+ property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions::Representation
3452
+
3369
3453
  property :skip_human_review, as: 'skipHumanReview'
3370
3454
  end
3371
3455
  end
@@ -3556,6 +3640,16 @@ module Google
3556
3640
  class Representation < Google::Apis::Core::JsonRepresentation
3557
3641
  property :field_mask, as: 'fieldMask'
3558
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'
3559
3653
  end
3560
3654
  end
3561
3655
 
@@ -3770,6 +3864,8 @@ module Google
3770
3864
 
3771
3865
  property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout::Representation
3772
3866
 
3867
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance::Representation
3868
+
3773
3869
  end
3774
3870
  end
3775
3871
 
@@ -3884,8 +3980,6 @@ module Google
3884
3980
  class Representation < Google::Apis::Core::JsonRepresentation
3885
3981
  collection :base_types, as: 'baseTypes'
3886
3982
  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
3983
  property :enum_values, as: 'enumValues', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues::Representation
3890
3984
 
3891
3985
  property :name, as: 'name'
@@ -3906,8 +4000,6 @@ module Google
3906
4000
  class Representation < Google::Apis::Core::JsonRepresentation
3907
4001
  property :name, as: 'name'
3908
4002
  property :occurrence_type, as: 'occurrenceType'
3909
- property :property_metadata, as: 'propertyMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata::Representation
3910
-
3911
4003
  property :value_type, as: 'valueType'
3912
4004
  end
3913
4005
  end
@@ -4005,14 +4097,93 @@ module Google
4005
4097
  end
4006
4098
  end
4007
4099
 
4008
- class GoogleCloudDocumentaiV1beta3EntityTypeMetadata
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
4009
4176
  # @private
4010
4177
  class Representation < Google::Apis::Core::JsonRepresentation
4011
- property :human_review_labeling_metadata, as: 'humanReviewLabelingMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata::Representation
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
4012
4181
 
4013
- property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata::Representation
4182
+ collection :confidence_level_metrics_exact, as: 'confidenceLevelMetricsExact', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics::Representation
4014
4183
 
4015
- property :inactive, as: 'inactive'
4184
+ property :estimated_calibration_error, as: 'estimatedCalibrationError'
4185
+ property :estimated_calibration_error_exact, as: 'estimatedCalibrationErrorExact'
4186
+ property :metrics_type, as: 'metricsType'
4016
4187
  end
4017
4188
  end
4018
4189
 
@@ -4047,13 +4218,6 @@ module Google
4047
4218
  end
4048
4219
  end
4049
4220
 
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
4221
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
4058
4222
  # @private
4059
4223
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4063,11 +4227,12 @@ module Google
4063
4227
  end
4064
4228
  end
4065
4229
 
4066
- class GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata
4230
+ class GoogleCloudDocumentaiV1beta3ListEvaluationsResponse
4067
4231
  # @private
4068
4232
  class Representation < Google::Apis::Core::JsonRepresentation
4069
- property :confidence_threshold, as: 'confidenceThreshold'
4070
- property :enable_validation, as: 'enableValidation'
4233
+ collection :evaluations, as: 'evaluations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Evaluation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Evaluation::Representation
4234
+
4235
+ property :next_page_token, as: 'nextPageToken'
4071
4236
  end
4072
4237
  end
4073
4238
 
@@ -4106,6 +4271,21 @@ module Google
4106
4271
  end
4107
4272
  end
4108
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
+
4109
4289
  class GoogleCloudDocumentaiV1beta3ProcessRequest
4110
4290
  # @private
4111
4291
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4114,6 +4294,8 @@ module Google
4114
4294
  property :field_mask, as: 'fieldMask'
4115
4295
  property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
4116
4296
 
4297
+ property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions::Representation
4298
+
4117
4299
  property :raw_document, as: 'rawDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument::Representation
4118
4300
 
4119
4301
  property :skip_human_review, as: 'skipHumanReview'
@@ -4154,6 +4336,7 @@ module Google
4154
4336
  property :category, as: 'category'
4155
4337
  property :launch_stage, as: 'launchStage'
4156
4338
  property :name, as: 'name'
4339
+ collection :sample_document_uris, as: 'sampleDocumentUris'
4157
4340
  property :type, as: 'type'
4158
4341
  end
4159
4342
  end
@@ -4172,6 +4355,8 @@ module Google
4172
4355
  property :deprecation_info, as: 'deprecationInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo::Representation
4173
4356
 
4174
4357
  property :display_name, as: 'displayName'
4358
+ property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
4359
+
4175
4360
  property :google_managed, as: 'googleManaged'
4176
4361
  property :kms_key_name, as: 'kmsKeyName'
4177
4362
  property :kms_key_version_name, as: 'kmsKeyVersionName'
@@ -4188,17 +4373,6 @@ module Google
4188
4373
  end
4189
4374
  end
4190
4375
 
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
4376
  class GoogleCloudDocumentaiV1beta3RawDocument
4203
4377
  # @private
4204
4378
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4264,6 +4438,60 @@ module Google
4264
4438
  end
4265
4439
  end
4266
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
+
4267
4495
  class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
4268
4496
  # @private
4269
4497
  class Representation < Google::Apis::Core::JsonRepresentation