google-apis-documentai_v1 0.44.0 → 0.47.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: d1e039c9ce406332c9c57eb3f3bb03749f3b7f7ed077de4f6f7760898dc68042
4
- data.tar.gz: fd857f81b25d0e3c738a316b751710801107f388b7928fff60488530650b42a0
3
+ metadata.gz: 96fcbbf548accf2985f5e2d65398b256dc399292add3fc0ae5c0891dd7b67cd4
4
+ data.tar.gz: fb0ba4aeae55be38f49e305cba29cb638d98d6dbc56b7b5d8bba53e07e4c4f1a
5
5
  SHA512:
6
- metadata.gz: ce95fcb209f958d1a3e709b6b1c0fd38dfc6ba7150ae002406f3f276be19d5c67294b4e079ad0983eb68f6fa234c4a3f9abb9c42612230b47799a43f62fbad8d
7
- data.tar.gz: 9b4723dc1ce77205cd8b17dc2000ff1ca0eb5f84562af67906d0b50f683fb75e652ad38432d72854bc4d3ae927cf601c5b1f19a58bb572fb18e935c384ba6378
6
+ metadata.gz: 6e6c9eb34dfce3ddbe0efc10d51b1b9202067cc4b5c634c801b7059fc47743e3bce4bcc8c17f8191bb8872c473a003c06fc264627ef7bd9b90e20b06058ba92a
7
+ data.tar.gz: 027e64fad91667ea944ae5cca09825172f2814912d4052371bcf92a9f11cc4e67ef75d8c1223a178f72a753b653ed4d98fa53ff6a34e84df9e61b4a10ac184de
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.47.0 (2022-08-31)
4
+
5
+ * Regenerated from discovery document revision 20220824
6
+
7
+ ### v0.46.0 (2022-08-25)
8
+
9
+ * Regenerated from discovery document revision 20220821
10
+
11
+ ### v0.45.0 (2022-08-16)
12
+
13
+ * Regenerated from discovery document revision 20220815
14
+
3
15
  ### v0.44.0 (2022-08-10)
4
16
 
5
17
  * Regenerated from discovery document revision 20220808
@@ -31,11 +31,21 @@ module Google
31
31
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
32
32
  attr_accessor :common_metadata
33
33
 
34
+ # Total number of documents that failed to be deleted in storage.
35
+ # Corresponds to the JSON property `errorDocumentCount`
36
+ # @return [Fixnum]
37
+ attr_accessor :error_document_count
38
+
34
39
  # The list of response details of each document.
35
40
  # Corresponds to the JSON property `individualBatchDeleteStatuses`
36
41
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus>]
37
42
  attr_accessor :individual_batch_delete_statuses
38
43
 
44
+ # Total number of documents deleting from dataset.
45
+ # Corresponds to the JSON property `totalDocumentCount`
46
+ # @return [Fixnum]
47
+ attr_accessor :total_document_count
48
+
39
49
  def initialize(**args)
40
50
  update!(**args)
41
51
  end
@@ -43,7 +53,9 @@ module Google
43
53
  # Update properties of this object
44
54
  def update!(**args)
45
55
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
56
+ @error_document_count = args[:error_document_count] if args.key?(:error_document_count)
46
57
  @individual_batch_delete_statuses = args[:individual_batch_delete_statuses] if args.key?(:individual_batch_delete_statuses)
58
+ @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
47
59
  end
48
60
  end
49
61
 
@@ -496,6 +508,112 @@ module Google
496
508
  end
497
509
  end
498
510
 
511
+ # Metadata of the batch export documents operation.
512
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata
513
+ include Google::Apis::Core::Hashable
514
+
515
+ # The common metadata for long running operations.
516
+ # Corresponds to the JSON property `commonMetadata`
517
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
518
+ attr_accessor :common_metadata
519
+
520
+ # The list of response details of each document.
521
+ # Corresponds to the JSON property `individualExportStatuses`
522
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus>]
523
+ attr_accessor :individual_export_statuses
524
+
525
+ # The list of statistics for each dataset split type.
526
+ # Corresponds to the JSON property `splitExportStats`
527
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat>]
528
+ attr_accessor :split_export_stats
529
+
530
+ def initialize(**args)
531
+ update!(**args)
532
+ end
533
+
534
+ # Update properties of this object
535
+ def update!(**args)
536
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
537
+ @individual_export_statuses = args[:individual_export_statuses] if args.key?(:individual_export_statuses)
538
+ @split_export_stats = args[:split_export_stats] if args.key?(:split_export_stats)
539
+ end
540
+ end
541
+
542
+ # The status of each individual document in the export process.
543
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus
544
+ include Google::Apis::Core::Hashable
545
+
546
+ # Document Identifier.
547
+ # Corresponds to the JSON property `documentId`
548
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId]
549
+ attr_accessor :document_id
550
+
551
+ # The output_gcs_destination of the exported document if it was successful,
552
+ # otherwise empty.
553
+ # Corresponds to the JSON property `outputGcsDestination`
554
+ # @return [String]
555
+ attr_accessor :output_gcs_destination
556
+
557
+ # The `Status` type defines a logical error model that is suitable for different
558
+ # programming environments, including REST APIs and RPC APIs. It is used by [
559
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
560
+ # data: error code, error message, and error details. You can find out more
561
+ # about this error model and how to work with it in the [API Design Guide](https:
562
+ # //cloud.google.com/apis/design/errors).
563
+ # Corresponds to the JSON property `status`
564
+ # @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
565
+ attr_accessor :status
566
+
567
+ def initialize(**args)
568
+ update!(**args)
569
+ end
570
+
571
+ # Update properties of this object
572
+ def update!(**args)
573
+ @document_id = args[:document_id] if args.key?(:document_id)
574
+ @output_gcs_destination = args[:output_gcs_destination] if args.key?(:output_gcs_destination)
575
+ @status = args[:status] if args.key?(:status)
576
+ end
577
+ end
578
+
579
+ # The statistic representing a dataset split type for this export.
580
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat
581
+ include Google::Apis::Core::Hashable
582
+
583
+ # The dataset split type.
584
+ # Corresponds to the JSON property `splitType`
585
+ # @return [String]
586
+ attr_accessor :split_type
587
+
588
+ # Total number of documents with the given dataset split type to be exported.
589
+ # Corresponds to the JSON property `totalDocumentCount`
590
+ # @return [Fixnum]
591
+ attr_accessor :total_document_count
592
+
593
+ def initialize(**args)
594
+ update!(**args)
595
+ end
596
+
597
+ # Update properties of this object
598
+ def update!(**args)
599
+ @split_type = args[:split_type] if args.key?(:split_type)
600
+ @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
601
+ end
602
+ end
603
+
604
+ # The response proto of ExportDocuments method.
605
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse
606
+ include Google::Apis::Core::Hashable
607
+
608
+ def initialize(**args)
609
+ update!(**args)
610
+ end
611
+
612
+ # Update properties of this object
613
+ def update!(**args)
614
+ end
615
+ end
616
+
499
617
  # Metadata message associated with the ExportProcessorVersion operation.
500
618
  class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata
501
619
  include Google::Apis::Core::Hashable
@@ -543,6 +661,11 @@ module Google
543
661
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
544
662
  attr_accessor :common_metadata
545
663
 
664
+ # Validation statuses of the batch documents import config.
665
+ # Corresponds to the JSON property `importConfigValidationResults`
666
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult>]
667
+ attr_accessor :import_config_validation_results
668
+
546
669
  # The list of response details of each document.
547
670
  # Corresponds to the JSON property `individualImportStatuses`
548
671
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus>]
@@ -560,11 +683,44 @@ module Google
560
683
  # Update properties of this object
561
684
  def update!(**args)
562
685
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
686
+ @import_config_validation_results = args[:import_config_validation_results] if args.key?(:import_config_validation_results)
563
687
  @individual_import_statuses = args[:individual_import_statuses] if args.key?(:individual_import_statuses)
564
688
  @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
565
689
  end
566
690
  end
567
691
 
692
+ # The validation status of each import config. Status is set to errors if there
693
+ # is no documents to import in the import_config, or OK if the operation will
694
+ # try to proceed at least one document.
695
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
696
+ include Google::Apis::Core::Hashable
697
+
698
+ # The source Cloud Storage URI specified in the import config.
699
+ # Corresponds to the JSON property `inputGcsSource`
700
+ # @return [String]
701
+ attr_accessor :input_gcs_source
702
+
703
+ # The `Status` type defines a logical error model that is suitable for different
704
+ # programming environments, including REST APIs and RPC APIs. It is used by [
705
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
706
+ # data: error code, error message, and error details. You can find out more
707
+ # about this error model and how to work with it in the [API Design Guide](https:
708
+ # //cloud.google.com/apis/design/errors).
709
+ # Corresponds to the JSON property `status`
710
+ # @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
711
+ attr_accessor :status
712
+
713
+ def initialize(**args)
714
+ update!(**args)
715
+ end
716
+
717
+ # Update properties of this object
718
+ def update!(**args)
719
+ @input_gcs_source = args[:input_gcs_source] if args.key?(:input_gcs_source)
720
+ @status = args[:status] if args.key?(:status)
721
+ end
722
+ end
723
+
568
724
  # The status of each individual document in the import process.
569
725
  class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
570
726
  include Google::Apis::Core::Hashable
@@ -624,11 +780,17 @@ module Google
624
780
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
625
781
  attr_accessor :common_metadata
626
782
 
627
- # Returns the newly added document Cloud Storage prefix if the documents are
628
- # founded in Cloud Storage while not in Document Service storage.
629
- # Corresponds to the JSON property `newlyAddedDocuments`
630
- # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument>]
631
- attr_accessor :newly_added_documents
783
+ # The list of dataset resync statuses. Not checked when `dataset_documents` is
784
+ # specified in ResyncRequest.
785
+ # Corresponds to the JSON property `datasetResyncStatuses`
786
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus>]
787
+ attr_accessor :dataset_resync_statuses
788
+
789
+ # The list of document resync statuses. The same document could have multiple `
790
+ # individual_document_resync_statuses` if it has multiple inconsistencies.
791
+ # Corresponds to the JSON property `individualDocumentResyncStatuses`
792
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus>]
793
+ attr_accessor :individual_document_resync_statuses
632
794
 
633
795
  def initialize(**args)
634
796
  update!(**args)
@@ -637,25 +799,54 @@ module Google
637
799
  # Update properties of this object
638
800
  def update!(**args)
639
801
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
640
- @newly_added_documents = args[:newly_added_documents] if args.key?(:newly_added_documents)
802
+ @dataset_resync_statuses = args[:dataset_resync_statuses] if args.key?(:dataset_resync_statuses)
803
+ @individual_document_resync_statuses = args[:individual_document_resync_statuses] if args.key?(:individual_document_resync_statuses)
641
804
  end
642
805
  end
643
806
 
644
- # The proto for updated document in resync pipeline.
645
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
807
+ # Resync status against inconsistency types on the dataset level.
808
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus
646
809
  include Google::Apis::Core::Hashable
647
810
 
648
- # The prefix of cloud storage, identifies the destination document which should
649
- # be updated by resync pipeline.
650
- # Corresponds to the JSON property `destinationPrefix`
811
+ # The type of the inconsistency of the dataset.
812
+ # Corresponds to the JSON property `datasetInconsistencyType`
651
813
  # @return [String]
652
- attr_accessor :destination_prefix
814
+ attr_accessor :dataset_inconsistency_type
815
+
816
+ # The `Status` type defines a logical error model that is suitable for different
817
+ # programming environments, including REST APIs and RPC APIs. It is used by [
818
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
819
+ # data: error code, error message, and error details. You can find out more
820
+ # about this error model and how to work with it in the [API Design Guide](https:
821
+ # //cloud.google.com/apis/design/errors).
822
+ # Corresponds to the JSON property `status`
823
+ # @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
824
+ attr_accessor :status
825
+
826
+ def initialize(**args)
827
+ update!(**args)
828
+ end
653
829
 
654
- # The prefix of cloud storage, identifies the original document which should be
655
- # updated by resync pipeline.
656
- # Corresponds to the JSON property `sourcePrefix`
830
+ # Update properties of this object
831
+ def update!(**args)
832
+ @dataset_inconsistency_type = args[:dataset_inconsistency_type] if args.key?(:dataset_inconsistency_type)
833
+ @status = args[:status] if args.key?(:status)
834
+ end
835
+ end
836
+
837
+ # Resync status for each document per inconsistency type.
838
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus
839
+ include Google::Apis::Core::Hashable
840
+
841
+ # Document Identifier.
842
+ # Corresponds to the JSON property `documentId`
843
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId]
844
+ attr_accessor :document_id
845
+
846
+ # The type of document inconsistency.
847
+ # Corresponds to the JSON property `documentInconsistencyType`
657
848
  # @return [String]
658
- attr_accessor :source_prefix
849
+ attr_accessor :document_inconsistency_type
659
850
 
660
851
  # The `Status` type defines a logical error model that is suitable for different
661
852
  # programming environments, including REST APIs and RPC APIs. It is used by [
@@ -673,8 +864,8 @@ module Google
673
864
 
674
865
  # Update properties of this object
675
866
  def update!(**args)
676
- @destination_prefix = args[:destination_prefix] if args.key?(:destination_prefix)
677
- @source_prefix = args[:source_prefix] if args.key?(:source_prefix)
867
+ @document_id = args[:document_id] if args.key?(:document_id)
868
+ @document_inconsistency_type = args[:document_inconsistency_type] if args.key?(:document_inconsistency_type)
678
869
  @status = args[:status] if args.key?(:status)
679
870
  end
680
871
  end
@@ -1471,15 +1662,6 @@ module Google
1471
1662
  # @return [String]
1472
1663
  attr_accessor :mention_text
1473
1664
 
1474
- # Optional. This attribute indicates that the processing didn't actually
1475
- # identify this entity, but a confidence score was assigned that represent the
1476
- # potential that this could be a false negative. A non-present entity should
1477
- # have an empty mention_text and text_anchor.
1478
- # Corresponds to the JSON property `nonPresent`
1479
- # @return [Boolean]
1480
- attr_accessor :non_present
1481
- alias_method :non_present?, :non_present
1482
-
1483
1665
  # Parsed and normalized entity value.
1484
1666
  # Corresponds to the JSON property `normalizedValue`
1485
1667
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue]
@@ -1530,7 +1712,6 @@ module Google
1530
1712
  @id = args[:id] if args.key?(:id)
1531
1713
  @mention_id = args[:mention_id] if args.key?(:mention_id)
1532
1714
  @mention_text = args[:mention_text] if args.key?(:mention_text)
1533
- @non_present = args[:non_present] if args.key?(:non_present)
1534
1715
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
1535
1716
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
1536
1717
  @properties = args[:properties] if args.key?(:properties)
@@ -2677,6 +2858,11 @@ module Google
2677
2858
  # @return [String]
2678
2859
  attr_accessor :display_name
2679
2860
 
2861
+ # Metadata about an entity type.
2862
+ # Corresponds to the JSON property `entityTypeMetadata`
2863
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EntityTypeMetadata]
2864
+ attr_accessor :entity_type_metadata
2865
+
2680
2866
  # Defines the a list of enum values.
2681
2867
  # Corresponds to the JSON property `enumValues`
2682
2868
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues]
@@ -2685,8 +2871,8 @@ module Google
2685
2871
  # Name of the type. It must be unique within the schema file and cannot be a '
2686
2872
  # Common Type'. Besides that we use the following naming conventions: - *use
2687
2873
  # snake_casing* - name matching is case-insensitive - Maximum 64 characters. -
2688
- # Must start with a letter. - Allowed characters: ASCII letters [a-z0-9_-]. (For
2689
- # backward compatibility internal infrastructure and tooling can handle any
2874
+ # Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (
2875
+ # For backward compatibility internal infrastructure and tooling can handle any
2690
2876
  # ascii character) - The '/' is sometimes used to denote a property of a type.
2691
2877
  # For example line_item/amount. This convention is deprecated, but will still be
2692
2878
  # honored for backward compatibility.
@@ -2707,6 +2893,7 @@ module Google
2707
2893
  def update!(**args)
2708
2894
  @base_types = args[:base_types] if args.key?(:base_types)
2709
2895
  @display_name = args[:display_name] if args.key?(:display_name)
2896
+ @entity_type_metadata = args[:entity_type_metadata] if args.key?(:entity_type_metadata)
2710
2897
  @enum_values = args[:enum_values] if args.key?(:enum_values)
2711
2898
  @name = args[:name] if args.key?(:name)
2712
2899
  @properties = args[:properties] if args.key?(:properties)
@@ -2747,6 +2934,11 @@ module Google
2747
2934
  # @return [String]
2748
2935
  attr_accessor :occurrence_type
2749
2936
 
2937
+ # Metadata about a property.
2938
+ # Corresponds to the JSON property `propertyMetadata`
2939
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1PropertyMetadata]
2940
+ attr_accessor :property_metadata
2941
+
2750
2942
  # A reference to the value type of the property. This type is subject to the
2751
2943
  # same conventions as the `Entity.base_types` field.
2752
2944
  # Corresponds to the JSON property `valueType`
@@ -2761,6 +2953,7 @@ module Google
2761
2953
  def update!(**args)
2762
2954
  @name = args[:name] if args.key?(:name)
2763
2955
  @occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
2956
+ @property_metadata = args[:property_metadata] if args.key?(:property_metadata)
2764
2957
  @value_type = args[:value_type] if args.key?(:value_type)
2765
2958
  end
2766
2959
  end
@@ -3145,6 +3338,45 @@ module Google
3145
3338
  end
3146
3339
  end
3147
3340
 
3341
+ # Metadata about an entity type.
3342
+ class GoogleCloudDocumentaiV1EntityTypeMetadata
3343
+ include Google::Apis::Core::Hashable
3344
+
3345
+ # Metadata for human review labeling config.
3346
+ # Corresponds to the JSON property `humanReviewLabelingMetadata`
3347
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata]
3348
+ attr_accessor :human_review_labeling_metadata
3349
+
3350
+ # Metadata for Human Review config.
3351
+ # Corresponds to the JSON property `humanReviewMetadata`
3352
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata]
3353
+ attr_accessor :human_review_metadata
3354
+
3355
+ # Whether the entity type should be considered as "inactive".
3356
+ # Corresponds to the JSON property `inactive`
3357
+ # @return [Boolean]
3358
+ attr_accessor :inactive
3359
+ alias_method :inactive?, :inactive
3360
+
3361
+ # If set, the properties of this entity type must be prefixed with the parents.
3362
+ # Corresponds to the JSON property `prefixedNamingOnProperties`
3363
+ # @return [Boolean]
3364
+ attr_accessor :prefixed_naming_on_properties
3365
+ alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
3366
+
3367
+ def initialize(**args)
3368
+ update!(**args)
3369
+ end
3370
+
3371
+ # Update properties of this object
3372
+ def update!(**args)
3373
+ @human_review_labeling_metadata = args[:human_review_labeling_metadata] if args.key?(:human_review_labeling_metadata)
3374
+ @human_review_metadata = args[:human_review_metadata] if args.key?(:human_review_metadata)
3375
+ @inactive = args[:inactive] if args.key?(:inactive)
3376
+ @prefixed_naming_on_properties = args[:prefixed_naming_on_properties] if args.key?(:prefixed_naming_on_properties)
3377
+ end
3378
+ end
3379
+
3148
3380
  # Response message for fetch processor types.
3149
3381
  class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
3150
3382
  include Google::Apis::Core::Hashable
@@ -3227,6 +3459,26 @@ module Google
3227
3459
  end
3228
3460
  end
3229
3461
 
3462
+ # Metadata for human review labeling config.
3463
+ class GoogleCloudDocumentaiV1HumanReviewLabelingMetadata
3464
+ include Google::Apis::Core::Hashable
3465
+
3466
+ # Whether to enable normalization editing.
3467
+ # Corresponds to the JSON property `enableNormalizationEditing`
3468
+ # @return [Boolean]
3469
+ attr_accessor :enable_normalization_editing
3470
+ alias_method :enable_normalization_editing?, :enable_normalization_editing
3471
+
3472
+ def initialize(**args)
3473
+ update!(**args)
3474
+ end
3475
+
3476
+ # Update properties of this object
3477
+ def update!(**args)
3478
+ @enable_normalization_editing = args[:enable_normalization_editing] if args.key?(:enable_normalization_editing)
3479
+ end
3480
+ end
3481
+
3230
3482
  # The status of human review on a processed document.
3231
3483
  class GoogleCloudDocumentaiV1HumanReviewStatus
3232
3484
  include Google::Apis::Core::Hashable
@@ -3261,6 +3513,32 @@ module Google
3261
3513
  end
3262
3514
  end
3263
3515
 
3516
+ # Metadata for Human Review config.
3517
+ class GoogleCloudDocumentaiV1HumanReviewValidationMetadata
3518
+ include Google::Apis::Core::Hashable
3519
+
3520
+ # The confidence threshold if human review validation is enabled.
3521
+ # Corresponds to the JSON property `confidenceThreshold`
3522
+ # @return [Float]
3523
+ attr_accessor :confidence_threshold
3524
+
3525
+ # Whether to enable human review validation.
3526
+ # Corresponds to the JSON property `enableValidation`
3527
+ # @return [Boolean]
3528
+ attr_accessor :enable_validation
3529
+ alias_method :enable_validation?, :enable_validation
3530
+
3531
+ def initialize(**args)
3532
+ update!(**args)
3533
+ end
3534
+
3535
+ # Update properties of this object
3536
+ def update!(**args)
3537
+ @confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
3538
+ @enable_validation = args[:enable_validation] if args.key?(:enable_validation)
3539
+ end
3540
+ end
3541
+
3264
3542
  # Response message for list processor types.
3265
3543
  class GoogleCloudDocumentaiV1ListProcessorTypesResponse
3266
3544
  include Google::Apis::Core::Hashable
@@ -3663,6 +3941,38 @@ module Google
3663
3941
  end
3664
3942
  end
3665
3943
 
3944
+ # Metadata about a property.
3945
+ class GoogleCloudDocumentaiV1PropertyMetadata
3946
+ include Google::Apis::Core::Hashable
3947
+
3948
+ # Metadata for human review labeling config.
3949
+ # Corresponds to the JSON property `humanReviewLabelingMetadata`
3950
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata]
3951
+ attr_accessor :human_review_labeling_metadata
3952
+
3953
+ # Metadata for Human Review config.
3954
+ # Corresponds to the JSON property `humanReviewMetadata`
3955
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata]
3956
+ attr_accessor :human_review_metadata
3957
+
3958
+ # Whether the property should be considered as "inactive".
3959
+ # Corresponds to the JSON property `inactive`
3960
+ # @return [Boolean]
3961
+ attr_accessor :inactive
3962
+ alias_method :inactive?, :inactive
3963
+
3964
+ def initialize(**args)
3965
+ update!(**args)
3966
+ end
3967
+
3968
+ # Update properties of this object
3969
+ def update!(**args)
3970
+ @human_review_labeling_metadata = args[:human_review_labeling_metadata] if args.key?(:human_review_labeling_metadata)
3971
+ @human_review_metadata = args[:human_review_metadata] if args.key?(:human_review_metadata)
3972
+ @inactive = args[:inactive] if args.key?(:inactive)
3973
+ end
3974
+ end
3975
+
3666
3976
  # Payload message of raw document content (bytes).
3667
3977
  class GoogleCloudDocumentaiV1RawDocument
3668
3978
  include Google::Apis::Core::Hashable
@@ -4191,15 +4501,6 @@ module Google
4191
4501
  # @return [String]
4192
4502
  attr_accessor :mention_text
4193
4503
 
4194
- # Optional. This attribute indicates that the processing didn't actually
4195
- # identify this entity, but a confidence score was assigned that represent the
4196
- # potential that this could be a false negative. A non-present entity should
4197
- # have an empty mention_text and text_anchor.
4198
- # Corresponds to the JSON property `nonPresent`
4199
- # @return [Boolean]
4200
- attr_accessor :non_present
4201
- alias_method :non_present?, :non_present
4202
-
4203
4504
  # Parsed and normalized entity value.
4204
4505
  # Corresponds to the JSON property `normalizedValue`
4205
4506
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
@@ -4250,7 +4551,6 @@ module Google
4250
4551
  @id = args[:id] if args.key?(:id)
4251
4552
  @mention_id = args[:mention_id] if args.key?(:mention_id)
4252
4553
  @mention_text = args[:mention_text] if args.key?(:mention_text)
4253
- @non_present = args[:non_present] if args.key?(:non_present)
4254
4554
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
4255
4555
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
4256
4556
  @properties = args[:properties] if args.key?(:properties)
@@ -6030,15 +6330,6 @@ module Google
6030
6330
  # @return [String]
6031
6331
  attr_accessor :mention_text
6032
6332
 
6033
- # Optional. This attribute indicates that the processing didn't actually
6034
- # identify this entity, but a confidence score was assigned that represent the
6035
- # potential that this could be a false negative. A non-present entity should
6036
- # have an empty mention_text and text_anchor.
6037
- # Corresponds to the JSON property `nonPresent`
6038
- # @return [Boolean]
6039
- attr_accessor :non_present
6040
- alias_method :non_present?, :non_present
6041
-
6042
6333
  # Parsed and normalized entity value.
6043
6334
  # Corresponds to the JSON property `normalizedValue`
6044
6335
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
@@ -6089,7 +6380,6 @@ module Google
6089
6380
  @id = args[:id] if args.key?(:id)
6090
6381
  @mention_id = args[:mention_id] if args.key?(:mention_id)
6091
6382
  @mention_text = args[:mention_text] if args.key?(:mention_text)
6092
- @non_present = args[:non_present] if args.key?(:non_present)
6093
6383
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
6094
6384
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
6095
6385
  @properties = args[:properties] if args.key?(:properties)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1
18
18
  # Version of the google-apis-documentai_v1 gem
19
- GEM_VERSION = "0.44.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220808"
25
+ REVISION = "20220824"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,30 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
157
181
  class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata
158
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
183
 
@@ -172,6 +196,12 @@ module Google
172
196
  include Google::Apis::Core::JsonObjectSupport
173
197
  end
174
198
 
199
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
175
205
  class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
176
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
207
 
@@ -190,7 +220,13 @@ module Google
190
220
  include Google::Apis::Core::JsonObjectSupport
191
221
  end
192
222
 
193
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
223
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus
194
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
231
 
196
232
  include Google::Apis::Core::JsonObjectSupport
@@ -628,6 +664,12 @@ module Google
628
664
  include Google::Apis::Core::JsonObjectSupport
629
665
  end
630
666
 
667
+ class GoogleCloudDocumentaiV1EntityTypeMetadata
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
631
673
  class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
632
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
633
675
 
@@ -652,12 +694,24 @@ module Google
652
694
  include Google::Apis::Core::JsonObjectSupport
653
695
  end
654
696
 
697
+ class GoogleCloudDocumentaiV1HumanReviewLabelingMetadata
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
655
703
  class GoogleCloudDocumentaiV1HumanReviewStatus
656
704
  class Representation < Google::Apis::Core::JsonRepresentation; end
657
705
 
658
706
  include Google::Apis::Core::JsonObjectSupport
659
707
  end
660
708
 
709
+ class GoogleCloudDocumentaiV1HumanReviewValidationMetadata
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
661
715
  class GoogleCloudDocumentaiV1ListProcessorTypesResponse
662
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
717
 
@@ -724,6 +778,12 @@ module Google
724
778
  include Google::Apis::Core::JsonObjectSupport
725
779
  end
726
780
 
781
+ class GoogleCloudDocumentaiV1PropertyMetadata
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
727
787
  class GoogleCloudDocumentaiV1RawDocument
728
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
729
789
 
@@ -1539,8 +1599,10 @@ module Google
1539
1599
  class Representation < Google::Apis::Core::JsonRepresentation
1540
1600
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1541
1601
 
1602
+ property :error_document_count, as: 'errorDocumentCount'
1542
1603
  collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
1543
1604
 
1605
+ property :total_document_count, as: 'totalDocumentCount'
1544
1606
  end
1545
1607
  end
1546
1608
 
@@ -1714,6 +1776,43 @@ module Google
1714
1776
  end
1715
1777
  end
1716
1778
 
1779
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata
1780
+ # @private
1781
+ class Representation < Google::Apis::Core::JsonRepresentation
1782
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1783
+
1784
+ collection :individual_export_statuses, as: 'individualExportStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus::Representation
1785
+
1786
+ collection :split_export_stats, as: 'splitExportStats', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat::Representation
1787
+
1788
+ end
1789
+ end
1790
+
1791
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus
1792
+ # @private
1793
+ class Representation < Google::Apis::Core::JsonRepresentation
1794
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1795
+
1796
+ property :output_gcs_destination, as: 'outputGcsDestination'
1797
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
1798
+
1799
+ end
1800
+ end
1801
+
1802
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat
1803
+ # @private
1804
+ class Representation < Google::Apis::Core::JsonRepresentation
1805
+ property :split_type, as: 'splitType'
1806
+ property :total_document_count, as: 'totalDocumentCount'
1807
+ end
1808
+ end
1809
+
1810
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse
1811
+ # @private
1812
+ class Representation < Google::Apis::Core::JsonRepresentation
1813
+ end
1814
+ end
1815
+
1717
1816
  class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata
1718
1817
  # @private
1719
1818
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1734,12 +1833,23 @@ module Google
1734
1833
  class Representation < Google::Apis::Core::JsonRepresentation
1735
1834
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1736
1835
 
1836
+ collection :import_config_validation_results, as: 'importConfigValidationResults', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult::Representation
1837
+
1737
1838
  collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
1738
1839
 
1739
1840
  property :total_document_count, as: 'totalDocumentCount'
1740
1841
  end
1741
1842
  end
1742
1843
 
1844
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
1845
+ # @private
1846
+ class Representation < Google::Apis::Core::JsonRepresentation
1847
+ property :input_gcs_source, as: 'inputGcsSource'
1848
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
1849
+
1850
+ end
1851
+ end
1852
+
1743
1853
  class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
1744
1854
  # @private
1745
1855
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1761,16 +1871,28 @@ module Google
1761
1871
  class Representation < Google::Apis::Core::JsonRepresentation
1762
1872
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1763
1873
 
1764
- collection :newly_added_documents, as: 'newlyAddedDocuments', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument::Representation
1874
+ collection :dataset_resync_statuses, as: 'datasetResyncStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus::Representation
1875
+
1876
+ collection :individual_document_resync_statuses, as: 'individualDocumentResyncStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus::Representation
1765
1877
 
1766
1878
  end
1767
1879
  end
1768
1880
 
1769
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
1881
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus
1770
1882
  # @private
1771
1883
  class Representation < Google::Apis::Core::JsonRepresentation
1772
- property :destination_prefix, as: 'destinationPrefix'
1773
- property :source_prefix, as: 'sourcePrefix'
1884
+ property :dataset_inconsistency_type, as: 'datasetInconsistencyType'
1885
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
1886
+
1887
+ end
1888
+ end
1889
+
1890
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus
1891
+ # @private
1892
+ class Representation < Google::Apis::Core::JsonRepresentation
1893
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1894
+
1895
+ property :document_inconsistency_type, as: 'documentInconsistencyType'
1774
1896
  property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
1775
1897
 
1776
1898
  end
@@ -2044,7 +2166,6 @@ module Google
2044
2166
  property :id, as: 'id'
2045
2167
  property :mention_id, as: 'mentionId'
2046
2168
  property :mention_text, as: 'mentionText'
2047
- property :non_present, as: 'nonPresent'
2048
2169
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue::Representation
2049
2170
 
2050
2171
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchor::Representation
@@ -2408,6 +2529,8 @@ module Google
2408
2529
  class Representation < Google::Apis::Core::JsonRepresentation
2409
2530
  collection :base_types, as: 'baseTypes'
2410
2531
  property :display_name, as: 'displayName'
2532
+ property :entity_type_metadata, as: 'entityTypeMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EntityTypeMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EntityTypeMetadata::Representation
2533
+
2411
2534
  property :enum_values, as: 'enumValues', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues::Representation
2412
2535
 
2413
2536
  property :name, as: 'name'
@@ -2428,6 +2551,8 @@ module Google
2428
2551
  class Representation < Google::Apis::Core::JsonRepresentation
2429
2552
  property :name, as: 'name'
2430
2553
  property :occurrence_type, as: 'occurrenceType'
2554
+ property :property_metadata, as: 'propertyMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1PropertyMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1PropertyMetadata::Representation
2555
+
2431
2556
  property :value_type, as: 'valueType'
2432
2557
  end
2433
2558
  end
@@ -2524,6 +2649,18 @@ module Google
2524
2649
  end
2525
2650
  end
2526
2651
 
2652
+ class GoogleCloudDocumentaiV1EntityTypeMetadata
2653
+ # @private
2654
+ class Representation < Google::Apis::Core::JsonRepresentation
2655
+ property :human_review_labeling_metadata, as: 'humanReviewLabelingMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata::Representation
2656
+
2657
+ property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata::Representation
2658
+
2659
+ property :inactive, as: 'inactive'
2660
+ property :prefixed_naming_on_properties, as: 'prefixedNamingOnProperties'
2661
+ end
2662
+ end
2663
+
2527
2664
  class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
2528
2665
  # @private
2529
2666
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2555,6 +2692,13 @@ module Google
2555
2692
  end
2556
2693
  end
2557
2694
 
2695
+ class GoogleCloudDocumentaiV1HumanReviewLabelingMetadata
2696
+ # @private
2697
+ class Representation < Google::Apis::Core::JsonRepresentation
2698
+ property :enable_normalization_editing, as: 'enableNormalizationEditing'
2699
+ end
2700
+ end
2701
+
2558
2702
  class GoogleCloudDocumentaiV1HumanReviewStatus
2559
2703
  # @private
2560
2704
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2564,6 +2708,14 @@ module Google
2564
2708
  end
2565
2709
  end
2566
2710
 
2711
+ class GoogleCloudDocumentaiV1HumanReviewValidationMetadata
2712
+ # @private
2713
+ class Representation < Google::Apis::Core::JsonRepresentation
2714
+ property :confidence_threshold, as: 'confidenceThreshold'
2715
+ property :enable_validation, as: 'enableValidation'
2716
+ end
2717
+ end
2718
+
2567
2719
  class GoogleCloudDocumentaiV1ListProcessorTypesResponse
2568
2720
  # @private
2569
2721
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2678,6 +2830,17 @@ module Google
2678
2830
  end
2679
2831
  end
2680
2832
 
2833
+ class GoogleCloudDocumentaiV1PropertyMetadata
2834
+ # @private
2835
+ class Representation < Google::Apis::Core::JsonRepresentation
2836
+ property :human_review_labeling_metadata, as: 'humanReviewLabelingMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata::Representation
2837
+
2838
+ property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata::Representation
2839
+
2840
+ property :inactive, as: 'inactive'
2841
+ end
2842
+ end
2843
+
2681
2844
  class GoogleCloudDocumentaiV1RawDocument
2682
2845
  # @private
2683
2846
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2844,7 +3007,6 @@ module Google
2844
3007
  property :id, as: 'id'
2845
3008
  property :mention_id, as: 'mentionId'
2846
3009
  property :mention_text, as: 'mentionText'
2847
- property :non_present, as: 'nonPresent'
2848
3010
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
2849
3011
 
2850
3012
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
@@ -3368,7 +3530,6 @@ module Google
3368
3530
  property :id, as: 'id'
3369
3531
  property :mention_id, as: 'mentionId'
3370
3532
  property :mention_text, as: 'mentionText'
3371
- property :non_present, as: 'nonPresent'
3372
3533
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
3373
3534
 
3374
3535
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageAnchor::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.47.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: 2022-08-15 00:00:00.000000000 Z
11
+ date: 2022-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.47.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
63
63
  post_install_message:
64
64
  rdoc_options: []