google-cloud-document_ai-v1beta3 0.1.1 → 0.6.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/LICENSE.md +188 -190
- data/README.md +66 -2
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb +38 -19
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/operations.rb +94 -9
- data/lib/google/cloud/document_ai/v1beta3/version.rb +1 -1
- data/lib/google/cloud/documentai/v1beta3/document_io_pb.rb +54 -0
- data/lib/google/cloud/documentai/v1beta3/document_pb.rb +1 -8
- data/lib/google/cloud/documentai/v1beta3/document_processor_service_pb.rb +44 -0
- data/proto_docs/google/api/field_behavior.rb +6 -0
- data/proto_docs/google/cloud/documentai/v1beta3/document.rb +7 -30
- data/proto_docs/google/cloud/documentai/v1beta3/document_io.rb +100 -0
- data/proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb +106 -0
- data/proto_docs/google/longrunning/operations.rb +17 -3
- data/proto_docs/google/protobuf/any.rb +5 -2
- data/proto_docs/google/protobuf/timestamp.rb +10 -1
- metadata +11 -7
@@ -54,6 +54,12 @@ module Google
|
|
54
54
|
# This indicates that the field may be set once in a request to create a
|
55
55
|
# resource, but may not be changed thereafter.
|
56
56
|
IMMUTABLE = 5
|
57
|
+
|
58
|
+
# Denotes that a (repeated) field is an unordered list.
|
59
|
+
# This indicates that the service may provide the elements of the list
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
|
+
# provided. Additionally, the list's order may or may not be stable.
|
62
|
+
UNORDERED_LIST = 6
|
57
63
|
end
|
58
64
|
end
|
59
65
|
end
|
@@ -59,10 +59,6 @@ module Google
|
|
59
59
|
# @!attribute [rw] entity_relations
|
60
60
|
# @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::EntityRelation>]
|
61
61
|
# Relationship among {::Google::Cloud::DocumentAI::V1beta3::Document#entities Document.entities}.
|
62
|
-
# @!attribute [rw] translations
|
63
|
-
# @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Translation>]
|
64
|
-
# A list of translations on {::Google::Cloud::DocumentAI::V1beta3::Document#text Document.text}. For document shards,
|
65
|
-
# translations in this list may cross shard boundaries.
|
66
62
|
# @!attribute [rw] text_changes
|
67
63
|
# @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::TextChange>]
|
68
64
|
# A list of text corrections made to [Document.text]. This is usually
|
@@ -509,7 +505,7 @@ module Google
|
|
509
505
|
# page where it was found.
|
510
506
|
# @!attribute [rw] id
|
511
507
|
# @return [::String]
|
512
|
-
# Canonical id. This will be a unique value in the entity list
|
508
|
+
# Optional. Canonical id. This will be a unique value in the entity list
|
513
509
|
# for this document.
|
514
510
|
# @!attribute [rw] normalized_value
|
515
511
|
# @return [::Google::Cloud::DocumentAI::V1beta3::Document::Entity::NormalizedValue]
|
@@ -556,6 +552,10 @@ module Google
|
|
556
552
|
#
|
557
553
|
# https:
|
558
554
|
# github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
|
555
|
+
# @!attribute [rw] boolean_value
|
556
|
+
# @return [::Boolean]
|
557
|
+
# Boolean value. Can be used for entities with binary values, or for
|
558
|
+
# checkboxes.
|
559
559
|
# @!attribute [rw] text
|
560
560
|
# @return [::String]
|
561
561
|
# Required. Normalized entity value stored as a string. This field is populated for
|
@@ -586,30 +586,6 @@ module Google
|
|
586
586
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
587
587
|
end
|
588
588
|
|
589
|
-
# A translation of the text segment.
|
590
|
-
# @!attribute [rw] text_anchor
|
591
|
-
# @return [::Google::Cloud::DocumentAI::V1beta3::Document::TextAnchor]
|
592
|
-
# Provenance of the translation.
|
593
|
-
# Text anchor indexing into the {::Google::Cloud::DocumentAI::V1beta3::Document#text Document.text}. There can only be a
|
594
|
-
# single `TextAnchor.text_segments` element. If the start and
|
595
|
-
# end index of the text segment are the same, the text change is inserted
|
596
|
-
# before that index.
|
597
|
-
# @!attribute [rw] language_code
|
598
|
-
# @return [::String]
|
599
|
-
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
|
600
|
-
# information, see
|
601
|
-
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
602
|
-
# @!attribute [rw] translated_text
|
603
|
-
# @return [::String]
|
604
|
-
# Text translated into the target language.
|
605
|
-
# @!attribute [rw] provenance
|
606
|
-
# @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Provenance>]
|
607
|
-
# The history of this annotation.
|
608
|
-
class Translation
|
609
|
-
include ::Google::Protobuf::MessageExts
|
610
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
611
|
-
end
|
612
|
-
|
613
589
|
# Text reference indexing into the {::Google::Cloud::DocumentAI::V1beta3::Document#text Document.text}.
|
614
590
|
# @!attribute [rw] text_segments
|
615
591
|
# @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::TextAnchor::TextSegment>]
|
@@ -651,7 +627,8 @@ module Google
|
|
651
627
|
# Represents a weak reference to a page element within a document.
|
652
628
|
# @!attribute [rw] page
|
653
629
|
# @return [::Integer]
|
654
|
-
# Required. Index into the {::Google::Cloud::DocumentAI::V1beta3::Document#pages Document.pages} element
|
630
|
+
# Required. Index into the {::Google::Cloud::DocumentAI::V1beta3::Document#pages Document.pages} element, for example using
|
631
|
+
# [Document.pages][page_refs.page] to locate the related page element.
|
655
632
|
# @!attribute [rw] layout_type
|
656
633
|
# @return [::Google::Cloud::DocumentAI::V1beta3::Document::PageAnchor::PageRef::LayoutType]
|
657
634
|
# Optional. The type of the layout element that is being referenced if any.
|
@@ -0,0 +1,100 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module DocumentAI
|
23
|
+
module V1beta3
|
24
|
+
# Payload message of raw document content (bytes).
|
25
|
+
# @!attribute [rw] content
|
26
|
+
# @return [::String]
|
27
|
+
# Inline document content.
|
28
|
+
# @!attribute [rw] mime_type
|
29
|
+
# @return [::String]
|
30
|
+
# An IANA MIME type (RFC6838) indicating the nature and format of the
|
31
|
+
# [content].
|
32
|
+
class RawDocument
|
33
|
+
include ::Google::Protobuf::MessageExts
|
34
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
35
|
+
end
|
36
|
+
|
37
|
+
# Specifies a document stored on Cloud Storage.
|
38
|
+
# @!attribute [rw] gcs_uri
|
39
|
+
# @return [::String]
|
40
|
+
# The Cloud Storage object uri.
|
41
|
+
# @!attribute [rw] mime_type
|
42
|
+
# @return [::String]
|
43
|
+
# An IANA MIME type (RFC6838) of the content.
|
44
|
+
class GcsDocument
|
45
|
+
include ::Google::Protobuf::MessageExts
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
47
|
+
end
|
48
|
+
|
49
|
+
# Specifies a set of documents on Cloud Storage.
|
50
|
+
# @!attribute [rw] documents
|
51
|
+
# @return [::Array<::Google::Cloud::DocumentAI::V1beta3::GcsDocument>]
|
52
|
+
# The list of documents.
|
53
|
+
class GcsDocuments
|
54
|
+
include ::Google::Protobuf::MessageExts
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
|
+
end
|
57
|
+
|
58
|
+
# Specifies all documents on Cloud Storage with a common prefix.
|
59
|
+
# @!attribute [rw] gcs_uri_prefix
|
60
|
+
# @return [::String]
|
61
|
+
# The URI prefix.
|
62
|
+
class GcsPrefix
|
63
|
+
include ::Google::Protobuf::MessageExts
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
|
+
end
|
66
|
+
|
67
|
+
# The common config to specify a set of documents used as input.
|
68
|
+
# @!attribute [rw] gcs_prefix
|
69
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::GcsPrefix]
|
70
|
+
# The set of documents that match the specified Cloud Storage [gcs_prefix].
|
71
|
+
# @!attribute [rw] gcs_documents
|
72
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::GcsDocuments]
|
73
|
+
# The set of documents individually specified on Cloud Storage.
|
74
|
+
class BatchDocumentsInputConfig
|
75
|
+
include ::Google::Protobuf::MessageExts
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
77
|
+
end
|
78
|
+
|
79
|
+
# Config that controls the output of documents. All documents will be written
|
80
|
+
# as a JSON file.
|
81
|
+
# @!attribute [rw] gcs_output_config
|
82
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::DocumentOutputConfig::GcsOutputConfig]
|
83
|
+
# Output config to write the results to Cloud Storage.
|
84
|
+
class DocumentOutputConfig
|
85
|
+
include ::Google::Protobuf::MessageExts
|
86
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
87
|
+
|
88
|
+
# The configuration used when outputting documents.
|
89
|
+
# @!attribute [rw] gcs_uri
|
90
|
+
# @return [::String]
|
91
|
+
# The Cloud Storage uri (a directory) of the output.
|
92
|
+
class GcsOutputConfig
|
93
|
+
include ::Google::Protobuf::MessageExts
|
94
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module DocumentAI
|
23
23
|
module V1beta3
|
24
24
|
# Request message for the process document method.
|
25
|
+
# @!attribute [rw] inline_document
|
26
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::Document]
|
27
|
+
# An inline document proto.
|
28
|
+
# @!attribute [rw] raw_document
|
29
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::RawDocument]
|
30
|
+
# A raw document content (bytes).
|
25
31
|
# @!attribute [rw] name
|
26
32
|
# @return [::String]
|
27
33
|
# Required. The processor resource name.
|
@@ -37,6 +43,45 @@ module Google
|
|
37
43
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
38
44
|
end
|
39
45
|
|
46
|
+
# The status of human review on a processed document.
|
47
|
+
# @!attribute [rw] state
|
48
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::HumanReviewStatus::State]
|
49
|
+
# The state of human review on the processing request.
|
50
|
+
# @!attribute [rw] state_message
|
51
|
+
# @return [::String]
|
52
|
+
# A message providing more details about the human review state.
|
53
|
+
# @!attribute [rw] human_review_operation
|
54
|
+
# @return [::String]
|
55
|
+
# The name of the operation triggered by the processed document. This field
|
56
|
+
# is populated only when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has
|
57
|
+
# the same response type and metadata as the long running operation returned
|
58
|
+
# by [ReviewDocument] method.
|
59
|
+
class HumanReviewStatus
|
60
|
+
include ::Google::Protobuf::MessageExts
|
61
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
62
|
+
|
63
|
+
# The final state of human review on a processed document.
|
64
|
+
module State
|
65
|
+
# Human review state is unspecified. Most likely due to an internal error.
|
66
|
+
STATE_UNSPECIFIED = 0
|
67
|
+
|
68
|
+
# Human review is skipped for the document. This can happen because human
|
69
|
+
# review is not enabled on the processor or the processing request has
|
70
|
+
# been set to skip this document.
|
71
|
+
SKIPPED = 1
|
72
|
+
|
73
|
+
# Human review validation is triggered and passed, so no review is needed.
|
74
|
+
VALIDATION_PASSED = 2
|
75
|
+
|
76
|
+
# Human review validation is triggered and the document is under review.
|
77
|
+
IN_PROGRESS = 3
|
78
|
+
|
79
|
+
# Some error happened during triggering human review, see the
|
80
|
+
# [state_message] for details.
|
81
|
+
ERROR = 4
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
40
85
|
# Response message for the process document method.
|
41
86
|
# @!attribute [rw] document
|
42
87
|
# @return [::Google::Cloud::DocumentAI::V1beta3::Document]
|
@@ -48,6 +93,9 @@ module Google
|
|
48
93
|
# review process is not triggered, this field will be empty. It has the same
|
49
94
|
# response type and metadata as the long running operation returned by
|
50
95
|
# ReviewDocument method.
|
96
|
+
# @!attribute [rw] human_review_status
|
97
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::HumanReviewStatus]
|
98
|
+
# The status of human review on the processed document.
|
51
99
|
class ProcessResponse
|
52
100
|
include ::Google::Protobuf::MessageExts
|
53
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -63,6 +111,16 @@ module Google
|
|
63
111
|
# @!attribute [rw] output_config
|
64
112
|
# @return [::Google::Cloud::DocumentAI::V1beta3::BatchProcessRequest::BatchOutputConfig]
|
65
113
|
# The overall output config for batch process.
|
114
|
+
# @!attribute [rw] input_documents
|
115
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig]
|
116
|
+
# The input documents for batch process.
|
117
|
+
# @!attribute [rw] document_output_config
|
118
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::DocumentOutputConfig]
|
119
|
+
# The overall output config for batch process.
|
120
|
+
# @!attribute [rw] skip_human_review
|
121
|
+
# @return [::Boolean]
|
122
|
+
# Whether Human Review feature should be skipped for this request. Default to
|
123
|
+
# false.
|
66
124
|
class BatchProcessRequest
|
67
125
|
include ::Google::Protobuf::MessageExts
|
68
126
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -138,6 +196,9 @@ module Google
|
|
138
196
|
# human review process is not triggered, this field will be empty. It has
|
139
197
|
# the same response type and metadata as the long running operation
|
140
198
|
# returned by ReviewDocument method.
|
199
|
+
# @!attribute [rw] human_review_status
|
200
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::HumanReviewStatus]
|
201
|
+
# The status of human review on the processed document.
|
141
202
|
class IndividualProcessStatus
|
142
203
|
include ::Google::Protobuf::MessageExts
|
143
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -169,6 +230,9 @@ module Google
|
|
169
230
|
end
|
170
231
|
|
171
232
|
# Request message for review document method.
|
233
|
+
# @!attribute [rw] inline_document
|
234
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::Document]
|
235
|
+
# An inline document proto.
|
172
236
|
# @!attribute [rw] human_review_config
|
173
237
|
# @return [::String]
|
174
238
|
# Required. The resource name of the HumanReviewConfig that the document will be
|
@@ -204,6 +268,9 @@ module Google
|
|
204
268
|
# @!attribute [rw] update_time
|
205
269
|
# @return [::Google::Protobuf::Timestamp]
|
206
270
|
# The last update time of the operation.
|
271
|
+
# @!attribute [rw] common_metadata
|
272
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::CommonOperationMetadata]
|
273
|
+
# The basic metadata of the long running operation.
|
207
274
|
class ReviewDocumentOperationMetadata
|
208
275
|
include ::Google::Protobuf::MessageExts
|
209
276
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -229,6 +296,45 @@ module Google
|
|
229
296
|
CANCELLED = 5
|
230
297
|
end
|
231
298
|
end
|
299
|
+
|
300
|
+
# The common metadata for long running operations.
|
301
|
+
# @!attribute [rw] state
|
302
|
+
# @return [::Google::Cloud::DocumentAI::V1beta3::CommonOperationMetadata::State]
|
303
|
+
# The state of the operation.
|
304
|
+
# @!attribute [rw] state_message
|
305
|
+
# @return [::String]
|
306
|
+
# A message providing more details about the current state of processing.
|
307
|
+
# @!attribute [rw] create_time
|
308
|
+
# @return [::Google::Protobuf::Timestamp]
|
309
|
+
# The creation time of the operation.
|
310
|
+
# @!attribute [rw] update_time
|
311
|
+
# @return [::Google::Protobuf::Timestamp]
|
312
|
+
# The last update time of the operation.
|
313
|
+
class CommonOperationMetadata
|
314
|
+
include ::Google::Protobuf::MessageExts
|
315
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
316
|
+
|
317
|
+
# State of the longrunning operation.
|
318
|
+
module State
|
319
|
+
# Unspecified state.
|
320
|
+
STATE_UNSPECIFIED = 0
|
321
|
+
|
322
|
+
# Operation is still running.
|
323
|
+
RUNNING = 1
|
324
|
+
|
325
|
+
# Operation is being cancelled.
|
326
|
+
CANCELLING = 2
|
327
|
+
|
328
|
+
# Operation succeeded.
|
329
|
+
SUCCEEDED = 3
|
330
|
+
|
331
|
+
# Operation failed.
|
332
|
+
FAILED = 4
|
333
|
+
|
334
|
+
# Operation is cancelled.
|
335
|
+
CANCELLED = 5
|
336
|
+
end
|
337
|
+
end
|
232
338
|
end
|
233
339
|
end
|
234
340
|
end
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @return [::String]
|
26
26
|
# The server-assigned name, which is only unique within the same service that
|
27
27
|
# originally returns it. If you use the default HTTP mapping, the
|
28
|
-
# `name` should
|
28
|
+
# `name` should be a resource name ending with `operations/{unique_id}`.
|
29
29
|
# @!attribute [rw] metadata
|
30
30
|
# @return [::Google::Protobuf::Any]
|
31
31
|
# Service-specific metadata associated with the operation. It typically
|
@@ -35,7 +35,7 @@ module Google
|
|
35
35
|
# @!attribute [rw] done
|
36
36
|
# @return [::Boolean]
|
37
37
|
# If the value is `false`, it means the operation is still in progress.
|
38
|
-
# If true
|
38
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
39
39
|
# available.
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
@@ -67,7 +67,7 @@ module Google
|
|
67
67
|
# The request message for Operations.ListOperations.
|
68
68
|
# @!attribute [rw] name
|
69
69
|
# @return [::String]
|
70
|
-
# The name of the operation
|
70
|
+
# The name of the operation's parent resource.
|
71
71
|
# @!attribute [rw] filter
|
72
72
|
# @return [::String]
|
73
73
|
# The standard list filter.
|
@@ -112,6 +112,20 @@ module Google
|
|
112
112
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
113
|
end
|
114
114
|
|
115
|
+
# The request message for Operations.WaitOperation.
|
116
|
+
# @!attribute [rw] name
|
117
|
+
# @return [::String]
|
118
|
+
# The name of the operation resource to wait on.
|
119
|
+
# @!attribute [rw] timeout
|
120
|
+
# @return [::Google::Protobuf::Duration]
|
121
|
+
# The maximum duration to wait before timing out. If left blank, the wait
|
122
|
+
# will be at most the time permitted by the underlying HTTP/RPC protocol.
|
123
|
+
# If RPC context deadline is also specified, the shorter one will be used.
|
124
|
+
class WaitOperationRequest
|
125
|
+
include ::Google::Protobuf::MessageExts
|
126
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
127
|
+
end
|
128
|
+
|
115
129
|
# A message representing the message types used by a long-running operation.
|
116
130
|
#
|
117
131
|
# Example:
|
@@ -57,10 +57,13 @@ module Google
|
|
57
57
|
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
|
-
# any, err :=
|
60
|
+
# any, err := anypb.New(foo)
|
61
|
+
# if err != nil {
|
62
|
+
# ...
|
63
|
+
# }
|
61
64
|
# ...
|
62
65
|
# foo := &pb.Foo{}
|
63
|
-
# if err :=
|
66
|
+
# if err := any.UnmarshalTo(foo); err != nil {
|
64
67
|
# ...
|
65
68
|
# }
|
66
69
|
#
|
@@ -70,7 +70,16 @@ module Google
|
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
72
|
#
|
73
|
-
# Example 5: Compute Timestamp from
|
73
|
+
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
|
+
#
|
75
|
+
# Instant now = Instant.now();
|
76
|
+
#
|
77
|
+
# Timestamp timestamp =
|
78
|
+
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
|
+
# .setNanos(now.getNano()).build();
|
80
|
+
#
|
81
|
+
#
|
82
|
+
# Example 6: Compute Timestamp from current time in Python.
|
74
83
|
#
|
75
84
|
# timestamp = Timestamp()
|
76
85
|
# timestamp.GetCurrentTime()
|
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.6.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-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.25.1
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.25.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: minitest
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -152,7 +152,9 @@ dependencies:
|
|
152
152
|
version: '0.9'
|
153
153
|
description: Document AI uses machine learning on a single cloud-based platform to
|
154
154
|
automatically classify, extract, and enrich data within your documents to unlock
|
155
|
-
insights.
|
155
|
+
insights. Note that google-cloud-document_ai-v1beta3 is a version-specific client
|
156
|
+
library. For most uses, we recommend installing the main client library google-cloud-document_ai
|
157
|
+
instead. See the readme for more details.
|
156
158
|
email: googleapis-packages@google.com
|
157
159
|
executables: []
|
158
160
|
extensions: []
|
@@ -170,6 +172,7 @@ files:
|
|
170
172
|
- lib/google/cloud/document_ai/v1beta3/document_processor_service/operations.rb
|
171
173
|
- lib/google/cloud/document_ai/v1beta3/document_processor_service/paths.rb
|
172
174
|
- lib/google/cloud/document_ai/v1beta3/version.rb
|
175
|
+
- lib/google/cloud/documentai/v1beta3/document_io_pb.rb
|
173
176
|
- lib/google/cloud/documentai/v1beta3/document_pb.rb
|
174
177
|
- lib/google/cloud/documentai/v1beta3/document_processor_service_pb.rb
|
175
178
|
- lib/google/cloud/documentai/v1beta3/document_processor_service_services_pb.rb
|
@@ -178,6 +181,7 @@ files:
|
|
178
181
|
- proto_docs/google/api/field_behavior.rb
|
179
182
|
- proto_docs/google/api/resource.rb
|
180
183
|
- proto_docs/google/cloud/documentai/v1beta3/document.rb
|
184
|
+
- proto_docs/google/cloud/documentai/v1beta3/document_io.rb
|
181
185
|
- proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb
|
182
186
|
- proto_docs/google/cloud/documentai/v1beta3/geometry.rb
|
183
187
|
- proto_docs/google/longrunning/operations.rb
|
@@ -205,14 +209,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
205
209
|
requirements:
|
206
210
|
- - ">="
|
207
211
|
- !ruby/object:Gem::Version
|
208
|
-
version: '2.
|
212
|
+
version: '2.5'
|
209
213
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
210
214
|
requirements:
|
211
215
|
- - ">="
|
212
216
|
- !ruby/object:Gem::Version
|
213
217
|
version: '0'
|
214
218
|
requirements: []
|
215
|
-
rubygems_version: 3.2.
|
219
|
+
rubygems_version: 3.2.13
|
216
220
|
signing_key:
|
217
221
|
specification_version: 4
|
218
222
|
summary: API Client library for the Document AI V1beta3 API
|