google-apis-documentai_v1beta3 0.2.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +189 -412
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/documentai_v1beta3/representations.rb +68 -143
- data/lib/google/apis/documentai_v1beta3/service.rb +13 -7
- 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.7.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 = "20210312"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -100,55 +100,31 @@ module Google
|
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
|
101
101
|
end
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDatasetMetadata
|
|
104
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
105
|
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
class
|
|
109
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
|
110
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
111
|
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
-
class
|
|
115
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse
|
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
117
|
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
-
class
|
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
-
|
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
class GoogleCloudDocumentaiUiv1beta3EvaluationReference
|
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
-
|
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
class GoogleCloudDocumentaiUiv1beta3ProcessorVersion
|
|
134
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
|
-
|
|
136
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
class GoogleCloudDocumentaiUiv1beta3Schema
|
|
140
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
-
|
|
142
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
class GoogleCloudDocumentaiUiv1beta3SchemaEntityType
|
|
121
|
+
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
|
|
146
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
123
|
|
|
148
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
149
125
|
end
|
|
150
126
|
|
|
151
|
-
class
|
|
127
|
+
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
|
|
152
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
129
|
|
|
154
130
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -430,12 +406,6 @@ module Google
|
|
|
430
406
|
include Google::Apis::Core::JsonObjectSupport
|
|
431
407
|
end
|
|
432
408
|
|
|
433
|
-
class GoogleCloudDocumentaiV1beta1DocumentTranslation
|
|
434
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
435
|
-
|
|
436
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
437
|
-
end
|
|
438
|
-
|
|
439
409
|
class GoogleCloudDocumentaiV1beta1GcsDestination
|
|
440
410
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
441
411
|
|
|
@@ -694,12 +664,6 @@ module Google
|
|
|
694
664
|
include Google::Apis::Core::JsonObjectSupport
|
|
695
665
|
end
|
|
696
666
|
|
|
697
|
-
class GoogleCloudDocumentaiV1beta2DocumentTranslation
|
|
698
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
699
|
-
|
|
700
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
701
|
-
end
|
|
702
|
-
|
|
703
667
|
class GoogleCloudDocumentaiV1beta2GcsDestination
|
|
704
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
705
669
|
|
|
@@ -748,6 +712,12 @@ module Google
|
|
|
748
712
|
include Google::Apis::Core::JsonObjectSupport
|
|
749
713
|
end
|
|
750
714
|
|
|
715
|
+
class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
|
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
717
|
+
|
|
718
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
719
|
+
end
|
|
720
|
+
|
|
751
721
|
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
|
|
752
722
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
753
723
|
|
|
@@ -1000,7 +970,19 @@ module Google
|
|
|
1000
970
|
include Google::Apis::Core::JsonObjectSupport
|
|
1001
971
|
end
|
|
1002
972
|
|
|
1003
|
-
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
|
|
1004
986
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1005
987
|
|
|
1006
988
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -1221,100 +1203,50 @@ module Google
|
|
|
1221
1203
|
class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse
|
|
1222
1204
|
# @private
|
|
1223
1205
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1224
|
-
property :evaluation, as: 'evaluation'
|
|
1225
|
-
|
|
1226
|
-
end
|
|
1227
|
-
end
|
|
1228
|
-
|
|
1229
|
-
class GoogleCloudDocumentaiUiv1beta3Evaluation
|
|
1230
|
-
# @private
|
|
1231
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1232
|
-
property :all_entities_metrics, as: 'allEntitiesMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics::Representation
|
|
1233
|
-
|
|
1234
|
-
property :create_time, as: 'createTime'
|
|
1235
|
-
hash :entity_metrics, as: 'entityMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics::Representation
|
|
1236
|
-
|
|
1237
|
-
property :name, as: 'name'
|
|
1206
|
+
property :evaluation, as: 'evaluation'
|
|
1238
1207
|
end
|
|
1239
1208
|
end
|
|
1240
1209
|
|
|
1241
|
-
class
|
|
1210
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDatasetMetadata
|
|
1242
1211
|
# @private
|
|
1243
1212
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1244
|
-
property :
|
|
1245
|
-
property :metrics, as: 'metrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics::Representation
|
|
1246
|
-
|
|
1247
|
-
end
|
|
1248
|
-
end
|
|
1213
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
|
1249
1214
|
|
|
1250
|
-
class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics
|
|
1251
|
-
# @private
|
|
1252
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1253
|
-
property :f1_score, as: 'f1Score'
|
|
1254
|
-
property :precision, as: 'precision'
|
|
1255
|
-
property :recall, as: 'recall'
|
|
1256
1215
|
end
|
|
1257
1216
|
end
|
|
1258
1217
|
|
|
1259
|
-
class
|
|
1218
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
|
1260
1219
|
# @private
|
|
1261
1220
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1262
|
-
|
|
1221
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
|
1263
1222
|
|
|
1264
1223
|
end
|
|
1265
1224
|
end
|
|
1266
1225
|
|
|
1267
|
-
class
|
|
1226
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse
|
|
1268
1227
|
# @private
|
|
1269
1228
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1270
|
-
property :aggregate_metrics, as: 'aggregateMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics::Representation
|
|
1271
|
-
|
|
1272
|
-
property :evaluation, as: 'evaluation'
|
|
1273
|
-
property :operation, as: 'operation'
|
|
1274
1229
|
end
|
|
1275
1230
|
end
|
|
1276
1231
|
|
|
1277
|
-
class
|
|
1232
|
+
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
|
|
1278
1233
|
# @private
|
|
1279
1234
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1280
|
-
property :
|
|
1281
|
-
property :display_name, as: 'displayName'
|
|
1282
|
-
property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationReference::Representation
|
|
1235
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
|
1283
1236
|
|
|
1284
|
-
property :
|
|
1285
|
-
property :schema, as: 'schema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3Schema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3Schema::Representation
|
|
1237
|
+
property :test_dataset_validation, as: 'testDatasetValidation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
|
|
1286
1238
|
|
|
1287
|
-
property :
|
|
1288
|
-
end
|
|
1289
|
-
end
|
|
1290
|
-
|
|
1291
|
-
class GoogleCloudDocumentaiUiv1beta3Schema
|
|
1292
|
-
# @private
|
|
1293
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1294
|
-
property :description, as: 'description'
|
|
1295
|
-
property :display_name, as: 'displayName'
|
|
1296
|
-
collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SchemaEntityType::Representation
|
|
1239
|
+
property :training_dataset_validation, as: 'trainingDatasetValidation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
|
|
1297
1240
|
|
|
1298
1241
|
end
|
|
1299
1242
|
end
|
|
1300
1243
|
|
|
1301
|
-
class
|
|
1244
|
+
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
|
|
1302
1245
|
# @private
|
|
1303
1246
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1304
|
-
|
|
1305
|
-
property :description, as: 'description'
|
|
1306
|
-
property :occurrence_type, as: 'occurrenceType'
|
|
1307
|
-
collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SchemaEntityType::Representation
|
|
1247
|
+
collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
|
1308
1248
|
|
|
1309
|
-
|
|
1310
|
-
property :type, as: 'type'
|
|
1311
|
-
end
|
|
1312
|
-
end
|
|
1313
|
-
|
|
1314
|
-
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
|
|
1315
|
-
# @private
|
|
1316
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1317
|
-
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
|
1249
|
+
collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
|
1318
1250
|
|
|
1319
1251
|
end
|
|
1320
1252
|
end
|
|
@@ -1322,8 +1254,7 @@ module Google
|
|
|
1322
1254
|
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse
|
|
1323
1255
|
# @private
|
|
1324
1256
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1325
|
-
property :processor_version, as: 'processorVersion'
|
|
1326
|
-
|
|
1257
|
+
property :processor_version, as: 'processorVersion'
|
|
1327
1258
|
end
|
|
1328
1259
|
end
|
|
1329
1260
|
|
|
@@ -1461,8 +1392,6 @@ module Google
|
|
|
1461
1392
|
|
|
1462
1393
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle::Representation
|
|
1463
1394
|
|
|
1464
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTranslation::Representation
|
|
1465
|
-
|
|
1466
1395
|
property :uri, as: 'uri'
|
|
1467
1396
|
end
|
|
1468
1397
|
end
|
|
@@ -1494,6 +1423,7 @@ module Google
|
|
|
1494
1423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1495
1424
|
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress::Representation
|
|
1496
1425
|
|
|
1426
|
+
property :boolean_value, as: 'booleanValue'
|
|
1497
1427
|
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDate::Representation
|
|
1498
1428
|
|
|
1499
1429
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
|
|
@@ -1831,18 +1761,6 @@ module Google
|
|
|
1831
1761
|
end
|
|
1832
1762
|
end
|
|
1833
1763
|
|
|
1834
|
-
class GoogleCloudDocumentaiV1beta1DocumentTranslation
|
|
1835
|
-
# @private
|
|
1836
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1837
|
-
property :language_code, as: 'languageCode'
|
|
1838
|
-
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
|
1839
|
-
|
|
1840
|
-
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor::Representation
|
|
1841
|
-
|
|
1842
|
-
property :translated_text, as: 'translatedText'
|
|
1843
|
-
end
|
|
1844
|
-
end
|
|
1845
|
-
|
|
1846
1764
|
class GoogleCloudDocumentaiV1beta1GcsDestination
|
|
1847
1765
|
# @private
|
|
1848
1766
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1953,8 +1871,6 @@ module Google
|
|
|
1953
1871
|
|
|
1954
1872
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle::Representation
|
|
1955
1873
|
|
|
1956
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTranslation::Representation
|
|
1957
|
-
|
|
1958
1874
|
property :uri, as: 'uri'
|
|
1959
1875
|
end
|
|
1960
1876
|
end
|
|
@@ -1986,6 +1902,7 @@ module Google
|
|
|
1986
1902
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1987
1903
|
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress::Representation
|
|
1988
1904
|
|
|
1905
|
+
property :boolean_value, as: 'booleanValue'
|
|
1989
1906
|
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDate::Representation
|
|
1990
1907
|
|
|
1991
1908
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
|
|
@@ -2332,18 +2249,6 @@ module Google
|
|
|
2332
2249
|
end
|
|
2333
2250
|
end
|
|
2334
2251
|
|
|
2335
|
-
class GoogleCloudDocumentaiV1beta2DocumentTranslation
|
|
2336
|
-
# @private
|
|
2337
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2338
|
-
property :language_code, as: 'languageCode'
|
|
2339
|
-
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
|
2340
|
-
|
|
2341
|
-
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor::Representation
|
|
2342
|
-
|
|
2343
|
-
property :translated_text, as: 'translatedText'
|
|
2344
|
-
end
|
|
2345
|
-
end
|
|
2346
|
-
|
|
2347
2252
|
class GoogleCloudDocumentaiV1beta2GcsDestination
|
|
2348
2253
|
# @private
|
|
2349
2254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2413,6 +2318,16 @@ module Google
|
|
|
2413
2318
|
end
|
|
2414
2319
|
end
|
|
2415
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
|
+
|
|
2416
2331
|
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
|
|
2417
2332
|
# @private
|
|
2418
2333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2445,7 +2360,7 @@ module Google
|
|
|
2445
2360
|
|
|
2446
2361
|
collection :input_configs, as: 'inputConfigs', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig::Representation
|
|
2447
2362
|
|
|
2448
|
-
property :input_documents, as: 'inputDocuments', class: Google::Apis::DocumentaiV1beta3::
|
|
2363
|
+
property :input_documents, as: 'inputDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
|
|
2449
2364
|
|
|
2450
2365
|
property :output_config, as: 'outputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig::Representation
|
|
2451
2366
|
|
|
@@ -2516,8 +2431,6 @@ module Google
|
|
|
2516
2431
|
|
|
2517
2432
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle::Representation
|
|
2518
2433
|
|
|
2519
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTranslation::Representation
|
|
2520
|
-
|
|
2521
2434
|
property :uri, as: 'uri'
|
|
2522
2435
|
end
|
|
2523
2436
|
end
|
|
@@ -2549,6 +2462,7 @@ module Google
|
|
|
2549
2462
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2550
2463
|
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress::Representation
|
|
2551
2464
|
|
|
2465
|
+
property :boolean_value, as: 'booleanValue'
|
|
2552
2466
|
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDate::Representation
|
|
2553
2467
|
|
|
2554
2468
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
|
|
@@ -2901,15 +2815,26 @@ module Google
|
|
|
2901
2815
|
end
|
|
2902
2816
|
end
|
|
2903
2817
|
|
|
2904
|
-
class
|
|
2818
|
+
class GoogleCloudDocumentaiV1beta3GcsDocument
|
|
2905
2819
|
# @private
|
|
2906
2820
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2907
|
-
property :
|
|
2908
|
-
|
|
2821
|
+
property :gcs_uri, as: 'gcsUri'
|
|
2822
|
+
property :mime_type, as: 'mimeType'
|
|
2823
|
+
end
|
|
2824
|
+
end
|
|
2909
2825
|
|
|
2910
|
-
|
|
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
|
|
2830
|
+
|
|
2831
|
+
end
|
|
2832
|
+
end
|
|
2911
2833
|
|
|
2912
|
-
|
|
2834
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
|
2835
|
+
# @private
|
|
2836
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2837
|
+
property :gcs_uri_prefix, as: 'gcsUriPrefix'
|
|
2913
2838
|
end
|
|
2914
2839
|
end
|
|
2915
2840
|
|
|
@@ -85,11 +85,15 @@ module Google
|
|
|
85
85
|
# @param [String] name
|
|
86
86
|
# The resource that owns the locations collection, if applicable.
|
|
87
87
|
# @param [String] filter
|
|
88
|
-
#
|
|
88
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
|
89
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
|
90
|
+
# AIP-160](https://google.aip.dev/160).
|
|
89
91
|
# @param [Fixnum] page_size
|
|
90
|
-
# The
|
|
92
|
+
# The maximum number of results to return. If not set, the service will select a
|
|
93
|
+
# default.
|
|
91
94
|
# @param [String] page_token
|
|
92
|
-
#
|
|
95
|
+
# A page token received from the `next_page_token` field in the response. Send
|
|
96
|
+
# that page token to receive the subsequent page.
|
|
93
97
|
# @param [String] fields
|
|
94
98
|
# Selector specifying which fields to include in a partial response.
|
|
95
99
|
# @param [String] quota_user
|
|
@@ -156,7 +160,8 @@ module Google
|
|
|
156
160
|
# @param [String] name
|
|
157
161
|
# Required. The resource name of Processor or ProcessorVersion. Format: projects/
|
|
158
162
|
# `project`/locations/`location`/processors/`processor`, or projects/`project`/
|
|
159
|
-
# locations/`location`/processors/`processor`/
|
|
163
|
+
# locations/`location`/processors/`processor`/processorVersions/`
|
|
164
|
+
# processorVersion`
|
|
160
165
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest] google_cloud_documentai_v1beta3_batch_process_request_object
|
|
161
166
|
# @param [String] fields
|
|
162
167
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -193,7 +198,7 @@ module Google
|
|
|
193
198
|
# processing. If a Processor is specified, the server will use its default
|
|
194
199
|
# version. Format: projects/`project`/locations/`location`/processors/`processor`
|
|
195
200
|
# , or projects/`project`/locations/`location`/processors/`processor`/
|
|
196
|
-
#
|
|
201
|
+
# processorVersions/`processorVersion`
|
|
197
202
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest] google_cloud_documentai_v1beta3_process_request_object
|
|
198
203
|
# @param [String] fields
|
|
199
204
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -264,7 +269,8 @@ module Google
|
|
|
264
269
|
# @param [String] name
|
|
265
270
|
# Required. The resource name of Processor or ProcessorVersion. Format: projects/
|
|
266
271
|
# `project`/locations/`location`/processors/`processor`, or projects/`project`/
|
|
267
|
-
# locations/`location`/processors/`processor`/
|
|
272
|
+
# locations/`location`/processors/`processor`/processorVersions/`
|
|
273
|
+
# processorVersion`
|
|
268
274
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest] google_cloud_documentai_v1beta3_batch_process_request_object
|
|
269
275
|
# @param [String] fields
|
|
270
276
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -301,7 +307,7 @@ module Google
|
|
|
301
307
|
# processing. If a Processor is specified, the server will use its default
|
|
302
308
|
# version. Format: projects/`project`/locations/`location`/processors/`processor`
|
|
303
309
|
# , or projects/`project`/locations/`location`/processors/`processor`/
|
|
304
|
-
#
|
|
310
|
+
# processorVersions/`processorVersion`
|
|
305
311
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest] google_cloud_documentai_v1beta3_process_request_object
|
|
306
312
|
# @param [String] fields
|
|
307
313
|
# Selector specifying which fields to include in a partial response.
|