google-apis-documentai_v1 0.45.0 → 0.46.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: c7258fbe9a863d41ea9b5c3b41bf55e3db1d19a889b0448070cfa0a75bb4f1a4
4
- data.tar.gz: f1b6db776db2629f8453bb745fe3a922e288efe1717b66a5c7e8e0248816c00d
3
+ metadata.gz: 05d1f48f0656bb10c90faf86437891a14b6b2e7745991b8b71f343be4b641691
4
+ data.tar.gz: 15718f1014bd9e610d68804baa7d068f1de1858ed97119ef3d3723a5ffc5409a
5
5
  SHA512:
6
- metadata.gz: a2d85a45e95956e368b9cf426aef5b74354447323acf38d9f6bf816e6de732b137c0577e3ee31fa446c057a23d1560ed68d1e8df6dbcf3e5036494ce329996a6
7
- data.tar.gz: 550cee6c5e44293b7b22914607da2f3ed86eb095ca136993ba71dbc3f5a879926c74d9bca86adbffcaaa716a9137913a7ae9347189966d39ebb11f9d9a57d89d
6
+ metadata.gz: b07dbfcb46f7313ad3c7d9c21f69f1d89bd0b83345ab7079b87a88c4291886b146183db0d938ea602a68f31bd09a4af4e6c11e8f151e67899870df7649d855dc
7
+ data.tar.gz: f11b44be93c1db1d81b636ec51ca5162fbba6d2305be8a92ef81eb3afade6e987df2ea7feb63ce013bab056b229c998730848a1a157fa8a99ed9706fc28695f3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.46.0 (2022-08-25)
4
+
5
+ * Regenerated from discovery document revision 20220821
6
+
3
7
  ### v0.45.0 (2022-08-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20220815
@@ -31,6 +31,11 @@ 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>]
@@ -48,6 +53,7 @@ module Google
48
53
  # Update properties of this object
49
54
  def update!(**args)
50
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)
51
57
  @individual_batch_delete_statuses = args[:individual_batch_delete_statuses] if args.key?(:individual_batch_delete_statuses)
52
58
  @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
53
59
  end
@@ -577,9 +583,9 @@ module Google
577
583
  end
578
584
  end
579
585
 
580
- # The validation status of each import config. Status is ok if the configuration
581
- # is valid and the specified documents are valid for importing. Otherwise status
582
- # will be set as errors.
586
+ # The validation status of each import config. Status is set to errors if there
587
+ # is no documents to import in the import_config, or OK if the operation will
588
+ # try to proceed at least one document.
583
589
  class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
584
590
  include Google::Apis::Core::Hashable
585
591
 
@@ -680,12 +686,6 @@ module Google
680
686
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus>]
681
687
  attr_accessor :individual_document_resync_statuses
682
688
 
683
- # Returns the newly added document Cloud Storage prefix if the documents are
684
- # founded in Cloud Storage while not in Document Service storage.
685
- # Corresponds to the JSON property `newlyAddedDocuments`
686
- # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument>]
687
- attr_accessor :newly_added_documents
688
-
689
689
  def initialize(**args)
690
690
  update!(**args)
691
691
  end
@@ -695,7 +695,6 @@ module Google
695
695
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
696
696
  @dataset_resync_statuses = args[:dataset_resync_statuses] if args.key?(:dataset_resync_statuses)
697
697
  @individual_document_resync_statuses = args[:individual_document_resync_statuses] if args.key?(:individual_document_resync_statuses)
698
- @newly_added_documents = args[:newly_added_documents] if args.key?(:newly_added_documents)
699
698
  end
700
699
  end
701
700
 
@@ -765,44 +764,6 @@ module Google
765
764
  end
766
765
  end
767
766
 
768
- # The proto for updated document in resync pipeline.
769
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
770
- include Google::Apis::Core::Hashable
771
-
772
- # The prefix of cloud storage, identifies the destination document which should
773
- # be updated by resync pipeline.
774
- # Corresponds to the JSON property `destinationPrefix`
775
- # @return [String]
776
- attr_accessor :destination_prefix
777
-
778
- # The prefix of cloud storage, identifies the original document which should be
779
- # updated by resync pipeline.
780
- # Corresponds to the JSON property `sourcePrefix`
781
- # @return [String]
782
- attr_accessor :source_prefix
783
-
784
- # The `Status` type defines a logical error model that is suitable for different
785
- # programming environments, including REST APIs and RPC APIs. It is used by [
786
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
787
- # data: error code, error message, and error details. You can find out more
788
- # about this error model and how to work with it in the [API Design Guide](https:
789
- # //cloud.google.com/apis/design/errors).
790
- # Corresponds to the JSON property `status`
791
- # @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
792
- attr_accessor :status
793
-
794
- def initialize(**args)
795
- update!(**args)
796
- end
797
-
798
- # Update properties of this object
799
- def update!(**args)
800
- @destination_prefix = args[:destination_prefix] if args.key?(:destination_prefix)
801
- @source_prefix = args[:source_prefix] if args.key?(:source_prefix)
802
- @status = args[:status] if args.key?(:status)
803
- end
804
- end
805
-
806
767
  # The response proto of ResyncDataset method.
807
768
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
808
769
  include Google::Apis::Core::Hashable
@@ -2791,6 +2752,11 @@ module Google
2791
2752
  # @return [String]
2792
2753
  attr_accessor :display_name
2793
2754
 
2755
+ # Metadata about an entity type.
2756
+ # Corresponds to the JSON property `entityTypeMetadata`
2757
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EntityTypeMetadata]
2758
+ attr_accessor :entity_type_metadata
2759
+
2794
2760
  # Defines the a list of enum values.
2795
2761
  # Corresponds to the JSON property `enumValues`
2796
2762
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues]
@@ -2821,6 +2787,7 @@ module Google
2821
2787
  def update!(**args)
2822
2788
  @base_types = args[:base_types] if args.key?(:base_types)
2823
2789
  @display_name = args[:display_name] if args.key?(:display_name)
2790
+ @entity_type_metadata = args[:entity_type_metadata] if args.key?(:entity_type_metadata)
2824
2791
  @enum_values = args[:enum_values] if args.key?(:enum_values)
2825
2792
  @name = args[:name] if args.key?(:name)
2826
2793
  @properties = args[:properties] if args.key?(:properties)
@@ -2861,6 +2828,11 @@ module Google
2861
2828
  # @return [String]
2862
2829
  attr_accessor :occurrence_type
2863
2830
 
2831
+ # Metadata about a property.
2832
+ # Corresponds to the JSON property `propertyMetadata`
2833
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1PropertyMetadata]
2834
+ attr_accessor :property_metadata
2835
+
2864
2836
  # A reference to the value type of the property. This type is subject to the
2865
2837
  # same conventions as the `Entity.base_types` field.
2866
2838
  # Corresponds to the JSON property `valueType`
@@ -2875,6 +2847,7 @@ module Google
2875
2847
  def update!(**args)
2876
2848
  @name = args[:name] if args.key?(:name)
2877
2849
  @occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
2850
+ @property_metadata = args[:property_metadata] if args.key?(:property_metadata)
2878
2851
  @value_type = args[:value_type] if args.key?(:value_type)
2879
2852
  end
2880
2853
  end
@@ -3259,6 +3232,45 @@ module Google
3259
3232
  end
3260
3233
  end
3261
3234
 
3235
+ # Metadata about an entity type.
3236
+ class GoogleCloudDocumentaiV1EntityTypeMetadata
3237
+ include Google::Apis::Core::Hashable
3238
+
3239
+ # Metadata for human review labeling config.
3240
+ # Corresponds to the JSON property `humanReviewLabelingMetadata`
3241
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata]
3242
+ attr_accessor :human_review_labeling_metadata
3243
+
3244
+ # Metadata for Human Review config.
3245
+ # Corresponds to the JSON property `humanReviewMetadata`
3246
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata]
3247
+ attr_accessor :human_review_metadata
3248
+
3249
+ # Whether the entity type should be considered as "inactive".
3250
+ # Corresponds to the JSON property `inactive`
3251
+ # @return [Boolean]
3252
+ attr_accessor :inactive
3253
+ alias_method :inactive?, :inactive
3254
+
3255
+ # If set, the properties of this entity type must be prefixed with the parents.
3256
+ # Corresponds to the JSON property `prefixedNamingOnProperties`
3257
+ # @return [Boolean]
3258
+ attr_accessor :prefixed_naming_on_properties
3259
+ alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
3260
+
3261
+ def initialize(**args)
3262
+ update!(**args)
3263
+ end
3264
+
3265
+ # Update properties of this object
3266
+ def update!(**args)
3267
+ @human_review_labeling_metadata = args[:human_review_labeling_metadata] if args.key?(:human_review_labeling_metadata)
3268
+ @human_review_metadata = args[:human_review_metadata] if args.key?(:human_review_metadata)
3269
+ @inactive = args[:inactive] if args.key?(:inactive)
3270
+ @prefixed_naming_on_properties = args[:prefixed_naming_on_properties] if args.key?(:prefixed_naming_on_properties)
3271
+ end
3272
+ end
3273
+
3262
3274
  # Response message for fetch processor types.
3263
3275
  class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
3264
3276
  include Google::Apis::Core::Hashable
@@ -3341,6 +3353,26 @@ module Google
3341
3353
  end
3342
3354
  end
3343
3355
 
3356
+ # Metadata for human review labeling config.
3357
+ class GoogleCloudDocumentaiV1HumanReviewLabelingMetadata
3358
+ include Google::Apis::Core::Hashable
3359
+
3360
+ # Whether to enable normalization editing.
3361
+ # Corresponds to the JSON property `enableNormalizationEditing`
3362
+ # @return [Boolean]
3363
+ attr_accessor :enable_normalization_editing
3364
+ alias_method :enable_normalization_editing?, :enable_normalization_editing
3365
+
3366
+ def initialize(**args)
3367
+ update!(**args)
3368
+ end
3369
+
3370
+ # Update properties of this object
3371
+ def update!(**args)
3372
+ @enable_normalization_editing = args[:enable_normalization_editing] if args.key?(:enable_normalization_editing)
3373
+ end
3374
+ end
3375
+
3344
3376
  # The status of human review on a processed document.
3345
3377
  class GoogleCloudDocumentaiV1HumanReviewStatus
3346
3378
  include Google::Apis::Core::Hashable
@@ -3375,6 +3407,32 @@ module Google
3375
3407
  end
3376
3408
  end
3377
3409
 
3410
+ # Metadata for Human Review config.
3411
+ class GoogleCloudDocumentaiV1HumanReviewValidationMetadata
3412
+ include Google::Apis::Core::Hashable
3413
+
3414
+ # The confidence threshold if human review validation is enabled.
3415
+ # Corresponds to the JSON property `confidenceThreshold`
3416
+ # @return [Float]
3417
+ attr_accessor :confidence_threshold
3418
+
3419
+ # Whether to enable human review validation.
3420
+ # Corresponds to the JSON property `enableValidation`
3421
+ # @return [Boolean]
3422
+ attr_accessor :enable_validation
3423
+ alias_method :enable_validation?, :enable_validation
3424
+
3425
+ def initialize(**args)
3426
+ update!(**args)
3427
+ end
3428
+
3429
+ # Update properties of this object
3430
+ def update!(**args)
3431
+ @confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
3432
+ @enable_validation = args[:enable_validation] if args.key?(:enable_validation)
3433
+ end
3434
+ end
3435
+
3378
3436
  # Response message for list processor types.
3379
3437
  class GoogleCloudDocumentaiV1ListProcessorTypesResponse
3380
3438
  include Google::Apis::Core::Hashable
@@ -3777,6 +3835,38 @@ module Google
3777
3835
  end
3778
3836
  end
3779
3837
 
3838
+ # Metadata about a property.
3839
+ class GoogleCloudDocumentaiV1PropertyMetadata
3840
+ include Google::Apis::Core::Hashable
3841
+
3842
+ # Metadata for human review labeling config.
3843
+ # Corresponds to the JSON property `humanReviewLabelingMetadata`
3844
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata]
3845
+ attr_accessor :human_review_labeling_metadata
3846
+
3847
+ # Metadata for Human Review config.
3848
+ # Corresponds to the JSON property `humanReviewMetadata`
3849
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata]
3850
+ attr_accessor :human_review_metadata
3851
+
3852
+ # Whether the property should be considered as "inactive".
3853
+ # Corresponds to the JSON property `inactive`
3854
+ # @return [Boolean]
3855
+ attr_accessor :inactive
3856
+ alias_method :inactive?, :inactive
3857
+
3858
+ def initialize(**args)
3859
+ update!(**args)
3860
+ end
3861
+
3862
+ # Update properties of this object
3863
+ def update!(**args)
3864
+ @human_review_labeling_metadata = args[:human_review_labeling_metadata] if args.key?(:human_review_labeling_metadata)
3865
+ @human_review_metadata = args[:human_review_metadata] if args.key?(:human_review_metadata)
3866
+ @inactive = args[:inactive] if args.key?(:inactive)
3867
+ end
3868
+ end
3869
+
3780
3870
  # Payload message of raw document content (bytes).
3781
3871
  class GoogleCloudDocumentaiV1RawDocument
3782
3872
  include Google::Apis::Core::Hashable
@@ -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.45.0"
19
+ GEM_VERSION = "0.46.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 = "20220815"
25
+ REVISION = "20220821"
26
26
  end
27
27
  end
28
28
  end
@@ -208,12 +208,6 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
211
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
218
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
213
 
@@ -646,6 +640,12 @@ module Google
646
640
  include Google::Apis::Core::JsonObjectSupport
647
641
  end
648
642
 
643
+ class GoogleCloudDocumentaiV1EntityTypeMetadata
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
649
  class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
650
650
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
651
 
@@ -670,12 +670,24 @@ module Google
670
670
  include Google::Apis::Core::JsonObjectSupport
671
671
  end
672
672
 
673
+ class GoogleCloudDocumentaiV1HumanReviewLabelingMetadata
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
673
679
  class GoogleCloudDocumentaiV1HumanReviewStatus
674
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
675
681
 
676
682
  include Google::Apis::Core::JsonObjectSupport
677
683
  end
678
684
 
685
+ class GoogleCloudDocumentaiV1HumanReviewValidationMetadata
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
679
691
  class GoogleCloudDocumentaiV1ListProcessorTypesResponse
680
692
  class Representation < Google::Apis::Core::JsonRepresentation; end
681
693
 
@@ -742,6 +754,12 @@ module Google
742
754
  include Google::Apis::Core::JsonObjectSupport
743
755
  end
744
756
 
757
+ class GoogleCloudDocumentaiV1PropertyMetadata
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
745
763
  class GoogleCloudDocumentaiV1RawDocument
746
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
747
765
 
@@ -1557,6 +1575,7 @@ module Google
1557
1575
  class Representation < Google::Apis::Core::JsonRepresentation
1558
1576
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1559
1577
 
1578
+ property :error_document_count, as: 'errorDocumentCount'
1560
1579
  collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
1561
1580
 
1562
1581
  property :total_document_count, as: 'totalDocumentCount'
@@ -1795,8 +1814,6 @@ module Google
1795
1814
 
1796
1815
  collection :individual_document_resync_statuses, as: 'individualDocumentResyncStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus::Representation
1797
1816
 
1798
- collection :newly_added_documents, as: 'newlyAddedDocuments', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument::Representation
1799
-
1800
1817
  end
1801
1818
  end
1802
1819
 
@@ -1820,16 +1837,6 @@ module Google
1820
1837
  end
1821
1838
  end
1822
1839
 
1823
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
1824
- # @private
1825
- class Representation < Google::Apis::Core::JsonRepresentation
1826
- property :destination_prefix, as: 'destinationPrefix'
1827
- property :source_prefix, as: 'sourcePrefix'
1828
- property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
1829
-
1830
- end
1831
- end
1832
-
1833
1840
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
1834
1841
  # @private
1835
1842
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2461,6 +2468,8 @@ module Google
2461
2468
  class Representation < Google::Apis::Core::JsonRepresentation
2462
2469
  collection :base_types, as: 'baseTypes'
2463
2470
  property :display_name, as: 'displayName'
2471
+ property :entity_type_metadata, as: 'entityTypeMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EntityTypeMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EntityTypeMetadata::Representation
2472
+
2464
2473
  property :enum_values, as: 'enumValues', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues::Representation
2465
2474
 
2466
2475
  property :name, as: 'name'
@@ -2481,6 +2490,8 @@ module Google
2481
2490
  class Representation < Google::Apis::Core::JsonRepresentation
2482
2491
  property :name, as: 'name'
2483
2492
  property :occurrence_type, as: 'occurrenceType'
2493
+ property :property_metadata, as: 'propertyMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1PropertyMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1PropertyMetadata::Representation
2494
+
2484
2495
  property :value_type, as: 'valueType'
2485
2496
  end
2486
2497
  end
@@ -2577,6 +2588,18 @@ module Google
2577
2588
  end
2578
2589
  end
2579
2590
 
2591
+ class GoogleCloudDocumentaiV1EntityTypeMetadata
2592
+ # @private
2593
+ class Representation < Google::Apis::Core::JsonRepresentation
2594
+ property :human_review_labeling_metadata, as: 'humanReviewLabelingMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata::Representation
2595
+
2596
+ property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata::Representation
2597
+
2598
+ property :inactive, as: 'inactive'
2599
+ property :prefixed_naming_on_properties, as: 'prefixedNamingOnProperties'
2600
+ end
2601
+ end
2602
+
2580
2603
  class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
2581
2604
  # @private
2582
2605
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2608,6 +2631,13 @@ module Google
2608
2631
  end
2609
2632
  end
2610
2633
 
2634
+ class GoogleCloudDocumentaiV1HumanReviewLabelingMetadata
2635
+ # @private
2636
+ class Representation < Google::Apis::Core::JsonRepresentation
2637
+ property :enable_normalization_editing, as: 'enableNormalizationEditing'
2638
+ end
2639
+ end
2640
+
2611
2641
  class GoogleCloudDocumentaiV1HumanReviewStatus
2612
2642
  # @private
2613
2643
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2617,6 +2647,14 @@ module Google
2617
2647
  end
2618
2648
  end
2619
2649
 
2650
+ class GoogleCloudDocumentaiV1HumanReviewValidationMetadata
2651
+ # @private
2652
+ class Representation < Google::Apis::Core::JsonRepresentation
2653
+ property :confidence_threshold, as: 'confidenceThreshold'
2654
+ property :enable_validation, as: 'enableValidation'
2655
+ end
2656
+ end
2657
+
2620
2658
  class GoogleCloudDocumentaiV1ListProcessorTypesResponse
2621
2659
  # @private
2622
2660
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2731,6 +2769,17 @@ module Google
2731
2769
  end
2732
2770
  end
2733
2771
 
2772
+ class GoogleCloudDocumentaiV1PropertyMetadata
2773
+ # @private
2774
+ class Representation < Google::Apis::Core::JsonRepresentation
2775
+ property :human_review_labeling_metadata, as: 'humanReviewLabelingMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata::Representation
2776
+
2777
+ property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata::Representation
2778
+
2779
+ property :inactive, as: 'inactive'
2780
+ end
2781
+ end
2782
+
2734
2783
  class GoogleCloudDocumentaiV1RawDocument
2735
2784
  # @private
2736
2785
  class Representation < Google::Apis::Core::JsonRepresentation
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.45.0
4
+ version: 0.46.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-22 00:00:00.000000000 Z
11
+ date: 2022-08-29 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.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.46.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: []