google-apis-documentai_v1 0.18.0 → 0.22.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 +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/documentai_v1/classes.rb +220 -219
- data/lib/google/apis/documentai_v1/gem_version.rb +2 -2
- data/lib/google/apis/documentai_v1/representations.rb +88 -77
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90d271cf9685a78ad2dd7d3e5a6f68ce8ea4228def3bd9e8908cc75e2c672276
|
4
|
+
data.tar.gz: bd54b0a10f031f392f8f48642c523e145e4c06ba9ff1e03b850d1837aba789dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cd1e8f0012c8c69e0eeb36e0a6ed12ec9a5fa126650570cb061e83f9bdd39eb0d8d136fd5a70bbfcdba2eb7309667179bca1e2cb0ce3218a46db47a85d3cb6a
|
7
|
+
data.tar.gz: 9a783e14d0af2ceb22edc904f6323f309202c232f3b15015f8e3e7080ef40c6c212e1b9d51487dcdcb7fd2c6863b50e8a2e0d56c6d75b10b5ae790518ce6bacf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.22.0 (2021-12-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211203
|
6
|
+
|
7
|
+
### v0.21.0 (2021-11-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211105
|
10
|
+
|
11
|
+
### v0.20.0 (2021-10-26)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211022
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.19.0 (2021-10-14)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211012
|
19
|
+
|
3
20
|
### v0.18.0 (2021-10-06)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211002
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Documentai service in particular.)
|
67
67
|
|
@@ -63,6 +63,16 @@ module Google
|
|
63
63
|
# @return [Google::Apis::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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
|
|
@@ -95,6 +137,11 @@ module Google
|
|
95
137
|
# @return [String]
|
96
138
|
attr_accessor :create_time
|
97
139
|
|
140
|
+
# A related resource to this operation.
|
141
|
+
# Corresponds to the JSON property `resource`
|
142
|
+
# @return [String]
|
143
|
+
attr_accessor :resource
|
144
|
+
|
98
145
|
# The state of the operation.
|
99
146
|
# Corresponds to the JSON property `state`
|
100
147
|
# @return [String]
|
@@ -117,6 +164,7 @@ module Google
|
|
117
164
|
# Update properties of this object
|
118
165
|
def update!(**args)
|
119
166
|
@create_time = args[:create_time] if args.key?(:create_time)
|
167
|
+
@resource = args[:resource] if args.key?(:resource)
|
120
168
|
@state = args[:state] if args.key?(:state)
|
121
169
|
@state_message = args[:state_message] if args.key?(:state_message)
|
122
170
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -264,6 +312,58 @@ module Google
|
|
264
312
|
end
|
265
313
|
end
|
266
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::DocumentaiV1::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::DocumentaiV1::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
|
+
|
267
367
|
# The long running operation metadata for enable processor method.
|
268
368
|
class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
|
269
369
|
include Google::Apis::Core::Hashable
|
@@ -382,6 +482,11 @@ module Google
|
|
382
482
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
383
483
|
attr_accessor :common_metadata
|
384
484
|
|
485
|
+
# The list of response details of each document.
|
486
|
+
# Corresponds to the JSON property `individualImportStatuses`
|
487
|
+
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus>]
|
488
|
+
attr_accessor :individual_import_statuses
|
489
|
+
|
385
490
|
def initialize(**args)
|
386
491
|
update!(**args)
|
387
492
|
end
|
@@ -389,6 +494,44 @@ module Google
|
|
389
494
|
# Update properties of this object
|
390
495
|
def update!(**args)
|
391
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::DocumentaiV1::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)
|
392
535
|
end
|
393
536
|
end
|
394
537
|
|
@@ -405,6 +548,38 @@ module Google
|
|
405
548
|
end
|
406
549
|
end
|
407
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
|
+
|
408
583
|
# The long running operation metadata for set default processor version method.
|
409
584
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
410
585
|
include Google::Apis::Core::Hashable
|
@@ -816,6 +991,11 @@ module Google
|
|
816
991
|
# @return [String]
|
817
992
|
attr_accessor :create_time
|
818
993
|
|
994
|
+
# A related resource to this operation.
|
995
|
+
# Corresponds to the JSON property `resource`
|
996
|
+
# @return [String]
|
997
|
+
attr_accessor :resource
|
998
|
+
|
819
999
|
# The state of the operation.
|
820
1000
|
# Corresponds to the JSON property `state`
|
821
1001
|
# @return [String]
|
@@ -838,6 +1018,7 @@ module Google
|
|
838
1018
|
# Update properties of this object
|
839
1019
|
def update!(**args)
|
840
1020
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1021
|
+
@resource = args[:resource] if args.key?(:resource)
|
841
1022
|
@state = args[:state] if args.key?(:state)
|
842
1023
|
@state_message = args[:state_message] if args.key?(:state_message)
|
843
1024
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -2067,8 +2248,8 @@ module Google
|
|
2067
2248
|
end
|
2068
2249
|
end
|
2069
2250
|
|
2070
|
-
#
|
2071
|
-
#
|
2251
|
+
# The parent element the current element is based on. Used for referencing/
|
2252
|
+
# aligning, removal and replacement operations.
|
2072
2253
|
class GoogleCloudDocumentaiV1DocumentProvenanceParent
|
2073
2254
|
include Google::Apis::Core::Hashable
|
2074
2255
|
|
@@ -2083,7 +2264,7 @@ module Google
|
|
2083
2264
|
# @return [Fixnum]
|
2084
2265
|
attr_accessor :index
|
2085
2266
|
|
2086
|
-
# The index of the
|
2267
|
+
# The index of the index into current revision's parent_ids list.
|
2087
2268
|
# Corresponds to the JSON property `revision`
|
2088
2269
|
# @return [Fixnum]
|
2089
2270
|
attr_accessor :revision
|
@@ -2131,6 +2312,13 @@ module Google
|
|
2131
2312
|
# @return [Array<Fixnum>]
|
2132
2313
|
attr_accessor :parent
|
2133
2314
|
|
2315
|
+
# The revisions that this revision is based on. Must include all the ids that
|
2316
|
+
# have anything to do with this revision - eg. there are `provenance.parent.
|
2317
|
+
# revision` fields that index into this field.
|
2318
|
+
# Corresponds to the JSON property `parentIds`
|
2319
|
+
# @return [Array<String>]
|
2320
|
+
attr_accessor :parent_ids
|
2321
|
+
|
2134
2322
|
# If the annotation was made by processor identify the processor by its resource
|
2135
2323
|
# name.
|
2136
2324
|
# Corresponds to the JSON property `processor`
|
@@ -2148,6 +2336,7 @@ module Google
|
|
2148
2336
|
@human_review = args[:human_review] if args.key?(:human_review)
|
2149
2337
|
@id = args[:id] if args.key?(:id)
|
2150
2338
|
@parent = args[:parent] if args.key?(:parent)
|
2339
|
+
@parent_ids = args[:parent_ids] if args.key?(:parent_ids)
|
2151
2340
|
@processor = args[:processor] if args.key?(:processor)
|
2152
2341
|
end
|
2153
2342
|
end
|
@@ -2513,104 +2702,6 @@ module Google
|
|
2513
2702
|
end
|
2514
2703
|
end
|
2515
2704
|
|
2516
|
-
# Evaluation metrics, either in aggregate or about a specific entity.
|
2517
|
-
class GoogleCloudDocumentaiV1EvaluationMetrics
|
2518
|
-
include Google::Apis::Core::Hashable
|
2519
|
-
|
2520
|
-
# The calculated f1 score.
|
2521
|
-
# Corresponds to the JSON property `f1Score`
|
2522
|
-
# @return [Float]
|
2523
|
-
attr_accessor :f1_score
|
2524
|
-
|
2525
|
-
# The amount of false negatives.
|
2526
|
-
# Corresponds to the JSON property `falseNegativesCount`
|
2527
|
-
# @return [Fixnum]
|
2528
|
-
attr_accessor :false_negatives_count
|
2529
|
-
|
2530
|
-
# The amount of false positives.
|
2531
|
-
# Corresponds to the JSON property `falsePositivesCount`
|
2532
|
-
# @return [Fixnum]
|
2533
|
-
attr_accessor :false_positives_count
|
2534
|
-
|
2535
|
-
# The amount of occurrences in ground truth documents.
|
2536
|
-
# Corresponds to the JSON property `groundTruthOccurrencesCount`
|
2537
|
-
# @return [Fixnum]
|
2538
|
-
attr_accessor :ground_truth_occurrences_count
|
2539
|
-
|
2540
|
-
# The calculated precision.
|
2541
|
-
# Corresponds to the JSON property `precision`
|
2542
|
-
# @return [Float]
|
2543
|
-
attr_accessor :precision
|
2544
|
-
|
2545
|
-
# The amount of occurrences in predicted documents.
|
2546
|
-
# Corresponds to the JSON property `predictedOccurrencesCount`
|
2547
|
-
# @return [Fixnum]
|
2548
|
-
attr_accessor :predicted_occurrences_count
|
2549
|
-
|
2550
|
-
# The calculated recall.
|
2551
|
-
# Corresponds to the JSON property `recall`
|
2552
|
-
# @return [Float]
|
2553
|
-
attr_accessor :recall
|
2554
|
-
|
2555
|
-
# The amount of documents that had an occurrence of this label.
|
2556
|
-
# Corresponds to the JSON property `totalDocumentsCount`
|
2557
|
-
# @return [Fixnum]
|
2558
|
-
attr_accessor :total_documents_count
|
2559
|
-
|
2560
|
-
# The amount of true positives.
|
2561
|
-
# Corresponds to the JSON property `truePositivesCount`
|
2562
|
-
# @return [Fixnum]
|
2563
|
-
attr_accessor :true_positives_count
|
2564
|
-
|
2565
|
-
def initialize(**args)
|
2566
|
-
update!(**args)
|
2567
|
-
end
|
2568
|
-
|
2569
|
-
# Update properties of this object
|
2570
|
-
def update!(**args)
|
2571
|
-
@f1_score = args[:f1_score] if args.key?(:f1_score)
|
2572
|
-
@false_negatives_count = args[:false_negatives_count] if args.key?(:false_negatives_count)
|
2573
|
-
@false_positives_count = args[:false_positives_count] if args.key?(:false_positives_count)
|
2574
|
-
@ground_truth_occurrences_count = args[:ground_truth_occurrences_count] if args.key?(:ground_truth_occurrences_count)
|
2575
|
-
@precision = args[:precision] if args.key?(:precision)
|
2576
|
-
@predicted_occurrences_count = args[:predicted_occurrences_count] if args.key?(:predicted_occurrences_count)
|
2577
|
-
@recall = args[:recall] if args.key?(:recall)
|
2578
|
-
@total_documents_count = args[:total_documents_count] if args.key?(:total_documents_count)
|
2579
|
-
@true_positives_count = args[:true_positives_count] if args.key?(:true_positives_count)
|
2580
|
-
end
|
2581
|
-
end
|
2582
|
-
|
2583
|
-
# Gives a short summary of an evaluation, and links to the evaluation itself.
|
2584
|
-
class GoogleCloudDocumentaiV1EvaluationReference
|
2585
|
-
include Google::Apis::Core::Hashable
|
2586
|
-
|
2587
|
-
# Evaluation metrics, either in aggregate or about a specific entity.
|
2588
|
-
# Corresponds to the JSON property `aggregateMetrics`
|
2589
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMetrics]
|
2590
|
-
attr_accessor :aggregate_metrics
|
2591
|
-
|
2592
|
-
# The resource name of the evaluation.
|
2593
|
-
# Corresponds to the JSON property `evaluation`
|
2594
|
-
# @return [String]
|
2595
|
-
attr_accessor :evaluation
|
2596
|
-
|
2597
|
-
# The resource name of the Long Running Operation for the evaluation.
|
2598
|
-
# Corresponds to the JSON property `operation`
|
2599
|
-
# @return [String]
|
2600
|
-
attr_accessor :operation
|
2601
|
-
|
2602
|
-
def initialize(**args)
|
2603
|
-
update!(**args)
|
2604
|
-
end
|
2605
|
-
|
2606
|
-
# Update properties of this object
|
2607
|
-
def update!(**args)
|
2608
|
-
@aggregate_metrics = args[:aggregate_metrics] if args.key?(:aggregate_metrics)
|
2609
|
-
@evaluation = args[:evaluation] if args.key?(:evaluation)
|
2610
|
-
@operation = args[:operation] if args.key?(:operation)
|
2611
|
-
end
|
2612
|
-
end
|
2613
|
-
|
2614
2705
|
# Response message for fetch processor types.
|
2615
2706
|
class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
|
2616
2707
|
include Google::Apis::Core::Hashable
|
@@ -3036,11 +3127,6 @@ module Google
|
|
3036
3127
|
# @return [String]
|
3037
3128
|
attr_accessor :display_name
|
3038
3129
|
|
3039
|
-
# Gives a short summary of an evaluation, and links to the evaluation itself.
|
3040
|
-
# Corresponds to the JSON property `latestEvaluation`
|
3041
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference]
|
3042
|
-
attr_accessor :latest_evaluation
|
3043
|
-
|
3044
3130
|
# The resource name of the processor version. Format: projects/`project`/
|
3045
3131
|
# locations/`location`/processors/`processor`/processorVersions/`
|
3046
3132
|
# processor_version`
|
@@ -3048,11 +3134,6 @@ module Google
|
|
3048
3134
|
# @return [String]
|
3049
3135
|
attr_accessor :name
|
3050
3136
|
|
3051
|
-
# The schema defines the output of the processed document by a processor.
|
3052
|
-
# Corresponds to the JSON property `schema`
|
3053
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Schema]
|
3054
|
-
attr_accessor :schema
|
3055
|
-
|
3056
3137
|
# The state of the processor version.
|
3057
3138
|
# Corresponds to the JSON property `state`
|
3058
3139
|
# @return [String]
|
@@ -3066,9 +3147,7 @@ module Google
|
|
3066
3147
|
def update!(**args)
|
3067
3148
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3068
3149
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3069
|
-
@latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
|
3070
3150
|
@name = args[:name] if args.key?(:name)
|
3071
|
-
@schema = args[:schema] if args.key?(:schema)
|
3072
3151
|
@state = args[:state] if args.key?(:state)
|
3073
3152
|
end
|
3074
3153
|
end
|
@@ -3172,106 +3251,6 @@ module Google
|
|
3172
3251
|
end
|
3173
3252
|
end
|
3174
3253
|
|
3175
|
-
# The schema defines the output of the processed document by a processor.
|
3176
|
-
class GoogleCloudDocumentaiV1Schema
|
3177
|
-
include Google::Apis::Core::Hashable
|
3178
|
-
|
3179
|
-
# Description of the schema.
|
3180
|
-
# Corresponds to the JSON property `description`
|
3181
|
-
# @return [String]
|
3182
|
-
attr_accessor :description
|
3183
|
-
|
3184
|
-
# Display name to show to users.
|
3185
|
-
# Corresponds to the JSON property `displayName`
|
3186
|
-
# @return [String]
|
3187
|
-
attr_accessor :display_name
|
3188
|
-
|
3189
|
-
# Entity types of the schema.
|
3190
|
-
# Corresponds to the JSON property `entityTypes`
|
3191
|
-
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaEntityType>]
|
3192
|
-
attr_accessor :entity_types
|
3193
|
-
|
3194
|
-
def initialize(**args)
|
3195
|
-
update!(**args)
|
3196
|
-
end
|
3197
|
-
|
3198
|
-
# Update properties of this object
|
3199
|
-
def update!(**args)
|
3200
|
-
@description = args[:description] if args.key?(:description)
|
3201
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
3202
|
-
@entity_types = args[:entity_types] if args.key?(:entity_types)
|
3203
|
-
end
|
3204
|
-
end
|
3205
|
-
|
3206
|
-
# EntityType is the wrapper of a label of the corresponding model with detailed
|
3207
|
-
# attributes and limitations for entity-based processors. Multiple types can
|
3208
|
-
# also compose a dependency tree to represent nested types.
|
3209
|
-
class GoogleCloudDocumentaiV1SchemaEntityType
|
3210
|
-
include Google::Apis::Core::Hashable
|
3211
|
-
|
3212
|
-
# Type of the entity. It must be one of the following: `document` - the entity
|
3213
|
-
# represents a classification of a logical document. `object` - if the entity
|
3214
|
-
# has properties it is likely an object (or or a document.) `datetime` - the
|
3215
|
-
# entity is a date or time value. `money` - the entity represents a money value
|
3216
|
-
# amount. `number` - the entity is a number - integer or floating point. `string`
|
3217
|
-
# - the entity is a string value. `boolean` - the entity is a boolean value. `
|
3218
|
-
# address` - the entity is a location address. `duration` - the entity is a
|
3219
|
-
# duration.
|
3220
|
-
# Corresponds to the JSON property `baseType`
|
3221
|
-
# @return [String]
|
3222
|
-
attr_accessor :base_type
|
3223
|
-
|
3224
|
-
# Description of the entity type.
|
3225
|
-
# Corresponds to the JSON property `description`
|
3226
|
-
# @return [String]
|
3227
|
-
attr_accessor :description
|
3228
|
-
|
3229
|
-
# If specified, lists all the possible values for this entity.
|
3230
|
-
# Corresponds to the JSON property `enumValues`
|
3231
|
-
# @return [Array<String>]
|
3232
|
-
attr_accessor :enum_values
|
3233
|
-
|
3234
|
-
# Occurrence type limits the number of times an entity type appears in the
|
3235
|
-
# document.
|
3236
|
-
# Corresponds to the JSON property `occurrenceType`
|
3237
|
-
# @return [String]
|
3238
|
-
attr_accessor :occurrence_type
|
3239
|
-
|
3240
|
-
# Describing the nested structure of an entity. An EntityType may consist of
|
3241
|
-
# several other EntityTypes. For example, in a document there can be an
|
3242
|
-
# EntityType 'ID', which consists of EntityType 'name' and 'address', with
|
3243
|
-
# corresponding attributes, such as TEXT for both types and ONCE for occurrence
|
3244
|
-
# types.
|
3245
|
-
# Corresponds to the JSON property `properties`
|
3246
|
-
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaEntityType>]
|
3247
|
-
attr_accessor :properties
|
3248
|
-
|
3249
|
-
# Source of this entity type.
|
3250
|
-
# Corresponds to the JSON property `source`
|
3251
|
-
# @return [String]
|
3252
|
-
attr_accessor :source
|
3253
|
-
|
3254
|
-
# Name of the type. It must be unique within the set of same level types.
|
3255
|
-
# Corresponds to the JSON property `type`
|
3256
|
-
# @return [String]
|
3257
|
-
attr_accessor :type
|
3258
|
-
|
3259
|
-
def initialize(**args)
|
3260
|
-
update!(**args)
|
3261
|
-
end
|
3262
|
-
|
3263
|
-
# Update properties of this object
|
3264
|
-
def update!(**args)
|
3265
|
-
@base_type = args[:base_type] if args.key?(:base_type)
|
3266
|
-
@description = args[:description] if args.key?(:description)
|
3267
|
-
@enum_values = args[:enum_values] if args.key?(:enum_values)
|
3268
|
-
@occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
|
3269
|
-
@properties = args[:properties] if args.key?(:properties)
|
3270
|
-
@source = args[:source] if args.key?(:source)
|
3271
|
-
@type = args[:type] if args.key?(:type)
|
3272
|
-
end
|
3273
|
-
end
|
3274
|
-
|
3275
3254
|
# The long running operation metadata for set default processor version method.
|
3276
3255
|
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
|
3277
3256
|
include Google::Apis::Core::Hashable
|
@@ -4494,8 +4473,8 @@ module Google
|
|
4494
4473
|
end
|
4495
4474
|
end
|
4496
4475
|
|
4497
|
-
#
|
4498
|
-
#
|
4476
|
+
# The parent element the current element is based on. Used for referencing/
|
4477
|
+
# aligning, removal and replacement operations.
|
4499
4478
|
class GoogleCloudDocumentaiV1beta1DocumentProvenanceParent
|
4500
4479
|
include Google::Apis::Core::Hashable
|
4501
4480
|
|
@@ -4510,7 +4489,7 @@ module Google
|
|
4510
4489
|
# @return [Fixnum]
|
4511
4490
|
attr_accessor :index
|
4512
4491
|
|
4513
|
-
# The index of the
|
4492
|
+
# The index of the index into current revision's parent_ids list.
|
4514
4493
|
# Corresponds to the JSON property `revision`
|
4515
4494
|
# @return [Fixnum]
|
4516
4495
|
attr_accessor :revision
|
@@ -4558,6 +4537,13 @@ module Google
|
|
4558
4537
|
# @return [Array<Fixnum>]
|
4559
4538
|
attr_accessor :parent
|
4560
4539
|
|
4540
|
+
# The revisions that this revision is based on. Must include all the ids that
|
4541
|
+
# have anything to do with this revision - eg. there are `provenance.parent.
|
4542
|
+
# revision` fields that index into this field.
|
4543
|
+
# Corresponds to the JSON property `parentIds`
|
4544
|
+
# @return [Array<String>]
|
4545
|
+
attr_accessor :parent_ids
|
4546
|
+
|
4561
4547
|
# If the annotation was made by processor identify the processor by its resource
|
4562
4548
|
# name.
|
4563
4549
|
# Corresponds to the JSON property `processor`
|
@@ -4575,6 +4561,7 @@ module Google
|
|
4575
4561
|
@human_review = args[:human_review] if args.key?(:human_review)
|
4576
4562
|
@id = args[:id] if args.key?(:id)
|
4577
4563
|
@parent = args[:parent] if args.key?(:parent)
|
4564
|
+
@parent_ids = args[:parent_ids] if args.key?(:parent_ids)
|
4578
4565
|
@processor = args[:processor] if args.key?(:processor)
|
4579
4566
|
end
|
4580
4567
|
end
|
@@ -6250,8 +6237,8 @@ module Google
|
|
6250
6237
|
end
|
6251
6238
|
end
|
6252
6239
|
|
6253
|
-
#
|
6254
|
-
#
|
6240
|
+
# The parent element the current element is based on. Used for referencing/
|
6241
|
+
# aligning, removal and replacement operations.
|
6255
6242
|
class GoogleCloudDocumentaiV1beta2DocumentProvenanceParent
|
6256
6243
|
include Google::Apis::Core::Hashable
|
6257
6244
|
|
@@ -6266,7 +6253,7 @@ module Google
|
|
6266
6253
|
# @return [Fixnum]
|
6267
6254
|
attr_accessor :index
|
6268
6255
|
|
6269
|
-
# The index of the
|
6256
|
+
# The index of the index into current revision's parent_ids list.
|
6270
6257
|
# Corresponds to the JSON property `revision`
|
6271
6258
|
# @return [Fixnum]
|
6272
6259
|
attr_accessor :revision
|
@@ -6314,6 +6301,13 @@ module Google
|
|
6314
6301
|
# @return [Array<Fixnum>]
|
6315
6302
|
attr_accessor :parent
|
6316
6303
|
|
6304
|
+
# The revisions that this revision is based on. Must include all the ids that
|
6305
|
+
# have anything to do with this revision - eg. there are `provenance.parent.
|
6306
|
+
# revision` fields that index into this field.
|
6307
|
+
# Corresponds to the JSON property `parentIds`
|
6308
|
+
# @return [Array<String>]
|
6309
|
+
attr_accessor :parent_ids
|
6310
|
+
|
6317
6311
|
# If the annotation was made by processor identify the processor by its resource
|
6318
6312
|
# name.
|
6319
6313
|
# Corresponds to the JSON property `processor`
|
@@ -6331,6 +6325,7 @@ module Google
|
|
6331
6325
|
@human_review = args[:human_review] if args.key?(:human_review)
|
6332
6326
|
@id = args[:id] if args.key?(:id)
|
6333
6327
|
@parent = args[:parent] if args.key?(:parent)
|
6328
|
+
@parent_ids = args[:parent_ids] if args.key?(:parent_ids)
|
6334
6329
|
@processor = args[:processor] if args.key?(:processor)
|
6335
6330
|
end
|
6336
6331
|
end
|
@@ -6994,6 +6989,11 @@ module Google
|
|
6994
6989
|
# @return [String]
|
6995
6990
|
attr_accessor :create_time
|
6996
6991
|
|
6992
|
+
# A related resource to this operation.
|
6993
|
+
# Corresponds to the JSON property `resource`
|
6994
|
+
# @return [String]
|
6995
|
+
attr_accessor :resource
|
6996
|
+
|
6997
6997
|
# The state of the operation.
|
6998
6998
|
# Corresponds to the JSON property `state`
|
6999
6999
|
# @return [String]
|
@@ -7016,6 +7016,7 @@ module Google
|
|
7016
7016
|
# Update properties of this object
|
7017
7017
|
def update!(**args)
|
7018
7018
|
@create_time = args[:create_time] if args.key?(:create_time)
|
7019
|
+
@resource = args[:resource] if args.key?(:resource)
|
7019
7020
|
@state = args[:state] if args.key?(:state)
|
7020
7021
|
@state_message = args[:state_message] if args.key?(:state_message)
|
7021
7022
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1
|
18
18
|
# Version of the google-apis-documentai_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.22.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 = "20211203"
|
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
|
|
@@ -520,18 +550,6 @@ module Google
|
|
520
550
|
include Google::Apis::Core::JsonObjectSupport
|
521
551
|
end
|
522
552
|
|
523
|
-
class GoogleCloudDocumentaiV1EvaluationMetrics
|
524
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
-
|
526
|
-
include Google::Apis::Core::JsonObjectSupport
|
527
|
-
end
|
528
|
-
|
529
|
-
class GoogleCloudDocumentaiV1EvaluationReference
|
530
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
-
|
532
|
-
include Google::Apis::Core::JsonObjectSupport
|
533
|
-
end
|
534
|
-
|
535
553
|
class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
|
536
554
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
555
|
|
@@ -640,18 +658,6 @@ module Google
|
|
640
658
|
include Google::Apis::Core::JsonObjectSupport
|
641
659
|
end
|
642
660
|
|
643
|
-
class GoogleCloudDocumentaiV1Schema
|
644
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
-
|
646
|
-
include Google::Apis::Core::JsonObjectSupport
|
647
|
-
end
|
648
|
-
|
649
|
-
class GoogleCloudDocumentaiV1SchemaEntityType
|
650
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
|
-
|
652
|
-
include Google::Apis::Core::JsonObjectSupport
|
653
|
-
end
|
654
|
-
|
655
661
|
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
|
656
662
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
663
|
|
@@ -1409,6 +1415,19 @@ module Google
|
|
1409
1415
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1410
1416
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1411
1417
|
|
1418
|
+
property :dest_dataset_type, as: 'destDatasetType'
|
1419
|
+
collection :individual_batch_move_statuses, as: 'individualBatchMoveStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus::Representation
|
1420
|
+
|
1421
|
+
end
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus
|
1425
|
+
# @private
|
1426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1427
|
+
property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
|
1428
|
+
|
1429
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
1430
|
+
|
1412
1431
|
end
|
1413
1432
|
end
|
1414
1433
|
|
@@ -1422,6 +1441,7 @@ module Google
|
|
1422
1441
|
# @private
|
1423
1442
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1424
1443
|
property :create_time, as: 'createTime'
|
1444
|
+
property :resource, as: 'resource'
|
1425
1445
|
property :state, as: 'state'
|
1426
1446
|
property :state_message, as: 'stateMessage'
|
1427
1447
|
property :update_time, as: 'updateTime'
|
@@ -1488,6 +1508,24 @@ module Google
|
|
1488
1508
|
end
|
1489
1509
|
end
|
1490
1510
|
|
1511
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentId
|
1512
|
+
# @private
|
1513
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1514
|
+
property :gcs_managed_doc_id, as: 'gcsManagedDocId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId::Representation
|
1515
|
+
|
1516
|
+
property :revision_reference, as: 'revisionReference', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3RevisionReference, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3RevisionReference::Representation
|
1517
|
+
|
1518
|
+
end
|
1519
|
+
end
|
1520
|
+
|
1521
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
|
1522
|
+
# @private
|
1523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1524
|
+
property :cw_doc_id, as: 'cwDocId'
|
1525
|
+
property :gcs_uri, as: 'gcsUri'
|
1526
|
+
end
|
1527
|
+
end
|
1528
|
+
|
1491
1529
|
class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
|
1492
1530
|
# @private
|
1493
1531
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1537,6 +1575,18 @@ module Google
|
|
1537
1575
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1538
1576
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1539
1577
|
|
1578
|
+
collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
|
1579
|
+
|
1580
|
+
end
|
1581
|
+
end
|
1582
|
+
|
1583
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
|
1584
|
+
# @private
|
1585
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1586
|
+
property :input_gcs_source, as: 'inputGcsSource'
|
1587
|
+
property :output_gcs_destination, as: 'outputGcsDestination'
|
1588
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
1589
|
+
|
1540
1590
|
end
|
1541
1591
|
end
|
1542
1592
|
|
@@ -1546,6 +1596,15 @@ module Google
|
|
1546
1596
|
end
|
1547
1597
|
end
|
1548
1598
|
|
1599
|
+
class GoogleCloudDocumentaiUiv1beta3RevisionReference
|
1600
|
+
# @private
|
1601
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1602
|
+
property :latest_processor_version, as: 'latestProcessorVersion'
|
1603
|
+
property :revision_case, as: 'revisionCase'
|
1604
|
+
property :revision_id, as: 'revisionId'
|
1605
|
+
end
|
1606
|
+
end
|
1607
|
+
|
1549
1608
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
1550
1609
|
# @private
|
1551
1610
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1694,6 +1753,7 @@ module Google
|
|
1694
1753
|
# @private
|
1695
1754
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1696
1755
|
property :create_time, as: 'createTime'
|
1756
|
+
property :resource, as: 'resource'
|
1697
1757
|
property :state, as: 'state'
|
1698
1758
|
property :state_message, as: 'stateMessage'
|
1699
1759
|
property :update_time, as: 'updateTime'
|
@@ -2098,6 +2158,7 @@ module Google
|
|
2098
2158
|
|
2099
2159
|
property :id, as: 'id'
|
2100
2160
|
collection :parent, as: 'parent'
|
2161
|
+
collection :parent_ids, as: 'parentIds'
|
2101
2162
|
property :processor, as: 'processor'
|
2102
2163
|
end
|
2103
2164
|
end
|
@@ -2192,31 +2253,6 @@ module Google
|
|
2192
2253
|
end
|
2193
2254
|
end
|
2194
2255
|
|
2195
|
-
class GoogleCloudDocumentaiV1EvaluationMetrics
|
2196
|
-
# @private
|
2197
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2198
|
-
property :f1_score, as: 'f1Score'
|
2199
|
-
property :false_negatives_count, as: 'falseNegativesCount'
|
2200
|
-
property :false_positives_count, as: 'falsePositivesCount'
|
2201
|
-
property :ground_truth_occurrences_count, as: 'groundTruthOccurrencesCount'
|
2202
|
-
property :precision, as: 'precision'
|
2203
|
-
property :predicted_occurrences_count, as: 'predictedOccurrencesCount'
|
2204
|
-
property :recall, as: 'recall'
|
2205
|
-
property :total_documents_count, as: 'totalDocumentsCount'
|
2206
|
-
property :true_positives_count, as: 'truePositivesCount'
|
2207
|
-
end
|
2208
|
-
end
|
2209
|
-
|
2210
|
-
class GoogleCloudDocumentaiV1EvaluationReference
|
2211
|
-
# @private
|
2212
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2213
|
-
property :aggregate_metrics, as: 'aggregateMetrics', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMetrics, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMetrics::Representation
|
2214
|
-
|
2215
|
-
property :evaluation, as: 'evaluation'
|
2216
|
-
property :operation, as: 'operation'
|
2217
|
-
end
|
2218
|
-
end
|
2219
|
-
|
2220
2256
|
class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
|
2221
2257
|
# @private
|
2222
2258
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2343,11 +2379,7 @@ module Google
|
|
2343
2379
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2344
2380
|
property :create_time, as: 'createTime'
|
2345
2381
|
property :display_name, as: 'displayName'
|
2346
|
-
property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference::Representation
|
2347
|
-
|
2348
2382
|
property :name, as: 'name'
|
2349
|
-
property :schema, as: 'schema', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Schema, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Schema::Representation
|
2350
|
-
|
2351
2383
|
property :state, as: 'state'
|
2352
2384
|
end
|
2353
2385
|
end
|
@@ -2385,30 +2417,6 @@ module Google
|
|
2385
2417
|
end
|
2386
2418
|
end
|
2387
2419
|
|
2388
|
-
class GoogleCloudDocumentaiV1Schema
|
2389
|
-
# @private
|
2390
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2391
|
-
property :description, as: 'description'
|
2392
|
-
property :display_name, as: 'displayName'
|
2393
|
-
collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaEntityType, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaEntityType::Representation
|
2394
|
-
|
2395
|
-
end
|
2396
|
-
end
|
2397
|
-
|
2398
|
-
class GoogleCloudDocumentaiV1SchemaEntityType
|
2399
|
-
# @private
|
2400
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2401
|
-
property :base_type, as: 'baseType'
|
2402
|
-
property :description, as: 'description'
|
2403
|
-
collection :enum_values, as: 'enumValues'
|
2404
|
-
property :occurrence_type, as: 'occurrenceType'
|
2405
|
-
collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaEntityType, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaEntityType::Representation
|
2406
|
-
|
2407
|
-
property :source, as: 'source'
|
2408
|
-
property :type, as: 'type'
|
2409
|
-
end
|
2410
|
-
end
|
2411
|
-
|
2412
2420
|
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
|
2413
2421
|
# @private
|
2414
2422
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2803,6 +2811,7 @@ module Google
|
|
2803
2811
|
|
2804
2812
|
property :id, as: 'id'
|
2805
2813
|
collection :parent, as: 'parent'
|
2814
|
+
collection :parent_ids, as: 'parentIds'
|
2806
2815
|
property :processor, as: 'processor'
|
2807
2816
|
end
|
2808
2817
|
end
|
@@ -3301,6 +3310,7 @@ module Google
|
|
3301
3310
|
|
3302
3311
|
property :id, as: 'id'
|
3303
3312
|
collection :parent, as: 'parent'
|
3313
|
+
collection :parent_ids, as: 'parentIds'
|
3304
3314
|
property :processor, as: 'processor'
|
3305
3315
|
end
|
3306
3316
|
end
|
@@ -3479,6 +3489,7 @@ module Google
|
|
3479
3489
|
# @private
|
3480
3490
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3481
3491
|
property :create_time, as: 'createTime'
|
3492
|
+
property :resource, as: 'resource'
|
3482
3493
|
property :state, as: 'state'
|
3483
3494
|
property :state_message, as: 'stateMessage'
|
3484
3495
|
property :update_time, as: 'updateTime'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.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-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.22.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|