google-apis-documentai_v1beta3 0.19.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19fbc2630b5a61a32cc540165e61cf5353999d7cdc2c970e85f30b9b3c79ac60
4
- data.tar.gz: 415db239d9314eeb130244b58fe7a24eac2b5bb977cfcf33bb8f1e27372df691
3
+ metadata.gz: ab2146fb9e7bc230a34480907bb86c0c866394a16ca6af3da330a476fb83bb55
4
+ data.tar.gz: f4ad55e38402b88e4dc640c343a2f2d6dc15380a0197cc25facdece2d70291d3
5
5
  SHA512:
6
- metadata.gz: 28942c4619aa709e39f6466821adffa9e205ca30e94d0b17c7a687c3d214faa38a9f2d827cc410971cebad76cd3d9f77e2e80a97c81dd5e26397cb1339032c5a
7
- data.tar.gz: 31057e8cb87e43f37225d2d8fbd5b4bf79c0268dae7de3cf55e687dcf58fea6a45cc3f01d3d7ccf2b7556f524f61654aa69a40401426af671c4061129843ef0c
6
+ metadata.gz: 5f2e22be3ddb17534d64b228058f49c9452d03eb87af138284079cf33c6a2687146dd6424779839a9086143c4fff948c63abb8fdccd759345bdbe7d5d8e3383e
7
+ data.tar.gz: 43fa1eaaa7f0d1ae923a661127f50e968950fc1de58461473868b9663ea2517b9dc6eb1570e599c55c950268180035d69bab3da261228933be5df31676182435
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.23.0 (2021-09-09)
4
+
5
+ * Regenerated from discovery document revision 20210907
6
+
7
+ ### v0.22.0 (2021-09-02)
8
+
9
+ * Regenerated from discovery document revision 20210830
10
+
11
+ ### v0.21.0 (2021-08-24)
12
+
13
+ * Regenerated from discovery document revision 20210820
14
+
15
+ ### v0.20.0 (2021-08-19)
16
+
17
+ * Regenerated from discovery document revision 20210817
18
+
3
19
  ### v0.19.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 DocumentaiV1beta3
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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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)
@@ -2554,8 +2901,9 @@ module Google
2554
2901
  end
2555
2902
  end
2556
2903
 
2557
- # A phrase in the text that is a known entity type, such as a person, an
2558
- # organization, or location.
2904
+ # An entity that could be a phrase in the text or a property belongs to the
2905
+ # document. It is a known entity type, such as a person, an organization, or
2906
+ # location.
2559
2907
  class GoogleCloudDocumentaiV1beta2DocumentEntity
2560
2908
  include Google::Apis::Core::Hashable
2561
2909
 
@@ -2575,7 +2923,8 @@ module Google
2575
2923
  # @return [String]
2576
2924
  attr_accessor :mention_id
2577
2925
 
2578
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
2926
+ # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
2927
+ # entity is not present in the document, this field will be empty.
2579
2928
  # Corresponds to the JSON property `mentionText`
2580
2929
  # @return [String]
2581
2930
  attr_accessor :mention_text
@@ -2694,17 +3043,29 @@ module Google
2694
3043
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime]
2695
3044
  attr_accessor :datetime_value
2696
3045
 
3046
+ # Float value.
3047
+ # Corresponds to the JSON property `floatValue`
3048
+ # @return [Float]
3049
+ attr_accessor :float_value
3050
+
3051
+ # Integer value.
3052
+ # Corresponds to the JSON property `integerValue`
3053
+ # @return [Fixnum]
3054
+ attr_accessor :integer_value
3055
+
2697
3056
  # Represents an amount of money with its currency type.
2698
3057
  # Corresponds to the JSON property `moneyValue`
2699
3058
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeMoney]
2700
3059
  attr_accessor :money_value
2701
3060
 
2702
- # Required. Normalized entity value stored as a string. This field is populated
2703
- # for supported document type (e.g. Invoice). For some entity types, one of
2704
- # respective 'structured_value' fields may also be populated. - Money/Currency
2705
- # type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`)
2706
- # is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the
2707
- # ISO 8601 text format.
3061
+ # Optional. An optional field to store a normalized string. For some entity
3062
+ # types, one of respective 'structured_value' fields may also be populated. Also
3063
+ # not all the types of 'structured_value' will be normalized. For example, some
3064
+ # processors may not generate float or int normalized text by default. Below are
3065
+ # sample formats mapped to structured values. - Money/Currency type (`
3066
+ # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
3067
+ # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
3068
+ # 8601 text format.
2708
3069
  # Corresponds to the JSON property `text`
2709
3070
  # @return [String]
2710
3071
  attr_accessor :text
@@ -2719,6 +3080,8 @@ module Google
2719
3080
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
2720
3081
  @date_value = args[:date_value] if args.key?(:date_value)
2721
3082
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
3083
+ @float_value = args[:float_value] if args.key?(:float_value)
3084
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
2722
3085
  @money_value = args[:money_value] if args.key?(:money_value)
2723
3086
  @text = args[:text] if args.key?(:text)
2724
3087
  end
@@ -3058,6 +3421,20 @@ module Google
3058
3421
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
3059
3422
  include Google::Apis::Core::Hashable
3060
3423
 
3424
+ # Created for Labeling UI to export key text. If corrections were made to the
3425
+ # text identified by the `field_name.text_anchor`, this field will contain the
3426
+ # correction.
3427
+ # Corresponds to the JSON property `correctedKeyText`
3428
+ # @return [String]
3429
+ attr_accessor :corrected_key_text
3430
+
3431
+ # Created for Labeling UI to export value text. If corrections were made to the
3432
+ # text identified by the `field_value.text_anchor`, this field will contain the
3433
+ # correction.
3434
+ # Corresponds to the JSON property `correctedValueText`
3435
+ # @return [String]
3436
+ attr_accessor :corrected_value_text
3437
+
3061
3438
  # Visual element describing a layout unit on a page.
3062
3439
  # Corresponds to the JSON property `fieldName`
3063
3440
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
@@ -3097,6 +3474,8 @@ module Google
3097
3474
 
3098
3475
  # Update properties of this object
3099
3476
  def update!(**args)
3477
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
3478
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
3100
3479
  @field_name = args[:field_name] if args.key?(:field_name)
3101
3480
  @field_value = args[:field_value] if args.key?(:field_value)
3102
3481
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -4423,22 +4802,86 @@ module Google
4423
4802
  end
4424
4803
  end
4425
4804
 
4426
- # The long running operation metadata for delete processor method.
4427
- class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
4805
+ # The long running operation metadata for delete processor method.
4806
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
4807
+ include Google::Apis::Core::Hashable
4808
+
4809
+ # The common metadata for long running operations.
4810
+ # Corresponds to the JSON property `commonMetadata`
4811
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
4812
+ attr_accessor :common_metadata
4813
+
4814
+ def initialize(**args)
4815
+ update!(**args)
4816
+ end
4817
+
4818
+ # Update properties of this object
4819
+ def update!(**args)
4820
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
4821
+ end
4822
+ end
4823
+
4824
+ # The long running operation metadata for delete processor version method.
4825
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata
4826
+ include Google::Apis::Core::Hashable
4827
+
4828
+ # The common metadata for long running operations.
4829
+ # Corresponds to the JSON property `commonMetadata`
4830
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
4831
+ attr_accessor :common_metadata
4832
+
4833
+ def initialize(**args)
4834
+ update!(**args)
4835
+ end
4836
+
4837
+ # Update properties of this object
4838
+ def update!(**args)
4839
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
4840
+ end
4841
+ end
4842
+
4843
+ # The long running operation metadata for deploy processor version method.
4844
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata
4845
+ include Google::Apis::Core::Hashable
4846
+
4847
+ # The common metadata for long running operations.
4848
+ # Corresponds to the JSON property `commonMetadata`
4849
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
4850
+ attr_accessor :common_metadata
4851
+
4852
+ def initialize(**args)
4853
+ update!(**args)
4854
+ end
4855
+
4856
+ # Update properties of this object
4857
+ def update!(**args)
4858
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
4859
+ end
4860
+ end
4861
+
4862
+ # Request message for the deploy processor version method.
4863
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionRequest
4864
+ include Google::Apis::Core::Hashable
4865
+
4866
+ def initialize(**args)
4867
+ update!(**args)
4868
+ end
4869
+
4870
+ # Update properties of this object
4871
+ def update!(**args)
4872
+ end
4873
+ end
4874
+
4875
+ # Response message for the deploy processor version method.
4876
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse
4428
4877
  include Google::Apis::Core::Hashable
4429
4878
 
4430
- # The common metadata for long running operations.
4431
- # Corresponds to the JSON property `commonMetadata`
4432
- # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
4433
- attr_accessor :common_metadata
4434
-
4435
4879
  def initialize(**args)
4436
4880
  update!(**args)
4437
4881
  end
4438
4882
 
4439
4883
  # Update properties of this object
4440
4884
  def update!(**args)
4441
- @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
4442
4885
  end
4443
4886
  end
4444
4887
 
@@ -4593,8 +5036,9 @@ module Google
4593
5036
  end
4594
5037
  end
4595
5038
 
4596
- # A phrase in the text that is a known entity type, such as a person, an
4597
- # organization, or location.
5039
+ # An entity that could be a phrase in the text or a property belongs to the
5040
+ # document. It is a known entity type, such as a person, an organization, or
5041
+ # location.
4598
5042
  class GoogleCloudDocumentaiV1beta3DocumentEntity
4599
5043
  include Google::Apis::Core::Hashable
4600
5044
 
@@ -4614,7 +5058,8 @@ module Google
4614
5058
  # @return [String]
4615
5059
  attr_accessor :mention_id
4616
5060
 
4617
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
5061
+ # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
5062
+ # entity is not present in the document, this field will be empty.
4618
5063
  # Corresponds to the JSON property `mentionText`
4619
5064
  # @return [String]
4620
5065
  attr_accessor :mention_text
@@ -4733,17 +5178,29 @@ module Google
4733
5178
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime]
4734
5179
  attr_accessor :datetime_value
4735
5180
 
5181
+ # Float value.
5182
+ # Corresponds to the JSON property `floatValue`
5183
+ # @return [Float]
5184
+ attr_accessor :float_value
5185
+
5186
+ # Integer value.
5187
+ # Corresponds to the JSON property `integerValue`
5188
+ # @return [Fixnum]
5189
+ attr_accessor :integer_value
5190
+
4736
5191
  # Represents an amount of money with its currency type.
4737
5192
  # Corresponds to the JSON property `moneyValue`
4738
5193
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeMoney]
4739
5194
  attr_accessor :money_value
4740
5195
 
4741
- # Required. Normalized entity value stored as a string. This field is populated
4742
- # for supported document type (e.g. Invoice). For some entity types, one of
4743
- # respective 'structured_value' fields may also be populated. - Money/Currency
4744
- # type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`)
4745
- # is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the
4746
- # ISO 8601 text format.
5196
+ # Optional. An optional field to store a normalized string. For some entity
5197
+ # types, one of respective 'structured_value' fields may also be populated. Also
5198
+ # not all the types of 'structured_value' will be normalized. For example, some
5199
+ # processors may not generate float or int normalized text by default. Below are
5200
+ # sample formats mapped to structured values. - Money/Currency type (`
5201
+ # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
5202
+ # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
5203
+ # 8601 text format.
4747
5204
  # Corresponds to the JSON property `text`
4748
5205
  # @return [String]
4749
5206
  attr_accessor :text
@@ -4758,6 +5215,8 @@ module Google
4758
5215
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
4759
5216
  @date_value = args[:date_value] if args.key?(:date_value)
4760
5217
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
5218
+ @float_value = args[:float_value] if args.key?(:float_value)
5219
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
4761
5220
  @money_value = args[:money_value] if args.key?(:money_value)
4762
5221
  @text = args[:text] if args.key?(:text)
4763
5222
  end
@@ -5099,6 +5558,20 @@ module Google
5099
5558
  class GoogleCloudDocumentaiV1beta3DocumentPageFormField
5100
5559
  include Google::Apis::Core::Hashable
5101
5560
 
5561
+ # Created for Labeling UI to export key text. If corrections were made to the
5562
+ # text identified by the `field_name.text_anchor`, this field will contain the
5563
+ # correction.
5564
+ # Corresponds to the JSON property `correctedKeyText`
5565
+ # @return [String]
5566
+ attr_accessor :corrected_key_text
5567
+
5568
+ # Created for Labeling UI to export value text. If corrections were made to the
5569
+ # text identified by the `field_value.text_anchor`, this field will contain the
5570
+ # correction.
5571
+ # Corresponds to the JSON property `correctedValueText`
5572
+ # @return [String]
5573
+ attr_accessor :corrected_value_text
5574
+
5102
5575
  # Visual element describing a layout unit on a page.
5103
5576
  # Corresponds to the JSON property `fieldName`
5104
5577
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout]
@@ -5138,6 +5611,8 @@ module Google
5138
5611
 
5139
5612
  # Update properties of this object
5140
5613
  def update!(**args)
5614
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
5615
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
5141
5616
  @field_name = args[:field_name] if args.key?(:field_name)
5142
5617
  @field_value = args[:field_value] if args.key?(:field_value)
5143
5618
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -5996,6 +6471,104 @@ module Google
5996
6471
  end
5997
6472
  end
5998
6473
 
6474
+ # Evaluation metrics, either in aggregate or about a specific entity.
6475
+ class GoogleCloudDocumentaiV1beta3EvaluationMetrics
6476
+ include Google::Apis::Core::Hashable
6477
+
6478
+ # The calculated f1 score.
6479
+ # Corresponds to the JSON property `f1Score`
6480
+ # @return [Float]
6481
+ attr_accessor :f1_score
6482
+
6483
+ # The amount of false negatives.
6484
+ # Corresponds to the JSON property `falseNegativesCount`
6485
+ # @return [Fixnum]
6486
+ attr_accessor :false_negatives_count
6487
+
6488
+ # The amount of false positives.
6489
+ # Corresponds to the JSON property `falsePositivesCount`
6490
+ # @return [Fixnum]
6491
+ attr_accessor :false_positives_count
6492
+
6493
+ # The amount of occurrences in ground truth documents.
6494
+ # Corresponds to the JSON property `groundTruthOccurrencesCount`
6495
+ # @return [Fixnum]
6496
+ attr_accessor :ground_truth_occurrences_count
6497
+
6498
+ # The calculated precision.
6499
+ # Corresponds to the JSON property `precision`
6500
+ # @return [Float]
6501
+ attr_accessor :precision
6502
+
6503
+ # The amount of occurrences in predicted documents.
6504
+ # Corresponds to the JSON property `predictedOccurrencesCount`
6505
+ # @return [Fixnum]
6506
+ attr_accessor :predicted_occurrences_count
6507
+
6508
+ # The calculated recall.
6509
+ # Corresponds to the JSON property `recall`
6510
+ # @return [Float]
6511
+ attr_accessor :recall
6512
+
6513
+ # The amount of documents that had an occurrence of this label.
6514
+ # Corresponds to the JSON property `totalDocumentsCount`
6515
+ # @return [Fixnum]
6516
+ attr_accessor :total_documents_count
6517
+
6518
+ # The amount of true positives.
6519
+ # Corresponds to the JSON property `truePositivesCount`
6520
+ # @return [Fixnum]
6521
+ attr_accessor :true_positives_count
6522
+
6523
+ def initialize(**args)
6524
+ update!(**args)
6525
+ end
6526
+
6527
+ # Update properties of this object
6528
+ def update!(**args)
6529
+ @f1_score = args[:f1_score] if args.key?(:f1_score)
6530
+ @false_negatives_count = args[:false_negatives_count] if args.key?(:false_negatives_count)
6531
+ @false_positives_count = args[:false_positives_count] if args.key?(:false_positives_count)
6532
+ @ground_truth_occurrences_count = args[:ground_truth_occurrences_count] if args.key?(:ground_truth_occurrences_count)
6533
+ @precision = args[:precision] if args.key?(:precision)
6534
+ @predicted_occurrences_count = args[:predicted_occurrences_count] if args.key?(:predicted_occurrences_count)
6535
+ @recall = args[:recall] if args.key?(:recall)
6536
+ @total_documents_count = args[:total_documents_count] if args.key?(:total_documents_count)
6537
+ @true_positives_count = args[:true_positives_count] if args.key?(:true_positives_count)
6538
+ end
6539
+ end
6540
+
6541
+ # Gives a short summary of an evaluation, and links to the evaluation itself.
6542
+ class GoogleCloudDocumentaiV1beta3EvaluationReference
6543
+ include Google::Apis::Core::Hashable
6544
+
6545
+ # Evaluation metrics, either in aggregate or about a specific entity.
6546
+ # Corresponds to the JSON property `aggregateMetrics`
6547
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics]
6548
+ attr_accessor :aggregate_metrics
6549
+
6550
+ # The resource name of the evaluation.
6551
+ # Corresponds to the JSON property `evaluation`
6552
+ # @return [String]
6553
+ attr_accessor :evaluation
6554
+
6555
+ # The resource name of the Long Running Operation for the evaluation.
6556
+ # Corresponds to the JSON property `operation`
6557
+ # @return [String]
6558
+ attr_accessor :operation
6559
+
6560
+ def initialize(**args)
6561
+ update!(**args)
6562
+ end
6563
+
6564
+ # Update properties of this object
6565
+ def update!(**args)
6566
+ @aggregate_metrics = args[:aggregate_metrics] if args.key?(:aggregate_metrics)
6567
+ @evaluation = args[:evaluation] if args.key?(:evaluation)
6568
+ @operation = args[:operation] if args.key?(:operation)
6569
+ end
6570
+ end
6571
+
5999
6572
  # Response message for fetch processor types.
6000
6573
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
6001
6574
  include Google::Apis::Core::Hashable
@@ -6112,6 +6685,31 @@ module Google
6112
6685
  end
6113
6686
  end
6114
6687
 
6688
+ # Response message for list processors.
6689
+ class GoogleCloudDocumentaiV1beta3ListProcessorVersionsResponse
6690
+ include Google::Apis::Core::Hashable
6691
+
6692
+ # Points to the next processor, otherwise empty.
6693
+ # Corresponds to the JSON property `nextPageToken`
6694
+ # @return [String]
6695
+ attr_accessor :next_page_token
6696
+
6697
+ # The list of processors.
6698
+ # Corresponds to the JSON property `processorVersions`
6699
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion>]
6700
+ attr_accessor :processor_versions
6701
+
6702
+ def initialize(**args)
6703
+ update!(**args)
6704
+ end
6705
+
6706
+ # Update properties of this object
6707
+ def update!(**args)
6708
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6709
+ @processor_versions = args[:processor_versions] if args.key?(:processor_versions)
6710
+ end
6711
+ end
6712
+
6115
6713
  # Response message for list processors.
6116
6714
  class GoogleCloudDocumentaiV1beta3ListProcessorsResponse
6117
6715
  include Google::Apis::Core::Hashable
@@ -6330,8 +6928,7 @@ module Google
6330
6928
  include Google::Apis::Core::Hashable
6331
6929
 
6332
6930
  # Whether the processor type allows creation. If yes, user can create a
6333
- # processor of this processor type. Otherwise, user needs to require for
6334
- # whitelisting.
6931
+ # processor of this processor type. Otherwise, user needs to request access.
6335
6932
  # Corresponds to the JSON property `allowCreation`
6336
6933
  # @return [Boolean]
6337
6934
  attr_accessor :allow_creation
@@ -6391,6 +6988,61 @@ module Google
6391
6988
  end
6392
6989
  end
6393
6990
 
6991
+ # A processor version is an implementation of a processor. Each processor can
6992
+ # have multiple versions, pre-trained by Google internally or up-trained by the
6993
+ # customer. At a time, a processor can only have one default version version. So
6994
+ # the processor's behavior (when processing documents) is defined by a default
6995
+ # version.
6996
+ class GoogleCloudDocumentaiV1beta3ProcessorVersion
6997
+ include Google::Apis::Core::Hashable
6998
+
6999
+ # The time the processor version was created.
7000
+ # Corresponds to the JSON property `createTime`
7001
+ # @return [String]
7002
+ attr_accessor :create_time
7003
+
7004
+ # The display name of the processor version.
7005
+ # Corresponds to the JSON property `displayName`
7006
+ # @return [String]
7007
+ attr_accessor :display_name
7008
+
7009
+ # Gives a short summary of an evaluation, and links to the evaluation itself.
7010
+ # Corresponds to the JSON property `latestEvaluation`
7011
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference]
7012
+ attr_accessor :latest_evaluation
7013
+
7014
+ # The resource name of the processor version. Format: projects/`project`/
7015
+ # locations/`location`/processors/`processor`/processorVersions/`
7016
+ # processor_version`
7017
+ # Corresponds to the JSON property `name`
7018
+ # @return [String]
7019
+ attr_accessor :name
7020
+
7021
+ # The schema defines the output of the processed document by a processor.
7022
+ # Corresponds to the JSON property `schema`
7023
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema]
7024
+ attr_accessor :schema
7025
+
7026
+ # The state of the processor version.
7027
+ # Corresponds to the JSON property `state`
7028
+ # @return [String]
7029
+ attr_accessor :state
7030
+
7031
+ def initialize(**args)
7032
+ update!(**args)
7033
+ end
7034
+
7035
+ # Update properties of this object
7036
+ def update!(**args)
7037
+ @create_time = args[:create_time] if args.key?(:create_time)
7038
+ @display_name = args[:display_name] if args.key?(:display_name)
7039
+ @latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
7040
+ @name = args[:name] if args.key?(:name)
7041
+ @schema = args[:schema] if args.key?(:schema)
7042
+ @state = args[:state] if args.key?(:state)
7043
+ end
7044
+ end
7045
+
6394
7046
  # Payload message of raw document content (bytes).
6395
7047
  class GoogleCloudDocumentaiV1beta3RawDocument
6396
7048
  include Google::Apis::Core::Hashable
@@ -6524,6 +7176,201 @@ module Google
6524
7176
  end
6525
7177
  end
6526
7178
 
7179
+ # The schema defines the output of the processed document by a processor.
7180
+ class GoogleCloudDocumentaiV1beta3Schema
7181
+ include Google::Apis::Core::Hashable
7182
+
7183
+ # Description of the schema.
7184
+ # Corresponds to the JSON property `description`
7185
+ # @return [String]
7186
+ attr_accessor :description
7187
+
7188
+ # Display name to show to users.
7189
+ # Corresponds to the JSON property `displayName`
7190
+ # @return [String]
7191
+ attr_accessor :display_name
7192
+
7193
+ # Entity types of the schema.
7194
+ # Corresponds to the JSON property `entityTypes`
7195
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType>]
7196
+ attr_accessor :entity_types
7197
+
7198
+ def initialize(**args)
7199
+ update!(**args)
7200
+ end
7201
+
7202
+ # Update properties of this object
7203
+ def update!(**args)
7204
+ @description = args[:description] if args.key?(:description)
7205
+ @display_name = args[:display_name] if args.key?(:display_name)
7206
+ @entity_types = args[:entity_types] if args.key?(:entity_types)
7207
+ end
7208
+ end
7209
+
7210
+ # EntityType is the wrapper of a label of the corresponding model with detailed
7211
+ # attributes and limitations for entity-based processors. Multiple types can
7212
+ # also compose a dependency tree to represent nested types.
7213
+ class GoogleCloudDocumentaiV1beta3SchemaEntityType
7214
+ include Google::Apis::Core::Hashable
7215
+
7216
+ # Type of the entity. It must be one of the following: `document` - the entity
7217
+ # represents a classification of a logical document. `object` - if the entity
7218
+ # has properties it is likely an object (or or a document.) `datetime` - the
7219
+ # entity is a date or time value. `money` - the entity represents a money value
7220
+ # amount. `number` - the entity is a number - integer or floating point. `string`
7221
+ # - the entity is a string value. `boolean` - the entity is a boolean value. `
7222
+ # address` - the entity is a location address.
7223
+ # Corresponds to the JSON property `baseType`
7224
+ # @return [String]
7225
+ attr_accessor :base_type
7226
+
7227
+ # Description of the entity type.
7228
+ # Corresponds to the JSON property `description`
7229
+ # @return [String]
7230
+ attr_accessor :description
7231
+
7232
+ # If specified, lists all the possible values for this entity.
7233
+ # Corresponds to the JSON property `enumValues`
7234
+ # @return [Array<String>]
7235
+ attr_accessor :enum_values
7236
+
7237
+ # Occurrence type limits the number of times an entity type appears in the
7238
+ # document.
7239
+ # Corresponds to the JSON property `occurrenceType`
7240
+ # @return [String]
7241
+ attr_accessor :occurrence_type
7242
+
7243
+ # Describing the nested structure of an entity. An EntityType may consist of
7244
+ # several other EntityTypes. For example, in a document there can be an
7245
+ # EntityType 'ID', which consists of EntityType 'name' and 'address', with
7246
+ # corresponding attributes, such as TEXT for both types and ONCE for occurrence
7247
+ # types.
7248
+ # Corresponds to the JSON property `properties`
7249
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType>]
7250
+ attr_accessor :properties
7251
+
7252
+ # Source of this entity type.
7253
+ # Corresponds to the JSON property `source`
7254
+ # @return [String]
7255
+ attr_accessor :source
7256
+
7257
+ # Name of the type. It must be unique within the set of same level types.
7258
+ # Corresponds to the JSON property `type`
7259
+ # @return [String]
7260
+ attr_accessor :type
7261
+
7262
+ def initialize(**args)
7263
+ update!(**args)
7264
+ end
7265
+
7266
+ # Update properties of this object
7267
+ def update!(**args)
7268
+ @base_type = args[:base_type] if args.key?(:base_type)
7269
+ @description = args[:description] if args.key?(:description)
7270
+ @enum_values = args[:enum_values] if args.key?(:enum_values)
7271
+ @occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
7272
+ @properties = args[:properties] if args.key?(:properties)
7273
+ @source = args[:source] if args.key?(:source)
7274
+ @type = args[:type] if args.key?(:type)
7275
+ end
7276
+ end
7277
+
7278
+ # The long running operation metadata for set default processor version method.
7279
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
7280
+ include Google::Apis::Core::Hashable
7281
+
7282
+ # The common metadata for long running operations.
7283
+ # Corresponds to the JSON property `commonMetadata`
7284
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
7285
+ attr_accessor :common_metadata
7286
+
7287
+ def initialize(**args)
7288
+ update!(**args)
7289
+ end
7290
+
7291
+ # Update properties of this object
7292
+ def update!(**args)
7293
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
7294
+ end
7295
+ end
7296
+
7297
+ # Request message for the set default processor version method.
7298
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionRequest
7299
+ include Google::Apis::Core::Hashable
7300
+
7301
+ # Required. The resource name of child ProcessorVersion to use as default.
7302
+ # Corresponds to the JSON property `defaultProcessorVersion`
7303
+ # @return [String]
7304
+ attr_accessor :default_processor_version
7305
+
7306
+ def initialize(**args)
7307
+ update!(**args)
7308
+ end
7309
+
7310
+ # Update properties of this object
7311
+ def update!(**args)
7312
+ @default_processor_version = args[:default_processor_version] if args.key?(:default_processor_version)
7313
+ end
7314
+ end
7315
+
7316
+ # Response message for set default processor version method.
7317
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse
7318
+ include Google::Apis::Core::Hashable
7319
+
7320
+ def initialize(**args)
7321
+ update!(**args)
7322
+ end
7323
+
7324
+ # Update properties of this object
7325
+ def update!(**args)
7326
+ end
7327
+ end
7328
+
7329
+ # The long running operation metadata for the undeploy processor version method.
7330
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
7331
+ include Google::Apis::Core::Hashable
7332
+
7333
+ # The common metadata for long running operations.
7334
+ # Corresponds to the JSON property `commonMetadata`
7335
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
7336
+ attr_accessor :common_metadata
7337
+
7338
+ def initialize(**args)
7339
+ update!(**args)
7340
+ end
7341
+
7342
+ # Update properties of this object
7343
+ def update!(**args)
7344
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
7345
+ end
7346
+ end
7347
+
7348
+ # Request message for the undeploy processor version method.
7349
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionRequest
7350
+ include Google::Apis::Core::Hashable
7351
+
7352
+ def initialize(**args)
7353
+ update!(**args)
7354
+ end
7355
+
7356
+ # Update properties of this object
7357
+ def update!(**args)
7358
+ end
7359
+ end
7360
+
7361
+ # Response message for the undeploy processor version method.
7362
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse
7363
+ include Google::Apis::Core::Hashable
7364
+
7365
+ def initialize(**args)
7366
+ update!(**args)
7367
+ end
7368
+
7369
+ # Update properties of this object
7370
+ def update!(**args)
7371
+ end
7372
+ end
7373
+
6527
7374
  # A vertex represents a 2D point in the image. NOTE: the vertex coordinates are
6528
7375
  # in the same scale as the original image.
6529
7376
  class GoogleCloudDocumentaiV1beta3Vertex