google-cloud-document_ai-v1beta3 0.26.0 → 0.28.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/lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb +10 -1
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/operations.rb +10 -1
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb +468 -0
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/operations.rb +75 -0
- data/lib/google/cloud/document_ai/v1beta3/document_service/client.rb +10 -1
- data/lib/google/cloud/document_ai/v1beta3/document_service/operations.rb +10 -1
- data/lib/google/cloud/document_ai/v1beta3/document_service/rest/client.rb +117 -0
- data/lib/google/cloud/document_ai/v1beta3/document_service/rest/operations.rb +75 -0
- data/lib/google/cloud/document_ai/v1beta3/version.rb +1 -1
- data/lib/google/cloud/documentai/v1beta3/document_io_pb.rb +2 -1
- data/lib/google/cloud/documentai/v1beta3/document_processor_service_pb.rb +2 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/documentai/v1beta3/document_io.rb +27 -1
- data/proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb +19 -0
- metadata +5 -5
@@ -22,6 +22,16 @@ module Google
|
|
22
22
|
module DocumentAI
|
23
23
|
module V1beta3
|
24
24
|
# Options for Process API
|
25
|
+
# @!attribute [rw] individual_page_selector
|
26
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector]
|
27
|
+
# Which pages to process (1-indexed).
|
28
|
+
# @!attribute [rw] from_start
|
29
|
+
# @return [::Integer]
|
30
|
+
# Only process certain pages from the start, process all if the document
|
31
|
+
# has less pages.
|
32
|
+
# @!attribute [rw] from_end
|
33
|
+
# @return [::Integer]
|
34
|
+
# Only process certain pages from the end, same as above.
|
25
35
|
# @!attribute [rw] ocr_config
|
26
36
|
# @return [::Google::Cloud::DocumentAI::V1beta3::OcrConfig]
|
27
37
|
# Only applicable to `OCR_PROCESSOR`. Returns error if set on other
|
@@ -29,6 +39,15 @@ module Google
|
|
29
39
|
class ProcessOptions
|
30
40
|
include ::Google::Protobuf::MessageExts
|
31
41
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
42
|
+
|
43
|
+
# A list of individual page numbers.
|
44
|
+
# @!attribute [rw] pages
|
45
|
+
# @return [::Array<::Integer>]
|
46
|
+
# Optional. Indices of the pages (starting from 1).
|
47
|
+
class IndividualPageSelector
|
48
|
+
include ::Google::Protobuf::MessageExts
|
49
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
50
|
+
end
|
32
51
|
end
|
33
52
|
|
34
53
|
# Request message for the
|
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.28.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-09-14 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.20.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.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -276,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
276
276
|
- !ruby/object:Gem::Version
|
277
277
|
version: '0'
|
278
278
|
requirements: []
|
279
|
-
rubygems_version: 3.4.
|
279
|
+
rubygems_version: 3.4.19
|
280
280
|
signing_key:
|
281
281
|
specification_version: 4
|
282
282
|
summary: Service to parse structured information from unstructured or semi-structured
|