google-cloud-document_ai-v1 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/document_ai/v1/bindings_override.rb +118 -0
- data/lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb +1984 -0
- data/lib/google/cloud/document_ai/v1/document_processor_service/rest/operations.rb +820 -0
- data/lib/google/cloud/document_ai/v1/document_processor_service/rest/service_stub.rb +1373 -0
- data/lib/google/cloud/document_ai/v1/document_processor_service/rest.rb +57 -0
- data/lib/google/cloud/document_ai/v1/document_processor_service.rb +6 -0
- data/lib/google/cloud/document_ai/v1/rest.rb +38 -0
- data/lib/google/cloud/document_ai/v1/version.rb +1 -1
- data/lib/google/cloud/document_ai/v1.rb +5 -0
- metadata +13 -5
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/rest"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/document_ai/v1/version"
|
24
|
+
require "google/cloud/document_ai/v1/bindings_override"
|
25
|
+
|
26
|
+
require "google/cloud/document_ai/v1/document_processor_service/credentials"
|
27
|
+
require "google/cloud/document_ai/v1/document_processor_service/paths"
|
28
|
+
require "google/cloud/document_ai/v1/document_processor_service/rest/operations"
|
29
|
+
require "google/cloud/document_ai/v1/document_processor_service/rest/client"
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module DocumentAI
|
34
|
+
module V1
|
35
|
+
##
|
36
|
+
# Service to call Cloud DocumentAI to process documents according to the
|
37
|
+
# processor's definition. Processors are built using state-of-the-art Google
|
38
|
+
# AI such as natural language, computer vision, and translation to extract
|
39
|
+
# structured information from unstructured or semi-structured documents.
|
40
|
+
#
|
41
|
+
# To load this service and instantiate a REST client:
|
42
|
+
#
|
43
|
+
# require "google/cloud/document_ai/v1/document_processor_service/rest"
|
44
|
+
# client = ::Google::Cloud::DocumentAI::V1::DocumentProcessorService::Rest::Client.new
|
45
|
+
#
|
46
|
+
module DocumentProcessorService
|
47
|
+
# Client for the REST transport
|
48
|
+
module Rest
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
57
|
+
require "google/cloud/document_ai/v1/document_processor_service/rest/helpers" if ::File.file? helper_path
|
@@ -26,6 +26,7 @@ require "google/cloud/document_ai/v1/document_processor_service/credentials"
|
|
26
26
|
require "google/cloud/document_ai/v1/document_processor_service/paths"
|
27
27
|
require "google/cloud/document_ai/v1/document_processor_service/operations"
|
28
28
|
require "google/cloud/document_ai/v1/document_processor_service/client"
|
29
|
+
require "google/cloud/document_ai/v1/document_processor_service/rest"
|
29
30
|
|
30
31
|
module Google
|
31
32
|
module Cloud
|
@@ -42,6 +43,11 @@ module Google
|
|
42
43
|
# require "google/cloud/document_ai/v1/document_processor_service"
|
43
44
|
# client = ::Google::Cloud::DocumentAI::V1::DocumentProcessorService::Client.new
|
44
45
|
#
|
46
|
+
# @example Load this service and instantiate a REST client
|
47
|
+
#
|
48
|
+
# require "google/cloud/document_ai/v1/document_processor_service/rest"
|
49
|
+
# client = ::Google::Cloud::DocumentAI::V1::DocumentProcessorService::Rest::Client.new
|
50
|
+
#
|
45
51
|
module DocumentProcessorService
|
46
52
|
end
|
47
53
|
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "google/cloud/document_ai/v1/document_processor_service/rest"
|
20
|
+
require "google/cloud/document_ai/v1/bindings_override"
|
21
|
+
require "google/cloud/document_ai/v1/version"
|
22
|
+
|
23
|
+
module Google
|
24
|
+
module Cloud
|
25
|
+
module DocumentAI
|
26
|
+
##
|
27
|
+
# To load just the REST part of this package, including all its services, and instantiate a REST client:
|
28
|
+
#
|
29
|
+
# @example
|
30
|
+
#
|
31
|
+
# require "google/cloud/document_ai/v1/rest"
|
32
|
+
# client = ::Google::Cloud::DocumentAI::V1::DocumentProcessorService::Rest::Client.new
|
33
|
+
#
|
34
|
+
module V1
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -30,6 +30,11 @@ module Google
|
|
30
30
|
# require "google/cloud/document_ai/v1"
|
31
31
|
# client = ::Google::Cloud::DocumentAI::V1::DocumentProcessorService::Client.new
|
32
32
|
#
|
33
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
34
|
+
#
|
35
|
+
# require "google/cloud/document_ai/v1"
|
36
|
+
# client = ::Google::Cloud::DocumentAI::V1::DocumentProcessorService::Rest::Client.new
|
37
|
+
#
|
33
38
|
module V1
|
34
39
|
end
|
35
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-document_ai-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.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: 2023-
|
11
|
+
date: 2023-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -192,11 +192,17 @@ files:
|
|
192
192
|
- README.md
|
193
193
|
- lib/google-cloud-document_ai-v1.rb
|
194
194
|
- lib/google/cloud/document_ai/v1.rb
|
195
|
+
- lib/google/cloud/document_ai/v1/bindings_override.rb
|
195
196
|
- lib/google/cloud/document_ai/v1/document_processor_service.rb
|
196
197
|
- lib/google/cloud/document_ai/v1/document_processor_service/client.rb
|
197
198
|
- lib/google/cloud/document_ai/v1/document_processor_service/credentials.rb
|
198
199
|
- lib/google/cloud/document_ai/v1/document_processor_service/operations.rb
|
199
200
|
- lib/google/cloud/document_ai/v1/document_processor_service/paths.rb
|
201
|
+
- lib/google/cloud/document_ai/v1/document_processor_service/rest.rb
|
202
|
+
- lib/google/cloud/document_ai/v1/document_processor_service/rest/client.rb
|
203
|
+
- lib/google/cloud/document_ai/v1/document_processor_service/rest/operations.rb
|
204
|
+
- lib/google/cloud/document_ai/v1/document_processor_service/rest/service_stub.rb
|
205
|
+
- lib/google/cloud/document_ai/v1/rest.rb
|
200
206
|
- lib/google/cloud/document_ai/v1/version.rb
|
201
207
|
- lib/google/cloud/documentai/v1/barcode_pb.rb
|
202
208
|
- lib/google/cloud/documentai/v1/document_io_pb.rb
|
@@ -259,5 +265,7 @@ requirements: []
|
|
259
265
|
rubygems_version: 3.4.2
|
260
266
|
signing_key:
|
261
267
|
specification_version: 4
|
262
|
-
summary:
|
268
|
+
summary: Service to parse structured information from unstructured or semi-structured
|
269
|
+
documents using state-of-the-art Google AI such as natural language, computer vision,
|
270
|
+
translation, and AutoML.
|
263
271
|
test_files: []
|