google-apis-documentai_v1beta3 0.1.0 → 0.6.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 +22 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +407 -256
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/documentai_v1beta3/representations.rb +191 -71
- data/lib/google/apis/documentai_v1beta3/service.rb +6 -4
- metadata +5 -5
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1beta3
|
18
18
|
# Version of the google-apis-documentai_v1beta3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210308"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,19 +88,31 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
-
class
|
91
|
+
class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
93
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
-
class
|
97
|
+
class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
99
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
-
class
|
103
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDatasetMetadata
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse
|
104
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
117
|
|
106
118
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -112,6 +124,12 @@ module Google
|
|
112
124
|
include Google::Apis::Core::JsonObjectSupport
|
113
125
|
end
|
114
126
|
|
127
|
+
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
115
133
|
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse
|
116
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
135
|
|
@@ -166,6 +184,12 @@ module Google
|
|
166
184
|
include Google::Apis::Core::JsonObjectSupport
|
167
185
|
end
|
168
186
|
|
187
|
+
class GoogleCloudDocumentaiV1HumanReviewStatus
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
169
193
|
class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
|
170
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
195
|
|
@@ -382,12 +406,6 @@ module Google
|
|
382
406
|
include Google::Apis::Core::JsonObjectSupport
|
383
407
|
end
|
384
408
|
|
385
|
-
class GoogleCloudDocumentaiV1beta1DocumentTranslation
|
386
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
-
|
388
|
-
include Google::Apis::Core::JsonObjectSupport
|
389
|
-
end
|
390
|
-
|
391
409
|
class GoogleCloudDocumentaiV1beta1GcsDestination
|
392
410
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
411
|
|
@@ -646,12 +664,6 @@ module Google
|
|
646
664
|
include Google::Apis::Core::JsonObjectSupport
|
647
665
|
end
|
648
666
|
|
649
|
-
class GoogleCloudDocumentaiV1beta2DocumentTranslation
|
650
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
|
-
|
652
|
-
include Google::Apis::Core::JsonObjectSupport
|
653
|
-
end
|
654
|
-
|
655
667
|
class GoogleCloudDocumentaiV1beta2GcsDestination
|
656
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
669
|
|
@@ -700,6 +712,12 @@ module Google
|
|
700
712
|
include Google::Apis::Core::JsonObjectSupport
|
701
713
|
end
|
702
714
|
|
715
|
+
class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
|
+
|
718
|
+
include Google::Apis::Core::JsonObjectSupport
|
719
|
+
end
|
720
|
+
|
703
721
|
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
|
704
722
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
723
|
|
@@ -772,6 +790,18 @@ module Google
|
|
772
790
|
include Google::Apis::Core::JsonObjectSupport
|
773
791
|
end
|
774
792
|
|
793
|
+
class GoogleCloudDocumentaiV1beta3DocumentOutputConfig
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
|
+
|
796
|
+
include Google::Apis::Core::JsonObjectSupport
|
797
|
+
end
|
798
|
+
|
799
|
+
class GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig
|
800
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
801
|
+
|
802
|
+
include Google::Apis::Core::JsonObjectSupport
|
803
|
+
end
|
804
|
+
|
775
805
|
class GoogleCloudDocumentaiV1beta3DocumentPage
|
776
806
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
777
807
|
|
@@ -940,7 +970,25 @@ module Google
|
|
940
970
|
include Google::Apis::Core::JsonObjectSupport
|
941
971
|
end
|
942
972
|
|
943
|
-
class
|
973
|
+
class GoogleCloudDocumentaiV1beta3GcsDocument
|
974
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
|
+
|
976
|
+
include Google::Apis::Core::JsonObjectSupport
|
977
|
+
end
|
978
|
+
|
979
|
+
class GoogleCloudDocumentaiV1beta3GcsDocuments
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
|
+
|
982
|
+
include Google::Apis::Core::JsonObjectSupport
|
983
|
+
end
|
984
|
+
|
985
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
986
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
987
|
+
|
988
|
+
include Google::Apis::Core::JsonObjectSupport
|
989
|
+
end
|
990
|
+
|
991
|
+
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
944
992
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
945
993
|
|
946
994
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -964,6 +1012,12 @@ module Google
|
|
964
1012
|
include Google::Apis::Core::JsonObjectSupport
|
965
1013
|
end
|
966
1014
|
|
1015
|
+
class GoogleCloudDocumentaiV1beta3RawDocument
|
1016
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1017
|
+
|
1018
|
+
include Google::Apis::Core::JsonObjectSupport
|
1019
|
+
end
|
1020
|
+
|
967
1021
|
class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
|
968
1022
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
969
1023
|
|
@@ -1138,38 +1192,40 @@ module Google
|
|
1138
1192
|
end
|
1139
1193
|
end
|
1140
1194
|
|
1141
|
-
class
|
1195
|
+
class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata
|
1142
1196
|
# @private
|
1143
1197
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1144
|
-
property :
|
1145
|
-
property :display_name, as: 'displayName'
|
1146
|
-
property :name, as: 'name'
|
1147
|
-
property :schema, as: 'schema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3Schema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3Schema::Representation
|
1198
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1148
1199
|
|
1149
|
-
property :state, as: 'state'
|
1150
1200
|
end
|
1151
1201
|
end
|
1152
1202
|
|
1153
|
-
class
|
1203
|
+
class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse
|
1154
1204
|
# @private
|
1155
1205
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1156
|
-
property :
|
1157
|
-
|
1158
|
-
|
1206
|
+
property :evaluation, as: 'evaluation'
|
1207
|
+
end
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDatasetMetadata
|
1211
|
+
# @private
|
1212
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1213
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1159
1214
|
|
1160
1215
|
end
|
1161
1216
|
end
|
1162
1217
|
|
1163
|
-
class
|
1218
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
1164
1219
|
# @private
|
1165
1220
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1166
|
-
property :
|
1167
|
-
property :description, as: 'description'
|
1168
|
-
property :occurrence_type, as: 'occurrenceType'
|
1169
|
-
collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SchemaEntityType::Representation
|
1221
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1170
1222
|
|
1171
|
-
|
1172
|
-
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse
|
1227
|
+
# @private
|
1228
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1173
1229
|
end
|
1174
1230
|
end
|
1175
1231
|
|
@@ -1178,17 +1234,30 @@ module Google
|
|
1178
1234
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1179
1235
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1180
1236
|
|
1237
|
+
property :test_dataset_validation, as: 'testDatasetValidation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
|
1238
|
+
|
1239
|
+
property :training_dataset_validation, as: 'trainingDatasetValidation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
|
1240
|
+
|
1181
1241
|
end
|
1182
1242
|
end
|
1183
1243
|
|
1184
|
-
class
|
1244
|
+
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
|
1185
1245
|
# @private
|
1186
1246
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1187
|
-
|
1247
|
+
collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
1248
|
+
|
1249
|
+
collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
1188
1250
|
|
1189
1251
|
end
|
1190
1252
|
end
|
1191
1253
|
|
1254
|
+
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse
|
1255
|
+
# @private
|
1256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1257
|
+
property :processor_version, as: 'processorVersion'
|
1258
|
+
end
|
1259
|
+
end
|
1260
|
+
|
1192
1261
|
class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata
|
1193
1262
|
# @private
|
1194
1263
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1234,7 +1303,8 @@ module Google
|
|
1234
1303
|
class GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus
|
1235
1304
|
# @private
|
1236
1305
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1237
|
-
property :
|
1306
|
+
property :human_review_status, as: 'humanReviewStatus', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1HumanReviewStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1HumanReviewStatus::Representation
|
1307
|
+
|
1238
1308
|
property :input_gcs_source, as: 'inputGcsSource'
|
1239
1309
|
property :output_gcs_destination, as: 'outputGcsDestination'
|
1240
1310
|
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
@@ -1258,6 +1328,15 @@ module Google
|
|
1258
1328
|
end
|
1259
1329
|
end
|
1260
1330
|
|
1331
|
+
class GoogleCloudDocumentaiV1HumanReviewStatus
|
1332
|
+
# @private
|
1333
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1334
|
+
property :human_review_operation, as: 'humanReviewOperation'
|
1335
|
+
property :state, as: 'state'
|
1336
|
+
property :state_message, as: 'stateMessage'
|
1337
|
+
end
|
1338
|
+
end
|
1339
|
+
|
1261
1340
|
class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
|
1262
1341
|
# @private
|
1263
1342
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1313,8 +1392,6 @@ module Google
|
|
1313
1392
|
|
1314
1393
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle::Representation
|
1315
1394
|
|
1316
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTranslation::Representation
|
1317
|
-
|
1318
1395
|
property :uri, as: 'uri'
|
1319
1396
|
end
|
1320
1397
|
end
|
@@ -1346,6 +1423,7 @@ module Google
|
|
1346
1423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1347
1424
|
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress::Representation
|
1348
1425
|
|
1426
|
+
property :boolean_value, as: 'booleanValue'
|
1349
1427
|
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDate::Representation
|
1350
1428
|
|
1351
1429
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
|
@@ -1683,18 +1761,6 @@ module Google
|
|
1683
1761
|
end
|
1684
1762
|
end
|
1685
1763
|
|
1686
|
-
class GoogleCloudDocumentaiV1beta1DocumentTranslation
|
1687
|
-
# @private
|
1688
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1689
|
-
property :language_code, as: 'languageCode'
|
1690
|
-
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
1691
|
-
|
1692
|
-
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor::Representation
|
1693
|
-
|
1694
|
-
property :translated_text, as: 'translatedText'
|
1695
|
-
end
|
1696
|
-
end
|
1697
|
-
|
1698
1764
|
class GoogleCloudDocumentaiV1beta1GcsDestination
|
1699
1765
|
# @private
|
1700
1766
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1805,8 +1871,6 @@ module Google
|
|
1805
1871
|
|
1806
1872
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle::Representation
|
1807
1873
|
|
1808
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTranslation::Representation
|
1809
|
-
|
1810
1874
|
property :uri, as: 'uri'
|
1811
1875
|
end
|
1812
1876
|
end
|
@@ -1838,6 +1902,7 @@ module Google
|
|
1838
1902
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1839
1903
|
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress::Representation
|
1840
1904
|
|
1905
|
+
property :boolean_value, as: 'booleanValue'
|
1841
1906
|
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDate::Representation
|
1842
1907
|
|
1843
1908
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
|
@@ -2184,18 +2249,6 @@ module Google
|
|
2184
2249
|
end
|
2185
2250
|
end
|
2186
2251
|
|
2187
|
-
class GoogleCloudDocumentaiV1beta2DocumentTranslation
|
2188
|
-
# @private
|
2189
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2190
|
-
property :language_code, as: 'languageCode'
|
2191
|
-
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
2192
|
-
|
2193
|
-
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor::Representation
|
2194
|
-
|
2195
|
-
property :translated_text, as: 'translatedText'
|
2196
|
-
end
|
2197
|
-
end
|
2198
|
-
|
2199
2252
|
class GoogleCloudDocumentaiV1beta2GcsDestination
|
2200
2253
|
# @private
|
2201
2254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2265,6 +2318,16 @@ module Google
|
|
2265
2318
|
end
|
2266
2319
|
end
|
2267
2320
|
|
2321
|
+
class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
|
2322
|
+
# @private
|
2323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2324
|
+
property :gcs_documents, as: 'gcsDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocuments, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocuments::Representation
|
2325
|
+
|
2326
|
+
property :gcs_prefix, as: 'gcsPrefix', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix::Representation
|
2327
|
+
|
2328
|
+
end
|
2329
|
+
end
|
2330
|
+
|
2268
2331
|
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
|
2269
2332
|
# @private
|
2270
2333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2281,6 +2344,8 @@ module Google
|
|
2281
2344
|
# @private
|
2282
2345
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2283
2346
|
property :human_review_operation, as: 'humanReviewOperation'
|
2347
|
+
property :human_review_status, as: 'humanReviewStatus', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewStatus::Representation
|
2348
|
+
|
2284
2349
|
property :input_gcs_source, as: 'inputGcsSource'
|
2285
2350
|
property :output_gcs_destination, as: 'outputGcsDestination'
|
2286
2351
|
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
@@ -2291,10 +2356,15 @@ module Google
|
|
2291
2356
|
class GoogleCloudDocumentaiV1beta3BatchProcessRequest
|
2292
2357
|
# @private
|
2293
2358
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2359
|
+
property :document_output_config, as: 'documentOutputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfig::Representation
|
2360
|
+
|
2294
2361
|
collection :input_configs, as: 'inputConfigs', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig::Representation
|
2295
2362
|
|
2363
|
+
property :input_documents, as: 'inputDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
|
2364
|
+
|
2296
2365
|
property :output_config, as: 'outputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig::Representation
|
2297
2366
|
|
2367
|
+
property :skip_human_review, as: 'skipHumanReview'
|
2298
2368
|
end
|
2299
2369
|
end
|
2300
2370
|
|
@@ -2361,8 +2431,6 @@ module Google
|
|
2361
2431
|
|
2362
2432
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle::Representation
|
2363
2433
|
|
2364
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTranslation::Representation
|
2365
|
-
|
2366
2434
|
property :uri, as: 'uri'
|
2367
2435
|
end
|
2368
2436
|
end
|
@@ -2394,6 +2462,7 @@ module Google
|
|
2394
2462
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2395
2463
|
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress::Representation
|
2396
2464
|
|
2465
|
+
property :boolean_value, as: 'booleanValue'
|
2397
2466
|
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDate::Representation
|
2398
2467
|
|
2399
2468
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
|
@@ -2413,6 +2482,21 @@ module Google
|
|
2413
2482
|
end
|
2414
2483
|
end
|
2415
2484
|
|
2485
|
+
class GoogleCloudDocumentaiV1beta3DocumentOutputConfig
|
2486
|
+
# @private
|
2487
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2488
|
+
property :gcs_output_config, as: 'gcsOutputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig::Representation
|
2489
|
+
|
2490
|
+
end
|
2491
|
+
end
|
2492
|
+
|
2493
|
+
class GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig
|
2494
|
+
# @private
|
2495
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2496
|
+
property :gcs_uri, as: 'gcsUri'
|
2497
|
+
end
|
2498
|
+
end
|
2499
|
+
|
2416
2500
|
class GoogleCloudDocumentaiV1beta3DocumentPage
|
2417
2501
|
# @private
|
2418
2502
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2731,15 +2815,35 @@ module Google
|
|
2731
2815
|
end
|
2732
2816
|
end
|
2733
2817
|
|
2734
|
-
class
|
2818
|
+
class GoogleCloudDocumentaiV1beta3GcsDocument
|
2735
2819
|
# @private
|
2736
2820
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2737
|
-
property :
|
2738
|
-
|
2821
|
+
property :gcs_uri, as: 'gcsUri'
|
2822
|
+
property :mime_type, as: 'mimeType'
|
2823
|
+
end
|
2824
|
+
end
|
2739
2825
|
|
2740
|
-
|
2826
|
+
class GoogleCloudDocumentaiV1beta3GcsDocuments
|
2827
|
+
# @private
|
2828
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2829
|
+
collection :documents, as: 'documents', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocument::Representation
|
2741
2830
|
|
2742
|
-
|
2831
|
+
end
|
2832
|
+
end
|
2833
|
+
|
2834
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
2835
|
+
# @private
|
2836
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2837
|
+
property :gcs_uri_prefix, as: 'gcsUriPrefix'
|
2838
|
+
end
|
2839
|
+
end
|
2840
|
+
|
2841
|
+
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
2842
|
+
# @private
|
2843
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2844
|
+
property :human_review_operation, as: 'humanReviewOperation'
|
2845
|
+
property :state, as: 'state'
|
2846
|
+
property :state_message, as: 'stateMessage'
|
2743
2847
|
end
|
2744
2848
|
end
|
2745
2849
|
|
@@ -2756,6 +2860,10 @@ module Google
|
|
2756
2860
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2757
2861
|
property :document, as: 'document', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
2758
2862
|
|
2863
|
+
property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
2864
|
+
|
2865
|
+
property :raw_document, as: 'rawDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument::Representation
|
2866
|
+
|
2759
2867
|
property :skip_human_review, as: 'skipHumanReview'
|
2760
2868
|
end
|
2761
2869
|
end
|
@@ -2766,6 +2874,16 @@ module Google
|
|
2766
2874
|
property :document, as: 'document', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
2767
2875
|
|
2768
2876
|
property :human_review_operation, as: 'humanReviewOperation'
|
2877
|
+
property :human_review_status, as: 'humanReviewStatus', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewStatus::Representation
|
2878
|
+
|
2879
|
+
end
|
2880
|
+
end
|
2881
|
+
|
2882
|
+
class GoogleCloudDocumentaiV1beta3RawDocument
|
2883
|
+
# @private
|
2884
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2885
|
+
property :content, :base64 => true, as: 'content'
|
2886
|
+
property :mime_type, as: 'mimeType'
|
2769
2887
|
end
|
2770
2888
|
end
|
2771
2889
|
|
@@ -2786,6 +2904,8 @@ module Google
|
|
2786
2904
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2787
2905
|
property :document, as: 'document', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
2788
2906
|
|
2907
|
+
property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
2908
|
+
|
2789
2909
|
end
|
2790
2910
|
end
|
2791
2911
|
|