google-cloud-vision-v1 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00b662e4d0e94b6f05a3bc4515223e81602905efe5b34c4d6386ac14325eab2a
4
- data.tar.gz: be82341c0066884c13f14d416ae6d8dfcd6e3f89dca122b80ca51a8256aff40b
3
+ metadata.gz: 458a6014a23f7ec8cf96e5f865846aa07ddf3af3697e37a7bf84b634e5056c85
4
+ data.tar.gz: 9e7d505b52b89ad5a0fd273998d5249d619e62f54e407587851c35d91d9bd85b
5
5
  SHA512:
6
- metadata.gz: e3c5cd5e1412c59119d8592c8fb5178a0dcb4ea4f59dc3685e6c2e982e4f7010d23de9efd44fe05e5e44c16735ff07269051352c089443c2b4f9e8a487b42ff7
7
- data.tar.gz: a93cdf2b55c328113ea051ac7e41d20c5ff1a0bee338443fab5995337f1547b05cadb1c867ffdbb15f2f53da2193fbb0a284c77f2bb21862bdc5614779647e80
6
+ metadata.gz: 85c0e192a8e244ca170fd0ff82c0a6b5539038c32c23742321f560338642781808be506ac91e0d50f50075978176e5127a02bdd5300d090ba057fba51f121fe0
7
+ data.tar.gz: 5cca6953e0989095a655ff39a32966da464b81fd986c47bbfb6bedba7b66b8c5fc2ac9d9ef2b47e1113215138913c9851bf6c322d7025886cee562db3a596a19
@@ -168,6 +168,7 @@ module Google
168
168
 
169
169
  @operations_client = Operations.new do |config|
170
170
  config.credentials = credentials
171
+ config.endpoint = @config.endpoint
171
172
  end
172
173
 
173
174
  @image_annotator_stub = Gapic::ServiceStub.new(
@@ -179,6 +180,13 @@ module Google
179
180
  )
180
181
  end
181
182
 
183
+ ##
184
+ # Get the associated client for long-running operations.
185
+ #
186
+ # @return [Google::Cloud::Vision::V1::ImageAnnotator::Operations]
187
+ #
188
+ attr_reader :operations_client
189
+
182
190
  # Service calls
183
191
 
184
192
  ##
@@ -299,6 +299,7 @@ module Google
299
299
 
300
300
  @operations_client = Operations.new do |config|
301
301
  config.credentials = credentials
302
+ config.endpoint = @config.endpoint
302
303
  end
303
304
 
304
305
  @product_search_stub = Gapic::ServiceStub.new(
@@ -310,6 +311,13 @@ module Google
310
311
  )
311
312
  end
312
313
 
314
+ ##
315
+ # Get the associated client for long-running operations.
316
+ #
317
+ # @return [Google::Cloud::Vision::V1::ProductSearch::Operations]
318
+ #
319
+ attr_reader :operations_client
320
+
313
321
  # Service calls
314
322
 
315
323
  ##
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Vision
23
23
  module V1
24
- VERSION = "0.1.3"
24
+ VERSION = "0.1.4"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vision-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-13 00:00:00.000000000 Z
11
+ date: 2020-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common