google-apis-documentai_v1beta2 0.18.0 → 0.19.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: 90384f499143c0c9171eca28192a550f2298d649b517e11e39f56e99987374ee
4
- data.tar.gz: a73293e91b70eea22a40ba87b38afc6481c9abcc91ff9b821eb5481d66e03964
3
+ metadata.gz: '086cf12ca692b27a41dfb7e2b208ad5c94b42cc81f126f22a4168a67082ad145'
4
+ data.tar.gz: 9418da7d84456a08f8fe09bd7550b57bb9b6dbd1df25e1e8e0f2a4bfd332086e
5
5
  SHA512:
6
- metadata.gz: 2f09d0b4584f5a266e50afda9273803cf47d56c3bf41ee0959dc39637b0791f4cd1ffefde1f8f3c860ea6e3c631378808a0a9cd3d5c779713373096d34d2ade0
7
- data.tar.gz: 14a5db5fd7a9f594e9d2b16a1badc0621bc0324fe16401558b8827b5b898bd5e06ea8118c4e6104ae41f4a97e62345ea262ec966af5b63d6c21aafae22da3e58
6
+ metadata.gz: 222670088a4daf4a35bb8cc7651670c8f24daa1661c371de3b0a7df796cb9b1ea90e39a521b800f499820029dca065b65bf0797f18253f0d3eb4b78f8b41666b
7
+ data.tar.gz: 651af310409f874dcf057de6536b51d5cf264605ab4b6844abd3d3594c8f76f53ce6debfb3c5a9f130be6a99488085fe13fe77ad36b0e93baba47d058e8812c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.19.0 (2021-08-24)
4
+
5
+ * Regenerated from discovery document revision 20210820
6
+
3
7
  ### v0.18.0 (2021-08-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20210817
@@ -22,6 +22,70 @@ module Google
22
22
  module Apis
23
23
  module DocumentaiV1beta2
24
24
 
25
+ #
26
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The common metadata for long running operations.
30
+ # Corresponds to the JSON property `commonMetadata`
31
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
32
+ attr_accessor :common_metadata
33
+
34
+ def initialize(**args)
35
+ update!(**args)
36
+ end
37
+
38
+ # Update properties of this object
39
+ def update!(**args)
40
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
41
+ end
42
+ end
43
+
44
+ # Response of the delete documents operation.
45
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse
46
+ include Google::Apis::Core::Hashable
47
+
48
+ def initialize(**args)
49
+ update!(**args)
50
+ end
51
+
52
+ # Update properties of this object
53
+ def update!(**args)
54
+ end
55
+ end
56
+
57
+ #
58
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata
59
+ include Google::Apis::Core::Hashable
60
+
61
+ # The common metadata for long running operations.
62
+ # Corresponds to the JSON property `commonMetadata`
63
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
64
+ attr_accessor :common_metadata
65
+
66
+ def initialize(**args)
67
+ update!(**args)
68
+ end
69
+
70
+ # Update properties of this object
71
+ def update!(**args)
72
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
73
+ end
74
+ end
75
+
76
+ # Response of the batch move documents operation.
77
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse
78
+ include Google::Apis::Core::Hashable
79
+
80
+ def initialize(**args)
81
+ update!(**args)
82
+ end
83
+
84
+ # Update properties of this object
85
+ def update!(**args)
86
+ end
87
+ end
88
+
25
89
  # The common metadata for long running operations.
26
90
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
27
91
  include Google::Apis::Core::Hashable
@@ -309,6 +373,38 @@ module Google
309
373
  end
310
374
  end
311
375
 
376
+ # Metadata of the import document operation.
377
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata
378
+ include Google::Apis::Core::Hashable
379
+
380
+ # The common metadata for long running operations.
381
+ # Corresponds to the JSON property `commonMetadata`
382
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
383
+ attr_accessor :common_metadata
384
+
385
+ def initialize(**args)
386
+ update!(**args)
387
+ end
388
+
389
+ # Update properties of this object
390
+ def update!(**args)
391
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
392
+ end
393
+ end
394
+
395
+ # Response of the import document operation.
396
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse
397
+ include Google::Apis::Core::Hashable
398
+
399
+ def initialize(**args)
400
+ update!(**args)
401
+ end
402
+
403
+ # Update properties of this object
404
+ def update!(**args)
405
+ end
406
+ end
407
+
312
408
  # The long running operation metadata for set default processor version method.
313
409
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
314
410
  include Google::Apis::Core::Hashable
@@ -466,6 +562,25 @@ module Google
466
562
  end
467
563
  end
468
564
 
565
+ #
566
+ class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata
567
+ include Google::Apis::Core::Hashable
568
+
569
+ # The common metadata for long running operations.
570
+ # Corresponds to the JSON property `commonMetadata`
571
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
572
+ attr_accessor :common_metadata
573
+
574
+ def initialize(**args)
575
+ update!(**args)
576
+ end
577
+
578
+ # Update properties of this object
579
+ def update!(**args)
580
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
581
+ end
582
+ end
583
+
469
584
  # The long running operation metadata for updating the human review
470
585
  # configuration.
471
586
  class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
@@ -867,8 +982,9 @@ module Google
867
982
  end
868
983
  end
869
984
 
870
- # A phrase in the text that is a known entity type, such as a person, an
871
- # organization, or location.
985
+ # An entity that could be a phrase in the text or a property belongs to the
986
+ # document. It is a known entity type, such as a person, an organization, or
987
+ # location.
872
988
  class GoogleCloudDocumentaiV1beta1DocumentEntity
873
989
  include Google::Apis::Core::Hashable
874
990
 
@@ -888,7 +1004,8 @@ module Google
888
1004
  # @return [String]
889
1005
  attr_accessor :mention_id
890
1006
 
891
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
1007
+ # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
1008
+ # entity is not present in the document, this field will be empty.
892
1009
  # Corresponds to the JSON property `mentionText`
893
1010
  # @return [String]
894
1011
  attr_accessor :mention_text
@@ -1007,17 +1124,29 @@ module Google
1007
1124
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime]
1008
1125
  attr_accessor :datetime_value
1009
1126
 
1127
+ # Float value.
1128
+ # Corresponds to the JSON property `floatValue`
1129
+ # @return [Float]
1130
+ attr_accessor :float_value
1131
+
1132
+ # Integer value.
1133
+ # Corresponds to the JSON property `integerValue`
1134
+ # @return [Fixnum]
1135
+ attr_accessor :integer_value
1136
+
1010
1137
  # Represents an amount of money with its currency type.
1011
1138
  # Corresponds to the JSON property `moneyValue`
1012
1139
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeMoney]
1013
1140
  attr_accessor :money_value
1014
1141
 
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.
1142
+ # Optional. An optional field to store a normalized string. For some entity
1143
+ # types, one of respective 'structured_value' fields may also be populated. Also
1144
+ # not all the types of 'structured_value' will be normalized. For example, some
1145
+ # processors may not generate float or int normalized text by default. Below are
1146
+ # sample formats mapped to structured values. - Money/Currency type (`
1147
+ # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
1148
+ # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
1149
+ # 8601 text format.
1021
1150
  # Corresponds to the JSON property `text`
1022
1151
  # @return [String]
1023
1152
  attr_accessor :text
@@ -1032,6 +1161,8 @@ module Google
1032
1161
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
1033
1162
  @date_value = args[:date_value] if args.key?(:date_value)
1034
1163
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
1164
+ @float_value = args[:float_value] if args.key?(:float_value)
1165
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
1035
1166
  @money_value = args[:money_value] if args.key?(:money_value)
1036
1167
  @text = args[:text] if args.key?(:text)
1037
1168
  end
@@ -2594,8 +2725,9 @@ module Google
2594
2725
  end
2595
2726
  end
2596
2727
 
2597
- # A phrase in the text that is a known entity type, such as a person, an
2598
- # organization, or location.
2728
+ # An entity that could be a phrase in the text or a property belongs to the
2729
+ # document. It is a known entity type, such as a person, an organization, or
2730
+ # location.
2599
2731
  class GoogleCloudDocumentaiV1beta2DocumentEntity
2600
2732
  include Google::Apis::Core::Hashable
2601
2733
 
@@ -2615,7 +2747,8 @@ module Google
2615
2747
  # @return [String]
2616
2748
  attr_accessor :mention_id
2617
2749
 
2618
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
2750
+ # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
2751
+ # entity is not present in the document, this field will be empty.
2619
2752
  # Corresponds to the JSON property `mentionText`
2620
2753
  # @return [String]
2621
2754
  attr_accessor :mention_text
@@ -2734,17 +2867,29 @@ module Google
2734
2867
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime]
2735
2868
  attr_accessor :datetime_value
2736
2869
 
2870
+ # Float value.
2871
+ # Corresponds to the JSON property `floatValue`
2872
+ # @return [Float]
2873
+ attr_accessor :float_value
2874
+
2875
+ # Integer value.
2876
+ # Corresponds to the JSON property `integerValue`
2877
+ # @return [Fixnum]
2878
+ attr_accessor :integer_value
2879
+
2737
2880
  # Represents an amount of money with its currency type.
2738
2881
  # Corresponds to the JSON property `moneyValue`
2739
2882
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeMoney]
2740
2883
  attr_accessor :money_value
2741
2884
 
2742
- # Required. Normalized entity value stored as a string. This field is populated
2743
- # for supported document type (e.g. Invoice). For some entity types, one of
2744
- # respective 'structured_value' fields may also be populated. - Money/Currency
2745
- # type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`)
2746
- # is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the
2747
- # ISO 8601 text format.
2885
+ # Optional. An optional field to store a normalized string. For some entity
2886
+ # types, one of respective 'structured_value' fields may also be populated. Also
2887
+ # not all the types of 'structured_value' will be normalized. For example, some
2888
+ # processors may not generate float or int normalized text by default. Below are
2889
+ # sample formats mapped to structured values. - Money/Currency type (`
2890
+ # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
2891
+ # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
2892
+ # 8601 text format.
2748
2893
  # Corresponds to the JSON property `text`
2749
2894
  # @return [String]
2750
2895
  attr_accessor :text
@@ -2759,6 +2904,8 @@ module Google
2759
2904
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
2760
2905
  @date_value = args[:date_value] if args.key?(:date_value)
2761
2906
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
2907
+ @float_value = args[:float_value] if args.key?(:float_value)
2908
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
2762
2909
  @money_value = args[:money_value] if args.key?(:money_value)
2763
2910
  @text = args[:text] if args.key?(:text)
2764
2911
  end
@@ -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.18.0"
19
+ GEM_VERSION = "0.19.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 = "20210817"
25
+ REVISION = "20210820"
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
 
@@ -898,6 +940,34 @@ module Google
898
940
  include Google::Apis::Core::JsonObjectSupport
899
941
  end
900
942
 
943
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
944
+ # @private
945
+ class Representation < Google::Apis::Core::JsonRepresentation
946
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
947
+
948
+ end
949
+ end
950
+
951
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse
952
+ # @private
953
+ class Representation < Google::Apis::Core::JsonRepresentation
954
+ end
955
+ end
956
+
957
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata
958
+ # @private
959
+ class Representation < Google::Apis::Core::JsonRepresentation
960
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
961
+
962
+ end
963
+ end
964
+
965
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse
966
+ # @private
967
+ class Representation < Google::Apis::Core::JsonRepresentation
968
+ end
969
+ end
970
+
901
971
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
902
972
  # @private
903
973
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1012,6 +1082,20 @@ module Google
1012
1082
  end
1013
1083
  end
1014
1084
 
1085
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata
1086
+ # @private
1087
+ class Representation < Google::Apis::Core::JsonRepresentation
1088
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1089
+
1090
+ end
1091
+ end
1092
+
1093
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse
1094
+ # @private
1095
+ class Representation < Google::Apis::Core::JsonRepresentation
1096
+ end
1097
+ end
1098
+
1015
1099
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
1016
1100
  # @private
1017
1101
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1071,6 +1155,14 @@ module Google
1071
1155
  end
1072
1156
  end
1073
1157
 
1158
+ class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata
1159
+ # @private
1160
+ class Representation < Google::Apis::Core::JsonRepresentation
1161
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1162
+
1163
+ end
1164
+ end
1165
+
1074
1166
  class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
1075
1167
  # @private
1076
1168
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1227,6 +1319,8 @@ module Google
1227
1319
 
1228
1320
  property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime::Representation
1229
1321
 
1322
+ property :float_value, as: 'floatValue'
1323
+ property :integer_value, as: 'integerValue'
1230
1324
  property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney::Representation
1231
1325
 
1232
1326
  property :text, as: 'text'
@@ -1727,6 +1821,8 @@ module Google
1727
1821
 
1728
1822
  property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeDateTime::Representation
1729
1823
 
1824
+ property :float_value, as: 'floatValue'
1825
+ property :integer_value, as: 'integerValue'
1730
1826
  property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeMoney::Representation
1731
1827
 
1732
1828
  property :text, as: 'text'
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.18.0
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-23 00:00:00.000000000 Z
11
+ date: 2021-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.19.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []