google-apis-documentai_v1beta2 0.22.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a7d09032e418f8b02bbfd214a25363a67824bb29e06452a270576aba9e42654
|
4
|
+
data.tar.gz: ac49576c3429dfece5f582b2099a75407cbc613434809739337f12c3b51e40ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fd2929d6a0c57889346ea3ae221d38aed50db26f2d94f239f1c9006a51910d1751513dd2958ce0b18a3f191d8622e97cb4c765da16cf2cb21bee95496756564
|
7
|
+
data.tar.gz: 0b009b5f697c6564d941bdfac183ce18403be21ff1df82a25781ad1124e85a4d3514be8352d6798f8cebfbb48ec11ce5a396187476e2ff3a67aea477792e9cd9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta2
|
2
2
|
|
3
|
+
### v0.26.0 (2022-01-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220114
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.25.0 (2021-12-16)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211214
|
11
|
+
* Unspecified changes
|
12
|
+
|
13
|
+
### v0.24.0 (2021-12-07)
|
14
|
+
|
15
|
+
* Regenerated from discovery document revision 20211203
|
16
|
+
|
17
|
+
### v0.23.0 (2021-11-09)
|
18
|
+
|
19
|
+
* Regenerated from discovery document revision 20211105
|
20
|
+
|
3
21
|
### v0.22.0 (2021-10-26)
|
4
22
|
|
5
23
|
* Regenerated from discovery document revision 20211022
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/documentai_v1beta2"
|
|
51
51
|
client = Google::Apis::DocumentaiV1beta2::DocumentService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -63,6 +63,16 @@ module Google
|
|
63
63
|
# @return [Google::Apis::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::GoogleRpcStatus]
|
105
|
+
attr_accessor :status
|
106
|
+
|
107
|
+
def initialize(**args)
|
108
|
+
update!(**args)
|
109
|
+
end
|
110
|
+
|
111
|
+
# Update properties of this object
|
112
|
+
def update!(**args)
|
113
|
+
@document_id = args[:document_id] if args.key?(:document_id)
|
114
|
+
@status = args[:status] if args.key?(:status)
|
73
115
|
end
|
74
116
|
end
|
75
117
|
|
@@ -270,6 +312,58 @@ module Google
|
|
270
312
|
end
|
271
313
|
end
|
272
314
|
|
315
|
+
# Document Identifier.
|
316
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentId
|
317
|
+
include Google::Apis::Core::Hashable
|
318
|
+
|
319
|
+
# Identifies a document uniquely within the scope of a dataset in the GCS-based
|
320
|
+
# option.
|
321
|
+
# Corresponds to the JSON property `gcsManagedDocId`
|
322
|
+
# @return [Google::Apis::DocumentaiV1beta2::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::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference]
|
328
|
+
attr_accessor :revision_reference
|
329
|
+
|
330
|
+
def initialize(**args)
|
331
|
+
update!(**args)
|
332
|
+
end
|
333
|
+
|
334
|
+
# Update properties of this object
|
335
|
+
def update!(**args)
|
336
|
+
@gcs_managed_doc_id = args[:gcs_managed_doc_id] if args.key?(:gcs_managed_doc_id)
|
337
|
+
@revision_reference = args[:revision_reference] if args.key?(:revision_reference)
|
338
|
+
end
|
339
|
+
end
|
340
|
+
|
341
|
+
# Identifies a document uniquely within the scope of a dataset in the GCS-based
|
342
|
+
# option.
|
343
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
|
344
|
+
include Google::Apis::Core::Hashable
|
345
|
+
|
346
|
+
# Optional. Id of the document (indexed) managed by Content Warehouse.
|
347
|
+
# Corresponds to the JSON property `cwDocId`
|
348
|
+
# @return [String]
|
349
|
+
attr_accessor :cw_doc_id
|
350
|
+
|
351
|
+
# Required. The Cloud Storage uri where the actual document is stored.
|
352
|
+
# Corresponds to the JSON property `gcsUri`
|
353
|
+
# @return [String]
|
354
|
+
attr_accessor :gcs_uri
|
355
|
+
|
356
|
+
def initialize(**args)
|
357
|
+
update!(**args)
|
358
|
+
end
|
359
|
+
|
360
|
+
# Update properties of this object
|
361
|
+
def update!(**args)
|
362
|
+
@cw_doc_id = args[:cw_doc_id] if args.key?(:cw_doc_id)
|
363
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
273
367
|
# The long running operation metadata for enable processor method.
|
274
368
|
class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
|
275
369
|
include Google::Apis::Core::Hashable
|
@@ -388,6 +482,11 @@ module Google
|
|
388
482
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
389
483
|
attr_accessor :common_metadata
|
390
484
|
|
485
|
+
# The list of response details of each document.
|
486
|
+
# Corresponds to the JSON property `individualImportStatuses`
|
487
|
+
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus>]
|
488
|
+
attr_accessor :individual_import_statuses
|
489
|
+
|
391
490
|
def initialize(**args)
|
392
491
|
update!(**args)
|
393
492
|
end
|
@@ -395,6 +494,44 @@ module Google
|
|
395
494
|
# Update properties of this object
|
396
495
|
def update!(**args)
|
397
496
|
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
497
|
+
@individual_import_statuses = args[:individual_import_statuses] if args.key?(:individual_import_statuses)
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
# The status of each individual document in the import process.
|
502
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
|
503
|
+
include Google::Apis::Core::Hashable
|
504
|
+
|
505
|
+
# The source Cloud Storage URI of the document.
|
506
|
+
# Corresponds to the JSON property `inputGcsSource`
|
507
|
+
# @return [String]
|
508
|
+
attr_accessor :input_gcs_source
|
509
|
+
|
510
|
+
# The output_gcs_destination of the processed document if it was successful,
|
511
|
+
# otherwise empty.
|
512
|
+
# Corresponds to the JSON property `outputGcsDestination`
|
513
|
+
# @return [String]
|
514
|
+
attr_accessor :output_gcs_destination
|
515
|
+
|
516
|
+
# The `Status` type defines a logical error model that is suitable for different
|
517
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
518
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
519
|
+
# data: error code, error message, and error details. You can find out more
|
520
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
521
|
+
# //cloud.google.com/apis/design/errors).
|
522
|
+
# Corresponds to the JSON property `status`
|
523
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
|
524
|
+
attr_accessor :status
|
525
|
+
|
526
|
+
def initialize(**args)
|
527
|
+
update!(**args)
|
528
|
+
end
|
529
|
+
|
530
|
+
# Update properties of this object
|
531
|
+
def update!(**args)
|
532
|
+
@input_gcs_source = args[:input_gcs_source] if args.key?(:input_gcs_source)
|
533
|
+
@output_gcs_destination = args[:output_gcs_destination] if args.key?(:output_gcs_destination)
|
534
|
+
@status = args[:status] if args.key?(:status)
|
398
535
|
end
|
399
536
|
end
|
400
537
|
|
@@ -411,6 +548,38 @@ module Google
|
|
411
548
|
end
|
412
549
|
end
|
413
550
|
|
551
|
+
# The revision reference specifies which revision on the document to read.
|
552
|
+
class GoogleCloudDocumentaiUiv1beta3RevisionReference
|
553
|
+
include Google::Apis::Core::Hashable
|
554
|
+
|
555
|
+
# Read the revision generated by the processor version, returns error if it does
|
556
|
+
# not exist.
|
557
|
+
# Corresponds to the JSON property `latestProcessorVersion`
|
558
|
+
# @return [String]
|
559
|
+
attr_accessor :latest_processor_version
|
560
|
+
|
561
|
+
# Read the revision by the predefined case.
|
562
|
+
# Corresponds to the JSON property `revisionCase`
|
563
|
+
# @return [String]
|
564
|
+
attr_accessor :revision_case
|
565
|
+
|
566
|
+
# Read the revision given by the id, returns error if it does not exist.
|
567
|
+
# Corresponds to the JSON property `revisionId`
|
568
|
+
# @return [String]
|
569
|
+
attr_accessor :revision_id
|
570
|
+
|
571
|
+
def initialize(**args)
|
572
|
+
update!(**args)
|
573
|
+
end
|
574
|
+
|
575
|
+
# Update properties of this object
|
576
|
+
def update!(**args)
|
577
|
+
@latest_processor_version = args[:latest_processor_version] if args.key?(:latest_processor_version)
|
578
|
+
@revision_case = args[:revision_case] if args.key?(:revision_case)
|
579
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
580
|
+
end
|
581
|
+
end
|
582
|
+
|
414
583
|
# The long running operation metadata for set default processor version method.
|
415
584
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
416
585
|
include Google::Apis::Core::Hashable
|
@@ -687,7 +856,7 @@ module Google
|
|
687
856
|
# @return [String]
|
688
857
|
attr_accessor :input_gcs_source
|
689
858
|
|
690
|
-
# The output_gcs_destination (in the request as
|
859
|
+
# The output_gcs_destination (in the request as `output_gcs_destination`) of the
|
691
860
|
# processed document if it was successful, otherwise empty.
|
692
861
|
# Corresponds to the JSON property `outputGcsDestination`
|
693
862
|
# @return [String]
|
@@ -951,6 +1120,11 @@ module Google
|
|
951
1120
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
|
952
1121
|
attr_accessor :common_metadata
|
953
1122
|
|
1123
|
+
# The Crowd Compute question ID.
|
1124
|
+
# Corresponds to the JSON property `questionId`
|
1125
|
+
# @return [String]
|
1126
|
+
attr_accessor :question_id
|
1127
|
+
|
954
1128
|
def initialize(**args)
|
955
1129
|
update!(**args)
|
956
1130
|
end
|
@@ -958,6 +1132,7 @@ module Google
|
|
958
1132
|
# Update properties of this object
|
959
1133
|
def update!(**args)
|
960
1134
|
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
1135
|
+
@question_id = args[:question_id] if args.key?(:question_id)
|
961
1136
|
end
|
962
1137
|
end
|
963
1138
|
|
@@ -1194,7 +1369,7 @@ module Google
|
|
1194
1369
|
end
|
1195
1370
|
end
|
1196
1371
|
|
1197
|
-
# An entity that could be a phrase in the text or a property belongs to the
|
1372
|
+
# An entity that could be a phrase in the text or a property that belongs to the
|
1198
1373
|
# document. It is a known entity type, such as a person, an organization, or
|
1199
1374
|
# location.
|
1200
1375
|
class GoogleCloudDocumentaiV1beta1DocumentEntity
|
@@ -1352,8 +1527,8 @@ module Google
|
|
1352
1527
|
attr_accessor :money_value
|
1353
1528
|
|
1354
1529
|
# Optional. An optional field to store a normalized string. For some entity
|
1355
|
-
# types, one of respective
|
1356
|
-
# not all the types of
|
1530
|
+
# types, one of respective `structured_value` fields may also be populated. Also
|
1531
|
+
# not all the types of `structured_value` will be normalized. For example, some
|
1357
1532
|
# processors may not generate float or int normalized text by default. Below are
|
1358
1533
|
# sample formats mapped to structured values. - Money/Currency type (`
|
1359
1534
|
# money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
|
@@ -2144,8 +2319,8 @@ module Google
|
|
2144
2319
|
end
|
2145
2320
|
end
|
2146
2321
|
|
2147
|
-
#
|
2148
|
-
#
|
2322
|
+
# The parent element the current element is based on. Used for referencing/
|
2323
|
+
# aligning, removal and replacement operations.
|
2149
2324
|
class GoogleCloudDocumentaiV1beta1DocumentProvenanceParent
|
2150
2325
|
include Google::Apis::Core::Hashable
|
2151
2326
|
|
@@ -2155,12 +2330,12 @@ module Google
|
|
2155
2330
|
attr_accessor :id
|
2156
2331
|
|
2157
2332
|
# The index of the parent item in the corresponding item list (eg. list of
|
2158
|
-
# entities, properties within entities, etc.)
|
2333
|
+
# entities, properties within entities, etc.) in the parent revision.
|
2159
2334
|
# Corresponds to the JSON property `index`
|
2160
2335
|
# @return [Fixnum]
|
2161
2336
|
attr_accessor :index
|
2162
2337
|
|
2163
|
-
# The index of the
|
2338
|
+
# The index of the index into current revision's parent_ids list.
|
2164
2339
|
# Corresponds to the JSON property `revision`
|
2165
2340
|
# @return [Fixnum]
|
2166
2341
|
attr_accessor :revision
|
@@ -2208,6 +2383,13 @@ module Google
|
|
2208
2383
|
# @return [Array<Fixnum>]
|
2209
2384
|
attr_accessor :parent
|
2210
2385
|
|
2386
|
+
# The revisions that this revision is based on. Must include all the ids that
|
2387
|
+
# have anything to do with this revision - eg. there are `provenance.parent.
|
2388
|
+
# revision` fields that index into this field.
|
2389
|
+
# Corresponds to the JSON property `parentIds`
|
2390
|
+
# @return [Array<String>]
|
2391
|
+
attr_accessor :parent_ids
|
2392
|
+
|
2211
2393
|
# If the annotation was made by processor identify the processor by its resource
|
2212
2394
|
# name.
|
2213
2395
|
# Corresponds to the JSON property `processor`
|
@@ -2225,6 +2407,7 @@ module Google
|
|
2225
2407
|
@human_review = args[:human_review] if args.key?(:human_review)
|
2226
2408
|
@id = args[:id] if args.key?(:id)
|
2227
2409
|
@parent = args[:parent] if args.key?(:parent)
|
2410
|
+
@parent_ids = args[:parent_ids] if args.key?(:parent_ids)
|
2228
2411
|
@processor = args[:processor] if args.key?(:processor)
|
2229
2412
|
end
|
2230
2413
|
end
|
@@ -2953,7 +3136,7 @@ module Google
|
|
2953
3136
|
end
|
2954
3137
|
end
|
2955
3138
|
|
2956
|
-
# An entity that could be a phrase in the text or a property belongs to the
|
3139
|
+
# An entity that could be a phrase in the text or a property that belongs to the
|
2957
3140
|
# document. It is a known entity type, such as a person, an organization, or
|
2958
3141
|
# location.
|
2959
3142
|
class GoogleCloudDocumentaiV1beta2DocumentEntity
|
@@ -3111,8 +3294,8 @@ module Google
|
|
3111
3294
|
attr_accessor :money_value
|
3112
3295
|
|
3113
3296
|
# Optional. An optional field to store a normalized string. For some entity
|
3114
|
-
# types, one of respective
|
3115
|
-
# not all the types of
|
3297
|
+
# types, one of respective `structured_value` fields may also be populated. Also
|
3298
|
+
# not all the types of `structured_value` will be normalized. For example, some
|
3116
3299
|
# processors may not generate float or int normalized text by default. Below are
|
3117
3300
|
# sample formats mapped to structured values. - Money/Currency type (`
|
3118
3301
|
# money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
|
@@ -3940,8 +4123,8 @@ module Google
|
|
3940
4123
|
end
|
3941
4124
|
end
|
3942
4125
|
|
3943
|
-
#
|
3944
|
-
#
|
4126
|
+
# The parent element the current element is based on. Used for referencing/
|
4127
|
+
# aligning, removal and replacement operations.
|
3945
4128
|
class GoogleCloudDocumentaiV1beta2DocumentProvenanceParent
|
3946
4129
|
include Google::Apis::Core::Hashable
|
3947
4130
|
|
@@ -3951,12 +4134,12 @@ module Google
|
|
3951
4134
|
attr_accessor :id
|
3952
4135
|
|
3953
4136
|
# The index of the parent item in the corresponding item list (eg. list of
|
3954
|
-
# entities, properties within entities, etc.)
|
4137
|
+
# entities, properties within entities, etc.) in the parent revision.
|
3955
4138
|
# Corresponds to the JSON property `index`
|
3956
4139
|
# @return [Fixnum]
|
3957
4140
|
attr_accessor :index
|
3958
4141
|
|
3959
|
-
# The index of the
|
4142
|
+
# The index of the index into current revision's parent_ids list.
|
3960
4143
|
# Corresponds to the JSON property `revision`
|
3961
4144
|
# @return [Fixnum]
|
3962
4145
|
attr_accessor :revision
|
@@ -4004,6 +4187,13 @@ module Google
|
|
4004
4187
|
# @return [Array<Fixnum>]
|
4005
4188
|
attr_accessor :parent
|
4006
4189
|
|
4190
|
+
# The revisions that this revision is based on. Must include all the ids that
|
4191
|
+
# have anything to do with this revision - eg. there are `provenance.parent.
|
4192
|
+
# revision` fields that index into this field.
|
4193
|
+
# Corresponds to the JSON property `parentIds`
|
4194
|
+
# @return [Array<String>]
|
4195
|
+
attr_accessor :parent_ids
|
4196
|
+
|
4007
4197
|
# If the annotation was made by processor identify the processor by its resource
|
4008
4198
|
# name.
|
4009
4199
|
# Corresponds to the JSON property `processor`
|
@@ -4021,6 +4211,7 @@ module Google
|
|
4021
4211
|
@human_review = args[:human_review] if args.key?(:human_review)
|
4022
4212
|
@id = args[:id] if args.key?(:id)
|
4023
4213
|
@parent = args[:parent] if args.key?(:parent)
|
4214
|
+
@parent_ids = args[:parent_ids] if args.key?(:parent_ids)
|
4024
4215
|
@processor = args[:processor] if args.key?(:processor)
|
4025
4216
|
end
|
4026
4217
|
end
|
@@ -4885,7 +5076,7 @@ module Google
|
|
4885
5076
|
# @return [String]
|
4886
5077
|
attr_accessor :input_gcs_source
|
4887
5078
|
|
4888
|
-
# The output_gcs_destination (in the request as
|
5079
|
+
# The output_gcs_destination (in the request as `output_gcs_destination`) of the
|
4889
5080
|
# processed document if it was successful, otherwise empty.
|
4890
5081
|
# Corresponds to the JSON property `outputGcsDestination`
|
4891
5082
|
# @return [String]
|
@@ -5155,6 +5346,11 @@ module Google
|
|
5155
5346
|
# @return [String]
|
5156
5347
|
attr_accessor :create_time
|
5157
5348
|
|
5349
|
+
# The Crowd Compute question ID.
|
5350
|
+
# Corresponds to the JSON property `questionId`
|
5351
|
+
# @return [String]
|
5352
|
+
attr_accessor :question_id
|
5353
|
+
|
5158
5354
|
# Used only when Operation.done is false.
|
5159
5355
|
# Corresponds to the JSON property `state`
|
5160
5356
|
# @return [String]
|
@@ -5179,6 +5375,7 @@ module Google
|
|
5179
5375
|
def update!(**args)
|
5180
5376
|
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
5181
5377
|
@create_time = args[:create_time] if args.key?(:create_time)
|
5378
|
+
@question_id = args[:question_id] if args.key?(:question_id)
|
5182
5379
|
@state = args[:state] if args.key?(:state)
|
5183
5380
|
@state_message = args[:state_message] if args.key?(:state_message)
|
5184
5381
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1beta2
|
18
18
|
# Version of the google-apis-documentai_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.26.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220114"
|
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
|
|
@@ -1073,6 +1103,19 @@ module Google
|
|
1073
1103
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1074
1104
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1075
1105
|
|
1106
|
+
property :dest_dataset_type, as: 'destDatasetType'
|
1107
|
+
collection :individual_batch_move_statuses, as: 'individualBatchMoveStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus::Representation
|
1108
|
+
|
1109
|
+
end
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus
|
1113
|
+
# @private
|
1114
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1115
|
+
property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
|
1116
|
+
|
1117
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
|
1118
|
+
|
1076
1119
|
end
|
1077
1120
|
end
|
1078
1121
|
|
@@ -1153,6 +1196,24 @@ module Google
|
|
1153
1196
|
end
|
1154
1197
|
end
|
1155
1198
|
|
1199
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentId
|
1200
|
+
# @private
|
1201
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1202
|
+
property :gcs_managed_doc_id, as: 'gcsManagedDocId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId::Representation
|
1203
|
+
|
1204
|
+
property :revision_reference, as: 'revisionReference', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference::Representation
|
1205
|
+
|
1206
|
+
end
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
|
1210
|
+
# @private
|
1211
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1212
|
+
property :cw_doc_id, as: 'cwDocId'
|
1213
|
+
property :gcs_uri, as: 'gcsUri'
|
1214
|
+
end
|
1215
|
+
end
|
1216
|
+
|
1156
1217
|
class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
|
1157
1218
|
# @private
|
1158
1219
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1202,6 +1263,18 @@ module Google
|
|
1202
1263
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1203
1264
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1204
1265
|
|
1266
|
+
collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
|
1267
|
+
|
1268
|
+
end
|
1269
|
+
end
|
1270
|
+
|
1271
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
|
1272
|
+
# @private
|
1273
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1274
|
+
property :input_gcs_source, as: 'inputGcsSource'
|
1275
|
+
property :output_gcs_destination, as: 'outputGcsDestination'
|
1276
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
|
1277
|
+
|
1205
1278
|
end
|
1206
1279
|
end
|
1207
1280
|
|
@@ -1211,6 +1284,15 @@ module Google
|
|
1211
1284
|
end
|
1212
1285
|
end
|
1213
1286
|
|
1287
|
+
class GoogleCloudDocumentaiUiv1beta3RevisionReference
|
1288
|
+
# @private
|
1289
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1290
|
+
property :latest_processor_version, as: 'latestProcessorVersion'
|
1291
|
+
property :revision_case, as: 'revisionCase'
|
1292
|
+
property :revision_id, as: 'revisionId'
|
1293
|
+
end
|
1294
|
+
end
|
1295
|
+
|
1214
1296
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
1215
1297
|
# @private
|
1216
1298
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1407,6 +1489,7 @@ module Google
|
|
1407
1489
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1408
1490
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
|
1409
1491
|
|
1492
|
+
property :question_id, as: 'questionId'
|
1410
1493
|
end
|
1411
1494
|
end
|
1412
1495
|
|
@@ -1790,6 +1873,7 @@ module Google
|
|
1790
1873
|
|
1791
1874
|
property :id, as: 'id'
|
1792
1875
|
collection :parent, as: 'parent'
|
1876
|
+
collection :parent_ids, as: 'parentIds'
|
1793
1877
|
property :processor, as: 'processor'
|
1794
1878
|
end
|
1795
1879
|
end
|
@@ -2303,6 +2387,7 @@ module Google
|
|
2303
2387
|
|
2304
2388
|
property :id, as: 'id'
|
2305
2389
|
collection :parent, as: 'parent'
|
2390
|
+
collection :parent_ids, as: 'parentIds'
|
2306
2391
|
property :processor, as: 'processor'
|
2307
2392
|
end
|
2308
2393
|
end
|
@@ -2636,6 +2721,7 @@ module Google
|
|
2636
2721
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
2637
2722
|
|
2638
2723
|
property :create_time, as: 'createTime'
|
2724
|
+
property :question_id, as: 'questionId'
|
2639
2725
|
property :state, as: 'state'
|
2640
2726
|
property :state_message, as: 'stateMessage'
|
2641
2727
|
property :update_time, as: 'updateTime'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.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:
|
11
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.26.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Document AI API V1beta2
|