google-apis-documentai_v1beta2 0.17.0 → 0.21.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: 50650cb0eb4a856ed9ccd6bac1d82a4a4d99101851d3689ad0f2158e69e27536
4
- data.tar.gz: aea2128789ed1c6c28008845688548ebedd947f90c6ea508adde01561ba7b939
3
+ metadata.gz: c75df2601a7b464c34b25ed3a1d2783f733317bc0b3c4bd9c5ce0a2fb277d880
4
+ data.tar.gz: c05cc9a7ea05cbeff66c3b70951e900685067b516bc5eb261ccb6dec4acb8a0c
5
5
  SHA512:
6
- metadata.gz: b59b1bbbbf3b2be7410823ed9d7af4544ab2527b634be79f922996a7021271ee0163bc8d31efe104025ed375b1b8c2bda522b619c50758bcbb56b1cabe65a309
7
- data.tar.gz: 139940df84b0f59ebfe4f98d0c807f38ded22580d3fcb16a62bc52c82d398eb97fb810b3ade5528cf8e4caeae0e10ee9852ab48873b266d372cecdf22b9c163f
6
+ metadata.gz: 822be378b1986c1e44f907a29508838799ef73669ebacc361959975a4a28bc015b599ba6971947c7ca5a98627aa9b61944e259e2c722320ec54c497f477b1363
7
+ data.tar.gz: 50f503513013aaa3a889bcbb232253963908f43cadae029a6fb08a8f512e815d6fd1bcc0553a0dba90d4060cb9d84819859d9d1ac6f2d2c014d9fbd127e4d8a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.21.0 (2021-09-09)
4
+
5
+ * Regenerated from discovery document revision 20210907
6
+
7
+ ### v0.20.0 (2021-09-02)
8
+
9
+ * Regenerated from discovery document revision 20210830
10
+
11
+ ### v0.19.0 (2021-08-24)
12
+
13
+ * Regenerated from discovery document revision 20210820
14
+
15
+ ### v0.18.0 (2021-08-19)
16
+
17
+ * Regenerated from discovery document revision 20210817
18
+
3
19
  ### v0.17.0 (2021-08-03)
4
20
 
5
21
  * Regenerated from discovery document revision 20210731
@@ -22,6 +22,70 @@ module Google
22
22
  module Apis
23
23
  module DocumentaiV1beta2
24
24
 
25
+ #
26
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The common metadata for long running operations.
30
+ # Corresponds to the JSON property `commonMetadata`
31
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
32
+ attr_accessor :common_metadata
33
+
34
+ def initialize(**args)
35
+ update!(**args)
36
+ end
37
+
38
+ # Update properties of this object
39
+ def update!(**args)
40
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
41
+ end
42
+ end
43
+
44
+ # Response of the delete documents operation.
45
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse
46
+ include Google::Apis::Core::Hashable
47
+
48
+ def initialize(**args)
49
+ update!(**args)
50
+ end
51
+
52
+ # Update properties of this object
53
+ def update!(**args)
54
+ end
55
+ end
56
+
57
+ #
58
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata
59
+ include Google::Apis::Core::Hashable
60
+
61
+ # The common metadata for long running operations.
62
+ # Corresponds to the JSON property `commonMetadata`
63
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
64
+ attr_accessor :common_metadata
65
+
66
+ def initialize(**args)
67
+ update!(**args)
68
+ end
69
+
70
+ # Update properties of this object
71
+ def update!(**args)
72
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
73
+ end
74
+ end
75
+
76
+ # Response of the batch move documents operation.
77
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse
78
+ include Google::Apis::Core::Hashable
79
+
80
+ def initialize(**args)
81
+ update!(**args)
82
+ end
83
+
84
+ # Update properties of this object
85
+ def update!(**args)
86
+ end
87
+ end
88
+
25
89
  # The common metadata for long running operations.
26
90
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
27
91
  include Google::Apis::Core::Hashable
@@ -309,6 +373,38 @@ module Google
309
373
  end
310
374
  end
311
375
 
376
+ # Metadata of the import document operation.
377
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata
378
+ include Google::Apis::Core::Hashable
379
+
380
+ # The common metadata for long running operations.
381
+ # Corresponds to the JSON property `commonMetadata`
382
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
383
+ attr_accessor :common_metadata
384
+
385
+ def initialize(**args)
386
+ update!(**args)
387
+ end
388
+
389
+ # Update properties of this object
390
+ def update!(**args)
391
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
392
+ end
393
+ end
394
+
395
+ # Response of the import document operation.
396
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse
397
+ include Google::Apis::Core::Hashable
398
+
399
+ def initialize(**args)
400
+ update!(**args)
401
+ end
402
+
403
+ # Update properties of this object
404
+ def update!(**args)
405
+ end
406
+ end
407
+
312
408
  # The long running operation metadata for set default processor version method.
313
409
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
314
410
  include Google::Apis::Core::Hashable
@@ -466,6 +562,25 @@ module Google
466
562
  end
467
563
  end
468
564
 
565
+ #
566
+ class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata
567
+ include Google::Apis::Core::Hashable
568
+
569
+ # The common metadata for long running operations.
570
+ # Corresponds to the JSON property `commonMetadata`
571
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
572
+ attr_accessor :common_metadata
573
+
574
+ def initialize(**args)
575
+ update!(**args)
576
+ end
577
+
578
+ # Update properties of this object
579
+ def update!(**args)
580
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
581
+ end
582
+ end
583
+
469
584
  # The long running operation metadata for updating the human review
470
585
  # configuration.
471
586
  class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
@@ -645,6 +760,142 @@ module Google
645
760
  end
646
761
  end
647
762
 
763
+ # The long running operation metadata for delete processor method.
764
+ class GoogleCloudDocumentaiV1DeleteProcessorMetadata
765
+ include Google::Apis::Core::Hashable
766
+
767
+ # The common metadata for long running operations.
768
+ # Corresponds to the JSON property `commonMetadata`
769
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
770
+ attr_accessor :common_metadata
771
+
772
+ def initialize(**args)
773
+ update!(**args)
774
+ end
775
+
776
+ # Update properties of this object
777
+ def update!(**args)
778
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
779
+ end
780
+ end
781
+
782
+ # The long running operation metadata for delete processor version method.
783
+ class GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata
784
+ include Google::Apis::Core::Hashable
785
+
786
+ # The common metadata for long running operations.
787
+ # Corresponds to the JSON property `commonMetadata`
788
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
789
+ attr_accessor :common_metadata
790
+
791
+ def initialize(**args)
792
+ update!(**args)
793
+ end
794
+
795
+ # Update properties of this object
796
+ def update!(**args)
797
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
798
+ end
799
+ end
800
+
801
+ # The long running operation metadata for deploy processor version method.
802
+ class GoogleCloudDocumentaiV1DeployProcessorVersionMetadata
803
+ include Google::Apis::Core::Hashable
804
+
805
+ # The common metadata for long running operations.
806
+ # Corresponds to the JSON property `commonMetadata`
807
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
808
+ attr_accessor :common_metadata
809
+
810
+ def initialize(**args)
811
+ update!(**args)
812
+ end
813
+
814
+ # Update properties of this object
815
+ def update!(**args)
816
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
817
+ end
818
+ end
819
+
820
+ # Response message for the deploy processor version method.
821
+ class GoogleCloudDocumentaiV1DeployProcessorVersionResponse
822
+ include Google::Apis::Core::Hashable
823
+
824
+ def initialize(**args)
825
+ update!(**args)
826
+ end
827
+
828
+ # Update properties of this object
829
+ def update!(**args)
830
+ end
831
+ end
832
+
833
+ # The long running operation metadata for disable processor method.
834
+ class GoogleCloudDocumentaiV1DisableProcessorMetadata
835
+ include Google::Apis::Core::Hashable
836
+
837
+ # The common metadata for long running operations.
838
+ # Corresponds to the JSON property `commonMetadata`
839
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
840
+ attr_accessor :common_metadata
841
+
842
+ def initialize(**args)
843
+ update!(**args)
844
+ end
845
+
846
+ # Update properties of this object
847
+ def update!(**args)
848
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
849
+ end
850
+ end
851
+
852
+ # Response message for the disable processor method. Intentionally empty proto
853
+ # for adding fields in future.
854
+ class GoogleCloudDocumentaiV1DisableProcessorResponse
855
+ include Google::Apis::Core::Hashable
856
+
857
+ def initialize(**args)
858
+ update!(**args)
859
+ end
860
+
861
+ # Update properties of this object
862
+ def update!(**args)
863
+ end
864
+ end
865
+
866
+ # The long running operation metadata for enable processor method.
867
+ class GoogleCloudDocumentaiV1EnableProcessorMetadata
868
+ include Google::Apis::Core::Hashable
869
+
870
+ # The common metadata for long running operations.
871
+ # Corresponds to the JSON property `commonMetadata`
872
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
873
+ attr_accessor :common_metadata
874
+
875
+ def initialize(**args)
876
+ update!(**args)
877
+ end
878
+
879
+ # Update properties of this object
880
+ def update!(**args)
881
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
882
+ end
883
+ end
884
+
885
+ # Response message for the enable processor method. Intentionally empty proto
886
+ # for adding fields in future.
887
+ class GoogleCloudDocumentaiV1EnableProcessorResponse
888
+ include Google::Apis::Core::Hashable
889
+
890
+ def initialize(**args)
891
+ update!(**args)
892
+ end
893
+
894
+ # Update properties of this object
895
+ def update!(**args)
896
+ end
897
+ end
898
+
648
899
  # The status of human review on a processed document.
649
900
  class GoogleCloudDocumentaiV1HumanReviewStatus
650
901
  include Google::Apis::Core::Hashable
@@ -717,6 +968,70 @@ module Google
717
968
  end
718
969
  end
719
970
 
971
+ # The long running operation metadata for set default processor version method.
972
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
973
+ include Google::Apis::Core::Hashable
974
+
975
+ # The common metadata for long running operations.
976
+ # Corresponds to the JSON property `commonMetadata`
977
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
978
+ attr_accessor :common_metadata
979
+
980
+ def initialize(**args)
981
+ update!(**args)
982
+ end
983
+
984
+ # Update properties of this object
985
+ def update!(**args)
986
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
987
+ end
988
+ end
989
+
990
+ # Response message for set default processor version method.
991
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse
992
+ include Google::Apis::Core::Hashable
993
+
994
+ def initialize(**args)
995
+ update!(**args)
996
+ end
997
+
998
+ # Update properties of this object
999
+ def update!(**args)
1000
+ end
1001
+ end
1002
+
1003
+ # The long running operation metadata for the undeploy processor version method.
1004
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
1005
+ include Google::Apis::Core::Hashable
1006
+
1007
+ # The common metadata for long running operations.
1008
+ # Corresponds to the JSON property `commonMetadata`
1009
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
1010
+ attr_accessor :common_metadata
1011
+
1012
+ def initialize(**args)
1013
+ update!(**args)
1014
+ end
1015
+
1016
+ # Update properties of this object
1017
+ def update!(**args)
1018
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1019
+ end
1020
+ end
1021
+
1022
+ # Response message for the undeploy processor version method.
1023
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse
1024
+ include Google::Apis::Core::Hashable
1025
+
1026
+ def initialize(**args)
1027
+ update!(**args)
1028
+ end
1029
+
1030
+ # Update properties of this object
1031
+ def update!(**args)
1032
+ end
1033
+ end
1034
+
720
1035
  # Response to an batch document processing request. This is returned in the LRO
721
1036
  # Operation after the operation is complete.
722
1037
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
@@ -867,8 +1182,9 @@ module Google
867
1182
  end
868
1183
  end
869
1184
 
870
- # A phrase in the text that is a known entity type, such as a person, an
871
- # organization, or location.
1185
+ # An entity that could be a phrase in the text or a property belongs to the
1186
+ # document. It is a known entity type, such as a person, an organization, or
1187
+ # location.
872
1188
  class GoogleCloudDocumentaiV1beta1DocumentEntity
873
1189
  include Google::Apis::Core::Hashable
874
1190
 
@@ -888,7 +1204,8 @@ module Google
888
1204
  # @return [String]
889
1205
  attr_accessor :mention_id
890
1206
 
891
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
1207
+ # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
1208
+ # entity is not present in the document, this field will be empty.
892
1209
  # Corresponds to the JSON property `mentionText`
893
1210
  # @return [String]
894
1211
  attr_accessor :mention_text
@@ -1007,17 +1324,29 @@ module Google
1007
1324
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime]
1008
1325
  attr_accessor :datetime_value
1009
1326
 
1327
+ # Float value.
1328
+ # Corresponds to the JSON property `floatValue`
1329
+ # @return [Float]
1330
+ attr_accessor :float_value
1331
+
1332
+ # Integer value.
1333
+ # Corresponds to the JSON property `integerValue`
1334
+ # @return [Fixnum]
1335
+ attr_accessor :integer_value
1336
+
1010
1337
  # Represents an amount of money with its currency type.
1011
1338
  # Corresponds to the JSON property `moneyValue`
1012
1339
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeMoney]
1013
1340
  attr_accessor :money_value
1014
1341
 
1015
- # Required. Normalized entity value stored as a string. This field is populated
1016
- # for supported document type (e.g. Invoice). For some entity types, one of
1017
- # respective 'structured_value' fields may also be populated. - Money/Currency
1018
- # type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`)
1019
- # is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the
1020
- # ISO 8601 text format.
1342
+ # Optional. An optional field to store a normalized string. For some entity
1343
+ # types, one of respective 'structured_value' fields may also be populated. Also
1344
+ # not all the types of 'structured_value' will be normalized. For example, some
1345
+ # processors may not generate float or int normalized text by default. Below are
1346
+ # sample formats mapped to structured values. - Money/Currency type (`
1347
+ # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
1348
+ # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
1349
+ # 8601 text format.
1021
1350
  # Corresponds to the JSON property `text`
1022
1351
  # @return [String]
1023
1352
  attr_accessor :text
@@ -1032,6 +1361,8 @@ module Google
1032
1361
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
1033
1362
  @date_value = args[:date_value] if args.key?(:date_value)
1034
1363
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
1364
+ @float_value = args[:float_value] if args.key?(:float_value)
1365
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
1035
1366
  @money_value = args[:money_value] if args.key?(:money_value)
1036
1367
  @text = args[:text] if args.key?(:text)
1037
1368
  end
@@ -1334,6 +1665,20 @@ module Google
1334
1665
  class GoogleCloudDocumentaiV1beta1DocumentPageFormField
1335
1666
  include Google::Apis::Core::Hashable
1336
1667
 
1668
+ # Created for Labeling UI to export key text. If corrections were made to the
1669
+ # text identified by the `field_name.text_anchor`, this field will contain the
1670
+ # correction.
1671
+ # Corresponds to the JSON property `correctedKeyText`
1672
+ # @return [String]
1673
+ attr_accessor :corrected_key_text
1674
+
1675
+ # Created for Labeling UI to export value text. If corrections were made to the
1676
+ # text identified by the `field_value.text_anchor`, this field will contain the
1677
+ # correction.
1678
+ # Corresponds to the JSON property `correctedValueText`
1679
+ # @return [String]
1680
+ attr_accessor :corrected_value_text
1681
+
1337
1682
  # Visual element describing a layout unit on a page.
1338
1683
  # Corresponds to the JSON property `fieldName`
1339
1684
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
@@ -1373,6 +1718,8 @@ module Google
1373
1718
 
1374
1719
  # Update properties of this object
1375
1720
  def update!(**args)
1721
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
1722
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
1376
1723
  @field_name = args[:field_name] if args.key?(:field_name)
1377
1724
  @field_value = args[:field_value] if args.key?(:field_value)
1378
1725
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -2594,8 +2941,9 @@ module Google
2594
2941
  end
2595
2942
  end
2596
2943
 
2597
- # A phrase in the text that is a known entity type, such as a person, an
2598
- # organization, or location.
2944
+ # An entity that could be a phrase in the text or a property belongs to the
2945
+ # document. It is a known entity type, such as a person, an organization, or
2946
+ # location.
2599
2947
  class GoogleCloudDocumentaiV1beta2DocumentEntity
2600
2948
  include Google::Apis::Core::Hashable
2601
2949
 
@@ -2615,7 +2963,8 @@ module Google
2615
2963
  # @return [String]
2616
2964
  attr_accessor :mention_id
2617
2965
 
2618
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
2966
+ # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
2967
+ # entity is not present in the document, this field will be empty.
2619
2968
  # Corresponds to the JSON property `mentionText`
2620
2969
  # @return [String]
2621
2970
  attr_accessor :mention_text
@@ -2734,17 +3083,29 @@ module Google
2734
3083
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime]
2735
3084
  attr_accessor :datetime_value
2736
3085
 
3086
+ # Float value.
3087
+ # Corresponds to the JSON property `floatValue`
3088
+ # @return [Float]
3089
+ attr_accessor :float_value
3090
+
3091
+ # Integer value.
3092
+ # Corresponds to the JSON property `integerValue`
3093
+ # @return [Fixnum]
3094
+ attr_accessor :integer_value
3095
+
2737
3096
  # Represents an amount of money with its currency type.
2738
3097
  # Corresponds to the JSON property `moneyValue`
2739
3098
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeMoney]
2740
3099
  attr_accessor :money_value
2741
3100
 
2742
- # Required. Normalized entity value stored as a string. This field is populated
2743
- # for supported document type (e.g. Invoice). For some entity types, one of
2744
- # respective 'structured_value' fields may also be populated. - Money/Currency
2745
- # type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`)
2746
- # is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the
2747
- # ISO 8601 text format.
3101
+ # Optional. An optional field to store a normalized string. For some entity
3102
+ # types, one of respective 'structured_value' fields may also be populated. Also
3103
+ # not all the types of 'structured_value' will be normalized. For example, some
3104
+ # processors may not generate float or int normalized text by default. Below are
3105
+ # sample formats mapped to structured values. - Money/Currency type (`
3106
+ # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
3107
+ # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
3108
+ # 8601 text format.
2748
3109
  # Corresponds to the JSON property `text`
2749
3110
  # @return [String]
2750
3111
  attr_accessor :text
@@ -2759,6 +3120,8 @@ module Google
2759
3120
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
2760
3121
  @date_value = args[:date_value] if args.key?(:date_value)
2761
3122
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
3123
+ @float_value = args[:float_value] if args.key?(:float_value)
3124
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
2762
3125
  @money_value = args[:money_value] if args.key?(:money_value)
2763
3126
  @text = args[:text] if args.key?(:text)
2764
3127
  end
@@ -3098,6 +3461,20 @@ module Google
3098
3461
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
3099
3462
  include Google::Apis::Core::Hashable
3100
3463
 
3464
+ # Created for Labeling UI to export key text. If corrections were made to the
3465
+ # text identified by the `field_name.text_anchor`, this field will contain the
3466
+ # correction.
3467
+ # Corresponds to the JSON property `correctedKeyText`
3468
+ # @return [String]
3469
+ attr_accessor :corrected_key_text
3470
+
3471
+ # Created for Labeling UI to export value text. If corrections were made to the
3472
+ # text identified by the `field_value.text_anchor`, this field will contain the
3473
+ # correction.
3474
+ # Corresponds to the JSON property `correctedValueText`
3475
+ # @return [String]
3476
+ attr_accessor :corrected_value_text
3477
+
3101
3478
  # Visual element describing a layout unit on a page.
3102
3479
  # Corresponds to the JSON property `fieldName`
3103
3480
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
@@ -3137,6 +3514,8 @@ module Google
3137
3514
 
3138
3515
  # Update properties of this object
3139
3516
  def update!(**args)
3517
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
3518
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
3140
3519
  @field_name = args[:field_name] if args.key?(:field_name)
3141
3520
  @field_value = args[:field_value] if args.key?(:field_value)
3142
3521
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -4593,6 +4972,57 @@ module Google
4593
4972
  end
4594
4973
  end
4595
4974
 
4975
+ # The long running operation metadata for delete processor version method.
4976
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata
4977
+ include Google::Apis::Core::Hashable
4978
+
4979
+ # The common metadata for long running operations.
4980
+ # Corresponds to the JSON property `commonMetadata`
4981
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
4982
+ attr_accessor :common_metadata
4983
+
4984
+ def initialize(**args)
4985
+ update!(**args)
4986
+ end
4987
+
4988
+ # Update properties of this object
4989
+ def update!(**args)
4990
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
4991
+ end
4992
+ end
4993
+
4994
+ # The long running operation metadata for deploy processor version method.
4995
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata
4996
+ include Google::Apis::Core::Hashable
4997
+
4998
+ # The common metadata for long running operations.
4999
+ # Corresponds to the JSON property `commonMetadata`
5000
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
5001
+ attr_accessor :common_metadata
5002
+
5003
+ def initialize(**args)
5004
+ update!(**args)
5005
+ end
5006
+
5007
+ # Update properties of this object
5008
+ def update!(**args)
5009
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5010
+ end
5011
+ end
5012
+
5013
+ # Response message for the deploy processor version method.
5014
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse
5015
+ include Google::Apis::Core::Hashable
5016
+
5017
+ def initialize(**args)
5018
+ update!(**args)
5019
+ end
5020
+
5021
+ # Update properties of this object
5022
+ def update!(**args)
5023
+ end
5024
+ end
5025
+
4596
5026
  # The long running operation metadata for disable processor method.
4597
5027
  class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
4598
5028
  include Google::Apis::Core::Hashable
@@ -4756,6 +5186,70 @@ module Google
4756
5186
  end
4757
5187
  end
4758
5188
 
5189
+ # The long running operation metadata for set default processor version method.
5190
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
5191
+ include Google::Apis::Core::Hashable
5192
+
5193
+ # The common metadata for long running operations.
5194
+ # Corresponds to the JSON property `commonMetadata`
5195
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
5196
+ attr_accessor :common_metadata
5197
+
5198
+ def initialize(**args)
5199
+ update!(**args)
5200
+ end
5201
+
5202
+ # Update properties of this object
5203
+ def update!(**args)
5204
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5205
+ end
5206
+ end
5207
+
5208
+ # Response message for set default processor version method.
5209
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse
5210
+ include Google::Apis::Core::Hashable
5211
+
5212
+ def initialize(**args)
5213
+ update!(**args)
5214
+ end
5215
+
5216
+ # Update properties of this object
5217
+ def update!(**args)
5218
+ end
5219
+ end
5220
+
5221
+ # The long running operation metadata for the undeploy processor version method.
5222
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
5223
+ include Google::Apis::Core::Hashable
5224
+
5225
+ # The common metadata for long running operations.
5226
+ # Corresponds to the JSON property `commonMetadata`
5227
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
5228
+ attr_accessor :common_metadata
5229
+
5230
+ def initialize(**args)
5231
+ update!(**args)
5232
+ end
5233
+
5234
+ # Update properties of this object
5235
+ def update!(**args)
5236
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5237
+ end
5238
+ end
5239
+
5240
+ # Response message for the undeploy processor version method.
5241
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse
5242
+ include Google::Apis::Core::Hashable
5243
+
5244
+ def initialize(**args)
5245
+ update!(**args)
5246
+ end
5247
+
5248
+ # Update properties of this object
5249
+ def update!(**args)
5250
+ end
5251
+ end
5252
+
4759
5253
  # This resource represents a long-running operation that is the result of a
4760
5254
  # network API call.
4761
5255
  class GoogleLongrunningOperation
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta2
18
18
  # Version of the google-apis-documentai_v1beta2 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210731"
25
+ REVISION = "20210907"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,30 @@ module Google
22
22
  module Apis
23
23
  module DocumentaiV1beta2
24
24
 
25
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
25
49
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
26
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
51
 
@@ -112,6 +136,18 @@ module Google
112
136
  include Google::Apis::Core::JsonObjectSupport
113
137
  end
114
138
 
139
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
115
151
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
116
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
153
 
@@ -154,6 +190,12 @@ module Google
154
190
  include Google::Apis::Core::JsonObjectSupport
155
191
  end
156
192
 
193
+ class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
157
199
  class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
158
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
201
 
@@ -190,6 +232,54 @@ module Google
190
232
  include Google::Apis::Core::JsonObjectSupport
191
233
  end
192
234
 
235
+ class GoogleCloudDocumentaiV1DeleteProcessorMetadata
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudDocumentaiV1DeployProcessorVersionMetadata
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudDocumentaiV1DeployProcessorVersionResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudDocumentaiV1DisableProcessorMetadata
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleCloudDocumentaiV1DisableProcessorResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleCloudDocumentaiV1EnableProcessorMetadata
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudDocumentaiV1EnableProcessorResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
193
283
  class GoogleCloudDocumentaiV1HumanReviewStatus
194
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
285
 
@@ -208,6 +298,30 @@ module Google
208
298
  include Google::Apis::Core::JsonObjectSupport
209
299
  end
210
300
 
301
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
211
325
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
212
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
327
 
@@ -802,6 +916,24 @@ module Google
802
916
  include Google::Apis::Core::JsonObjectSupport
803
917
  end
804
918
 
919
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
925
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
931
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
805
937
  class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
806
938
  class Representation < Google::Apis::Core::JsonRepresentation; end
807
939
 
@@ -844,6 +976,30 @@ module Google
844
976
  include Google::Apis::Core::JsonObjectSupport
845
977
  end
846
978
 
979
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
985
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse
986
+ class Representation < Google::Apis::Core::JsonRepresentation; end
987
+
988
+ include Google::Apis::Core::JsonObjectSupport
989
+ end
990
+
991
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
992
+ class Representation < Google::Apis::Core::JsonRepresentation; end
993
+
994
+ include Google::Apis::Core::JsonObjectSupport
995
+ end
996
+
997
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse
998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
999
+
1000
+ include Google::Apis::Core::JsonObjectSupport
1001
+ end
1002
+
847
1003
  class GoogleLongrunningOperation
848
1004
  class Representation < Google::Apis::Core::JsonRepresentation; end
849
1005
 
@@ -898,6 +1054,34 @@ module Google
898
1054
  include Google::Apis::Core::JsonObjectSupport
899
1055
  end
900
1056
 
1057
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
1058
+ # @private
1059
+ class Representation < Google::Apis::Core::JsonRepresentation
1060
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1061
+
1062
+ end
1063
+ end
1064
+
1065
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse
1066
+ # @private
1067
+ class Representation < Google::Apis::Core::JsonRepresentation
1068
+ end
1069
+ end
1070
+
1071
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata
1072
+ # @private
1073
+ class Representation < Google::Apis::Core::JsonRepresentation
1074
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1075
+
1076
+ end
1077
+ end
1078
+
1079
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse
1080
+ # @private
1081
+ class Representation < Google::Apis::Core::JsonRepresentation
1082
+ end
1083
+ end
1084
+
901
1085
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
902
1086
  # @private
903
1087
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1012,6 +1196,20 @@ module Google
1012
1196
  end
1013
1197
  end
1014
1198
 
1199
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata
1200
+ # @private
1201
+ class Representation < Google::Apis::Core::JsonRepresentation
1202
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1203
+
1204
+ end
1205
+ end
1206
+
1207
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse
1208
+ # @private
1209
+ class Representation < Google::Apis::Core::JsonRepresentation
1210
+ end
1211
+ end
1212
+
1015
1213
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
1016
1214
  # @private
1017
1215
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1071,6 +1269,14 @@ module Google
1071
1269
  end
1072
1270
  end
1073
1271
 
1272
+ class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata
1273
+ # @private
1274
+ class Representation < Google::Apis::Core::JsonRepresentation
1275
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1276
+
1277
+ end
1278
+ end
1279
+
1074
1280
  class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
1075
1281
  # @private
1076
1282
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1127,6 +1333,64 @@ module Google
1127
1333
  end
1128
1334
  end
1129
1335
 
1336
+ class GoogleCloudDocumentaiV1DeleteProcessorMetadata
1337
+ # @private
1338
+ class Representation < Google::Apis::Core::JsonRepresentation
1339
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1340
+
1341
+ end
1342
+ end
1343
+
1344
+ class GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata
1345
+ # @private
1346
+ class Representation < Google::Apis::Core::JsonRepresentation
1347
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1348
+
1349
+ end
1350
+ end
1351
+
1352
+ class GoogleCloudDocumentaiV1DeployProcessorVersionMetadata
1353
+ # @private
1354
+ class Representation < Google::Apis::Core::JsonRepresentation
1355
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1356
+
1357
+ end
1358
+ end
1359
+
1360
+ class GoogleCloudDocumentaiV1DeployProcessorVersionResponse
1361
+ # @private
1362
+ class Representation < Google::Apis::Core::JsonRepresentation
1363
+ end
1364
+ end
1365
+
1366
+ class GoogleCloudDocumentaiV1DisableProcessorMetadata
1367
+ # @private
1368
+ class Representation < Google::Apis::Core::JsonRepresentation
1369
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1370
+
1371
+ end
1372
+ end
1373
+
1374
+ class GoogleCloudDocumentaiV1DisableProcessorResponse
1375
+ # @private
1376
+ class Representation < Google::Apis::Core::JsonRepresentation
1377
+ end
1378
+ end
1379
+
1380
+ class GoogleCloudDocumentaiV1EnableProcessorMetadata
1381
+ # @private
1382
+ class Representation < Google::Apis::Core::JsonRepresentation
1383
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1384
+
1385
+ end
1386
+ end
1387
+
1388
+ class GoogleCloudDocumentaiV1EnableProcessorResponse
1389
+ # @private
1390
+ class Representation < Google::Apis::Core::JsonRepresentation
1391
+ end
1392
+ end
1393
+
1130
1394
  class GoogleCloudDocumentaiV1HumanReviewStatus
1131
1395
  # @private
1132
1396
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1151,6 +1415,34 @@ module Google
1151
1415
  end
1152
1416
  end
1153
1417
 
1418
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
1419
+ # @private
1420
+ class Representation < Google::Apis::Core::JsonRepresentation
1421
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1422
+
1423
+ end
1424
+ end
1425
+
1426
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse
1427
+ # @private
1428
+ class Representation < Google::Apis::Core::JsonRepresentation
1429
+ end
1430
+ end
1431
+
1432
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
1433
+ # @private
1434
+ class Representation < Google::Apis::Core::JsonRepresentation
1435
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1436
+
1437
+ end
1438
+ end
1439
+
1440
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse
1441
+ # @private
1442
+ class Representation < Google::Apis::Core::JsonRepresentation
1443
+ end
1444
+ end
1445
+
1154
1446
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
1155
1447
  # @private
1156
1448
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1227,6 +1519,8 @@ module Google
1227
1519
 
1228
1520
  property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime::Representation
1229
1521
 
1522
+ property :float_value, as: 'floatValue'
1523
+ property :integer_value, as: 'integerValue'
1230
1524
  property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney::Representation
1231
1525
 
1232
1526
  property :text, as: 'text'
@@ -1327,6 +1621,8 @@ module Google
1327
1621
  class GoogleCloudDocumentaiV1beta1DocumentPageFormField
1328
1622
  # @private
1329
1623
  class Representation < Google::Apis::Core::JsonRepresentation
1624
+ property :corrected_key_text, as: 'correctedKeyText'
1625
+ property :corrected_value_text, as: 'correctedValueText'
1330
1626
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
1331
1627
 
1332
1628
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
@@ -1727,6 +2023,8 @@ module Google
1727
2023
 
1728
2024
  property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime::Representation
1729
2025
 
2026
+ property :float_value, as: 'floatValue'
2027
+ property :integer_value, as: 'integerValue'
1730
2028
  property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney::Representation
1731
2029
 
1732
2030
  property :text, as: 'text'
@@ -1836,6 +2134,8 @@ module Google
1836
2134
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
1837
2135
  # @private
1838
2136
  class Representation < Google::Apis::Core::JsonRepresentation
2137
+ property :corrected_key_text, as: 'correctedKeyText'
2138
+ property :corrected_value_text, as: 'correctedValueText'
1839
2139
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
1840
2140
 
1841
2141
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
@@ -2268,6 +2568,28 @@ module Google
2268
2568
  end
2269
2569
  end
2270
2570
 
2571
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata
2572
+ # @private
2573
+ class Representation < Google::Apis::Core::JsonRepresentation
2574
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2575
+
2576
+ end
2577
+ end
2578
+
2579
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata
2580
+ # @private
2581
+ class Representation < Google::Apis::Core::JsonRepresentation
2582
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2583
+
2584
+ end
2585
+ end
2586
+
2587
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse
2588
+ # @private
2589
+ class Representation < Google::Apis::Core::JsonRepresentation
2590
+ end
2591
+ end
2592
+
2271
2593
  class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
2272
2594
  # @private
2273
2595
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2324,6 +2646,34 @@ module Google
2324
2646
  end
2325
2647
  end
2326
2648
 
2649
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
2650
+ # @private
2651
+ class Representation < Google::Apis::Core::JsonRepresentation
2652
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2653
+
2654
+ end
2655
+ end
2656
+
2657
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse
2658
+ # @private
2659
+ class Representation < Google::Apis::Core::JsonRepresentation
2660
+ end
2661
+ end
2662
+
2663
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
2664
+ # @private
2665
+ class Representation < Google::Apis::Core::JsonRepresentation
2666
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2667
+
2668
+ end
2669
+ end
2670
+
2671
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse
2672
+ # @private
2673
+ class Representation < Google::Apis::Core::JsonRepresentation
2674
+ end
2675
+ end
2676
+
2327
2677
  class GoogleLongrunningOperation
2328
2678
  # @private
2329
2679
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -31,7 +31,7 @@ module Google
31
31
  # This is NOT the gem version.
32
32
  VERSION = 'V1beta2'
33
33
 
34
- # See, edit, configure, and delete your Google Cloud Platform data
34
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
36
36
  end
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.21.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-08-09 00:00:00.000000000 Z
11
+ date: 2021-09-13 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/master/generated/google-apis-documentai_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []