google-cloud-vision 0.21.1 → 0.22.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.
@@ -38,7 +38,7 @@ module Google
38
38
  #
39
39
  # @!attribute [r] image_annotator_stub
40
40
  # @return [Google::Cloud::Vision::V1::ImageAnnotator::Stub]
41
- class ImageAnnotatorApi
41
+ class ImageAnnotatorClient
42
42
  attr_reader :image_annotator_stub
43
43
 
44
44
  # The default address of the service.
@@ -92,6 +92,7 @@ module Google
92
92
  require "google/gax/grpc"
93
93
  require "google/cloud/vision/v1/image_annotator_services_pb"
94
94
 
95
+
95
96
  google_api_client = "#{app_name}/#{app_version} " \
96
97
  "#{CODE_GEN_NAME_VERSION} gax/#{Google::Gax::VERSION} " \
97
98
  "ruby/#{RUBY_VERSION}".freeze
@@ -137,13 +138,13 @@ module Google
137
138
  # @return [Google::Cloud::Vision::V1::BatchAnnotateImagesResponse]
138
139
  # @raise [Google::Gax::GaxError] if the RPC is aborted.
139
140
  # @example
140
- # require "google/cloud/vision/v1/image_annotator_api"
141
+ # require "google/cloud/vision/v1/image_annotator_client"
141
142
  #
142
- # ImageAnnotatorApi = Google::Cloud::Vision::V1::ImageAnnotatorApi
143
+ # ImageAnnotatorClient = Google::Cloud::Vision::V1::ImageAnnotatorClient
143
144
  #
144
- # image_annotator_api = ImageAnnotatorApi.new
145
+ # image_annotator_client = ImageAnnotatorClient.new
145
146
  # requests = []
146
- # response = image_annotator_api.batch_annotate_images(requests)
147
+ # response = image_annotator_client.batch_annotate_images(requests)
147
148
 
148
149
  def batch_annotate_images \
149
150
  requests,
@@ -2,13 +2,11 @@
2
2
  "interfaces": {
3
3
  "google.cloud.vision.v1.ImageAnnotator": {
4
4
  "retry_codes": {
5
- "retry_codes_def": {
6
5
  "idempotent": [
7
6
  "DEADLINE_EXCEEDED",
8
7
  "UNAVAILABLE"
9
8
  ],
10
9
  "non_idempotent": []
11
- }
12
10
  },
13
11
  "retry_params": {
14
12
  "default": {
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Vision
19
- VERSION = "0.21.1"
19
+ VERSION = "0.22.0"
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vision
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.1
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-10-27 00:00:00.000000000 Z
12
+ date: 2017-02-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core
@@ -25,76 +25,34 @@ dependencies:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: 0.21.0
28
- - !ruby/object:Gem::Dependency
29
- name: grpc
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - "~>"
33
- - !ruby/object:Gem::Version
34
- version: '1.0'
35
- type: :runtime
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - "~>"
40
- - !ruby/object:Gem::Version
41
- version: '1.0'
42
28
  - !ruby/object:Gem::Dependency
43
29
  name: google-gax
44
30
  requirement: !ruby/object:Gem::Requirement
45
31
  requirements:
46
32
  - - "~>"
47
33
  - !ruby/object:Gem::Version
48
- version: 0.6.0
34
+ version: 0.8.0
49
35
  type: :runtime
50
36
  prerelease: false
51
37
  version_requirements: !ruby/object:Gem::Requirement
52
38
  requirements:
53
39
  - - "~>"
54
40
  - !ruby/object:Gem::Version
55
- version: 0.6.0
56
- - !ruby/object:Gem::Dependency
57
- name: google-protobuf
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: '3.0'
63
- type: :runtime
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '3.0'
70
- - !ruby/object:Gem::Dependency
71
- name: googleapis-common-protos
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - "~>"
75
- - !ruby/object:Gem::Version
76
- version: '1.3'
77
- type: :runtime
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - "~>"
82
- - !ruby/object:Gem::Version
83
- version: '1.3'
41
+ version: 0.8.0
84
42
  - !ruby/object:Gem::Dependency
85
43
  name: minitest
86
44
  requirement: !ruby/object:Gem::Requirement
87
45
  requirements:
88
46
  - - "~>"
89
47
  - !ruby/object:Gem::Version
90
- version: '5.9'
48
+ version: '5.10'
91
49
  type: :development
92
50
  prerelease: false
93
51
  version_requirements: !ruby/object:Gem::Requirement
94
52
  requirements:
95
53
  - - "~>"
96
54
  - !ruby/object:Gem::Version
97
- version: '5.9'
55
+ version: '5.10'
98
56
  - !ruby/object:Gem::Dependency
99
57
  name: minitest-autotest
100
58
  requirement: !ruby/object:Gem::Requirement
@@ -197,16 +155,16 @@ dependencies:
197
155
  name: yard-doctest
198
156
  requirement: !ruby/object:Gem::Requirement
199
157
  requirements:
200
- - - "~>"
158
+ - - "<="
201
159
  - !ruby/object:Gem::Version
202
- version: 0.1.6
160
+ version: 0.1.8
203
161
  type: :development
204
162
  prerelease: false
205
163
  version_requirements: !ruby/object:Gem::Requirement
206
164
  requirements:
207
- - - "~>"
165
+ - - "<="
208
166
  - !ruby/object:Gem::Version
209
- version: 0.1.6
167
+ version: 0.1.8
210
168
  description: google-cloud-vision is the official library for Google Cloud Vision API.
211
169
  email:
212
170
  - mike@blowmage.com
@@ -215,6 +173,9 @@ executables: []
215
173
  extensions: []
216
174
  extra_rdoc_files: []
217
175
  files:
176
+ - ".yardopts"
177
+ - LICENSE
178
+ - README.md
218
179
  - lib/google-cloud-vision.rb
219
180
  - lib/google/cloud/vision.rb
220
181
  - lib/google/cloud/vision/annotate.rb
@@ -231,8 +192,15 @@ files:
231
192
  - lib/google/cloud/vision/project.rb
232
193
  - lib/google/cloud/vision/service.rb
233
194
  - lib/google/cloud/vision/v1.rb
195
+ - lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.rb
196
+ - lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb
197
+ - lib/google/cloud/vision/v1/doc/google/protobuf/any.rb
198
+ - lib/google/cloud/vision/v1/doc/google/protobuf/wrappers.rb
199
+ - lib/google/cloud/vision/v1/doc/google/rpc/status.rb
200
+ - lib/google/cloud/vision/v1/doc/google/type/color.rb
201
+ - lib/google/cloud/vision/v1/doc/google/type/latlng.rb
234
202
  - lib/google/cloud/vision/v1/geometry_pb.rb
235
- - lib/google/cloud/vision/v1/image_annotator_api.rb
203
+ - lib/google/cloud/vision/v1/image_annotator_client.rb
236
204
  - lib/google/cloud/vision/v1/image_annotator_client_config.json
237
205
  - lib/google/cloud/vision/v1/image_annotator_pb.rb
238
206
  - lib/google/cloud/vision/v1/image_annotator_services_pb.rb
@@ -257,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
257
225
  version: '0'
258
226
  requirements: []
259
227
  rubyforge_project:
260
- rubygems_version: 2.5.1
228
+ rubygems_version: 2.6.10
261
229
  signing_key:
262
230
  specification_version: 4
263
231
  summary: API Client library for Google Cloud Vision API