google-apis-documentai_v1 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -268,6 +268,12 @@ module Google
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
+ class GoogleCloudDocumentaiV1DeployProcessorVersionRequest
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
271
277
  class GoogleCloudDocumentaiV1DeployProcessorVersionResponse
272
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
279
 
@@ -280,6 +286,12 @@ module Google
280
286
  include Google::Apis::Core::JsonObjectSupport
281
287
  end
282
288
 
289
+ class GoogleCloudDocumentaiV1DisableProcessorRequest
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
283
295
  class GoogleCloudDocumentaiV1DisableProcessorResponse
284
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
297
 
@@ -496,12 +508,36 @@ module Google
496
508
  include Google::Apis::Core::JsonObjectSupport
497
509
  end
498
510
 
511
+ class GoogleCloudDocumentaiV1EnableProcessorRequest
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
499
517
  class GoogleCloudDocumentaiV1EnableProcessorResponse
500
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
519
 
502
520
  include Google::Apis::Core::JsonObjectSupport
503
521
  end
504
522
 
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
+ class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
505
541
  class GoogleCloudDocumentaiV1GcsDocument
506
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
543
 
@@ -526,6 +562,18 @@ module Google
526
562
  include Google::Apis::Core::JsonObjectSupport
527
563
  end
528
564
 
565
+ class GoogleCloudDocumentaiV1ListProcessorVersionsResponse
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
571
+ class GoogleCloudDocumentaiV1ListProcessorsResponse
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
529
577
  class GoogleCloudDocumentaiV1NormalizedVertex
530
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
531
579
 
@@ -544,6 +592,30 @@ module Google
544
592
  include Google::Apis::Core::JsonObjectSupport
545
593
  end
546
594
 
595
+ class GoogleCloudDocumentaiV1Processor
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class GoogleCloudDocumentaiV1ProcessorType
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class GoogleCloudDocumentaiV1ProcessorTypeLocationInfo
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class GoogleCloudDocumentaiV1ProcessorVersion
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
547
619
  class GoogleCloudDocumentaiV1RawDocument
548
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
621
 
@@ -568,12 +640,30 @@ module Google
568
640
  include Google::Apis::Core::JsonObjectSupport
569
641
  end
570
642
 
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
+
571
655
  class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
572
656
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
657
 
574
658
  include Google::Apis::Core::JsonObjectSupport
575
659
  end
576
660
 
661
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
577
667
  class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse
578
668
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
669
 
@@ -586,6 +676,12 @@ module Google
586
676
  include Google::Apis::Core::JsonObjectSupport
587
677
  end
588
678
 
679
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionRequest
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
589
685
  class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse
590
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
687
 
@@ -1628,6 +1724,12 @@ module Google
1628
1724
  end
1629
1725
  end
1630
1726
 
1727
+ class GoogleCloudDocumentaiV1DeployProcessorVersionRequest
1728
+ # @private
1729
+ class Representation < Google::Apis::Core::JsonRepresentation
1730
+ end
1731
+ end
1732
+
1631
1733
  class GoogleCloudDocumentaiV1DeployProcessorVersionResponse
1632
1734
  # @private
1633
1735
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1642,6 +1744,12 @@ module Google
1642
1744
  end
1643
1745
  end
1644
1746
 
1747
+ class GoogleCloudDocumentaiV1DisableProcessorRequest
1748
+ # @private
1749
+ class Representation < Google::Apis::Core::JsonRepresentation
1750
+ end
1751
+ end
1752
+
1645
1753
  class GoogleCloudDocumentaiV1DisableProcessorResponse
1646
1754
  # @private
1647
1755
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2072,12 +2180,51 @@ module Google
2072
2180
  end
2073
2181
  end
2074
2182
 
2183
+ class GoogleCloudDocumentaiV1EnableProcessorRequest
2184
+ # @private
2185
+ class Representation < Google::Apis::Core::JsonRepresentation
2186
+ end
2187
+ end
2188
+
2075
2189
  class GoogleCloudDocumentaiV1EnableProcessorResponse
2076
2190
  # @private
2077
2191
  class Representation < Google::Apis::Core::JsonRepresentation
2078
2192
  end
2079
2193
  end
2080
2194
 
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
+ class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
2221
+ # @private
2222
+ class Representation < Google::Apis::Core::JsonRepresentation
2223
+ collection :processor_types, as: 'processorTypes', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorType, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorType::Representation
2224
+
2225
+ end
2226
+ end
2227
+
2081
2228
  class GoogleCloudDocumentaiV1GcsDocument
2082
2229
  # @private
2083
2230
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2110,6 +2257,24 @@ module Google
2110
2257
  end
2111
2258
  end
2112
2259
 
2260
+ class GoogleCloudDocumentaiV1ListProcessorVersionsResponse
2261
+ # @private
2262
+ class Representation < Google::Apis::Core::JsonRepresentation
2263
+ property :next_page_token, as: 'nextPageToken'
2264
+ collection :processor_versions, as: 'processorVersions', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersion, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersion::Representation
2265
+
2266
+ end
2267
+ end
2268
+
2269
+ class GoogleCloudDocumentaiV1ListProcessorsResponse
2270
+ # @private
2271
+ class Representation < Google::Apis::Core::JsonRepresentation
2272
+ property :next_page_token, as: 'nextPageToken'
2273
+ collection :processors, as: 'processors', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Processor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Processor::Representation
2274
+
2275
+ end
2276
+ end
2277
+
2113
2278
  class GoogleCloudDocumentaiV1NormalizedVertex
2114
2279
  # @private
2115
2280
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2139,6 +2304,53 @@ module Google
2139
2304
  end
2140
2305
  end
2141
2306
 
2307
+ class GoogleCloudDocumentaiV1Processor
2308
+ # @private
2309
+ class Representation < Google::Apis::Core::JsonRepresentation
2310
+ property :create_time, as: 'createTime'
2311
+ property :default_processor_version, as: 'defaultProcessorVersion'
2312
+ property :display_name, as: 'displayName'
2313
+ property :kms_key_name, as: 'kmsKeyName'
2314
+ property :name, as: 'name'
2315
+ property :process_endpoint, as: 'processEndpoint'
2316
+ property :state, as: 'state'
2317
+ property :type, as: 'type'
2318
+ end
2319
+ end
2320
+
2321
+ class GoogleCloudDocumentaiV1ProcessorType
2322
+ # @private
2323
+ class Representation < Google::Apis::Core::JsonRepresentation
2324
+ property :allow_creation, as: 'allowCreation'
2325
+ collection :available_locations, as: 'availableLocations', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorTypeLocationInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorTypeLocationInfo::Representation
2326
+
2327
+ property :category, as: 'category'
2328
+ property :name, as: 'name'
2329
+ property :type, as: 'type'
2330
+ end
2331
+ end
2332
+
2333
+ class GoogleCloudDocumentaiV1ProcessorTypeLocationInfo
2334
+ # @private
2335
+ class Representation < Google::Apis::Core::JsonRepresentation
2336
+ property :location_id, as: 'locationId'
2337
+ end
2338
+ end
2339
+
2340
+ class GoogleCloudDocumentaiV1ProcessorVersion
2341
+ # @private
2342
+ class Representation < Google::Apis::Core::JsonRepresentation
2343
+ property :create_time, as: 'createTime'
2344
+ property :display_name, as: 'displayName'
2345
+ property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference::Representation
2346
+
2347
+ property :name, as: 'name'
2348
+ property :schema, as: 'schema', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Schema, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Schema::Representation
2349
+
2350
+ property :state, as: 'state'
2351
+ end
2352
+ end
2353
+
2142
2354
  class GoogleCloudDocumentaiV1RawDocument
2143
2355
  # @private
2144
2356
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2172,6 +2384,30 @@ module Google
2172
2384
  end
2173
2385
  end
2174
2386
 
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
+
2175
2411
  class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
2176
2412
  # @private
2177
2413
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2180,6 +2416,13 @@ module Google
2180
2416
  end
2181
2417
  end
2182
2418
 
2419
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest
2420
+ # @private
2421
+ class Representation < Google::Apis::Core::JsonRepresentation
2422
+ property :default_processor_version, as: 'defaultProcessorVersion'
2423
+ end
2424
+ end
2425
+
2183
2426
  class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse
2184
2427
  # @private
2185
2428
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2194,6 +2437,12 @@ module Google
2194
2437
  end
2195
2438
  end
2196
2439
 
2440
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionRequest
2441
+ # @private
2442
+ class Representation < Google::Apis::Core::JsonRepresentation
2443
+ end
2444
+ end
2445
+
2197
2446
  class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse
2198
2447
  # @private
2199
2448
  class Representation < Google::Apis::Core::JsonRepresentation