google-cloud-document_ai-v1beta3 0.30.0 → 0.30.1
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 +7 -7
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/client.rb +8 -8
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/document_ai/v1beta3/document_service/client.rb +7 -7
- data/lib/google/cloud/document_ai/v1beta3/document_service/rest/client.rb +8 -8
- data/lib/google/cloud/document_ai/v1beta3/document_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/document_ai/v1beta3/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5efa233337ab86564a4444403104776c49fb284b747032bdd0c265fbbad750aa
|
4
|
+
data.tar.gz: 397800f89bf66549138a8b1507e177bfd3f2119a7c8d740584942e8343ae0ae3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c19c52d0603fe711284937d2f6e5c7f9bf8f4b6555b0b5d9d1bf8a0b95e213cb8b97f182f7237f810f4b975cbd6c6c2a79d2ceeca0f912f9a7d7065e0fe87182
|
7
|
+
data.tar.gz: 15541d521b4847cbdfeef9fdfc0c34080169f3f373a59607c2b3663b6c7099b265512837620926cd630aac096ecbee05fbde1f63ee532153ea1b8128a99ca3f4
|
@@ -172,13 +172,6 @@ module Google
|
|
172
172
|
config.universe_domain = @config.universe_domain
|
173
173
|
end
|
174
174
|
|
175
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
176
|
-
config.credentials = credentials
|
177
|
-
config.quota_project = @quota_project_id
|
178
|
-
config.endpoint = @config.endpoint
|
179
|
-
config.universe_domain = @config.universe_domain
|
180
|
-
end
|
181
|
-
|
182
175
|
@document_processor_service_stub = ::Gapic::ServiceStub.new(
|
183
176
|
::Google::Cloud::DocumentAI::V1beta3::DocumentProcessorService::Stub,
|
184
177
|
credentials: credentials,
|
@@ -189,6 +182,13 @@ module Google
|
|
189
182
|
interceptors: @config.interceptors,
|
190
183
|
channel_pool_config: @config.channel_pool
|
191
184
|
)
|
185
|
+
|
186
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
187
|
+
config.credentials = credentials
|
188
|
+
config.quota_project = @quota_project_id
|
189
|
+
config.endpoint = @document_processor_service_stub.endpoint
|
190
|
+
config.universe_domain = @document_processor_service_stub.universe_domain
|
191
|
+
end
|
192
192
|
end
|
193
193
|
|
194
194
|
##
|
@@ -169,20 +169,20 @@ module Google
|
|
169
169
|
config.universe_domain = @config.universe_domain
|
170
170
|
end
|
171
171
|
|
172
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
173
|
-
config.credentials = credentials
|
174
|
-
config.quota_project = @quota_project_id
|
175
|
-
config.endpoint = @config.endpoint
|
176
|
-
config.universe_domain = @config.universe_domain
|
177
|
-
config.bindings_override = @config.bindings_override
|
178
|
-
end
|
179
|
-
|
180
172
|
@document_processor_service_stub = ::Google::Cloud::DocumentAI::V1beta3::DocumentProcessorService::Rest::ServiceStub.new(
|
181
173
|
endpoint: @config.endpoint,
|
182
174
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
183
175
|
universe_domain: @config.universe_domain,
|
184
176
|
credentials: credentials
|
185
177
|
)
|
178
|
+
|
179
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
180
|
+
config.credentials = credentials
|
181
|
+
config.quota_project = @quota_project_id
|
182
|
+
config.endpoint = @document_processor_service_stub.endpoint
|
183
|
+
config.universe_domain = @document_processor_service_stub.universe_domain
|
184
|
+
config.bindings_override = @config.bindings_override
|
185
|
+
end
|
186
186
|
end
|
187
187
|
|
188
188
|
##
|
@@ -52,6 +52,15 @@ module Google
|
|
52
52
|
@client_stub.universe_domain
|
53
53
|
end
|
54
54
|
|
55
|
+
##
|
56
|
+
# The effective endpoint
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
def endpoint
|
61
|
+
@client_stub.endpoint
|
62
|
+
end
|
63
|
+
|
55
64
|
##
|
56
65
|
# Baseline implementation for the process_document REST call
|
57
66
|
#
|
@@ -154,13 +154,6 @@ module Google
|
|
154
154
|
config.universe_domain = @config.universe_domain
|
155
155
|
end
|
156
156
|
|
157
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
158
|
-
config.credentials = credentials
|
159
|
-
config.quota_project = @quota_project_id
|
160
|
-
config.endpoint = @config.endpoint
|
161
|
-
config.universe_domain = @config.universe_domain
|
162
|
-
end
|
163
|
-
|
164
157
|
@document_service_stub = ::Gapic::ServiceStub.new(
|
165
158
|
::Google::Cloud::DocumentAI::V1beta3::DocumentService::Stub,
|
166
159
|
credentials: credentials,
|
@@ -171,6 +164,13 @@ module Google
|
|
171
164
|
interceptors: @config.interceptors,
|
172
165
|
channel_pool_config: @config.channel_pool
|
173
166
|
)
|
167
|
+
|
168
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
169
|
+
config.credentials = credentials
|
170
|
+
config.quota_project = @quota_project_id
|
171
|
+
config.endpoint = @document_service_stub.endpoint
|
172
|
+
config.universe_domain = @document_service_stub.universe_domain
|
173
|
+
end
|
174
174
|
end
|
175
175
|
|
176
176
|
##
|
@@ -151,20 +151,20 @@ module Google
|
|
151
151
|
config.universe_domain = @config.universe_domain
|
152
152
|
end
|
153
153
|
|
154
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
155
|
-
config.credentials = credentials
|
156
|
-
config.quota_project = @quota_project_id
|
157
|
-
config.endpoint = @config.endpoint
|
158
|
-
config.universe_domain = @config.universe_domain
|
159
|
-
config.bindings_override = @config.bindings_override
|
160
|
-
end
|
161
|
-
|
162
154
|
@document_service_stub = ::Google::Cloud::DocumentAI::V1beta3::DocumentService::Rest::ServiceStub.new(
|
163
155
|
endpoint: @config.endpoint,
|
164
156
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
165
157
|
universe_domain: @config.universe_domain,
|
166
158
|
credentials: credentials
|
167
159
|
)
|
160
|
+
|
161
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
162
|
+
config.credentials = credentials
|
163
|
+
config.quota_project = @quota_project_id
|
164
|
+
config.endpoint = @document_service_stub.endpoint
|
165
|
+
config.universe_domain = @document_service_stub.universe_domain
|
166
|
+
config.bindings_override = @config.bindings_override
|
167
|
+
end
|
168
168
|
end
|
169
169
|
|
170
170
|
##
|
@@ -52,6 +52,15 @@ module Google
|
|
52
52
|
@client_stub.universe_domain
|
53
53
|
end
|
54
54
|
|
55
|
+
##
|
56
|
+
# The effective endpoint
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
def endpoint
|
61
|
+
@client_stub.endpoint
|
62
|
+
end
|
63
|
+
|
55
64
|
##
|
56
65
|
# Baseline implementation for the update_dataset REST call
|
57
66
|
#
|
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.30.
|
4
|
+
version: 0.30.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|