google-apis-documentai_v1beta3 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: 96667553bcc60c6fe33341950d8320ae8290e2093fab44ffb3aae076830c6670
4
- data.tar.gz: 8f08c0f4930b7ce280794ac2ac515e82b439ba22026da28169c02a522abb224b
3
+ metadata.gz: c4cb25ce41abcfe699d32b087c7fabbd67eadcaf2c66d24f39a4f0a8a34f39cb
4
+ data.tar.gz: 8db54a67d3a81804254d61935c169386171df4d5d40a006b3b498429aabee20d
5
5
  SHA512:
6
- metadata.gz: eee70d1cd8310e5f66fa2a1046c4a91b2953f8c72e33008bc717a2bb886f4b010fd4329c27d3206af020799c984c42331c5bb0e09565e160564aea049fcd19ad
7
- data.tar.gz: 67bf56b920820e484d4d01b953bdbce1fee8ff118db58231de15af6d8c73b524482ee4a58597536a2c838390fb1a894c69f567b643035d68fb6f10b6a5b944f8
6
+ metadata.gz: 9777762880183b3c6707a934904d4d52755641e73f246c051ea721b8c6d46ab03cf4576a31b03ae19fb64f977d05cb70087ddde5d57151d0f4e7d421a9dcbd7a
7
+ data.tar.gz: 02324b6b7168f36f024bec73fbf236c6e3f0909ccda9ae6c8dc6e91980b868c2a5d5719df6217ec97021aa2438490f131a7b0c8f441659dd7eb8419d2e1379f3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta3
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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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
271
  end
417
272
  end
418
273
 
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::DocumentaiV1beta3::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::DocumentaiV1beta3::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
- end
472
- end
473
-
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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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
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::DocumentaiV1beta3::GoogleRpcStatus>]
316
+ attr_accessor :dataset_errors
517
317
 
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::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SchemaEntityType>]
536
- attr_accessor :properties
537
-
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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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
@@ -4368,7 +4119,7 @@ module Google
4368
4119
  # The name of the operation triggered by the processed document. If the human
4369
4120
  # review process is not triggered, this field will be empty. It has the same
4370
4121
  # response type and metadata as the long running operation returned by
4371
- # ReviewDocument method. .
4122
+ # ReviewDocument method.
4372
4123
  # Corresponds to the JSON property `humanReviewOperation`
4373
4124
  # @return [String]
4374
4125
  attr_accessor :human_review_operation
@@ -6058,9 +5809,10 @@ module Google
6058
5809
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
6059
5810
  include Google::Apis::Core::Hashable
6060
5811
 
6061
- # The name of the operation triggered by the processed document. Non-empty only
6062
- # when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has the same response type
6063
- # and metadata as the long running operation returned by [ReviewDocument] method.
5812
+ # The name of the operation triggered by the processed document. This field is
5813
+ # populated only when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has the same
5814
+ # response type and metadata as the long running operation returned by [
5815
+ # ReviewDocument] method.
6064
5816
  # Corresponds to the JSON property `humanReviewOperation`
6065
5817
  # @return [String]
6066
5818
  attr_accessor :human_review_operation
@@ -6173,7 +5925,7 @@ module Google
6173
5925
  # The name of the operation triggered by the processed document. If the human
6174
5926
  # review process is not triggered, this field will be empty. It has the same
6175
5927
  # response type and metadata as the long running operation returned by
6176
- # ReviewDocument method. .
5928
+ # ReviewDocument method.
6177
5929
  # Corresponds to the JSON property `humanReviewOperation`
6178
5930
  # @return [String]
6179
5931
  attr_accessor :human_review_operation
@@ -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.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
@@ -1221,100 +1179,28 @@ module Google
1221
1179
  class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse
1222
1180
  # @private
1223
1181
  class Representation < Google::Apis::Core::JsonRepresentation
1224
- property :evaluation, as: 'evaluation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3Evaluation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3Evaluation::Representation
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'
1238
- end
1239
- end
1240
-
1241
- class GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics
1242
- # @private
1243
- class Representation < Google::Apis::Core::JsonRepresentation
1244
- property :confidence_level, as: 'confidenceLevel'
1245
- property :metrics, as: 'metrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationMetrics::Representation
1246
-
1247
- end
1248
- end
1249
-
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
- end
1257
- end
1258
-
1259
- class GoogleCloudDocumentaiUiv1beta3EvaluationMultiConfidenceMetrics
1260
- # @private
1261
- class Representation < Google::Apis::Core::JsonRepresentation
1262
- collection :confidence_level_metrics, as: 'confidenceLevelMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationConfidenceLevelMetrics::Representation
1263
-
1264
- end
1265
- end
1266
-
1267
- class GoogleCloudDocumentaiUiv1beta3EvaluationReference
1268
- # @private
1269
- 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
1182
  property :evaluation, as: 'evaluation'
1273
- property :operation, as: 'operation'
1274
1183
  end
1275
1184
  end
1276
1185
 
1277
- class GoogleCloudDocumentaiUiv1beta3ProcessorVersion
1186
+ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
1278
1187
  # @private
1279
1188
  class Representation < Google::Apis::Core::JsonRepresentation
1280
- property :create_time, as: 'createTime'
1281
- property :display_name, as: 'displayName'
1282
- property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3EvaluationReference::Representation
1283
-
1284
- property :name, as: 'name'
1285
- property :schema, as: 'schema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3Schema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3Schema::Representation
1189
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1286
1190
 
1287
- property :state, as: 'state'
1288
- end
1289
- end
1191
+ property :test_dataset_validation, as: 'testDatasetValidation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
1290
1192
 
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
1193
+ property :training_dataset_validation, as: 'trainingDatasetValidation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
1297
1194
 
1298
1195
  end
1299
1196
  end
1300
1197
 
1301
- class GoogleCloudDocumentaiUiv1beta3SchemaEntityType
1198
+ class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
1302
1199
  # @private
1303
1200
  class Representation < Google::Apis::Core::JsonRepresentation
1304
- property :base_type, as: 'baseType'
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
1201
+ collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
1308
1202
 
1309
- property :source, as: 'source'
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
1203
+ collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
1318
1204
 
1319
1205
  end
1320
1206
  end
@@ -1322,8 +1208,7 @@ module Google
1322
1208
  class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse
1323
1209
  # @private
1324
1210
  class Representation < Google::Apis::Core::JsonRepresentation
1325
- property :processor_version, as: 'processorVersion', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ProcessorVersion, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ProcessorVersion::Representation
1326
-
1211
+ property :processor_version, as: 'processorVersion'
1327
1212
  end
1328
1213
  end
1329
1214
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
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_v1beta3/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.3.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3
57
57
  post_install_message:
58
58
  rdoc_options: []