google-cloud-vision 0.33.0 → 0.33.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/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb +2 -2
- data/lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/product_search.rb +6 -2
- data/lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/product_search_service.rb +5 -1
- data/lib/google/cloud/vision/v1/image_annotator_client.rb +2 -1
- data/lib/google/cloud/vision/v1/product_search_client.rb +2 -1
- data/lib/google/cloud/vision/v1p3beta1/image_annotator_client.rb +2 -1
- data/lib/google/cloud/vision/v1p3beta1/product_search_client.rb +2 -1
- data/lib/google/cloud/vision/version.rb +22 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0f4728f8d24530bee0e467ff03073c63766875d042836f59fd933d5aec9b22e
|
4
|
+
data.tar.gz: ee62b6a74eb706895bc0e7c1fb77828507d13fccd1ba0cc14c55ffe665e16378
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4dd9099952347442f0db704e8f0bd1cede1dcd49ff57c5187f84da0946c3e3a9d15d09753bb51a911e9c1852a27b53a992ca340f8e1b65fccacebf47bc8eae7
|
7
|
+
data.tar.gz: c7dde89251c81857af03142006223d4e87ac8f419d884a50153541aff6a82a5c58bb290a70aac1b9bfa73381ec24b203fe0fcd4edac9560bc3a39063d365b771
|
@@ -724,8 +724,8 @@ module Google
|
|
724
724
|
# not work for AsyncBatchAnnotateFiles requests.
|
725
725
|
# @!attribute [rw] mime_type
|
726
726
|
# @return [String]
|
727
|
-
# The type of the file. Currently only "application/pdf"
|
728
|
-
# are supported. Wildcards are not supported.
|
727
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
728
|
+
# "image/gif" are supported. Wildcards are not supported.
|
729
729
|
class InputConfig; end
|
730
730
|
|
731
731
|
# The desired output location and metadata.
|
@@ -32,8 +32,12 @@ module Google
|
|
32
32
|
# @!attribute [rw] product_categories
|
33
33
|
# @return [Array<String>]
|
34
34
|
# The list of product categories to search in. Currently, we only consider
|
35
|
-
# the first category, and either "homegoods", "apparel", or "toys"
|
36
|
-
# specified.
|
35
|
+
# the first category, and either "homegoods-v2", "apparel-v2", or "toys-v2"
|
36
|
+
# should be specified. The legacy categories "homegoods", "apparel", and
|
37
|
+
# "toys" are still supported but will be deprecated. For new products, please
|
38
|
+
# use "homegoods-v2", "apparel-v2", or "toys-v2" for better product search
|
39
|
+
# accuracy. It is recommended to migrate existing products to these
|
40
|
+
# categories as well.
|
37
41
|
# @!attribute [rw] filter
|
38
42
|
# @return [String]
|
39
43
|
# The filtering expression. This can be used to restrict search results based
|
@@ -37,7 +37,11 @@ module Google
|
|
37
37
|
# @!attribute [rw] product_category
|
38
38
|
# @return [String]
|
39
39
|
# The category for the product identified by the reference image. This should
|
40
|
-
# be either "homegoods", "apparel", or "toys".
|
40
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
41
|
+
# "homegoods", "apparel", and "toys" are still supported but will be
|
42
|
+
# deprecated. For new products, please use "homegoods-v2", "apparel-v2", or
|
43
|
+
# "toys-v2" for better product search accuracy. It is recommended to migrate
|
44
|
+
# existing products to these categories as well.
|
41
45
|
#
|
42
46
|
# This field is immutable.
|
43
47
|
# @!attribute [rw] product_labels
|
@@ -29,6 +29,7 @@ require "google/longrunning/operations_client"
|
|
29
29
|
|
30
30
|
require "google/cloud/vision/v1/image_annotator_pb"
|
31
31
|
require "google/cloud/vision/v1/credentials"
|
32
|
+
require "google/cloud/vision/version"
|
32
33
|
|
33
34
|
module Google
|
34
35
|
module Cloud
|
@@ -139,7 +140,7 @@ module Google
|
|
139
140
|
updater_proc = credentials.updater_proc
|
140
141
|
end
|
141
142
|
|
142
|
-
package_version =
|
143
|
+
package_version = Google::Cloud::Vision::VERSION
|
143
144
|
|
144
145
|
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
145
146
|
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
@@ -29,6 +29,7 @@ require "google/longrunning/operations_client"
|
|
29
29
|
|
30
30
|
require "google/cloud/vision/v1/product_search_service_pb"
|
31
31
|
require "google/cloud/vision/v1/credentials"
|
32
|
+
require "google/cloud/vision/version"
|
32
33
|
|
33
34
|
module Google
|
34
35
|
module Cloud
|
@@ -249,7 +250,7 @@ module Google
|
|
249
250
|
updater_proc = credentials.updater_proc
|
250
251
|
end
|
251
252
|
|
252
|
-
package_version =
|
253
|
+
package_version = Google::Cloud::Vision::VERSION
|
253
254
|
|
254
255
|
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
255
256
|
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
@@ -29,6 +29,7 @@ require "google/longrunning/operations_client"
|
|
29
29
|
|
30
30
|
require "google/cloud/vision/v1p3beta1/image_annotator_pb"
|
31
31
|
require "google/cloud/vision/v1p3beta1/credentials"
|
32
|
+
require "google/cloud/vision/version"
|
32
33
|
|
33
34
|
module Google
|
34
35
|
module Cloud
|
@@ -139,7 +140,7 @@ module Google
|
|
139
140
|
updater_proc = credentials.updater_proc
|
140
141
|
end
|
141
142
|
|
142
|
-
package_version =
|
143
|
+
package_version = Google::Cloud::Vision::VERSION
|
143
144
|
|
144
145
|
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
145
146
|
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
@@ -29,6 +29,7 @@ require "google/longrunning/operations_client"
|
|
29
29
|
|
30
30
|
require "google/cloud/vision/v1p3beta1/product_search_service_pb"
|
31
31
|
require "google/cloud/vision/v1p3beta1/credentials"
|
32
|
+
require "google/cloud/vision/version"
|
32
33
|
|
33
34
|
module Google
|
34
35
|
module Cloud
|
@@ -251,7 +252,7 @@ module Google
|
|
251
252
|
updater_proc = credentials.updater_proc
|
252
253
|
end
|
253
254
|
|
254
|
-
package_version =
|
255
|
+
package_version = Google::Cloud::Vision::VERSION
|
255
256
|
|
256
257
|
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
257
258
|
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Copyright 2019 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
|
16
|
+
module Google
|
17
|
+
module Cloud
|
18
|
+
module Vision
|
19
|
+
VERSION = "0.33.1".freeze
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-vision
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.33.
|
4
|
+
version: 0.33.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: 2019-
|
11
|
+
date: 2019-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|
@@ -165,6 +165,7 @@ files:
|
|
165
165
|
- lib/google/cloud/vision/v1p3beta1/product_search_service_services_pb.rb
|
166
166
|
- lib/google/cloud/vision/v1p3beta1/text_annotation_pb.rb
|
167
167
|
- lib/google/cloud/vision/v1p3beta1/web_detection_pb.rb
|
168
|
+
- lib/google/cloud/vision/version.rb
|
168
169
|
homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-vision
|
169
170
|
licenses:
|
170
171
|
- Apache-2.0
|