google-cloud-document_ai-v1beta3 0.11.0 → 0.12.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 +10 -5
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/operations.rb +3 -0
- data/lib/google/cloud/document_ai/v1beta3/version.rb +1 -1
- data/lib/google/cloud/document_ai/v1beta3.rb +2 -0
- data/lib/google/cloud/documentai/v1beta3/document_io_pb.rb +2 -1
- data/lib/google/cloud/documentai/v1beta3/document_pb.rb +2 -1
- data/lib/google/cloud/documentai/v1beta3/document_processor_service_pb.rb +2 -1
- data/lib/google/cloud/documentai/v1beta3/geometry_pb.rb +2 -1
- data/lib/google/cloud/documentai/v1beta3/operation_metadata_pb.rb +2 -1
- data/lib/google/cloud/documentai/v1beta3/processor_pb.rb +2 -1
- data/lib/google/cloud/documentai/v1beta3/processor_type_pb.rb +2 -1
- data/proto_docs/google/cloud/documentai/v1beta3/document.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +3 -3
- metadata +12 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1757af042fc38b46ca549c9d4c0d76e441bf35485dcca115ffa3f20d1e5caaba
|
|
4
|
+
data.tar.gz: 71fa11eed59ec51a1d9d1350830aba2f06b557b2f2b303eef8b2482fb979db0e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ae4a78c09891ba98ea02437c4483912e2dd26b5fc80e61808e125b7aa67f305669718380abc3070743d3f02d59e2724b1f474da930983ce88e4ccab275cca15
|
|
7
|
+
data.tar.gz: 95518d073be760bf641e2e08b69ff81a2129fe5237058057e4896f94aedb57adfe8cd914b0e6088f3829bf6c2b801a2d609733cab4ee2ec8fe7bb4385626d5ef
|
data/README.md
CHANGED
|
@@ -69,16 +69,21 @@ module GRPC
|
|
|
69
69
|
end
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
+
|
|
73
|
+
## Google Cloud Samples
|
|
74
|
+
|
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
|
76
|
+
|
|
72
77
|
## Supported Ruby Versions
|
|
73
78
|
|
|
74
|
-
This library is supported on Ruby 2.
|
|
79
|
+
This library is supported on Ruby 2.6+.
|
|
75
80
|
|
|
76
81
|
Google provides official support for Ruby versions that are actively supported
|
|
77
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
|
78
|
-
in security maintenance, and not end of life.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
|
84
|
+
still work, but are unsupported and not recommended. See
|
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
|
86
|
+
support schedule.
|
|
82
87
|
|
|
83
88
|
## Which client should I use?
|
|
84
89
|
|
|
@@ -25,6 +25,8 @@ module Google
|
|
|
25
25
|
##
|
|
26
26
|
# To load this package, including all its services, and instantiate a client:
|
|
27
27
|
#
|
|
28
|
+
# @example
|
|
29
|
+
#
|
|
28
30
|
# require "google/cloud/document_ai/v1beta3"
|
|
29
31
|
# client = ::Google::Cloud::DocumentAI::V1beta3::DocumentProcessorService::Client.new
|
|
30
32
|
#
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/cloud/documentai/v1beta3/document_io.proto
|
|
3
3
|
|
|
4
|
-
require 'google/api/annotations_pb'
|
|
5
4
|
require 'google/protobuf'
|
|
6
5
|
|
|
6
|
+
require 'google/api/annotations_pb'
|
|
7
|
+
|
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
8
9
|
add_file("google/cloud/documentai/v1beta3/document_io.proto", :syntax => :proto3) do
|
|
9
10
|
add_message "google.cloud.documentai.v1beta3.RawDocument" do
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/cloud/documentai/v1beta3/document.proto
|
|
3
3
|
|
|
4
|
+
require 'google/protobuf'
|
|
5
|
+
|
|
4
6
|
require 'google/api/annotations_pb'
|
|
5
7
|
require 'google/api/field_behavior_pb'
|
|
6
8
|
require 'google/cloud/documentai/v1beta3/geometry_pb'
|
|
@@ -11,7 +13,6 @@ require 'google/type/date_pb'
|
|
|
11
13
|
require 'google/type/datetime_pb'
|
|
12
14
|
require 'google/type/money_pb'
|
|
13
15
|
require 'google/type/postal_address_pb'
|
|
14
|
-
require 'google/protobuf'
|
|
15
16
|
|
|
16
17
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
17
18
|
add_file("google/cloud/documentai/v1beta3/document.proto", :syntax => :proto3) do
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/cloud/documentai/v1beta3/document_processor_service.proto
|
|
3
3
|
|
|
4
|
+
require 'google/protobuf'
|
|
5
|
+
|
|
4
6
|
require 'google/api/annotations_pb'
|
|
5
7
|
require 'google/api/client_pb'
|
|
6
8
|
require 'google/api/field_behavior_pb'
|
|
@@ -14,7 +16,6 @@ require 'google/longrunning/operations_pb'
|
|
|
14
16
|
require 'google/protobuf/field_mask_pb'
|
|
15
17
|
require 'google/protobuf/timestamp_pb'
|
|
16
18
|
require 'google/rpc/status_pb'
|
|
17
|
-
require 'google/protobuf'
|
|
18
19
|
|
|
19
20
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
20
21
|
add_file("google/cloud/documentai/v1beta3/document_processor_service.proto", :syntax => :proto3) do
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/cloud/documentai/v1beta3/geometry.proto
|
|
3
3
|
|
|
4
|
-
require 'google/api/annotations_pb'
|
|
5
4
|
require 'google/protobuf'
|
|
6
5
|
|
|
6
|
+
require 'google/api/annotations_pb'
|
|
7
|
+
|
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
8
9
|
add_file("google/cloud/documentai/v1beta3/geometry.proto", :syntax => :proto3) do
|
|
9
10
|
add_message "google.cloud.documentai.v1beta3.Vertex" do
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/cloud/documentai/v1beta3/operation_metadata.proto
|
|
3
3
|
|
|
4
|
+
require 'google/protobuf'
|
|
5
|
+
|
|
4
6
|
require 'google/protobuf/timestamp_pb'
|
|
5
7
|
require 'google/api/annotations_pb'
|
|
6
|
-
require 'google/protobuf'
|
|
7
8
|
|
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9
10
|
add_file("google/cloud/documentai/v1beta3/operation_metadata.proto", :syntax => :proto3) do
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/cloud/documentai/v1beta3/processor.proto
|
|
3
3
|
|
|
4
|
+
require 'google/protobuf'
|
|
5
|
+
|
|
4
6
|
require 'google/api/field_behavior_pb'
|
|
5
7
|
require 'google/api/resource_pb'
|
|
6
8
|
require 'google/cloud/documentai/v1beta3/document_io_pb'
|
|
7
9
|
require 'google/protobuf/timestamp_pb'
|
|
8
10
|
require 'google/api/annotations_pb'
|
|
9
|
-
require 'google/protobuf'
|
|
10
11
|
|
|
11
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
12
13
|
add_file("google/cloud/documentai/v1beta3/processor.proto", :syntax => :proto3) do
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/cloud/documentai/v1beta3/processor_type.proto
|
|
3
3
|
|
|
4
|
+
require 'google/protobuf'
|
|
5
|
+
|
|
4
6
|
require 'google/api/resource_pb'
|
|
5
7
|
require 'google/api/annotations_pb'
|
|
6
|
-
require 'google/protobuf'
|
|
7
8
|
|
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9
10
|
add_file("google/cloud/documentai/v1beta3/processor_type.proto", :syntax => :proto3) do
|
|
@@ -541,7 +541,7 @@ module Google
|
|
|
541
541
|
# {::Google::Cloud::DocumentAI::V1beta3::Document#text Document.text}.
|
|
542
542
|
# @!attribute [rw] type
|
|
543
543
|
# @return [::String]
|
|
544
|
-
# Entity type from a schema e.g. `Address`.
|
|
544
|
+
# Required. Entity type from a schema e.g. `Address`.
|
|
545
545
|
# @!attribute [rw] mention_text
|
|
546
546
|
# @return [::String]
|
|
547
547
|
# Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If
|
|
@@ -44,7 +44,7 @@ module Google
|
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
|
45
45
|
# }
|
|
46
46
|
#
|
|
47
|
-
#
|
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
|
48
48
|
#
|
|
49
49
|
# foo = Foo(...)
|
|
50
50
|
# any = Any()
|
|
@@ -54,7 +54,7 @@ module Google
|
|
|
54
54
|
# any.Unpack(foo)
|
|
55
55
|
# ...
|
|
56
56
|
#
|
|
57
|
-
#
|
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
|
58
58
|
#
|
|
59
59
|
# foo := &pb.Foo{...}
|
|
60
60
|
# any, err := anypb.New(foo)
|
|
@@ -75,7 +75,7 @@ module Google
|
|
|
75
75
|
#
|
|
76
76
|
#
|
|
77
77
|
# JSON
|
|
78
|
-
#
|
|
78
|
+
#
|
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
|
80
80
|
# representation of the deserialized, embedded message, with an
|
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-document_ai-v1beta3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.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: 2022-02
|
|
11
|
+
date: 2022-07-02 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.10'
|
|
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.10'
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 2.a
|
|
@@ -50,28 +50,28 @@ dependencies:
|
|
|
50
50
|
requirements:
|
|
51
51
|
- - "~>"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 1.
|
|
53
|
+
version: 1.26.1
|
|
54
54
|
type: :development
|
|
55
55
|
prerelease: false
|
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
57
|
requirements:
|
|
58
58
|
- - "~>"
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: 1.
|
|
60
|
+
version: 1.26.1
|
|
61
61
|
- !ruby/object:Gem::Dependency
|
|
62
62
|
name: minitest
|
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
|
65
65
|
- - "~>"
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: '5.
|
|
67
|
+
version: '5.16'
|
|
68
68
|
type: :development
|
|
69
69
|
prerelease: false
|
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - "~>"
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: '5.
|
|
74
|
+
version: '5.16'
|
|
75
75
|
- !ruby/object:Gem::Dependency
|
|
76
76
|
name: minitest-focus
|
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -106,14 +106,14 @@ dependencies:
|
|
|
106
106
|
requirements:
|
|
107
107
|
- - ">="
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: '
|
|
109
|
+
version: '13.0'
|
|
110
110
|
type: :development
|
|
111
111
|
prerelease: false
|
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
|
113
113
|
requirements:
|
|
114
114
|
- - ">="
|
|
115
115
|
- !ruby/object:Gem::Version
|
|
116
|
-
version: '
|
|
116
|
+
version: '13.0'
|
|
117
117
|
- !ruby/object:Gem::Dependency
|
|
118
118
|
name: redcarpet
|
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -221,14 +221,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
221
221
|
requirements:
|
|
222
222
|
- - ">="
|
|
223
223
|
- !ruby/object:Gem::Version
|
|
224
|
-
version: '2.
|
|
224
|
+
version: '2.6'
|
|
225
225
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
226
|
requirements:
|
|
227
227
|
- - ">="
|
|
228
228
|
- !ruby/object:Gem::Version
|
|
229
229
|
version: '0'
|
|
230
230
|
requirements: []
|
|
231
|
-
rubygems_version: 3.3.
|
|
231
|
+
rubygems_version: 3.3.14
|
|
232
232
|
signing_key:
|
|
233
233
|
specification_version: 4
|
|
234
234
|
summary: API Client library for the Document AI V1beta3 API
|