google-cloud-vision 2.0.2 → 2.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98e5af72b013f38b35102a074462fd44bfb4c252741571802dbb69d51b005c8b
4
- data.tar.gz: 999080e4382e3fd9d1feb25231c3346c0908fba3021c6d95283ff511549a3146
3
+ metadata.gz: 6a42c61400522472c71eac019bb0cdab42301063b9b93e77e678286e70bac776
4
+ data.tar.gz: a43862f646864ea3123bc714ae0ec1ffe0fd38f29313c54582f27f89f66fb53d
5
5
  SHA512:
6
- metadata.gz: 639328e330ff157791443b924c87d7d125cd5bdfe4ad165a84bfa25f476e24faaf8b92edcf68282478b94ad839bce2a63bc3b90cfb1f37e202d03345735d8710
7
- data.tar.gz: 8302111dc37961c7a5f84359bacada47504b36645d7d28f54b1ce344775e2a962562168d51141e88ebabd6c2ca18a3c3916e099a1d7ad99171551eb8608f5a32
6
+ metadata.gz: 5a3d1a117deb00f713bdbed51debdc22e7e0206e52271a0ec54fafb29e1804b91e27fc57a069f1e6faca37295ce3d896b725b21597213a501f4a94ab2af2bef5
7
+ data.tar.gz: 4775a6935584698cac49241fcd6c54ff100d65d533473245fe27497a6dcd39bfdf9f69145ef6638576fbffac99f38744438dcccb1509657946ea7c80e7303fcd
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/vision.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/vision"
39
+
40
+ client = Google::Cloud::Vision.product_search
41
+ request = ::Google::Cloud::Vision::V1::CreateProductSetRequest.new # (request fields as keyword arguments...)
42
+ response = client.create_product_set request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Vision
23
- VERSION = "2.0.2"
23
+ VERSION = "2.0.3"
24
24
  end
25
25
  end
26
26
  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: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC