google-cloud-document_ai-v1beta3 0.25.0 → 0.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb +14 -2
- 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 +472 -1
- 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_processor_service_pb.rb +2 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb +20 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60a5e738246339ac729ac2c314ee99b29cde12b71ba0cf15d2ff1391907a5946
|
4
|
+
data.tar.gz: 9b5abfad5cdf7ec4c2d2a802ba98a04d51470284abaed92860be43504eda6006
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53131ab92cdf7e97dc3d5c1b6d0e80b484df9fb2cb0ae86c12e98e8d24655ca327207aa576dd0490377e19032fbb0130eebb3ce86bdf0d72e4ca3e0c6c1650d0
|
7
|
+
data.tar.gz: 56138da545556fdbbb414a0d3ee48c4daf579bc804cd6673f5d326096b776273944b170201b8806e829646fc91775e935581dc54d8501553dc7fd7f94306c43b
|
@@ -169,7 +169,8 @@ module Google
|
|
169
169
|
credentials: credentials,
|
170
170
|
endpoint: @config.endpoint,
|
171
171
|
channel_args: @config.channel_args,
|
172
|
-
interceptors: @config.interceptors
|
172
|
+
interceptors: @config.interceptors,
|
173
|
+
channel_pool_config: @config.channel_pool
|
173
174
|
)
|
174
175
|
end
|
175
176
|
|
@@ -2331,7 +2332,7 @@ module Google
|
|
2331
2332
|
# @param options [::Gapic::CallOptions, ::Hash]
|
2332
2333
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2333
2334
|
#
|
2334
|
-
# @overload import_processor_version(processor_version_source: nil, parent: nil)
|
2335
|
+
# @overload import_processor_version(processor_version_source: nil, external_processor_version_source: nil, parent: nil)
|
2335
2336
|
# Pass arguments to `import_processor_version` via keyword arguments. Note that at
|
2336
2337
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
2337
2338
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -2339,6 +2340,9 @@ module Google
|
|
2339
2340
|
# @param processor_version_source [::String]
|
2340
2341
|
# The source processor version to import from. The source processor version
|
2341
2342
|
# and destination processor need to be in the same environment and region.
|
2343
|
+
# @param external_processor_version_source [::Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest::ExternalProcessorVersionSource, ::Hash]
|
2344
|
+
# The source processor version to import from, and can be from different
|
2345
|
+
# environment and region than the destination processor.
|
2342
2346
|
# @param parent [::String]
|
2343
2347
|
# Required. The destination processor name to create the processor version
|
2344
2348
|
# in. Format:
|
@@ -2535,6 +2539,14 @@ module Google
|
|
2535
2539
|
end
|
2536
2540
|
end
|
2537
2541
|
|
2542
|
+
##
|
2543
|
+
# Configuration for the channel pool
|
2544
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
2545
|
+
#
|
2546
|
+
def channel_pool
|
2547
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
2548
|
+
end
|
2549
|
+
|
2538
2550
|
##
|
2539
2551
|
# Configuration RPC class for the DocumentProcessorService API.
|
2540
2552
|
#
|
@@ -93,7 +93,8 @@ module Google
|
|
93
93
|
credentials: credentials,
|
94
94
|
endpoint: @config.endpoint,
|
95
95
|
channel_args: @config.channel_args,
|
96
|
-
interceptors: @config.interceptors
|
96
|
+
interceptors: @config.interceptors,
|
97
|
+
channel_pool_config: @config.channel_pool
|
97
98
|
)
|
98
99
|
|
99
100
|
# Used by an LRO wrapper for some methods of this service
|
@@ -701,6 +702,14 @@ module Google
|
|
701
702
|
end
|
702
703
|
end
|
703
704
|
|
705
|
+
##
|
706
|
+
# Configuration for the channel pool
|
707
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
708
|
+
#
|
709
|
+
def channel_pool
|
710
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
711
|
+
end
|
712
|
+
|
704
713
|
##
|
705
714
|
# Configuration RPC class for the Operations API.
|
706
715
|
#
|