google-apis-documentai_v1 0.17.0 → 0.21.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 +195 -212
- data/lib/google/apis/documentai_v1/gem_version.rb +2 -2
- data/lib/google/apis/documentai_v1/representations.rb +86 -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: 612bd185ac59da2c441ab685889c42bd9ee5f63481996cfb5bdc1ebcbaf4e6dc
|
4
|
+
data.tar.gz: 4f8d0e0220eb1c5fe8470912da9cff9a71fe3ebc38dc49cb88065f8e2638461e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26bd3132f8648d61dc9b5d0653a3e0f466456e24d92c4c7f6ed6dfadda773450ebe7fdd760316a96e7001e652757d285a5909e1fa1d9dd1a7573add290f2615e
|
7
|
+
data.tar.gz: 83a814a829886370189ab2f2c91d5a49e4c620a71b4d86df9ece1fd2ae710c78947ffaace9d82dc65c3f8512c7bee5a4eb3edec8029f663f3484bfc5eaf718f0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.21.0 (2021-11-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211105
|
6
|
+
|
7
|
+
### v0.20.0 (2021-10-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211022
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.19.0 (2021-10-14)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211012
|
15
|
+
|
16
|
+
### v0.18.0 (2021-10-06)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211002
|
19
|
+
|
3
20
|
### v0.17.0 (2021-09-28)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210926
|
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)
|
@@ -2513,104 +2694,6 @@ module Google
|
|
2513
2694
|
end
|
2514
2695
|
end
|
2515
2696
|
|
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
2697
|
# Response message for fetch processor types.
|
2615
2698
|
class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
|
2616
2699
|
include Google::Apis::Core::Hashable
|
@@ -2947,7 +3030,7 @@ module Google
|
|
2947
3030
|
# EU' endpoint to feach processor types. In the return, we will have an 'invoice
|
2948
3031
|
# parsing' processor with 'available_locations' field only containing 'US'. So
|
2949
3032
|
# the user can try to create an 'invoice parsing' processor under the location '
|
2950
|
-
# US'. Such attempt of creating under the location 'EU' will fail. Next ID:
|
3033
|
+
# US'. Such attempt of creating under the location 'EU' will fail. Next ID: 9.
|
2951
3034
|
class GoogleCloudDocumentaiV1ProcessorType
|
2952
3035
|
include Google::Apis::Core::Hashable
|
2953
3036
|
|
@@ -2968,13 +3051,18 @@ module Google
|
|
2968
3051
|
# @return [String]
|
2969
3052
|
attr_accessor :category
|
2970
3053
|
|
3054
|
+
# Launch stage of the processor type
|
3055
|
+
# Corresponds to the JSON property `launchStage`
|
3056
|
+
# @return [String]
|
3057
|
+
attr_accessor :launch_stage
|
3058
|
+
|
2971
3059
|
# The resource name of the processor type. Format: projects/`project`/
|
2972
3060
|
# processorTypes/`processor_type`
|
2973
3061
|
# Corresponds to the JSON property `name`
|
2974
3062
|
# @return [String]
|
2975
3063
|
attr_accessor :name
|
2976
3064
|
|
2977
|
-
# The type of the processor, e.g
|
3065
|
+
# The type of the processor, e.g., "invoice_parsing".
|
2978
3066
|
# Corresponds to the JSON property `type`
|
2979
3067
|
# @return [String]
|
2980
3068
|
attr_accessor :type
|
@@ -2988,6 +3076,7 @@ module Google
|
|
2988
3076
|
@allow_creation = args[:allow_creation] if args.key?(:allow_creation)
|
2989
3077
|
@available_locations = args[:available_locations] if args.key?(:available_locations)
|
2990
3078
|
@category = args[:category] if args.key?(:category)
|
3079
|
+
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
2991
3080
|
@name = args[:name] if args.key?(:name)
|
2992
3081
|
@type = args[:type] if args.key?(:type)
|
2993
3082
|
end
|
@@ -3030,11 +3119,6 @@ module Google
|
|
3030
3119
|
# @return [String]
|
3031
3120
|
attr_accessor :display_name
|
3032
3121
|
|
3033
|
-
# Gives a short summary of an evaluation, and links to the evaluation itself.
|
3034
|
-
# Corresponds to the JSON property `latestEvaluation`
|
3035
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference]
|
3036
|
-
attr_accessor :latest_evaluation
|
3037
|
-
|
3038
3122
|
# The resource name of the processor version. Format: projects/`project`/
|
3039
3123
|
# locations/`location`/processors/`processor`/processorVersions/`
|
3040
3124
|
# processor_version`
|
@@ -3042,11 +3126,6 @@ module Google
|
|
3042
3126
|
# @return [String]
|
3043
3127
|
attr_accessor :name
|
3044
3128
|
|
3045
|
-
# The schema defines the output of the processed document by a processor.
|
3046
|
-
# Corresponds to the JSON property `schema`
|
3047
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Schema]
|
3048
|
-
attr_accessor :schema
|
3049
|
-
|
3050
3129
|
# The state of the processor version.
|
3051
3130
|
# Corresponds to the JSON property `state`
|
3052
3131
|
# @return [String]
|
@@ -3060,9 +3139,7 @@ module Google
|
|
3060
3139
|
def update!(**args)
|
3061
3140
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3062
3141
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3063
|
-
@latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
|
3064
3142
|
@name = args[:name] if args.key?(:name)
|
3065
|
-
@schema = args[:schema] if args.key?(:schema)
|
3066
3143
|
@state = args[:state] if args.key?(:state)
|
3067
3144
|
end
|
3068
3145
|
end
|
@@ -3166,106 +3243,6 @@ module Google
|
|
3166
3243
|
end
|
3167
3244
|
end
|
3168
3245
|
|
3169
|
-
# The schema defines the output of the processed document by a processor.
|
3170
|
-
class GoogleCloudDocumentaiV1Schema
|
3171
|
-
include Google::Apis::Core::Hashable
|
3172
|
-
|
3173
|
-
# Description of the schema.
|
3174
|
-
# Corresponds to the JSON property `description`
|
3175
|
-
# @return [String]
|
3176
|
-
attr_accessor :description
|
3177
|
-
|
3178
|
-
# Display name to show to users.
|
3179
|
-
# Corresponds to the JSON property `displayName`
|
3180
|
-
# @return [String]
|
3181
|
-
attr_accessor :display_name
|
3182
|
-
|
3183
|
-
# Entity types of the schema.
|
3184
|
-
# Corresponds to the JSON property `entityTypes`
|
3185
|
-
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaEntityType>]
|
3186
|
-
attr_accessor :entity_types
|
3187
|
-
|
3188
|
-
def initialize(**args)
|
3189
|
-
update!(**args)
|
3190
|
-
end
|
3191
|
-
|
3192
|
-
# Update properties of this object
|
3193
|
-
def update!(**args)
|
3194
|
-
@description = args[:description] if args.key?(:description)
|
3195
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
3196
|
-
@entity_types = args[:entity_types] if args.key?(:entity_types)
|
3197
|
-
end
|
3198
|
-
end
|
3199
|
-
|
3200
|
-
# EntityType is the wrapper of a label of the corresponding model with detailed
|
3201
|
-
# attributes and limitations for entity-based processors. Multiple types can
|
3202
|
-
# also compose a dependency tree to represent nested types.
|
3203
|
-
class GoogleCloudDocumentaiV1SchemaEntityType
|
3204
|
-
include Google::Apis::Core::Hashable
|
3205
|
-
|
3206
|
-
# Type of the entity. It must be one of the following: `document` - the entity
|
3207
|
-
# represents a classification of a logical document. `object` - if the entity
|
3208
|
-
# has properties it is likely an object (or or a document.) `datetime` - the
|
3209
|
-
# entity is a date or time value. `money` - the entity represents a money value
|
3210
|
-
# amount. `number` - the entity is a number - integer or floating point. `string`
|
3211
|
-
# - the entity is a string value. `boolean` - the entity is a boolean value. `
|
3212
|
-
# address` - the entity is a location address. `duration` - the entity is a
|
3213
|
-
# duration.
|
3214
|
-
# Corresponds to the JSON property `baseType`
|
3215
|
-
# @return [String]
|
3216
|
-
attr_accessor :base_type
|
3217
|
-
|
3218
|
-
# Description of the entity type.
|
3219
|
-
# Corresponds to the JSON property `description`
|
3220
|
-
# @return [String]
|
3221
|
-
attr_accessor :description
|
3222
|
-
|
3223
|
-
# If specified, lists all the possible values for this entity.
|
3224
|
-
# Corresponds to the JSON property `enumValues`
|
3225
|
-
# @return [Array<String>]
|
3226
|
-
attr_accessor :enum_values
|
3227
|
-
|
3228
|
-
# Occurrence type limits the number of times an entity type appears in the
|
3229
|
-
# document.
|
3230
|
-
# Corresponds to the JSON property `occurrenceType`
|
3231
|
-
# @return [String]
|
3232
|
-
attr_accessor :occurrence_type
|
3233
|
-
|
3234
|
-
# Describing the nested structure of an entity. An EntityType may consist of
|
3235
|
-
# several other EntityTypes. For example, in a document there can be an
|
3236
|
-
# EntityType 'ID', which consists of EntityType 'name' and 'address', with
|
3237
|
-
# corresponding attributes, such as TEXT for both types and ONCE for occurrence
|
3238
|
-
# types.
|
3239
|
-
# Corresponds to the JSON property `properties`
|
3240
|
-
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaEntityType>]
|
3241
|
-
attr_accessor :properties
|
3242
|
-
|
3243
|
-
# Source of this entity type.
|
3244
|
-
# Corresponds to the JSON property `source`
|
3245
|
-
# @return [String]
|
3246
|
-
attr_accessor :source
|
3247
|
-
|
3248
|
-
# Name of the type. It must be unique within the set of same level types.
|
3249
|
-
# Corresponds to the JSON property `type`
|
3250
|
-
# @return [String]
|
3251
|
-
attr_accessor :type
|
3252
|
-
|
3253
|
-
def initialize(**args)
|
3254
|
-
update!(**args)
|
3255
|
-
end
|
3256
|
-
|
3257
|
-
# Update properties of this object
|
3258
|
-
def update!(**args)
|
3259
|
-
@base_type = args[:base_type] if args.key?(:base_type)
|
3260
|
-
@description = args[:description] if args.key?(:description)
|
3261
|
-
@enum_values = args[:enum_values] if args.key?(:enum_values)
|
3262
|
-
@occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
|
3263
|
-
@properties = args[:properties] if args.key?(:properties)
|
3264
|
-
@source = args[:source] if args.key?(:source)
|
3265
|
-
@type = args[:type] if args.key?(:type)
|
3266
|
-
end
|
3267
|
-
end
|
3268
|
-
|
3269
3246
|
# The long running operation metadata for set default processor version method.
|
3270
3247
|
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
|
3271
3248
|
include Google::Apis::Core::Hashable
|
@@ -6988,6 +6965,11 @@ module Google
|
|
6988
6965
|
# @return [String]
|
6989
6966
|
attr_accessor :create_time
|
6990
6967
|
|
6968
|
+
# A related resource to this operation.
|
6969
|
+
# Corresponds to the JSON property `resource`
|
6970
|
+
# @return [String]
|
6971
|
+
attr_accessor :resource
|
6972
|
+
|
6991
6973
|
# The state of the operation.
|
6992
6974
|
# Corresponds to the JSON property `state`
|
6993
6975
|
# @return [String]
|
@@ -7010,6 +6992,7 @@ module Google
|
|
7010
6992
|
# Update properties of this object
|
7011
6993
|
def update!(**args)
|
7012
6994
|
@create_time = args[:create_time] if args.key?(:create_time)
|
6995
|
+
@resource = args[:resource] if args.key?(:resource)
|
7013
6996
|
@state = args[:state] if args.key?(:state)
|
7014
6997
|
@state_message = args[:state_message] if args.key?(:state_message)
|
7015
6998
|
@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.21.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
|
|
@@ -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'
|
@@ -2192,31 +2252,6 @@ module Google
|
|
2192
2252
|
end
|
2193
2253
|
end
|
2194
2254
|
|
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
2255
|
class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
|
2221
2256
|
# @private
|
2222
2257
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2325,6 +2360,7 @@ module Google
|
|
2325
2360
|
collection :available_locations, as: 'availableLocations', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorTypeLocationInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorTypeLocationInfo::Representation
|
2326
2361
|
|
2327
2362
|
property :category, as: 'category'
|
2363
|
+
property :launch_stage, as: 'launchStage'
|
2328
2364
|
property :name, as: 'name'
|
2329
2365
|
property :type, as: 'type'
|
2330
2366
|
end
|
@@ -2342,11 +2378,7 @@ module Google
|
|
2342
2378
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2343
2379
|
property :create_time, as: 'createTime'
|
2344
2380
|
property :display_name, as: 'displayName'
|
2345
|
-
property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference::Representation
|
2346
|
-
|
2347
2381
|
property :name, as: 'name'
|
2348
|
-
property :schema, as: 'schema', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Schema, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Schema::Representation
|
2349
|
-
|
2350
2382
|
property :state, as: 'state'
|
2351
2383
|
end
|
2352
2384
|
end
|
@@ -2384,30 +2416,6 @@ module Google
|
|
2384
2416
|
end
|
2385
2417
|
end
|
2386
2418
|
|
2387
|
-
class GoogleCloudDocumentaiV1Schema
|
2388
|
-
# @private
|
2389
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2390
|
-
property :description, as: 'description'
|
2391
|
-
property :display_name, as: 'displayName'
|
2392
|
-
collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaEntityType, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaEntityType::Representation
|
2393
|
-
|
2394
|
-
end
|
2395
|
-
end
|
2396
|
-
|
2397
|
-
class GoogleCloudDocumentaiV1SchemaEntityType
|
2398
|
-
# @private
|
2399
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2400
|
-
property :base_type, as: 'baseType'
|
2401
|
-
property :description, as: 'description'
|
2402
|
-
collection :enum_values, as: 'enumValues'
|
2403
|
-
property :occurrence_type, as: 'occurrenceType'
|
2404
|
-
collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaEntityType, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaEntityType::Representation
|
2405
|
-
|
2406
|
-
property :source, as: 'source'
|
2407
|
-
property :type, as: 'type'
|
2408
|
-
end
|
2409
|
-
end
|
2410
|
-
|
2411
2419
|
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
|
2412
2420
|
# @private
|
2413
2421
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3478,6 +3486,7 @@ module Google
|
|
3478
3486
|
# @private
|
3479
3487
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3480
3488
|
property :create_time, as: 'createTime'
|
3489
|
+
property :resource, as: 'resource'
|
3481
3490
|
property :state, as: 'state'
|
3482
3491
|
property :state_message, as: 'stateMessage'
|
3483
3492
|
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.21.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
|
@@ -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.21.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:
|