google-apis-documentai_v1beta2 0.11.0 → 0.15.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: 5988418ff0eabd721c442162a90b9713c639a860bc41a611f39698c618251ee6
|
4
|
+
data.tar.gz: 978762ef5e570dccab3ea6703d5aecee489915f02179f5a971ac892594541ced
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0001c8f13b793846400784c3f88503cf573e3e7e91213251cb171411bcd2126fea1f6eeb862f1f64ebe6e38da34f79ddcc88969949ce7ae64b1d3a05957d9ca4
|
7
|
+
data.tar.gz: f1f3d070923448dc2b7058d67d55a3af019c0bf19606241e20c523cf0fc4fcbf5e4b715989e65834a38c6c890adea69fd47bbc804b6b7775b2f100cc70fa1b5a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta2
|
2
2
|
|
3
|
+
### v0.15.0 (2021-07-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210709
|
6
|
+
|
7
|
+
### v0.14.0 (2021-06-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210625
|
10
|
+
* Regenerated using generator version 0.4.0
|
11
|
+
|
12
|
+
### v0.13.0 (2021-06-24)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.12.0 (2021-06-09)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210607
|
19
|
+
|
3
20
|
### v0.11.0 (2021-06-03)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210527
|
@@ -271,6 +271,44 @@ module Google
|
|
271
271
|
end
|
272
272
|
end
|
273
273
|
|
274
|
+
# Metadata message associated with the ExportProcessorVersion operation.
|
275
|
+
class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata
|
276
|
+
include Google::Apis::Core::Hashable
|
277
|
+
|
278
|
+
# The common metadata for long running operations.
|
279
|
+
# Corresponds to the JSON property `commonMetadata`
|
280
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
281
|
+
attr_accessor :common_metadata
|
282
|
+
|
283
|
+
def initialize(**args)
|
284
|
+
update!(**args)
|
285
|
+
end
|
286
|
+
|
287
|
+
# Update properties of this object
|
288
|
+
def update!(**args)
|
289
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
# Response message associated with the ExportProcessorVersion operation.
|
294
|
+
class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse
|
295
|
+
include Google::Apis::Core::Hashable
|
296
|
+
|
297
|
+
# The Cloud Storage URI containing the output artifacts.
|
298
|
+
# Corresponds to the JSON property `gcsUri`
|
299
|
+
# @return [String]
|
300
|
+
attr_accessor :gcs_uri
|
301
|
+
|
302
|
+
def initialize(**args)
|
303
|
+
update!(**args)
|
304
|
+
end
|
305
|
+
|
306
|
+
# Update properties of this object
|
307
|
+
def update!(**args)
|
308
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
274
312
|
# The long running operation metadata for set default processor version method.
|
275
313
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
276
314
|
include Google::Apis::Core::Hashable
|
@@ -1084,6 +1122,12 @@ module Google
|
|
1084
1122
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageParagraph>]
|
1085
1123
|
attr_accessor :paragraphs
|
1086
1124
|
|
1125
|
+
# Structure to identify provenance relationships between annotations in
|
1126
|
+
# different revisions.
|
1127
|
+
# Corresponds to the JSON property `provenance`
|
1128
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance]
|
1129
|
+
attr_accessor :provenance
|
1130
|
+
|
1087
1131
|
# A list of visually detected tables on the page.
|
1088
1132
|
# Corresponds to the JSON property `tables`
|
1089
1133
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable>]
|
@@ -1121,6 +1165,7 @@ module Google
|
|
1121
1165
|
@lines = args[:lines] if args.key?(:lines)
|
1122
1166
|
@page_number = args[:page_number] if args.key?(:page_number)
|
1123
1167
|
@paragraphs = args[:paragraphs] if args.key?(:paragraphs)
|
1168
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
1124
1169
|
@tables = args[:tables] if args.key?(:tables)
|
1125
1170
|
@tokens = args[:tokens] if args.key?(:tokens)
|
1126
1171
|
@transforms = args[:transforms] if args.key?(:transforms)
|
@@ -1174,7 +1219,9 @@ module Google
|
|
1174
1219
|
attr_accessor :layout_type
|
1175
1220
|
|
1176
1221
|
# Required. Index into the Document.pages element, for example using Document.
|
1177
|
-
# pages to locate the related page element.
|
1222
|
+
# pages to locate the related page element. This field is skipped when its value
|
1223
|
+
# is the default 0. See https://developers.google.com/protocol-buffers/docs/
|
1224
|
+
# proto3#json.
|
1178
1225
|
# Corresponds to the JSON property `page`
|
1179
1226
|
# @return [Fixnum]
|
1180
1227
|
attr_accessor :page
|
@@ -1302,6 +1349,12 @@ module Google
|
|
1302
1349
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
|
1303
1350
|
attr_accessor :name_detected_languages
|
1304
1351
|
|
1352
|
+
# Structure to identify provenance relationships between annotations in
|
1353
|
+
# different revisions.
|
1354
|
+
# Corresponds to the JSON property `provenance`
|
1355
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance]
|
1356
|
+
attr_accessor :provenance
|
1357
|
+
|
1305
1358
|
# A list of detected languages for value together with confidence.
|
1306
1359
|
# Corresponds to the JSON property `valueDetectedLanguages`
|
1307
1360
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
|
@@ -1323,6 +1376,7 @@ module Google
|
|
1323
1376
|
@field_name = args[:field_name] if args.key?(:field_name)
|
1324
1377
|
@field_value = args[:field_value] if args.key?(:field_value)
|
1325
1378
|
@name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
|
1379
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
1326
1380
|
@value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
|
1327
1381
|
@value_type = args[:value_type] if args.key?(:value_type)
|
1328
1382
|
end
|
@@ -2832,6 +2886,12 @@ module Google
|
|
2832
2886
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageParagraph>]
|
2833
2887
|
attr_accessor :paragraphs
|
2834
2888
|
|
2889
|
+
# Structure to identify provenance relationships between annotations in
|
2890
|
+
# different revisions.
|
2891
|
+
# Corresponds to the JSON property `provenance`
|
2892
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance]
|
2893
|
+
attr_accessor :provenance
|
2894
|
+
|
2835
2895
|
# A list of visually detected tables on the page.
|
2836
2896
|
# Corresponds to the JSON property `tables`
|
2837
2897
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable>]
|
@@ -2869,6 +2929,7 @@ module Google
|
|
2869
2929
|
@lines = args[:lines] if args.key?(:lines)
|
2870
2930
|
@page_number = args[:page_number] if args.key?(:page_number)
|
2871
2931
|
@paragraphs = args[:paragraphs] if args.key?(:paragraphs)
|
2932
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
2872
2933
|
@tables = args[:tables] if args.key?(:tables)
|
2873
2934
|
@tokens = args[:tokens] if args.key?(:tokens)
|
2874
2935
|
@transforms = args[:transforms] if args.key?(:transforms)
|
@@ -2922,7 +2983,9 @@ module Google
|
|
2922
2983
|
attr_accessor :layout_type
|
2923
2984
|
|
2924
2985
|
# Required. Index into the Document.pages element, for example using Document.
|
2925
|
-
# pages to locate the related page element.
|
2986
|
+
# pages to locate the related page element. This field is skipped when its value
|
2987
|
+
# is the default 0. See https://developers.google.com/protocol-buffers/docs/
|
2988
|
+
# proto3#json.
|
2926
2989
|
# Corresponds to the JSON property `page`
|
2927
2990
|
# @return [Fixnum]
|
2928
2991
|
attr_accessor :page
|
@@ -3050,6 +3113,12 @@ module Google
|
|
3050
3113
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
|
3051
3114
|
attr_accessor :name_detected_languages
|
3052
3115
|
|
3116
|
+
# Structure to identify provenance relationships between annotations in
|
3117
|
+
# different revisions.
|
3118
|
+
# Corresponds to the JSON property `provenance`
|
3119
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance]
|
3120
|
+
attr_accessor :provenance
|
3121
|
+
|
3053
3122
|
# A list of detected languages for value together with confidence.
|
3054
3123
|
# Corresponds to the JSON property `valueDetectedLanguages`
|
3055
3124
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
|
@@ -3071,6 +3140,7 @@ module Google
|
|
3071
3140
|
@field_name = args[:field_name] if args.key?(:field_name)
|
3072
3141
|
@field_value = args[:field_value] if args.key?(:field_value)
|
3073
3142
|
@name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
|
3143
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
3074
3144
|
@value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
|
3075
3145
|
@value_type = args[:value_type] if args.key?(:value_type)
|
3076
3146
|
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.
|
19
|
+
GEM_VERSION = "0.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210709"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,18 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
103
115
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
104
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
117
|
|
@@ -985,6 +997,21 @@ module Google
|
|
985
997
|
end
|
986
998
|
end
|
987
999
|
|
1000
|
+
class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata
|
1001
|
+
# @private
|
1002
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1003
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1004
|
+
|
1005
|
+
end
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse
|
1009
|
+
# @private
|
1010
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1011
|
+
property :gcs_uri, as: 'gcsUri'
|
1012
|
+
end
|
1013
|
+
end
|
1014
|
+
|
988
1015
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
989
1016
|
# @private
|
990
1017
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1235,6 +1262,8 @@ module Google
|
|
1235
1262
|
property :page_number, as: 'pageNumber'
|
1236
1263
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageParagraph::Representation
|
1237
1264
|
|
1265
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
1266
|
+
|
1238
1267
|
collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable::Representation
|
1239
1268
|
|
1240
1269
|
collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken::Representation
|
@@ -1304,6 +1333,8 @@ module Google
|
|
1304
1333
|
|
1305
1334
|
collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
|
1306
1335
|
|
1336
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
1337
|
+
|
1307
1338
|
collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
|
1308
1339
|
|
1309
1340
|
property :value_type, as: 'valueType'
|
@@ -1740,6 +1771,8 @@ module Google
|
|
1740
1771
|
property :page_number, as: 'pageNumber'
|
1741
1772
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageParagraph::Representation
|
1742
1773
|
|
1774
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
1775
|
+
|
1743
1776
|
collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable::Representation
|
1744
1777
|
|
1745
1778
|
collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken::Representation
|
@@ -1809,6 +1842,8 @@ module Google
|
|
1809
1842
|
|
1810
1843
|
collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
|
1811
1844
|
|
1845
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
1846
|
+
|
1812
1847
|
collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
|
1813
1848
|
|
1814
1849
|
property :value_type, as: 'valueType'
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.15.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-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Document AI API V1beta2. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.15.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|