google-apis-documentai_v1beta2 0.2.0 → 0.3.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: 4084420ad4d1c5ba10422242bf34b34657a608e6a48e7be9d2633f72280d9abf
4
- data.tar.gz: 22ea48df89f154961ed358ecc1554c70c0f1f68f42734634fb54323ff9d370aa
3
+ metadata.gz: 29b7484db6207aad4525be184d5a8b1a31fd2a45bf9828f8ae14c781c86b945b
4
+ data.tar.gz: 84662a049c3f07c5942b6fed5c5ab6b2ce664d03318bed544ab3e992960c4edc
5
5
  SHA512:
6
- metadata.gz: ee046841db5de36868c93cd734025b627c370425002864d45ba7bb8caac17bc87a61786513bc675b1efe8c809435336bc428fb0fcd0b0bb084071ce8a32fcfc4
7
- data.tar.gz: 4dcab13447f2a6f7cc2d26908bd5d88affe26fc627e1b01c57fe8d0e4ba91abaa224dc15bf0dd3fec61dc1c56493d4a246cff26d029ac4127b66966536a6d3c7
6
+ metadata.gz: 9b3851ef565b0667445b88fe093a1495cc731062d00af2e187bae7320ab5c1574a16ef75184160869d82cf344106923d68ce14f36cb736575f5a25b7f5d22585
7
+ data.tar.gz: 8a394ade0c82b58eeaa00a237b0fd6524a0e1bfb1b5b5aca1d1501998851f41fd3de8b45e8b6066f1161ac4c6acc8abcd8a9090c73884af0b4ab447282b82589
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.3.0 (2021-02-12)
4
+
5
+ * Regenerated from discovery document revision 20210211
6
+
3
7
  ### v0.2.0 (2021-02-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20210201
@@ -256,239 +256,41 @@ module Google
256
256
  class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse
257
257
  include Google::Apis::Core::Hashable
258
258
 
259
- # An evaluation of a ProcessorVersion's performance.
260
- # Corresponds to the JSON property `evaluation`
261
- # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Evaluation]
262
- attr_accessor :evaluation
263
-
264
- def initialize(**args)
265
- update!(**args)
266
- end
267
-
268
- # Update properties of this object
269
- def update!(**args)
270
- @evaluation = args[:evaluation] if args.key?(:evaluation)
271
- end
272
- end
273
-
274
- # An evaluation of a ProcessorVersion's performance.
275
- class GoogleCloudDocumentaiUiv1beta3Evaluation
276
- include Google::Apis::Core::Hashable
277
-
278
- # Metrics across multiple confidence levels.
279
- # Corresponds to the JSON property `allEntitiesMetrics`
280
- # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics]
281
- attr_accessor :all_entities_metrics
282
-
283
- # The time that the evaluation was created.
284
- # Corresponds to the JSON property `createTime`
285
- # @return [String]
286
- attr_accessor :create_time
287
-
288
- # Metrics across confidence levels, for different entities.
289
- # Corresponds to the JSON property `entityMetrics`
290
- # @return [Hash<String,Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics>]
291
- attr_accessor :entity_metrics
292
-
293
- # The resource name of the evaluation. Format: projects/`project`/locations/`
294
- # location`/processors/`processor`/processorVersions/`processor_version`/
295
- # evaluations/`evaluation`
296
- # Corresponds to the JSON property `name`
297
- # @return [String]
298
- attr_accessor :name
299
-
300
- def initialize(**args)
301
- update!(**args)
302
- end
303
-
304
- # Update properties of this object
305
- def update!(**args)
306
- @all_entities_metrics = args[:all_entities_metrics] if args.key?(:all_entities_metrics)
307
- @create_time = args[:create_time] if args.key?(:create_time)
308
- @entity_metrics = args[:entity_metrics] if args.key?(:entity_metrics)
309
- @name = args[:name] if args.key?(:name)
310
- end
311
- end
312
-
313
- # Evaluations metrics, at a specific confidence level.
314
- class GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics
315
- include Google::Apis::Core::Hashable
316
-
317
- # The confidence level.
318
- # Corresponds to the JSON property `confidenceLevel`
319
- # @return [Float]
320
- attr_accessor :confidence_level
321
-
322
- # Evaluation metrics, either in aggregate or about a specific entity.
323
- # Corresponds to the JSON property `metrics`
324
- # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics]
325
- attr_accessor :metrics
326
-
327
- def initialize(**args)
328
- update!(**args)
329
- end
330
-
331
- # Update properties of this object
332
- def update!(**args)
333
- @confidence_level = args[:confidence_level] if args.key?(:confidence_level)
334
- @metrics = args[:metrics] if args.key?(:metrics)
335
- end
336
- end
337
-
338
- # Evaluation metrics, either in aggregate or about a specific entity.
339
- class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics
340
- include Google::Apis::Core::Hashable
341
-
342
- # The calculated f1 score.
343
- # Corresponds to the JSON property `f1Score`
344
- # @return [Float]
345
- attr_accessor :f1_score
346
-
347
- # The calculated precision.
348
- # Corresponds to the JSON property `precision`
349
- # @return [Float]
350
- attr_accessor :precision
351
-
352
- # The calculated recall.
353
- # Corresponds to the JSON property `recall`
354
- # @return [Float]
355
- attr_accessor :recall
356
-
357
- def initialize(**args)
358
- update!(**args)
359
- end
360
-
361
- # Update properties of this object
362
- def update!(**args)
363
- @f1_score = args[:f1_score] if args.key?(:f1_score)
364
- @precision = args[:precision] if args.key?(:precision)
365
- @recall = args[:recall] if args.key?(:recall)
366
- end
367
- end
368
-
369
- # Metrics across multiple confidence levels.
370
- class GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics
371
- include Google::Apis::Core::Hashable
372
-
373
- # Metrics across confidence levels.
374
- # Corresponds to the JSON property `confidenceLevelMetrics`
375
- # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics>]
376
- attr_accessor :confidence_level_metrics
377
-
378
- def initialize(**args)
379
- update!(**args)
380
- end
381
-
382
- # Update properties of this object
383
- def update!(**args)
384
- @confidence_level_metrics = args[:confidence_level_metrics] if args.key?(:confidence_level_metrics)
385
- end
386
- end
387
-
388
- # Gives a short summary of an evaluation, and links to the evaluation itself.
389
- class GoogleCloudDocumentaiUiv1beta3EvaluationReference
390
- include Google::Apis::Core::Hashable
391
-
392
- # Evaluation metrics, either in aggregate or about a specific entity.
393
- # Corresponds to the JSON property `aggregateMetrics`
394
- # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics]
395
- attr_accessor :aggregate_metrics
396
-
397
- # The resource name of the evaluation.
259
+ # The resource name of the created evaluation.
398
260
  # Corresponds to the JSON property `evaluation`
399
261
  # @return [String]
400
262
  attr_accessor :evaluation
401
263
 
402
- # The resource name of the Long Running Operation for the evaluation.
403
- # Corresponds to the JSON property `operation`
404
- # @return [String]
405
- attr_accessor :operation
406
-
407
264
  def initialize(**args)
408
265
  update!(**args)
409
266
  end
410
267
 
411
268
  # Update properties of this object
412
269
  def update!(**args)
413
- @aggregate_metrics = args[:aggregate_metrics] if args.key?(:aggregate_metrics)
414
270
  @evaluation = args[:evaluation] if args.key?(:evaluation)
415
- @operation = args[:operation] if args.key?(:operation)
416
- end
417
- end
418
-
419
- # A processor version is an implementation of a processor. Each processor can
420
- # have multiple versions, pre-trained by Google internally or up-trained by the
421
- # customer. At a time, a processor can only have one default version version. So
422
- # the processor's behavior (when processing documents) is defined by a default
423
- # version.
424
- class GoogleCloudDocumentaiUiv1beta3ProcessorVersion
425
- include Google::Apis::Core::Hashable
426
-
427
- # The time the processor version was created.
428
- # Corresponds to the JSON property `createTime`
429
- # @return [String]
430
- attr_accessor :create_time
431
-
432
- # The display name of the processor version.
433
- # Corresponds to the JSON property `displayName`
434
- # @return [String]
435
- attr_accessor :display_name
436
-
437
- # Gives a short summary of an evaluation, and links to the evaluation itself.
438
- # Corresponds to the JSON property `latestEvaluation`
439
- # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationReference]
440
- attr_accessor :latest_evaluation
441
-
442
- # The resource name of the processor version. Format: projects/`project`/
443
- # locations/`location`/processors/`processor`/processorVersions/`
444
- # processor_version`
445
- # Corresponds to the JSON property `name`
446
- # @return [String]
447
- attr_accessor :name
448
-
449
- # The schema defines the output of the processed document by a processor.
450
- # Corresponds to the JSON property `schema`
451
- # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Schema]
452
- attr_accessor :schema
453
-
454
- # The state of the processor version.
455
- # Corresponds to the JSON property `state`
456
- # @return [String]
457
- attr_accessor :state
458
-
459
- def initialize(**args)
460
- update!(**args)
461
- end
462
-
463
- # Update properties of this object
464
- def update!(**args)
465
- @create_time = args[:create_time] if args.key?(:create_time)
466
- @display_name = args[:display_name] if args.key?(:display_name)
467
- @latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
468
- @name = args[:name] if args.key?(:name)
469
- @schema = args[:schema] if args.key?(:schema)
470
- @state = args[:state] if args.key?(:state)
471
271
  end
472
272
  end
473
273
 
474
- # The schema defines the output of the processed document by a processor.
475
- class GoogleCloudDocumentaiUiv1beta3Schema
274
+ # The metadata that represents a processor version being created.
275
+ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
476
276
  include Google::Apis::Core::Hashable
477
277
 
478
- # Description of the schema.
479
- # Corresponds to the JSON property `description`
480
- # @return [String]
481
- attr_accessor :description
278
+ # The common metadata for long running operations.
279
+ # Corresponds to the JSON property `commonMetadata`
280
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
281
+ attr_accessor :common_metadata
482
282
 
483
- # Display name to show to users.
484
- # Corresponds to the JSON property `displayName`
485
- # @return [String]
486
- attr_accessor :display_name
283
+ # The dataset validation information. This includes any and all errors with
284
+ # documents and the dataset.
285
+ # Corresponds to the JSON property `testDatasetValidation`
286
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation]
287
+ attr_accessor :test_dataset_validation
487
288
 
488
- # Entity types of the schema.
489
- # Corresponds to the JSON property `entityTypes`
490
- # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SchemaEntityType>]
491
- attr_accessor :entity_types
289
+ # The dataset validation information. This includes any and all errors with
290
+ # documents and the dataset.
291
+ # Corresponds to the JSON property `trainingDatasetValidation`
292
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation]
293
+ attr_accessor :training_dataset_validation
492
294
 
493
295
  def initialize(**args)
494
296
  update!(**args)
@@ -496,54 +298,29 @@ module Google
496
298
 
497
299
  # Update properties of this object
498
300
  def update!(**args)
499
- @description = args[:description] if args.key?(:description)
500
- @display_name = args[:display_name] if args.key?(:display_name)
501
- @entity_types = args[:entity_types] if args.key?(:entity_types)
301
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
302
+ @test_dataset_validation = args[:test_dataset_validation] if args.key?(:test_dataset_validation)
303
+ @training_dataset_validation = args[:training_dataset_validation] if args.key?(:training_dataset_validation)
502
304
  end
503
305
  end
504
306
 
505
- # EntityType is the wrapper of a label of the corresponding model with detailed
506
- # attributes and limitations for entity-based processors. Multiple types can
507
- # also compose a dependency tree to represent nested types.
508
- class GoogleCloudDocumentaiUiv1beta3SchemaEntityType
307
+ # The dataset validation information. This includes any and all errors with
308
+ # documents and the dataset.
309
+ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
509
310
  include Google::Apis::Core::Hashable
510
311
 
511
- # Type of the entity. It can be either a value type (such as "text", "numeric", "
512
- # date" and "address"), or an object type which may contain nested entities (
513
- # such as "document" and "table").
514
- # Corresponds to the JSON property `baseType`
515
- # @return [String]
516
- attr_accessor :base_type
517
-
518
- # Description of the entity type.
519
- # Corresponds to the JSON property `description`
520
- # @return [String]
521
- attr_accessor :description
522
-
523
- # Occurrence type limits the number of times an entity type appears in the
524
- # document.
525
- # Corresponds to the JSON property `occurrenceType`
526
- # @return [String]
527
- attr_accessor :occurrence_type
528
-
529
- # Describing the nested structure of an entity. An EntityType may consist of
530
- # several other EntityTypes. For example, in a document there can be an
531
- # EntityType 'ID', which consists of EntityType 'name' and 'address', with
532
- # corresponding attributes, such as TEXT for both types and ONCE for occurrence
533
- # types.
534
- # Corresponds to the JSON property `properties`
535
- # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SchemaEntityType>]
536
- attr_accessor :properties
312
+ # Error information for the dataset as a whole. A maximum of 10 dataset errors
313
+ # will be returned. A single dataset error is terminal for training.
314
+ # Corresponds to the JSON property `datasetErrors`
315
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleRpcStatus>]
316
+ attr_accessor :dataset_errors
537
317
 
538
- # Source of this entity type.
539
- # Corresponds to the JSON property `source`
540
- # @return [String]
541
- attr_accessor :source
542
-
543
- # Name of the type. It must be unique within the set of same level types.
544
- # Corresponds to the JSON property `type`
545
- # @return [String]
546
- attr_accessor :type
318
+ # Error information pertaining to specific documents. A maximum of 10 document
319
+ # errors will be returned. Any document with errors will not be used throughout
320
+ # training.
321
+ # Corresponds to the JSON property `documentErrors`
322
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleRpcStatus>]
323
+ attr_accessor :document_errors
547
324
 
548
325
  def initialize(**args)
549
326
  update!(**args)
@@ -551,31 +328,8 @@ module Google
551
328
 
552
329
  # Update properties of this object
553
330
  def update!(**args)
554
- @base_type = args[:base_type] if args.key?(:base_type)
555
- @description = args[:description] if args.key?(:description)
556
- @occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
557
- @properties = args[:properties] if args.key?(:properties)
558
- @source = args[:source] if args.key?(:source)
559
- @type = args[:type] if args.key?(:type)
560
- end
561
- end
562
-
563
- # The metadata that represents a processor version being created.
564
- class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
565
- include Google::Apis::Core::Hashable
566
-
567
- # The common metadata for long running operations.
568
- # Corresponds to the JSON property `commonMetadata`
569
- # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
570
- attr_accessor :common_metadata
571
-
572
- def initialize(**args)
573
- update!(**args)
574
- end
575
-
576
- # Update properties of this object
577
- def update!(**args)
578
- @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
331
+ @dataset_errors = args[:dataset_errors] if args.key?(:dataset_errors)
332
+ @document_errors = args[:document_errors] if args.key?(:document_errors)
579
333
  end
580
334
  end
581
335
 
@@ -583,13 +337,9 @@ module Google
583
337
  class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse
584
338
  include Google::Apis::Core::Hashable
585
339
 
586
- # A processor version is an implementation of a processor. Each processor can
587
- # have multiple versions, pre-trained by Google internally or up-trained by the
588
- # customer. At a time, a processor can only have one default version version. So
589
- # the processor's behavior (when processing documents) is defined by a default
590
- # version.
340
+ # The resource name of the processor version produced by training.
591
341
  # Corresponds to the JSON property `processorVersion`
592
- # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ProcessorVersion]
342
+ # @return [String]
593
343
  attr_accessor :processor_version
594
344
 
595
345
  def initialize(**args)
@@ -817,9 +567,10 @@ module Google
817
567
  class GoogleCloudDocumentaiV1HumanReviewStatus
818
568
  include Google::Apis::Core::Hashable
819
569
 
820
- # The name of the operation triggered by the processed document. Non-empty only
821
- # when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has the same response type
822
- # and metadata as the long running operation returned by [ReviewDocument] method.
570
+ # The name of the operation triggered by the processed document. This field is
571
+ # populated only when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has the same
572
+ # response type and metadata as the long running operation returned by [
573
+ # ReviewDocument] method.
823
574
  # Corresponds to the JSON property `humanReviewOperation`
824
575
  # @return [String]
825
576
  attr_accessor :human_review_operation
@@ -4661,7 +4412,7 @@ module Google
4661
4412
  # The name of the operation triggered by the processed document. If the human
4662
4413
  # review process is not triggered, this field will be empty. It has the same
4663
4414
  # response type and metadata as the long running operation returned by
4664
- # ReviewDocument method. .
4415
+ # ReviewDocument method.
4665
4416
  # Corresponds to the JSON property `humanReviewOperation`
4666
4417
  # @return [String]
4667
4418
  attr_accessor :human_review_operation
@@ -4763,9 +4514,10 @@ module Google
4763
4514
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
4764
4515
  include Google::Apis::Core::Hashable
4765
4516
 
4766
- # The name of the operation triggered by the processed document. Non-empty only
4767
- # when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has the same response type
4768
- # and metadata as the long running operation returned by [ReviewDocument] method.
4517
+ # The name of the operation triggered by the processed document. This field is
4518
+ # populated only when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has the same
4519
+ # response type and metadata as the long running operation returned by [
4520
+ # ReviewDocument] method.
4769
4521
  # Corresponds to the JSON property `humanReviewOperation`
4770
4522
  # @return [String]
4771
4523
  attr_accessor :human_review_operation
@@ -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.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210201"
25
+ REVISION = "20210211"
26
26
  end
27
27
  end
28
28
  end
@@ -100,55 +100,13 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class GoogleCloudDocumentaiUiv1beta3Evaluation
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
107
- end
108
-
109
- class GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
- class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
117
-
118
- include Google::Apis::Core::JsonObjectSupport
119
- end
120
-
121
- class GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics
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
103
+ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
146
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
105
 
148
106
  include Google::Apis::Core::JsonObjectSupport
149
107
  end
150
108
 
151
- class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
109
+ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
152
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
111
 
154
112
  include Google::Apis::Core::JsonObjectSupport
@@ -993,100 +951,28 @@ module Google
993
951
  class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse
994
952
  # @private
995
953
  class Representation < Google::Apis::Core::JsonRepresentation
996
- property :evaluation, as: 'evaluation', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Evaluation, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Evaluation::Representation
997
-
998
- end
999
- end
1000
-
1001
- class GoogleCloudDocumentaiUiv1beta3Evaluation
1002
- # @private
1003
- class Representation < Google::Apis::Core::JsonRepresentation
1004
- property :all_entities_metrics, as: 'allEntitiesMetrics', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics::Representation
1005
-
1006
- property :create_time, as: 'createTime'
1007
- hash :entity_metrics, as: 'entityMetrics', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics::Representation
1008
-
1009
- property :name, as: 'name'
1010
- end
1011
- end
1012
-
1013
- class GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics
1014
- # @private
1015
- class Representation < Google::Apis::Core::JsonRepresentation
1016
- property :confidence_level, as: 'confidenceLevel'
1017
- property :metrics, as: 'metrics', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics::Representation
1018
-
1019
- end
1020
- end
1021
-
1022
- class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics
1023
- # @private
1024
- class Representation < Google::Apis::Core::JsonRepresentation
1025
- property :f1_score, as: 'f1Score'
1026
- property :precision, as: 'precision'
1027
- property :recall, as: 'recall'
1028
- end
1029
- end
1030
-
1031
- class GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics
1032
- # @private
1033
- class Representation < Google::Apis::Core::JsonRepresentation
1034
- collection :confidence_level_metrics, as: 'confidenceLevelMetrics', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics::Representation
1035
-
1036
- end
1037
- end
1038
-
1039
- class GoogleCloudDocumentaiUiv1beta3EvaluationReference
1040
- # @private
1041
- class Representation < Google::Apis::Core::JsonRepresentation
1042
- property :aggregate_metrics, as: 'aggregateMetrics', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics::Representation
1043
-
1044
954
  property :evaluation, as: 'evaluation'
1045
- property :operation, as: 'operation'
1046
955
  end
1047
956
  end
1048
957
 
1049
- class GoogleCloudDocumentaiUiv1beta3ProcessorVersion
958
+ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
1050
959
  # @private
1051
960
  class Representation < Google::Apis::Core::JsonRepresentation
1052
- property :create_time, as: 'createTime'
1053
- property :display_name, as: 'displayName'
1054
- property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3EvaluationReference::Representation
1055
-
1056
- property :name, as: 'name'
1057
- property :schema, as: 'schema', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Schema, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3Schema::Representation
961
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1058
962
 
1059
- property :state, as: 'state'
1060
- end
1061
- end
963
+ property :test_dataset_validation, as: 'testDatasetValidation', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
1062
964
 
1063
- class GoogleCloudDocumentaiUiv1beta3Schema
1064
- # @private
1065
- class Representation < Google::Apis::Core::JsonRepresentation
1066
- property :description, as: 'description'
1067
- property :display_name, as: 'displayName'
1068
- collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SchemaEntityType::Representation
965
+ property :training_dataset_validation, as: 'trainingDatasetValidation', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
1069
966
 
1070
967
  end
1071
968
  end
1072
969
 
1073
- class GoogleCloudDocumentaiUiv1beta3SchemaEntityType
970
+ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
1074
971
  # @private
1075
972
  class Representation < Google::Apis::Core::JsonRepresentation
1076
- property :base_type, as: 'baseType'
1077
- property :description, as: 'description'
1078
- property :occurrence_type, as: 'occurrenceType'
1079
- collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SchemaEntityType::Representation
973
+ collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1080
974
 
1081
- property :source, as: 'source'
1082
- property :type, as: 'type'
1083
- end
1084
- end
1085
-
1086
- class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
1087
- # @private
1088
- class Representation < Google::Apis::Core::JsonRepresentation
1089
- property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
975
+ collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1090
976
 
1091
977
  end
1092
978
  end
@@ -1094,8 +980,7 @@ module Google
1094
980
  class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse
1095
981
  # @private
1096
982
  class Representation < Google::Apis::Core::JsonRepresentation
1097
- property :processor_version, as: 'processorVersion', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ProcessorVersion, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ProcessorVersion::Representation
1098
-
983
+ property :processor_version, as: 'processorVersion'
1099
984
  end
1100
985
  end
1101
986
 
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.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.3.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2
57
57
  post_install_message:
58
58
  rdoc_options: []