google-cloud-retail 2.1.0 → 2.1.1

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: 2ef2161ac340119f52fcebaee2816549292bc66a0c115c9bbf080b83faf49c88
4
- data.tar.gz: e5c8297a28ad203e22a58c22162b9d4bd76b0dd8afb81d22f4a3e68245f5b362
3
+ metadata.gz: ba6b4c6921520cecaf8eee3483c14448de37a9fec5fc0ad74a68cc99e1593191
4
+ data.tar.gz: d61185f40406e3d0ebdb874c71828eeacddee5cffeb0b2154eca52adf13f4263
5
5
  SHA512:
6
- metadata.gz: 30a842a5f2a95957da0f7e0e3b891834740aa0327de25d29ef5d5d97075422815ce5fade7e4b74a088ad9457be89630903bd8fce11292da1a78e9324e9311345
7
- data.tar.gz: 493a9b0495c69ea95d5daf0fc4fbe21d50d22bc982e3337059a14a9a533133e3a9aa36ae48e9f8b2177ccb3100e7fc870d7f464ef58dbfbf66d9613db7f4c16c
6
+ metadata.gz: 5577f0ca9b4f734b5d45a1c0cc9e8988f341d62a2bc29dda563a21f0c14f7a76ba57387ede5d57c88df24d5f2364ab8fb815947421b920c1d3f23c61491fce99
7
+ data.tar.gz: e6d241bd614f5d5e0695df90991dc555f5f37cb05f1fa878ef88d79506125cb07e5ab182e90d6782dc31e7306e837874571a8c21138f2979ce43a74a3a783a64
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/retail.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/retail"
39
+
40
+ client = Google::Cloud::Retail.analytics_service
41
+ request = ::Google::Cloud::Retail::V2::ExportAnalyticsMetricsRequest.new # (request fields as keyword arguments...)
42
+ response = client.export_analytics_metrics 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 Retail
23
- VERSION = "2.1.0"
23
+ VERSION = "2.1.1"
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-retail
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC