google-apis-documentai_v1beta2 0.18.0 → 0.22.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffbf43c939d8c6cb5181ff820c02e15d06aa926ee2219c6772071e5fcae57673
|
4
|
+
data.tar.gz: 6ce42bf9e6cafc977551bb658d563837ee89083df2220162e5f0b6b745c8650f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bb06c797b11cb6ddecafd83eab570b00b6b4f0bdd8b11f2e9f1be69fcf07e510a951029651c076635d73646fe6c1a37224fadac21ffe2bb16cc83e3913b6012
|
7
|
+
data.tar.gz: 91875c70d6ab4dd04e41ac47d06ea8f06d9f654faef85ebe754c20a230dda0fd246f5658fbbf89afc04b4a26a9b88f01b39fb2e973e14a55e21a290be0dc2db9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta2
|
2
2
|
|
3
|
+
### v0.22.0 (2021-10-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211022
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.21.0 (2021-09-09)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210907
|
11
|
+
|
12
|
+
### v0.20.0 (2021-09-02)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210830
|
15
|
+
|
16
|
+
### v0.19.0 (2021-08-24)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210820
|
19
|
+
|
3
20
|
### v0.18.0 (2021-08-19)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210817
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Documentai service in particular.)
|
67
67
|
|
@@ -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
|
@@ -31,6 +95,11 @@ module Google
|
|
31
95
|
# @return [String]
|
32
96
|
attr_accessor :create_time
|
33
97
|
|
98
|
+
# A related resource to this operation.
|
99
|
+
# Corresponds to the JSON property `resource`
|
100
|
+
# @return [String]
|
101
|
+
attr_accessor :resource
|
102
|
+
|
34
103
|
# The state of the operation.
|
35
104
|
# Corresponds to the JSON property `state`
|
36
105
|
# @return [String]
|
@@ -53,6 +122,7 @@ module Google
|
|
53
122
|
# Update properties of this object
|
54
123
|
def update!(**args)
|
55
124
|
@create_time = args[:create_time] if args.key?(:create_time)
|
125
|
+
@resource = args[:resource] if args.key?(:resource)
|
56
126
|
@state = args[:state] if args.key?(:state)
|
57
127
|
@state_message = args[:state_message] if args.key?(:state_message)
|
58
128
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -309,6 +379,38 @@ module Google
|
|
309
379
|
end
|
310
380
|
end
|
311
381
|
|
382
|
+
# Metadata of the import document operation.
|
383
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata
|
384
|
+
include Google::Apis::Core::Hashable
|
385
|
+
|
386
|
+
# The common metadata for long running operations.
|
387
|
+
# Corresponds to the JSON property `commonMetadata`
|
388
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
389
|
+
attr_accessor :common_metadata
|
390
|
+
|
391
|
+
def initialize(**args)
|
392
|
+
update!(**args)
|
393
|
+
end
|
394
|
+
|
395
|
+
# Update properties of this object
|
396
|
+
def update!(**args)
|
397
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
398
|
+
end
|
399
|
+
end
|
400
|
+
|
401
|
+
# Response of the import document operation.
|
402
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse
|
403
|
+
include Google::Apis::Core::Hashable
|
404
|
+
|
405
|
+
def initialize(**args)
|
406
|
+
update!(**args)
|
407
|
+
end
|
408
|
+
|
409
|
+
# Update properties of this object
|
410
|
+
def update!(**args)
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
312
414
|
# The long running operation metadata for set default processor version method.
|
313
415
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
314
416
|
include Google::Apis::Core::Hashable
|
@@ -466,6 +568,25 @@ module Google
|
|
466
568
|
end
|
467
569
|
end
|
468
570
|
|
571
|
+
#
|
572
|
+
class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata
|
573
|
+
include Google::Apis::Core::Hashable
|
574
|
+
|
575
|
+
# The common metadata for long running operations.
|
576
|
+
# Corresponds to the JSON property `commonMetadata`
|
577
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
578
|
+
attr_accessor :common_metadata
|
579
|
+
|
580
|
+
def initialize(**args)
|
581
|
+
update!(**args)
|
582
|
+
end
|
583
|
+
|
584
|
+
# Update properties of this object
|
585
|
+
def update!(**args)
|
586
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
469
590
|
# The long running operation metadata for updating the human review
|
470
591
|
# configuration.
|
471
592
|
class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
|
@@ -617,6 +738,11 @@ module Google
|
|
617
738
|
# @return [String]
|
618
739
|
attr_accessor :create_time
|
619
740
|
|
741
|
+
# A related resource to this operation.
|
742
|
+
# Corresponds to the JSON property `resource`
|
743
|
+
# @return [String]
|
744
|
+
attr_accessor :resource
|
745
|
+
|
620
746
|
# The state of the operation.
|
621
747
|
# Corresponds to the JSON property `state`
|
622
748
|
# @return [String]
|
@@ -639,12 +765,149 @@ module Google
|
|
639
765
|
# Update properties of this object
|
640
766
|
def update!(**args)
|
641
767
|
@create_time = args[:create_time] if args.key?(:create_time)
|
768
|
+
@resource = args[:resource] if args.key?(:resource)
|
642
769
|
@state = args[:state] if args.key?(:state)
|
643
770
|
@state_message = args[:state_message] if args.key?(:state_message)
|
644
771
|
@update_time = args[:update_time] if args.key?(:update_time)
|
645
772
|
end
|
646
773
|
end
|
647
774
|
|
775
|
+
# The long running operation metadata for delete processor method.
|
776
|
+
class GoogleCloudDocumentaiV1DeleteProcessorMetadata
|
777
|
+
include Google::Apis::Core::Hashable
|
778
|
+
|
779
|
+
# The common metadata for long running operations.
|
780
|
+
# Corresponds to the JSON property `commonMetadata`
|
781
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
|
782
|
+
attr_accessor :common_metadata
|
783
|
+
|
784
|
+
def initialize(**args)
|
785
|
+
update!(**args)
|
786
|
+
end
|
787
|
+
|
788
|
+
# Update properties of this object
|
789
|
+
def update!(**args)
|
790
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
791
|
+
end
|
792
|
+
end
|
793
|
+
|
794
|
+
# The long running operation metadata for delete processor version method.
|
795
|
+
class GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata
|
796
|
+
include Google::Apis::Core::Hashable
|
797
|
+
|
798
|
+
# The common metadata for long running operations.
|
799
|
+
# Corresponds to the JSON property `commonMetadata`
|
800
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
|
801
|
+
attr_accessor :common_metadata
|
802
|
+
|
803
|
+
def initialize(**args)
|
804
|
+
update!(**args)
|
805
|
+
end
|
806
|
+
|
807
|
+
# Update properties of this object
|
808
|
+
def update!(**args)
|
809
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
810
|
+
end
|
811
|
+
end
|
812
|
+
|
813
|
+
# The long running operation metadata for deploy processor version method.
|
814
|
+
class GoogleCloudDocumentaiV1DeployProcessorVersionMetadata
|
815
|
+
include Google::Apis::Core::Hashable
|
816
|
+
|
817
|
+
# The common metadata for long running operations.
|
818
|
+
# Corresponds to the JSON property `commonMetadata`
|
819
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
|
820
|
+
attr_accessor :common_metadata
|
821
|
+
|
822
|
+
def initialize(**args)
|
823
|
+
update!(**args)
|
824
|
+
end
|
825
|
+
|
826
|
+
# Update properties of this object
|
827
|
+
def update!(**args)
|
828
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
829
|
+
end
|
830
|
+
end
|
831
|
+
|
832
|
+
# Response message for the deploy processor version method.
|
833
|
+
class GoogleCloudDocumentaiV1DeployProcessorVersionResponse
|
834
|
+
include Google::Apis::Core::Hashable
|
835
|
+
|
836
|
+
def initialize(**args)
|
837
|
+
update!(**args)
|
838
|
+
end
|
839
|
+
|
840
|
+
# Update properties of this object
|
841
|
+
def update!(**args)
|
842
|
+
end
|
843
|
+
end
|
844
|
+
|
845
|
+
# The long running operation metadata for disable processor method.
|
846
|
+
class GoogleCloudDocumentaiV1DisableProcessorMetadata
|
847
|
+
include Google::Apis::Core::Hashable
|
848
|
+
|
849
|
+
# The common metadata for long running operations.
|
850
|
+
# Corresponds to the JSON property `commonMetadata`
|
851
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
|
852
|
+
attr_accessor :common_metadata
|
853
|
+
|
854
|
+
def initialize(**args)
|
855
|
+
update!(**args)
|
856
|
+
end
|
857
|
+
|
858
|
+
# Update properties of this object
|
859
|
+
def update!(**args)
|
860
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
861
|
+
end
|
862
|
+
end
|
863
|
+
|
864
|
+
# Response message for the disable processor method. Intentionally empty proto
|
865
|
+
# for adding fields in future.
|
866
|
+
class GoogleCloudDocumentaiV1DisableProcessorResponse
|
867
|
+
include Google::Apis::Core::Hashable
|
868
|
+
|
869
|
+
def initialize(**args)
|
870
|
+
update!(**args)
|
871
|
+
end
|
872
|
+
|
873
|
+
# Update properties of this object
|
874
|
+
def update!(**args)
|
875
|
+
end
|
876
|
+
end
|
877
|
+
|
878
|
+
# The long running operation metadata for enable processor method.
|
879
|
+
class GoogleCloudDocumentaiV1EnableProcessorMetadata
|
880
|
+
include Google::Apis::Core::Hashable
|
881
|
+
|
882
|
+
# The common metadata for long running operations.
|
883
|
+
# Corresponds to the JSON property `commonMetadata`
|
884
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
|
885
|
+
attr_accessor :common_metadata
|
886
|
+
|
887
|
+
def initialize(**args)
|
888
|
+
update!(**args)
|
889
|
+
end
|
890
|
+
|
891
|
+
# Update properties of this object
|
892
|
+
def update!(**args)
|
893
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
894
|
+
end
|
895
|
+
end
|
896
|
+
|
897
|
+
# Response message for the enable processor method. Intentionally empty proto
|
898
|
+
# for adding fields in future.
|
899
|
+
class GoogleCloudDocumentaiV1EnableProcessorResponse
|
900
|
+
include Google::Apis::Core::Hashable
|
901
|
+
|
902
|
+
def initialize(**args)
|
903
|
+
update!(**args)
|
904
|
+
end
|
905
|
+
|
906
|
+
# Update properties of this object
|
907
|
+
def update!(**args)
|
908
|
+
end
|
909
|
+
end
|
910
|
+
|
648
911
|
# The status of human review on a processed document.
|
649
912
|
class GoogleCloudDocumentaiV1HumanReviewStatus
|
650
913
|
include Google::Apis::Core::Hashable
|
@@ -717,6 +980,70 @@ module Google
|
|
717
980
|
end
|
718
981
|
end
|
719
982
|
|
983
|
+
# The long running operation metadata for set default processor version method.
|
984
|
+
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
|
985
|
+
include Google::Apis::Core::Hashable
|
986
|
+
|
987
|
+
# The common metadata for long running operations.
|
988
|
+
# Corresponds to the JSON property `commonMetadata`
|
989
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
|
990
|
+
attr_accessor :common_metadata
|
991
|
+
|
992
|
+
def initialize(**args)
|
993
|
+
update!(**args)
|
994
|
+
end
|
995
|
+
|
996
|
+
# Update properties of this object
|
997
|
+
def update!(**args)
|
998
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
999
|
+
end
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
# Response message for set default processor version method.
|
1003
|
+
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse
|
1004
|
+
include Google::Apis::Core::Hashable
|
1005
|
+
|
1006
|
+
def initialize(**args)
|
1007
|
+
update!(**args)
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
# Update properties of this object
|
1011
|
+
def update!(**args)
|
1012
|
+
end
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
# The long running operation metadata for the undeploy processor version method.
|
1016
|
+
class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
|
1017
|
+
include Google::Apis::Core::Hashable
|
1018
|
+
|
1019
|
+
# The common metadata for long running operations.
|
1020
|
+
# Corresponds to the JSON property `commonMetadata`
|
1021
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
|
1022
|
+
attr_accessor :common_metadata
|
1023
|
+
|
1024
|
+
def initialize(**args)
|
1025
|
+
update!(**args)
|
1026
|
+
end
|
1027
|
+
|
1028
|
+
# Update properties of this object
|
1029
|
+
def update!(**args)
|
1030
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
1031
|
+
end
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
# Response message for the undeploy processor version method.
|
1035
|
+
class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse
|
1036
|
+
include Google::Apis::Core::Hashable
|
1037
|
+
|
1038
|
+
def initialize(**args)
|
1039
|
+
update!(**args)
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
# Update properties of this object
|
1043
|
+
def update!(**args)
|
1044
|
+
end
|
1045
|
+
end
|
1046
|
+
|
720
1047
|
# Response to an batch document processing request. This is returned in the LRO
|
721
1048
|
# Operation after the operation is complete.
|
722
1049
|
class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
|
@@ -867,8 +1194,9 @@ module Google
|
|
867
1194
|
end
|
868
1195
|
end
|
869
1196
|
|
870
|
-
#
|
871
|
-
# organization, or
|
1197
|
+
# An entity that could be a phrase in the text or a property belongs to the
|
1198
|
+
# document. It is a known entity type, such as a person, an organization, or
|
1199
|
+
# location.
|
872
1200
|
class GoogleCloudDocumentaiV1beta1DocumentEntity
|
873
1201
|
include Google::Apis::Core::Hashable
|
874
1202
|
|
@@ -888,7 +1216,8 @@ module Google
|
|
888
1216
|
# @return [String]
|
889
1217
|
attr_accessor :mention_id
|
890
1218
|
|
891
|
-
# Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
1219
|
+
# Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
|
1220
|
+
# entity is not present in the document, this field will be empty.
|
892
1221
|
# Corresponds to the JSON property `mentionText`
|
893
1222
|
# @return [String]
|
894
1223
|
attr_accessor :mention_text
|
@@ -1007,17 +1336,29 @@ module Google
|
|
1007
1336
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime]
|
1008
1337
|
attr_accessor :datetime_value
|
1009
1338
|
|
1339
|
+
# Float value.
|
1340
|
+
# Corresponds to the JSON property `floatValue`
|
1341
|
+
# @return [Float]
|
1342
|
+
attr_accessor :float_value
|
1343
|
+
|
1344
|
+
# Integer value.
|
1345
|
+
# Corresponds to the JSON property `integerValue`
|
1346
|
+
# @return [Fixnum]
|
1347
|
+
attr_accessor :integer_value
|
1348
|
+
|
1010
1349
|
# Represents an amount of money with its currency type.
|
1011
1350
|
# Corresponds to the JSON property `moneyValue`
|
1012
1351
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleTypeMoney]
|
1013
1352
|
attr_accessor :money_value
|
1014
1353
|
|
1015
|
-
#
|
1016
|
-
#
|
1017
|
-
#
|
1018
|
-
#
|
1019
|
-
#
|
1020
|
-
# ISO
|
1354
|
+
# Optional. An optional field to store a normalized string. For some entity
|
1355
|
+
# types, one of respective 'structured_value' fields may also be populated. Also
|
1356
|
+
# not all the types of 'structured_value' will be normalized. For example, some
|
1357
|
+
# processors may not generate float or int normalized text by default. Below are
|
1358
|
+
# sample formats mapped to structured values. - Money/Currency type (`
|
1359
|
+
# money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
|
1360
|
+
# the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
|
1361
|
+
# 8601 text format.
|
1021
1362
|
# Corresponds to the JSON property `text`
|
1022
1363
|
# @return [String]
|
1023
1364
|
attr_accessor :text
|
@@ -1032,6 +1373,8 @@ module Google
|
|
1032
1373
|
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
1033
1374
|
@date_value = args[:date_value] if args.key?(:date_value)
|
1034
1375
|
@datetime_value = args[:datetime_value] if args.key?(:datetime_value)
|
1376
|
+
@float_value = args[:float_value] if args.key?(:float_value)
|
1377
|
+
@integer_value = args[:integer_value] if args.key?(:integer_value)
|
1035
1378
|
@money_value = args[:money_value] if args.key?(:money_value)
|
1036
1379
|
@text = args[:text] if args.key?(:text)
|
1037
1380
|
end
|
@@ -1334,6 +1677,20 @@ module Google
|
|
1334
1677
|
class GoogleCloudDocumentaiV1beta1DocumentPageFormField
|
1335
1678
|
include Google::Apis::Core::Hashable
|
1336
1679
|
|
1680
|
+
# Created for Labeling UI to export key text. If corrections were made to the
|
1681
|
+
# text identified by the `field_name.text_anchor`, this field will contain the
|
1682
|
+
# correction.
|
1683
|
+
# Corresponds to the JSON property `correctedKeyText`
|
1684
|
+
# @return [String]
|
1685
|
+
attr_accessor :corrected_key_text
|
1686
|
+
|
1687
|
+
# Created for Labeling UI to export value text. If corrections were made to the
|
1688
|
+
# text identified by the `field_value.text_anchor`, this field will contain the
|
1689
|
+
# correction.
|
1690
|
+
# Corresponds to the JSON property `correctedValueText`
|
1691
|
+
# @return [String]
|
1692
|
+
attr_accessor :corrected_value_text
|
1693
|
+
|
1337
1694
|
# Visual element describing a layout unit on a page.
|
1338
1695
|
# Corresponds to the JSON property `fieldName`
|
1339
1696
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
|
@@ -1373,6 +1730,8 @@ module Google
|
|
1373
1730
|
|
1374
1731
|
# Update properties of this object
|
1375
1732
|
def update!(**args)
|
1733
|
+
@corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
|
1734
|
+
@corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
|
1376
1735
|
@field_name = args[:field_name] if args.key?(:field_name)
|
1377
1736
|
@field_value = args[:field_value] if args.key?(:field_value)
|
1378
1737
|
@name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
|
@@ -2594,8 +2953,9 @@ module Google
|
|
2594
2953
|
end
|
2595
2954
|
end
|
2596
2955
|
|
2597
|
-
#
|
2598
|
-
# organization, or
|
2956
|
+
# An entity that could be a phrase in the text or a property belongs to the
|
2957
|
+
# document. It is a known entity type, such as a person, an organization, or
|
2958
|
+
# location.
|
2599
2959
|
class GoogleCloudDocumentaiV1beta2DocumentEntity
|
2600
2960
|
include Google::Apis::Core::Hashable
|
2601
2961
|
|
@@ -2615,7 +2975,8 @@ module Google
|
|
2615
2975
|
# @return [String]
|
2616
2976
|
attr_accessor :mention_id
|
2617
2977
|
|
2618
|
-
# Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
2978
|
+
# Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
|
2979
|
+
# entity is not present in the document, this field will be empty.
|
2619
2980
|
# Corresponds to the JSON property `mentionText`
|
2620
2981
|
# @return [String]
|
2621
2982
|
attr_accessor :mention_text
|
@@ -2734,17 +3095,29 @@ module Google
|
|
2734
3095
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime]
|
2735
3096
|
attr_accessor :datetime_value
|
2736
3097
|
|
3098
|
+
# Float value.
|
3099
|
+
# Corresponds to the JSON property `floatValue`
|
3100
|
+
# @return [Float]
|
3101
|
+
attr_accessor :float_value
|
3102
|
+
|
3103
|
+
# Integer value.
|
3104
|
+
# Corresponds to the JSON property `integerValue`
|
3105
|
+
# @return [Fixnum]
|
3106
|
+
attr_accessor :integer_value
|
3107
|
+
|
2737
3108
|
# Represents an amount of money with its currency type.
|
2738
3109
|
# Corresponds to the JSON property `moneyValue`
|
2739
3110
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleTypeMoney]
|
2740
3111
|
attr_accessor :money_value
|
2741
3112
|
|
2742
|
-
#
|
2743
|
-
#
|
2744
|
-
#
|
2745
|
-
#
|
2746
|
-
#
|
2747
|
-
# ISO
|
3113
|
+
# Optional. An optional field to store a normalized string. For some entity
|
3114
|
+
# types, one of respective 'structured_value' fields may also be populated. Also
|
3115
|
+
# not all the types of 'structured_value' will be normalized. For example, some
|
3116
|
+
# processors may not generate float or int normalized text by default. Below are
|
3117
|
+
# sample formats mapped to structured values. - Money/Currency type (`
|
3118
|
+
# money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
|
3119
|
+
# the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
|
3120
|
+
# 8601 text format.
|
2748
3121
|
# Corresponds to the JSON property `text`
|
2749
3122
|
# @return [String]
|
2750
3123
|
attr_accessor :text
|
@@ -2759,6 +3132,8 @@ module Google
|
|
2759
3132
|
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
2760
3133
|
@date_value = args[:date_value] if args.key?(:date_value)
|
2761
3134
|
@datetime_value = args[:datetime_value] if args.key?(:datetime_value)
|
3135
|
+
@float_value = args[:float_value] if args.key?(:float_value)
|
3136
|
+
@integer_value = args[:integer_value] if args.key?(:integer_value)
|
2762
3137
|
@money_value = args[:money_value] if args.key?(:money_value)
|
2763
3138
|
@text = args[:text] if args.key?(:text)
|
2764
3139
|
end
|
@@ -3098,6 +3473,20 @@ module Google
|
|
3098
3473
|
class GoogleCloudDocumentaiV1beta2DocumentPageFormField
|
3099
3474
|
include Google::Apis::Core::Hashable
|
3100
3475
|
|
3476
|
+
# Created for Labeling UI to export key text. If corrections were made to the
|
3477
|
+
# text identified by the `field_name.text_anchor`, this field will contain the
|
3478
|
+
# correction.
|
3479
|
+
# Corresponds to the JSON property `correctedKeyText`
|
3480
|
+
# @return [String]
|
3481
|
+
attr_accessor :corrected_key_text
|
3482
|
+
|
3483
|
+
# Created for Labeling UI to export value text. If corrections were made to the
|
3484
|
+
# text identified by the `field_value.text_anchor`, this field will contain the
|
3485
|
+
# correction.
|
3486
|
+
# Corresponds to the JSON property `correctedValueText`
|
3487
|
+
# @return [String]
|
3488
|
+
attr_accessor :corrected_value_text
|
3489
|
+
|
3101
3490
|
# Visual element describing a layout unit on a page.
|
3102
3491
|
# Corresponds to the JSON property `fieldName`
|
3103
3492
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
|
@@ -3137,6 +3526,8 @@ module Google
|
|
3137
3526
|
|
3138
3527
|
# Update properties of this object
|
3139
3528
|
def update!(**args)
|
3529
|
+
@corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
|
3530
|
+
@corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
|
3140
3531
|
@field_name = args[:field_name] if args.key?(:field_name)
|
3141
3532
|
@field_value = args[:field_value] if args.key?(:field_value)
|
3142
3533
|
@name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
|
@@ -4546,6 +4937,11 @@ module Google
|
|
4546
4937
|
# @return [String]
|
4547
4938
|
attr_accessor :create_time
|
4548
4939
|
|
4940
|
+
# A related resource to this operation.
|
4941
|
+
# Corresponds to the JSON property `resource`
|
4942
|
+
# @return [String]
|
4943
|
+
attr_accessor :resource
|
4944
|
+
|
4549
4945
|
# The state of the operation.
|
4550
4946
|
# Corresponds to the JSON property `state`
|
4551
4947
|
# @return [String]
|
@@ -4568,6 +4964,7 @@ module Google
|
|
4568
4964
|
# Update properties of this object
|
4569
4965
|
def update!(**args)
|
4570
4966
|
@create_time = args[:create_time] if args.key?(:create_time)
|
4967
|
+
@resource = args[:resource] if args.key?(:resource)
|
4571
4968
|
@state = args[:state] if args.key?(:state)
|
4572
4969
|
@state_message = args[:state_message] if args.key?(:state_message)
|
4573
4970
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -4593,6 +4990,57 @@ module Google
|
|
4593
4990
|
end
|
4594
4991
|
end
|
4595
4992
|
|
4993
|
+
# The long running operation metadata for delete processor version method.
|
4994
|
+
class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata
|
4995
|
+
include Google::Apis::Core::Hashable
|
4996
|
+
|
4997
|
+
# The common metadata for long running operations.
|
4998
|
+
# Corresponds to the JSON property `commonMetadata`
|
4999
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
|
5000
|
+
attr_accessor :common_metadata
|
5001
|
+
|
5002
|
+
def initialize(**args)
|
5003
|
+
update!(**args)
|
5004
|
+
end
|
5005
|
+
|
5006
|
+
# Update properties of this object
|
5007
|
+
def update!(**args)
|
5008
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
5009
|
+
end
|
5010
|
+
end
|
5011
|
+
|
5012
|
+
# The long running operation metadata for deploy processor version method.
|
5013
|
+
class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata
|
5014
|
+
include Google::Apis::Core::Hashable
|
5015
|
+
|
5016
|
+
# The common metadata for long running operations.
|
5017
|
+
# Corresponds to the JSON property `commonMetadata`
|
5018
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
|
5019
|
+
attr_accessor :common_metadata
|
5020
|
+
|
5021
|
+
def initialize(**args)
|
5022
|
+
update!(**args)
|
5023
|
+
end
|
5024
|
+
|
5025
|
+
# Update properties of this object
|
5026
|
+
def update!(**args)
|
5027
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
5028
|
+
end
|
5029
|
+
end
|
5030
|
+
|
5031
|
+
# Response message for the deploy processor version method.
|
5032
|
+
class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse
|
5033
|
+
include Google::Apis::Core::Hashable
|
5034
|
+
|
5035
|
+
def initialize(**args)
|
5036
|
+
update!(**args)
|
5037
|
+
end
|
5038
|
+
|
5039
|
+
# Update properties of this object
|
5040
|
+
def update!(**args)
|
5041
|
+
end
|
5042
|
+
end
|
5043
|
+
|
4596
5044
|
# The long running operation metadata for disable processor method.
|
4597
5045
|
class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
|
4598
5046
|
include Google::Apis::Core::Hashable
|
@@ -4756,6 +5204,70 @@ module Google
|
|
4756
5204
|
end
|
4757
5205
|
end
|
4758
5206
|
|
5207
|
+
# The long running operation metadata for set default processor version method.
|
5208
|
+
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
|
5209
|
+
include Google::Apis::Core::Hashable
|
5210
|
+
|
5211
|
+
# The common metadata for long running operations.
|
5212
|
+
# Corresponds to the JSON property `commonMetadata`
|
5213
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
|
5214
|
+
attr_accessor :common_metadata
|
5215
|
+
|
5216
|
+
def initialize(**args)
|
5217
|
+
update!(**args)
|
5218
|
+
end
|
5219
|
+
|
5220
|
+
# Update properties of this object
|
5221
|
+
def update!(**args)
|
5222
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
5223
|
+
end
|
5224
|
+
end
|
5225
|
+
|
5226
|
+
# Response message for set default processor version method.
|
5227
|
+
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse
|
5228
|
+
include Google::Apis::Core::Hashable
|
5229
|
+
|
5230
|
+
def initialize(**args)
|
5231
|
+
update!(**args)
|
5232
|
+
end
|
5233
|
+
|
5234
|
+
# Update properties of this object
|
5235
|
+
def update!(**args)
|
5236
|
+
end
|
5237
|
+
end
|
5238
|
+
|
5239
|
+
# The long running operation metadata for the undeploy processor version method.
|
5240
|
+
class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
|
5241
|
+
include Google::Apis::Core::Hashable
|
5242
|
+
|
5243
|
+
# The common metadata for long running operations.
|
5244
|
+
# Corresponds to the JSON property `commonMetadata`
|
5245
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
|
5246
|
+
attr_accessor :common_metadata
|
5247
|
+
|
5248
|
+
def initialize(**args)
|
5249
|
+
update!(**args)
|
5250
|
+
end
|
5251
|
+
|
5252
|
+
# Update properties of this object
|
5253
|
+
def update!(**args)
|
5254
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
5255
|
+
end
|
5256
|
+
end
|
5257
|
+
|
5258
|
+
# Response message for the undeploy processor version method.
|
5259
|
+
class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse
|
5260
|
+
include Google::Apis::Core::Hashable
|
5261
|
+
|
5262
|
+
def initialize(**args)
|
5263
|
+
update!(**args)
|
5264
|
+
end
|
5265
|
+
|
5266
|
+
# Update properties of this object
|
5267
|
+
def update!(**args)
|
5268
|
+
end
|
5269
|
+
end
|
5270
|
+
|
4759
5271
|
# This resource represents a long-running operation that is the result of a
|
4760
5272
|
# network API call.
|
4761
5273
|
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.
|
19
|
+
GEM_VERSION = "0.22.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 = "
|
25
|
+
REVISION = "20211022"
|
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,10 +1054,39 @@ 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
|
904
1088
|
property :create_time, as: 'createTime'
|
1089
|
+
property :resource, as: 'resource'
|
905
1090
|
property :state, as: 'state'
|
906
1091
|
property :state_message, as: 'stateMessage'
|
907
1092
|
property :update_time, as: 'updateTime'
|
@@ -1012,6 +1197,20 @@ module Google
|
|
1012
1197
|
end
|
1013
1198
|
end
|
1014
1199
|
|
1200
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata
|
1201
|
+
# @private
|
1202
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1203
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1204
|
+
|
1205
|
+
end
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse
|
1209
|
+
# @private
|
1210
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1211
|
+
end
|
1212
|
+
end
|
1213
|
+
|
1015
1214
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
1016
1215
|
# @private
|
1017
1216
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1071,6 +1270,14 @@ module Google
|
|
1071
1270
|
end
|
1072
1271
|
end
|
1073
1272
|
|
1273
|
+
class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata
|
1274
|
+
# @private
|
1275
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1276
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1277
|
+
|
1278
|
+
end
|
1279
|
+
end
|
1280
|
+
|
1074
1281
|
class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
|
1075
1282
|
# @private
|
1076
1283
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1121,12 +1328,71 @@ module Google
|
|
1121
1328
|
# @private
|
1122
1329
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1123
1330
|
property :create_time, as: 'createTime'
|
1331
|
+
property :resource, as: 'resource'
|
1124
1332
|
property :state, as: 'state'
|
1125
1333
|
property :state_message, as: 'stateMessage'
|
1126
1334
|
property :update_time, as: 'updateTime'
|
1127
1335
|
end
|
1128
1336
|
end
|
1129
1337
|
|
1338
|
+
class GoogleCloudDocumentaiV1DeleteProcessorMetadata
|
1339
|
+
# @private
|
1340
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1341
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
|
1342
|
+
|
1343
|
+
end
|
1344
|
+
end
|
1345
|
+
|
1346
|
+
class GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata
|
1347
|
+
# @private
|
1348
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1349
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
|
1350
|
+
|
1351
|
+
end
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
class GoogleCloudDocumentaiV1DeployProcessorVersionMetadata
|
1355
|
+
# @private
|
1356
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1357
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
|
1358
|
+
|
1359
|
+
end
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
class GoogleCloudDocumentaiV1DeployProcessorVersionResponse
|
1363
|
+
# @private
|
1364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1365
|
+
end
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
class GoogleCloudDocumentaiV1DisableProcessorMetadata
|
1369
|
+
# @private
|
1370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1371
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
|
1372
|
+
|
1373
|
+
end
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
class GoogleCloudDocumentaiV1DisableProcessorResponse
|
1377
|
+
# @private
|
1378
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1379
|
+
end
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
class GoogleCloudDocumentaiV1EnableProcessorMetadata
|
1383
|
+
# @private
|
1384
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1385
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
|
1386
|
+
|
1387
|
+
end
|
1388
|
+
end
|
1389
|
+
|
1390
|
+
class GoogleCloudDocumentaiV1EnableProcessorResponse
|
1391
|
+
# @private
|
1392
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1393
|
+
end
|
1394
|
+
end
|
1395
|
+
|
1130
1396
|
class GoogleCloudDocumentaiV1HumanReviewStatus
|
1131
1397
|
# @private
|
1132
1398
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1151,6 +1417,34 @@ module Google
|
|
1151
1417
|
end
|
1152
1418
|
end
|
1153
1419
|
|
1420
|
+
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
|
1421
|
+
# @private
|
1422
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1423
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
|
1424
|
+
|
1425
|
+
end
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse
|
1429
|
+
# @private
|
1430
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1431
|
+
end
|
1432
|
+
end
|
1433
|
+
|
1434
|
+
class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
|
1435
|
+
# @private
|
1436
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1437
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
|
1438
|
+
|
1439
|
+
end
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse
|
1443
|
+
# @private
|
1444
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1445
|
+
end
|
1446
|
+
end
|
1447
|
+
|
1154
1448
|
class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
|
1155
1449
|
# @private
|
1156
1450
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1227,6 +1521,8 @@ module Google
|
|
1227
1521
|
|
1228
1522
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime::Representation
|
1229
1523
|
|
1524
|
+
property :float_value, as: 'floatValue'
|
1525
|
+
property :integer_value, as: 'integerValue'
|
1230
1526
|
property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney::Representation
|
1231
1527
|
|
1232
1528
|
property :text, as: 'text'
|
@@ -1327,6 +1623,8 @@ module Google
|
|
1327
1623
|
class GoogleCloudDocumentaiV1beta1DocumentPageFormField
|
1328
1624
|
# @private
|
1329
1625
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1626
|
+
property :corrected_key_text, as: 'correctedKeyText'
|
1627
|
+
property :corrected_value_text, as: 'correctedValueText'
|
1330
1628
|
property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
|
1331
1629
|
|
1332
1630
|
property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
|
@@ -1727,6 +2025,8 @@ module Google
|
|
1727
2025
|
|
1728
2026
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime::Representation
|
1729
2027
|
|
2028
|
+
property :float_value, as: 'floatValue'
|
2029
|
+
property :integer_value, as: 'integerValue'
|
1730
2030
|
property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney::Representation
|
1731
2031
|
|
1732
2032
|
property :text, as: 'text'
|
@@ -1836,6 +2136,8 @@ module Google
|
|
1836
2136
|
class GoogleCloudDocumentaiV1beta2DocumentPageFormField
|
1837
2137
|
# @private
|
1838
2138
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2139
|
+
property :corrected_key_text, as: 'correctedKeyText'
|
2140
|
+
property :corrected_value_text, as: 'correctedValueText'
|
1839
2141
|
property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
|
1840
2142
|
|
1841
2143
|
property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
|
@@ -2254,6 +2556,7 @@ module Google
|
|
2254
2556
|
# @private
|
2255
2557
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2256
2558
|
property :create_time, as: 'createTime'
|
2559
|
+
property :resource, as: 'resource'
|
2257
2560
|
property :state, as: 'state'
|
2258
2561
|
property :state_message, as: 'stateMessage'
|
2259
2562
|
property :update_time, as: 'updateTime'
|
@@ -2268,6 +2571,28 @@ module Google
|
|
2268
2571
|
end
|
2269
2572
|
end
|
2270
2573
|
|
2574
|
+
class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata
|
2575
|
+
# @private
|
2576
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2577
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
2578
|
+
|
2579
|
+
end
|
2580
|
+
end
|
2581
|
+
|
2582
|
+
class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata
|
2583
|
+
# @private
|
2584
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2585
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
2586
|
+
|
2587
|
+
end
|
2588
|
+
end
|
2589
|
+
|
2590
|
+
class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse
|
2591
|
+
# @private
|
2592
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2593
|
+
end
|
2594
|
+
end
|
2595
|
+
|
2271
2596
|
class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
|
2272
2597
|
# @private
|
2273
2598
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2324,6 +2649,34 @@ module Google
|
|
2324
2649
|
end
|
2325
2650
|
end
|
2326
2651
|
|
2652
|
+
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
|
2653
|
+
# @private
|
2654
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2655
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
2656
|
+
|
2657
|
+
end
|
2658
|
+
end
|
2659
|
+
|
2660
|
+
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse
|
2661
|
+
# @private
|
2662
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2663
|
+
end
|
2664
|
+
end
|
2665
|
+
|
2666
|
+
class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
|
2667
|
+
# @private
|
2668
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2669
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
2670
|
+
|
2671
|
+
end
|
2672
|
+
end
|
2673
|
+
|
2674
|
+
class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse
|
2675
|
+
# @private
|
2676
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2677
|
+
end
|
2678
|
+
end
|
2679
|
+
|
2327
2680
|
class GoogleLongrunningOperation
|
2328
2681
|
# @private
|
2329
2682
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.
|
4
|
+
version: 0.22.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-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta2/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.22.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|