google-cloud-recommendation_engine 0.7.1 → 0.7.2

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: 56ebca0ce3beddcabeb136b67565051b234add79c989fc7bf2e3db3c2ce7cb9d
4
- data.tar.gz: '08aa6f9c99e3db16cda8a50bd8cbf3a6635d01f20dc4559e9441de98fb24f16f'
3
+ metadata.gz: d4c72ebd08a0fede4b5fe9b683ec8d98b03ac3fbfb70b04119eb09ee30c25006
4
+ data.tar.gz: 6ee8233b19569aa615955e495ddab7382706b1161cd64db75b285e496c8b3ce1
5
5
  SHA512:
6
- metadata.gz: 7688f21701a650229879ac697b4ec40bc86cb698e3959f1ad85248a660b7c5f704c1bab6d88d19bab38f4a17ef936fa64607ed2d0e6e539fc1158909f8332895
7
- data.tar.gz: d2327b43ba3d402652ce6daee1257fa002e5f66cd4864a52b08d2bebffb5a1e23271c61dbd14c7c5a0fca272f7e2ad28753254744b658099b3ad96788ea5b99e
6
+ metadata.gz: d22390b8498e29455d20a9a862dec6aa2b1b9b43f7bc9f0b4d2428d64a2230341eb4c9dfaad9efeaf98fd675824fa2d5fbc3680dbd5dc028e79114e8df433feb
7
+ data.tar.gz: 363c94854403550927ce77b88899ba24eea10fc1d5b66dca36a4d9e8bf85ab93775129e33a576052b462e1f63de1f95701cb561ba80f860e82da49d3d13ce440
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/recommendationengine.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/recommendation_engine"
39
+
40
+ client = Google::Cloud::RecommendationEngine.catalog_service
41
+ request = ::Google::Cloud::RecommendationEngine::V1beta1::CreateCatalogItemRequest.new # (request fields as keyword arguments...)
42
+ response = client.create_catalog_item 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 RecommendationEngine
23
- VERSION = "0.7.1"
23
+ VERSION = "0.7.2"
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-recommendation_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubygems_version: 3.6.8
79
+ rubygems_version: 3.6.9
80
80
  specification_version: 4
81
81
  summary: API Client library for the Recommendations AI API
82
82
  test_files: []