google-apis-documentai_v1beta3 0.4.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/documentai_v1beta3.rb +1 -1
- data/lib/google/apis/documentai_v1beta3/classes.rb +324 -428
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/documentai_v1beta3/representations.rb +26 -60
- data/lib/google/apis/documentai_v1beta3/service.rb +13 -7
- metadata +5 -5
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1beta3
|
18
18
|
# Version of the google-apis-documentai_v1beta3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210329"
|
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 GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
103
115
|
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
|
104
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
117
|
|
@@ -388,12 +400,6 @@ module Google
|
|
388
400
|
include Google::Apis::Core::JsonObjectSupport
|
389
401
|
end
|
390
402
|
|
391
|
-
class GoogleCloudDocumentaiV1beta1DocumentTranslation
|
392
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
-
|
394
|
-
include Google::Apis::Core::JsonObjectSupport
|
395
|
-
end
|
396
|
-
|
397
403
|
class GoogleCloudDocumentaiV1beta1GcsDestination
|
398
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
405
|
|
@@ -652,12 +658,6 @@ module Google
|
|
652
658
|
include Google::Apis::Core::JsonObjectSupport
|
653
659
|
end
|
654
660
|
|
655
|
-
class GoogleCloudDocumentaiV1beta2DocumentTranslation
|
656
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
|
-
|
658
|
-
include Google::Apis::Core::JsonObjectSupport
|
659
|
-
end
|
660
|
-
|
661
661
|
class GoogleCloudDocumentaiV1beta2GcsDestination
|
662
662
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
663
|
|
@@ -964,12 +964,6 @@ module Google
|
|
964
964
|
include Google::Apis::Core::JsonObjectSupport
|
965
965
|
end
|
966
966
|
|
967
|
-
class GoogleCloudDocumentaiV1beta3DocumentTranslation
|
968
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
969
|
-
|
970
|
-
include Google::Apis::Core::JsonObjectSupport
|
971
|
-
end
|
972
|
-
|
973
967
|
class GoogleCloudDocumentaiV1beta3GcsDocument
|
974
968
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
969
|
|
@@ -1207,6 +1201,20 @@ module Google
|
|
1207
1201
|
end
|
1208
1202
|
end
|
1209
1203
|
|
1204
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
1205
|
+
# @private
|
1206
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1207
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1208
|
+
|
1209
|
+
end
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse
|
1213
|
+
# @private
|
1214
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1215
|
+
end
|
1216
|
+
end
|
1217
|
+
|
1210
1218
|
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
|
1211
1219
|
# @private
|
1212
1220
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1370,8 +1378,6 @@ module Google
|
|
1370
1378
|
|
1371
1379
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle::Representation
|
1372
1380
|
|
1373
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTranslation::Representation
|
1374
|
-
|
1375
1381
|
property :uri, as: 'uri'
|
1376
1382
|
end
|
1377
1383
|
end
|
@@ -1741,18 +1747,6 @@ module Google
|
|
1741
1747
|
end
|
1742
1748
|
end
|
1743
1749
|
|
1744
|
-
class GoogleCloudDocumentaiV1beta1DocumentTranslation
|
1745
|
-
# @private
|
1746
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1747
|
-
property :language_code, as: 'languageCode'
|
1748
|
-
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
1749
|
-
|
1750
|
-
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor::Representation
|
1751
|
-
|
1752
|
-
property :translated_text, as: 'translatedText'
|
1753
|
-
end
|
1754
|
-
end
|
1755
|
-
|
1756
1750
|
class GoogleCloudDocumentaiV1beta1GcsDestination
|
1757
1751
|
# @private
|
1758
1752
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1863,8 +1857,6 @@ module Google
|
|
1863
1857
|
|
1864
1858
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle::Representation
|
1865
1859
|
|
1866
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTranslation::Representation
|
1867
|
-
|
1868
1860
|
property :uri, as: 'uri'
|
1869
1861
|
end
|
1870
1862
|
end
|
@@ -2243,18 +2235,6 @@ module Google
|
|
2243
2235
|
end
|
2244
2236
|
end
|
2245
2237
|
|
2246
|
-
class GoogleCloudDocumentaiV1beta2DocumentTranslation
|
2247
|
-
# @private
|
2248
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2249
|
-
property :language_code, as: 'languageCode'
|
2250
|
-
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
2251
|
-
|
2252
|
-
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor::Representation
|
2253
|
-
|
2254
|
-
property :translated_text, as: 'translatedText'
|
2255
|
-
end
|
2256
|
-
end
|
2257
|
-
|
2258
2238
|
class GoogleCloudDocumentaiV1beta2GcsDestination
|
2259
2239
|
# @private
|
2260
2240
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2437,8 +2417,6 @@ module Google
|
|
2437
2417
|
|
2438
2418
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle::Representation
|
2439
2419
|
|
2440
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTranslation::Representation
|
2441
|
-
|
2442
2420
|
property :uri, as: 'uri'
|
2443
2421
|
end
|
2444
2422
|
end
|
@@ -2823,18 +2801,6 @@ module Google
|
|
2823
2801
|
end
|
2824
2802
|
end
|
2825
2803
|
|
2826
|
-
class GoogleCloudDocumentaiV1beta3DocumentTranslation
|
2827
|
-
# @private
|
2828
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2829
|
-
property :language_code, as: 'languageCode'
|
2830
|
-
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance::Representation
|
2831
|
-
|
2832
|
-
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTextAnchor::Representation
|
2833
|
-
|
2834
|
-
property :translated_text, as: 'translatedText'
|
2835
|
-
end
|
2836
|
-
end
|
2837
|
-
|
2838
2804
|
class GoogleCloudDocumentaiV1beta3GcsDocument
|
2839
2805
|
# @private
|
2840
2806
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -85,11 +85,15 @@ module Google
|
|
85
85
|
# @param [String] name
|
86
86
|
# The resource that owns the locations collection, if applicable.
|
87
87
|
# @param [String] filter
|
88
|
-
#
|
88
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
89
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
90
|
+
# AIP-160](https://google.aip.dev/160).
|
89
91
|
# @param [Fixnum] page_size
|
90
|
-
# The
|
92
|
+
# The maximum number of results to return. If not set, the service will select a
|
93
|
+
# default.
|
91
94
|
# @param [String] page_token
|
92
|
-
#
|
95
|
+
# A page token received from the `next_page_token` field in the response. Send
|
96
|
+
# that page token to receive the subsequent page.
|
93
97
|
# @param [String] fields
|
94
98
|
# Selector specifying which fields to include in a partial response.
|
95
99
|
# @param [String] quota_user
|
@@ -156,7 +160,8 @@ module Google
|
|
156
160
|
# @param [String] name
|
157
161
|
# Required. The resource name of Processor or ProcessorVersion. Format: projects/
|
158
162
|
# `project`/locations/`location`/processors/`processor`, or projects/`project`/
|
159
|
-
# locations/`location`/processors/`processor`/
|
163
|
+
# locations/`location`/processors/`processor`/processorVersions/`
|
164
|
+
# processorVersion`
|
160
165
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest] google_cloud_documentai_v1beta3_batch_process_request_object
|
161
166
|
# @param [String] fields
|
162
167
|
# Selector specifying which fields to include in a partial response.
|
@@ -193,7 +198,7 @@ module Google
|
|
193
198
|
# processing. If a Processor is specified, the server will use its default
|
194
199
|
# version. Format: projects/`project`/locations/`location`/processors/`processor`
|
195
200
|
# , or projects/`project`/locations/`location`/processors/`processor`/
|
196
|
-
#
|
201
|
+
# processorVersions/`processorVersion`
|
197
202
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest] google_cloud_documentai_v1beta3_process_request_object
|
198
203
|
# @param [String] fields
|
199
204
|
# Selector specifying which fields to include in a partial response.
|
@@ -264,7 +269,8 @@ module Google
|
|
264
269
|
# @param [String] name
|
265
270
|
# Required. The resource name of Processor or ProcessorVersion. Format: projects/
|
266
271
|
# `project`/locations/`location`/processors/`processor`, or projects/`project`/
|
267
|
-
# locations/`location`/processors/`processor`/
|
272
|
+
# locations/`location`/processors/`processor`/processorVersions/`
|
273
|
+
# processorVersion`
|
268
274
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest] google_cloud_documentai_v1beta3_batch_process_request_object
|
269
275
|
# @param [String] fields
|
270
276
|
# Selector specifying which fields to include in a partial response.
|
@@ -301,7 +307,7 @@ module Google
|
|
301
307
|
# processing. If a Processor is specified, the server will use its default
|
302
308
|
# version. Format: projects/`project`/locations/`location`/processors/`processor`
|
303
309
|
# , or projects/`project`/locations/`location`/processors/`processor`/
|
304
|
-
#
|
310
|
+
# processorVersions/`processorVersion`
|
305
311
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest] google_cloud_documentai_v1beta3_process_request_object
|
306
312
|
# @param [String] fields
|
307
313
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1beta3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.9.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Document AI API V1beta3
|