google-apis-documentai_v1beta3 0.27.0 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3dc9a768ed5adc43dd64efe96818dc3a9eb6705620f4606607ddf808c2707b50
|
4
|
+
data.tar.gz: 6049985355da70a14f8867df317321733ac11b73f9d4f1615f2b38d0c4be7785
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28c2b3463ff3e3a4bed3b8b4f708fab4285d6f7e1d3d46a45c3555e60b3954248e381fe9d4d6048f605d9358f20339479aff8f449014e99e15ba09f13513bc7c
|
7
|
+
data.tar.gz: 8dc28f209736fbf0ddecf85c09814a20da03b4789ea1cb078dd2ae7504ce265d881c4bd96446ad34dbd233412fcd37f9e4a9d97cb9638b68c5d87e4c6109e260
|
data/CHANGELOG.md
CHANGED
@@ -63,6 +63,16 @@ module Google
|
|
63
63
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
64
64
|
attr_accessor :common_metadata
|
65
65
|
|
66
|
+
# The destination dataset split type.
|
67
|
+
# Corresponds to the JSON property `destDatasetType`
|
68
|
+
# @return [String]
|
69
|
+
attr_accessor :dest_dataset_type
|
70
|
+
|
71
|
+
# The list of response details of each document.
|
72
|
+
# Corresponds to the JSON property `individualBatchMoveStatuses`
|
73
|
+
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus>]
|
74
|
+
attr_accessor :individual_batch_move_statuses
|
75
|
+
|
66
76
|
def initialize(**args)
|
67
77
|
update!(**args)
|
68
78
|
end
|
@@ -70,6 +80,38 @@ module Google
|
|
70
80
|
# Update properties of this object
|
71
81
|
def update!(**args)
|
72
82
|
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
83
|
+
@dest_dataset_type = args[:dest_dataset_type] if args.key?(:dest_dataset_type)
|
84
|
+
@individual_batch_move_statuses = args[:individual_batch_move_statuses] if args.key?(:individual_batch_move_statuses)
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# The status of each individual document in the batch move process.
|
89
|
+
class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus
|
90
|
+
include Google::Apis::Core::Hashable
|
91
|
+
|
92
|
+
# Document Identifier.
|
93
|
+
# Corresponds to the JSON property `documentId`
|
94
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId]
|
95
|
+
attr_accessor :document_id
|
96
|
+
|
97
|
+
# The `Status` type defines a logical error model that is suitable for different
|
98
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
99
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
100
|
+
# data: error code, error message, and error details. You can find out more
|
101
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
102
|
+
# //cloud.google.com/apis/design/errors).
|
103
|
+
# Corresponds to the JSON property `status`
|
104
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleRpcStatus]
|
105
|
+
attr_accessor :status
|
106
|
+
|
107
|
+
def initialize(**args)
|
108
|
+
update!(**args)
|
109
|
+
end
|
110
|
+
|
111
|
+
# Update properties of this object
|
112
|
+
def update!(**args)
|
113
|
+
@document_id = args[:document_id] if args.key?(:document_id)
|
114
|
+
@status = args[:status] if args.key?(:status)
|
73
115
|
end
|
74
116
|
end
|
75
117
|
|
@@ -270,6 +312,58 @@ module Google
|
|
270
312
|
end
|
271
313
|
end
|
272
314
|
|
315
|
+
# Document Identifier.
|
316
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentId
|
317
|
+
include Google::Apis::Core::Hashable
|
318
|
+
|
319
|
+
# Identifies a document uniquely within the scope of a dataset in the GCS-based
|
320
|
+
# option.
|
321
|
+
# Corresponds to the JSON property `gcsManagedDocId`
|
322
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
|
323
|
+
attr_accessor :gcs_managed_doc_id
|
324
|
+
|
325
|
+
# The revision reference specifies which revision on the document to read.
|
326
|
+
# Corresponds to the JSON property `revisionReference`
|
327
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference]
|
328
|
+
attr_accessor :revision_reference
|
329
|
+
|
330
|
+
def initialize(**args)
|
331
|
+
update!(**args)
|
332
|
+
end
|
333
|
+
|
334
|
+
# Update properties of this object
|
335
|
+
def update!(**args)
|
336
|
+
@gcs_managed_doc_id = args[:gcs_managed_doc_id] if args.key?(:gcs_managed_doc_id)
|
337
|
+
@revision_reference = args[:revision_reference] if args.key?(:revision_reference)
|
338
|
+
end
|
339
|
+
end
|
340
|
+
|
341
|
+
# Identifies a document uniquely within the scope of a dataset in the GCS-based
|
342
|
+
# option.
|
343
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
|
344
|
+
include Google::Apis::Core::Hashable
|
345
|
+
|
346
|
+
# Optional. Id of the document (indexed) managed by Content Warehouse.
|
347
|
+
# Corresponds to the JSON property `cwDocId`
|
348
|
+
# @return [String]
|
349
|
+
attr_accessor :cw_doc_id
|
350
|
+
|
351
|
+
# Required. The Cloud Storage uri where the actual document is stored.
|
352
|
+
# Corresponds to the JSON property `gcsUri`
|
353
|
+
# @return [String]
|
354
|
+
attr_accessor :gcs_uri
|
355
|
+
|
356
|
+
def initialize(**args)
|
357
|
+
update!(**args)
|
358
|
+
end
|
359
|
+
|
360
|
+
# Update properties of this object
|
361
|
+
def update!(**args)
|
362
|
+
@cw_doc_id = args[:cw_doc_id] if args.key?(:cw_doc_id)
|
363
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
273
367
|
# The long running operation metadata for enable processor method.
|
274
368
|
class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
|
275
369
|
include Google::Apis::Core::Hashable
|
@@ -388,6 +482,11 @@ module Google
|
|
388
482
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
389
483
|
attr_accessor :common_metadata
|
390
484
|
|
485
|
+
# The list of response details of each document.
|
486
|
+
# Corresponds to the JSON property `individualImportStatuses`
|
487
|
+
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus>]
|
488
|
+
attr_accessor :individual_import_statuses
|
489
|
+
|
391
490
|
def initialize(**args)
|
392
491
|
update!(**args)
|
393
492
|
end
|
@@ -395,6 +494,44 @@ module Google
|
|
395
494
|
# Update properties of this object
|
396
495
|
def update!(**args)
|
397
496
|
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
497
|
+
@individual_import_statuses = args[:individual_import_statuses] if args.key?(:individual_import_statuses)
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
# The status of each individual document in the import process.
|
502
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
|
503
|
+
include Google::Apis::Core::Hashable
|
504
|
+
|
505
|
+
# The source Cloud Storage URI of the document.
|
506
|
+
# Corresponds to the JSON property `inputGcsSource`
|
507
|
+
# @return [String]
|
508
|
+
attr_accessor :input_gcs_source
|
509
|
+
|
510
|
+
# The output_gcs_destination of the processed document if it was successful,
|
511
|
+
# otherwise empty.
|
512
|
+
# Corresponds to the JSON property `outputGcsDestination`
|
513
|
+
# @return [String]
|
514
|
+
attr_accessor :output_gcs_destination
|
515
|
+
|
516
|
+
# The `Status` type defines a logical error model that is suitable for different
|
517
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
518
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
519
|
+
# data: error code, error message, and error details. You can find out more
|
520
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
521
|
+
# //cloud.google.com/apis/design/errors).
|
522
|
+
# Corresponds to the JSON property `status`
|
523
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleRpcStatus]
|
524
|
+
attr_accessor :status
|
525
|
+
|
526
|
+
def initialize(**args)
|
527
|
+
update!(**args)
|
528
|
+
end
|
529
|
+
|
530
|
+
# Update properties of this object
|
531
|
+
def update!(**args)
|
532
|
+
@input_gcs_source = args[:input_gcs_source] if args.key?(:input_gcs_source)
|
533
|
+
@output_gcs_destination = args[:output_gcs_destination] if args.key?(:output_gcs_destination)
|
534
|
+
@status = args[:status] if args.key?(:status)
|
398
535
|
end
|
399
536
|
end
|
400
537
|
|
@@ -411,6 +548,38 @@ module Google
|
|
411
548
|
end
|
412
549
|
end
|
413
550
|
|
551
|
+
# The revision reference specifies which revision on the document to read.
|
552
|
+
class GoogleCloudDocumentaiUiv1beta3RevisionReference
|
553
|
+
include Google::Apis::Core::Hashable
|
554
|
+
|
555
|
+
# Read the revision generated by the processor version, returns error if it does
|
556
|
+
# not exist.
|
557
|
+
# Corresponds to the JSON property `latestProcessorVersion`
|
558
|
+
# @return [String]
|
559
|
+
attr_accessor :latest_processor_version
|
560
|
+
|
561
|
+
# Read the revision by the predefined case.
|
562
|
+
# Corresponds to the JSON property `revisionCase`
|
563
|
+
# @return [String]
|
564
|
+
attr_accessor :revision_case
|
565
|
+
|
566
|
+
# Read the revision given by the id, returns error if it does not exist.
|
567
|
+
# Corresponds to the JSON property `revisionId`
|
568
|
+
# @return [String]
|
569
|
+
attr_accessor :revision_id
|
570
|
+
|
571
|
+
def initialize(**args)
|
572
|
+
update!(**args)
|
573
|
+
end
|
574
|
+
|
575
|
+
# Update properties of this object
|
576
|
+
def update!(**args)
|
577
|
+
@latest_processor_version = args[:latest_processor_version] if args.key?(:latest_processor_version)
|
578
|
+
@revision_case = args[:revision_case] if args.key?(:revision_case)
|
579
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
580
|
+
end
|
581
|
+
end
|
582
|
+
|
414
583
|
# The long running operation metadata for set default processor version method.
|
415
584
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
416
585
|
include Google::Apis::Core::Hashable
|
@@ -6489,104 +6658,6 @@ module Google
|
|
6489
6658
|
end
|
6490
6659
|
end
|
6491
6660
|
|
6492
|
-
# Evaluation metrics, either in aggregate or about a specific entity.
|
6493
|
-
class GoogleCloudDocumentaiV1beta3EvaluationMetrics
|
6494
|
-
include Google::Apis::Core::Hashable
|
6495
|
-
|
6496
|
-
# The calculated f1 score.
|
6497
|
-
# Corresponds to the JSON property `f1Score`
|
6498
|
-
# @return [Float]
|
6499
|
-
attr_accessor :f1_score
|
6500
|
-
|
6501
|
-
# The amount of false negatives.
|
6502
|
-
# Corresponds to the JSON property `falseNegativesCount`
|
6503
|
-
# @return [Fixnum]
|
6504
|
-
attr_accessor :false_negatives_count
|
6505
|
-
|
6506
|
-
# The amount of false positives.
|
6507
|
-
# Corresponds to the JSON property `falsePositivesCount`
|
6508
|
-
# @return [Fixnum]
|
6509
|
-
attr_accessor :false_positives_count
|
6510
|
-
|
6511
|
-
# The amount of occurrences in ground truth documents.
|
6512
|
-
# Corresponds to the JSON property `groundTruthOccurrencesCount`
|
6513
|
-
# @return [Fixnum]
|
6514
|
-
attr_accessor :ground_truth_occurrences_count
|
6515
|
-
|
6516
|
-
# The calculated precision.
|
6517
|
-
# Corresponds to the JSON property `precision`
|
6518
|
-
# @return [Float]
|
6519
|
-
attr_accessor :precision
|
6520
|
-
|
6521
|
-
# The amount of occurrences in predicted documents.
|
6522
|
-
# Corresponds to the JSON property `predictedOccurrencesCount`
|
6523
|
-
# @return [Fixnum]
|
6524
|
-
attr_accessor :predicted_occurrences_count
|
6525
|
-
|
6526
|
-
# The calculated recall.
|
6527
|
-
# Corresponds to the JSON property `recall`
|
6528
|
-
# @return [Float]
|
6529
|
-
attr_accessor :recall
|
6530
|
-
|
6531
|
-
# The amount of documents that had an occurrence of this label.
|
6532
|
-
# Corresponds to the JSON property `totalDocumentsCount`
|
6533
|
-
# @return [Fixnum]
|
6534
|
-
attr_accessor :total_documents_count
|
6535
|
-
|
6536
|
-
# The amount of true positives.
|
6537
|
-
# Corresponds to the JSON property `truePositivesCount`
|
6538
|
-
# @return [Fixnum]
|
6539
|
-
attr_accessor :true_positives_count
|
6540
|
-
|
6541
|
-
def initialize(**args)
|
6542
|
-
update!(**args)
|
6543
|
-
end
|
6544
|
-
|
6545
|
-
# Update properties of this object
|
6546
|
-
def update!(**args)
|
6547
|
-
@f1_score = args[:f1_score] if args.key?(:f1_score)
|
6548
|
-
@false_negatives_count = args[:false_negatives_count] if args.key?(:false_negatives_count)
|
6549
|
-
@false_positives_count = args[:false_positives_count] if args.key?(:false_positives_count)
|
6550
|
-
@ground_truth_occurrences_count = args[:ground_truth_occurrences_count] if args.key?(:ground_truth_occurrences_count)
|
6551
|
-
@precision = args[:precision] if args.key?(:precision)
|
6552
|
-
@predicted_occurrences_count = args[:predicted_occurrences_count] if args.key?(:predicted_occurrences_count)
|
6553
|
-
@recall = args[:recall] if args.key?(:recall)
|
6554
|
-
@total_documents_count = args[:total_documents_count] if args.key?(:total_documents_count)
|
6555
|
-
@true_positives_count = args[:true_positives_count] if args.key?(:true_positives_count)
|
6556
|
-
end
|
6557
|
-
end
|
6558
|
-
|
6559
|
-
# Gives a short summary of an evaluation, and links to the evaluation itself.
|
6560
|
-
class GoogleCloudDocumentaiV1beta3EvaluationReference
|
6561
|
-
include Google::Apis::Core::Hashable
|
6562
|
-
|
6563
|
-
# Evaluation metrics, either in aggregate or about a specific entity.
|
6564
|
-
# Corresponds to the JSON property `aggregateMetrics`
|
6565
|
-
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics]
|
6566
|
-
attr_accessor :aggregate_metrics
|
6567
|
-
|
6568
|
-
# The resource name of the evaluation.
|
6569
|
-
# Corresponds to the JSON property `evaluation`
|
6570
|
-
# @return [String]
|
6571
|
-
attr_accessor :evaluation
|
6572
|
-
|
6573
|
-
# The resource name of the Long Running Operation for the evaluation.
|
6574
|
-
# Corresponds to the JSON property `operation`
|
6575
|
-
# @return [String]
|
6576
|
-
attr_accessor :operation
|
6577
|
-
|
6578
|
-
def initialize(**args)
|
6579
|
-
update!(**args)
|
6580
|
-
end
|
6581
|
-
|
6582
|
-
# Update properties of this object
|
6583
|
-
def update!(**args)
|
6584
|
-
@aggregate_metrics = args[:aggregate_metrics] if args.key?(:aggregate_metrics)
|
6585
|
-
@evaluation = args[:evaluation] if args.key?(:evaluation)
|
6586
|
-
@operation = args[:operation] if args.key?(:operation)
|
6587
|
-
end
|
6588
|
-
end
|
6589
|
-
|
6590
6661
|
# Response message for fetch processor types.
|
6591
6662
|
class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
|
6592
6663
|
include Google::Apis::Core::Hashable
|
@@ -7030,11 +7101,6 @@ module Google
|
|
7030
7101
|
# @return [String]
|
7031
7102
|
attr_accessor :display_name
|
7032
7103
|
|
7033
|
-
# Gives a short summary of an evaluation, and links to the evaluation itself.
|
7034
|
-
# Corresponds to the JSON property `latestEvaluation`
|
7035
|
-
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference]
|
7036
|
-
attr_accessor :latest_evaluation
|
7037
|
-
|
7038
7104
|
# The resource name of the processor version. Format: projects/`project`/
|
7039
7105
|
# locations/`location`/processors/`processor`/processorVersions/`
|
7040
7106
|
# processor_version`
|
@@ -7042,11 +7108,6 @@ module Google
|
|
7042
7108
|
# @return [String]
|
7043
7109
|
attr_accessor :name
|
7044
7110
|
|
7045
|
-
# The schema defines the output of the processed document by a processor.
|
7046
|
-
# Corresponds to the JSON property `schema`
|
7047
|
-
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema]
|
7048
|
-
attr_accessor :schema
|
7049
|
-
|
7050
7111
|
# The state of the processor version.
|
7051
7112
|
# Corresponds to the JSON property `state`
|
7052
7113
|
# @return [String]
|
@@ -7060,9 +7121,7 @@ module Google
|
|
7060
7121
|
def update!(**args)
|
7061
7122
|
@create_time = args[:create_time] if args.key?(:create_time)
|
7062
7123
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7063
|
-
@latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
|
7064
7124
|
@name = args[:name] if args.key?(:name)
|
7065
|
-
@schema = args[:schema] if args.key?(:schema)
|
7066
7125
|
@state = args[:state] if args.key?(:state)
|
7067
7126
|
end
|
7068
7127
|
end
|
@@ -7200,118 +7259,6 @@ module Google
|
|
7200
7259
|
end
|
7201
7260
|
end
|
7202
7261
|
|
7203
|
-
# The schema defines the output of the processed document by a processor.
|
7204
|
-
class GoogleCloudDocumentaiV1beta3Schema
|
7205
|
-
include Google::Apis::Core::Hashable
|
7206
|
-
|
7207
|
-
# Description of the schema.
|
7208
|
-
# Corresponds to the JSON property `description`
|
7209
|
-
# @return [String]
|
7210
|
-
attr_accessor :description
|
7211
|
-
|
7212
|
-
# Display name to show to users.
|
7213
|
-
# Corresponds to the JSON property `displayName`
|
7214
|
-
# @return [String]
|
7215
|
-
attr_accessor :display_name
|
7216
|
-
|
7217
|
-
# Entity types of the schema.
|
7218
|
-
# Corresponds to the JSON property `entityTypes`
|
7219
|
-
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType>]
|
7220
|
-
attr_accessor :entity_types
|
7221
|
-
|
7222
|
-
def initialize(**args)
|
7223
|
-
update!(**args)
|
7224
|
-
end
|
7225
|
-
|
7226
|
-
# Update properties of this object
|
7227
|
-
def update!(**args)
|
7228
|
-
@description = args[:description] if args.key?(:description)
|
7229
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
7230
|
-
@entity_types = args[:entity_types] if args.key?(:entity_types)
|
7231
|
-
end
|
7232
|
-
end
|
7233
|
-
|
7234
|
-
# EntityType is the wrapper of a label of the corresponding model with detailed
|
7235
|
-
# attributes and limitations for entity-based processors. Multiple types can
|
7236
|
-
# also compose a dependency tree to represent nested types.
|
7237
|
-
class GoogleCloudDocumentaiV1beta3SchemaEntityType
|
7238
|
-
include Google::Apis::Core::Hashable
|
7239
|
-
|
7240
|
-
# Type of the entity. It must be one of the following: `document` - the entity
|
7241
|
-
# represents a classification of a logical document. `object` - if the entity
|
7242
|
-
# has properties it is likely an object (or or a document.) `datetime` - the
|
7243
|
-
# entity is a date or time value. `money` - the entity represents a money value
|
7244
|
-
# amount. `number` - the entity is a number - integer or floating point. `string`
|
7245
|
-
# - the entity is a string value. `boolean` - the entity is a boolean value. `
|
7246
|
-
# address` - the entity is a location address. `duration` - the entity is a
|
7247
|
-
# duration.
|
7248
|
-
# Corresponds to the JSON property `baseType`
|
7249
|
-
# @return [String]
|
7250
|
-
attr_accessor :base_type
|
7251
|
-
|
7252
|
-
# Description of the entity type.
|
7253
|
-
# Corresponds to the JSON property `description`
|
7254
|
-
# @return [String]
|
7255
|
-
attr_accessor :description
|
7256
|
-
|
7257
|
-
# If specified, lists all the possible values for this entity.
|
7258
|
-
# Corresponds to the JSON property `enumValues`
|
7259
|
-
# @return [Array<String>]
|
7260
|
-
attr_accessor :enum_values
|
7261
|
-
|
7262
|
-
# Occurrence type limits the number of times an entity type appears in the
|
7263
|
-
# document.
|
7264
|
-
# Corresponds to the JSON property `occurrenceType`
|
7265
|
-
# @return [String]
|
7266
|
-
attr_accessor :occurrence_type
|
7267
|
-
|
7268
|
-
# Describing the nested structure of an entity. An EntityType may consist of
|
7269
|
-
# several other EntityTypes. For example, in a document there can be an
|
7270
|
-
# EntityType 'ID', which consists of EntityType 'name' and 'address', with
|
7271
|
-
# corresponding attributes, such as TEXT for both types and ONCE for occurrence
|
7272
|
-
# types.
|
7273
|
-
# Corresponds to the JSON property `properties`
|
7274
|
-
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType>]
|
7275
|
-
attr_accessor :properties
|
7276
|
-
|
7277
|
-
# Source of this entity type.
|
7278
|
-
# Corresponds to the JSON property `source`
|
7279
|
-
# @return [String]
|
7280
|
-
attr_accessor :source
|
7281
|
-
|
7282
|
-
# Name of the type. It must satisfy the following constraints: 1. Must be unique
|
7283
|
-
# within the set of same level types (with case-insensitive match). 2. Maximum
|
7284
|
-
# 50 characters. 3. Must start with a letter. 4. Allowed characters: ASCII
|
7285
|
-
# letters [a-zA-Z], ASCII digits [0-9], or one of the following punctuation
|
7286
|
-
# characters: * underscore '_' (recommended) * hyphen '-' (allowed, not
|
7287
|
-
# recommended) * colon ':' (allowed, not recommended) NOTE: Whitespace
|
7288
|
-
# characters are not allowed. 5. Cannot end with a punctuation character. 6.
|
7289
|
-
# Cannot contain the following restricted strings: "google", "DocumentAI" (case-
|
7290
|
-
# insensitive match). 7. A slash character '/' is reserved as a separator in
|
7291
|
-
# flattened representations of nested entity types (e.g., "line_item/amount") in
|
7292
|
-
# which case each part (e.g., "line_item", "amount") must comply with the rules
|
7293
|
-
# defined above. We recommend using the snake case ("snake_case") in entity type
|
7294
|
-
# names.
|
7295
|
-
# Corresponds to the JSON property `type`
|
7296
|
-
# @return [String]
|
7297
|
-
attr_accessor :type
|
7298
|
-
|
7299
|
-
def initialize(**args)
|
7300
|
-
update!(**args)
|
7301
|
-
end
|
7302
|
-
|
7303
|
-
# Update properties of this object
|
7304
|
-
def update!(**args)
|
7305
|
-
@base_type = args[:base_type] if args.key?(:base_type)
|
7306
|
-
@description = args[:description] if args.key?(:description)
|
7307
|
-
@enum_values = args[:enum_values] if args.key?(:enum_values)
|
7308
|
-
@occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
|
7309
|
-
@properties = args[:properties] if args.key?(:properties)
|
7310
|
-
@source = args[:source] if args.key?(:source)
|
7311
|
-
@type = args[:type] if args.key?(:type)
|
7312
|
-
end
|
7313
|
-
end
|
7314
|
-
|
7315
7262
|
# The long running operation metadata for set default processor version method.
|
7316
7263
|
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
|
7317
7264
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1beta3
|
18
18
|
# Version of the google-apis-documentai_v1beta3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211105"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -100,6 +106,18 @@ module Google
|
|
100
106
|
include Google::Apis::Core::JsonObjectSupport
|
101
107
|
end
|
102
108
|
|
109
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentId
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
103
121
|
class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
|
104
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
123
|
|
@@ -142,12 +160,24 @@ module Google
|
|
142
160
|
include Google::Apis::Core::JsonObjectSupport
|
143
161
|
end
|
144
162
|
|
163
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
145
169
|
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse
|
146
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
171
|
|
148
172
|
include Google::Apis::Core::JsonObjectSupport
|
149
173
|
end
|
150
174
|
|
175
|
+
class GoogleCloudDocumentaiUiv1beta3RevisionReference
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
151
181
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
152
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
183
|
|
@@ -1156,18 +1186,6 @@ module Google
|
|
1156
1186
|
include Google::Apis::Core::JsonObjectSupport
|
1157
1187
|
end
|
1158
1188
|
|
1159
|
-
class GoogleCloudDocumentaiV1beta3EvaluationMetrics
|
1160
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1161
|
-
|
1162
|
-
include Google::Apis::Core::JsonObjectSupport
|
1163
|
-
end
|
1164
|
-
|
1165
|
-
class GoogleCloudDocumentaiV1beta3EvaluationReference
|
1166
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1167
|
-
|
1168
|
-
include Google::Apis::Core::JsonObjectSupport
|
1169
|
-
end
|
1170
|
-
|
1171
1189
|
class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
|
1172
1190
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1173
1191
|
|
@@ -1276,18 +1294,6 @@ module Google
|
|
1276
1294
|
include Google::Apis::Core::JsonObjectSupport
|
1277
1295
|
end
|
1278
1296
|
|
1279
|
-
class GoogleCloudDocumentaiV1beta3Schema
|
1280
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1281
|
-
|
1282
|
-
include Google::Apis::Core::JsonObjectSupport
|
1283
|
-
end
|
1284
|
-
|
1285
|
-
class GoogleCloudDocumentaiV1beta3SchemaEntityType
|
1286
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1287
|
-
|
1288
|
-
include Google::Apis::Core::JsonObjectSupport
|
1289
|
-
end
|
1290
|
-
|
1291
1297
|
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
|
1292
1298
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1293
1299
|
|
@@ -1421,6 +1427,19 @@ module Google
|
|
1421
1427
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1422
1428
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1423
1429
|
|
1430
|
+
property :dest_dataset_type, as: 'destDatasetType'
|
1431
|
+
collection :individual_batch_move_statuses, as: 'individualBatchMoveStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus::Representation
|
1432
|
+
|
1433
|
+
end
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus
|
1437
|
+
# @private
|
1438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1439
|
+
property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
|
1440
|
+
|
1441
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
1442
|
+
|
1424
1443
|
end
|
1425
1444
|
end
|
1426
1445
|
|
@@ -1501,6 +1520,24 @@ module Google
|
|
1501
1520
|
end
|
1502
1521
|
end
|
1503
1522
|
|
1523
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentId
|
1524
|
+
# @private
|
1525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1526
|
+
property :gcs_managed_doc_id, as: 'gcsManagedDocId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId::Representation
|
1527
|
+
|
1528
|
+
property :revision_reference, as: 'revisionReference', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference::Representation
|
1529
|
+
|
1530
|
+
end
|
1531
|
+
end
|
1532
|
+
|
1533
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
|
1534
|
+
# @private
|
1535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1536
|
+
property :cw_doc_id, as: 'cwDocId'
|
1537
|
+
property :gcs_uri, as: 'gcsUri'
|
1538
|
+
end
|
1539
|
+
end
|
1540
|
+
|
1504
1541
|
class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
|
1505
1542
|
# @private
|
1506
1543
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1550,6 +1587,18 @@ module Google
|
|
1550
1587
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1551
1588
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1552
1589
|
|
1590
|
+
collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
|
1591
|
+
|
1592
|
+
end
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
|
1596
|
+
# @private
|
1597
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1598
|
+
property :input_gcs_source, as: 'inputGcsSource'
|
1599
|
+
property :output_gcs_destination, as: 'outputGcsDestination'
|
1600
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
1601
|
+
|
1553
1602
|
end
|
1554
1603
|
end
|
1555
1604
|
|
@@ -1559,6 +1608,15 @@ module Google
|
|
1559
1608
|
end
|
1560
1609
|
end
|
1561
1610
|
|
1611
|
+
class GoogleCloudDocumentaiUiv1beta3RevisionReference
|
1612
|
+
# @private
|
1613
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1614
|
+
property :latest_processor_version, as: 'latestProcessorVersion'
|
1615
|
+
property :revision_case, as: 'revisionCase'
|
1616
|
+
property :revision_id, as: 'revisionId'
|
1617
|
+
end
|
1618
|
+
end
|
1619
|
+
|
1562
1620
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
1563
1621
|
# @private
|
1564
1622
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3363,31 +3421,6 @@ module Google
|
|
3363
3421
|
end
|
3364
3422
|
end
|
3365
3423
|
|
3366
|
-
class GoogleCloudDocumentaiV1beta3EvaluationMetrics
|
3367
|
-
# @private
|
3368
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3369
|
-
property :f1_score, as: 'f1Score'
|
3370
|
-
property :false_negatives_count, as: 'falseNegativesCount'
|
3371
|
-
property :false_positives_count, as: 'falsePositivesCount'
|
3372
|
-
property :ground_truth_occurrences_count, as: 'groundTruthOccurrencesCount'
|
3373
|
-
property :precision, as: 'precision'
|
3374
|
-
property :predicted_occurrences_count, as: 'predictedOccurrencesCount'
|
3375
|
-
property :recall, as: 'recall'
|
3376
|
-
property :total_documents_count, as: 'totalDocumentsCount'
|
3377
|
-
property :true_positives_count, as: 'truePositivesCount'
|
3378
|
-
end
|
3379
|
-
end
|
3380
|
-
|
3381
|
-
class GoogleCloudDocumentaiV1beta3EvaluationReference
|
3382
|
-
# @private
|
3383
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3384
|
-
property :aggregate_metrics, as: 'aggregateMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics::Representation
|
3385
|
-
|
3386
|
-
property :evaluation, as: 'evaluation'
|
3387
|
-
property :operation, as: 'operation'
|
3388
|
-
end
|
3389
|
-
end
|
3390
|
-
|
3391
3424
|
class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
|
3392
3425
|
# @private
|
3393
3426
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3517,11 +3550,7 @@ module Google
|
|
3517
3550
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3518
3551
|
property :create_time, as: 'createTime'
|
3519
3552
|
property :display_name, as: 'displayName'
|
3520
|
-
property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference::Representation
|
3521
|
-
|
3522
3553
|
property :name, as: 'name'
|
3523
|
-
property :schema, as: 'schema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema::Representation
|
3524
|
-
|
3525
3554
|
property :state, as: 'state'
|
3526
3555
|
end
|
3527
3556
|
end
|
@@ -3565,30 +3594,6 @@ module Google
|
|
3565
3594
|
end
|
3566
3595
|
end
|
3567
3596
|
|
3568
|
-
class GoogleCloudDocumentaiV1beta3Schema
|
3569
|
-
# @private
|
3570
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3571
|
-
property :description, as: 'description'
|
3572
|
-
property :display_name, as: 'displayName'
|
3573
|
-
collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType::Representation
|
3574
|
-
|
3575
|
-
end
|
3576
|
-
end
|
3577
|
-
|
3578
|
-
class GoogleCloudDocumentaiV1beta3SchemaEntityType
|
3579
|
-
# @private
|
3580
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3581
|
-
property :base_type, as: 'baseType'
|
3582
|
-
property :description, as: 'description'
|
3583
|
-
collection :enum_values, as: 'enumValues'
|
3584
|
-
property :occurrence_type, as: 'occurrenceType'
|
3585
|
-
collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType::Representation
|
3586
|
-
|
3587
|
-
property :source, as: 'source'
|
3588
|
-
property :type, as: 'type'
|
3589
|
-
end
|
3590
|
-
end
|
3591
|
-
|
3592
3597
|
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
|
3593
3598
|
# @private
|
3594
3599
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1beta3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.28.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|