google-cloud-retail-v2 0.1.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/LICENSE.md +188 -190
- data/README.md +67 -3
- data/lib/google/cloud/retail/v2/catalog_service/client.rb +14 -11
- data/lib/google/cloud/retail/v2/prediction_service/client.rb +13 -10
- data/lib/google/cloud/retail/v2/product_service/client.rb +21 -18
- data/lib/google/cloud/retail/v2/product_service/operations.rb +95 -10
- data/lib/google/cloud/retail/v2/user_event_service/client.rb +21 -18
- data/lib/google/cloud/retail/v2/user_event_service/operations.rb +95 -10
- data/lib/google/cloud/retail/v2/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +12 -0
- data/proto_docs/google/api/httpbody.rb +4 -3
- data/proto_docs/google/cloud/retail/v2/import_config.rb +8 -7
- data/proto_docs/google/cloud/retail/v2/product.rb +2 -2
- data/proto_docs/google/cloud/retail/v2/product_service.rb +3 -3
- data/proto_docs/google/cloud/retail/v2/user_event_service.rb +3 -3
- data/proto_docs/google/longrunning/operations.rb +17 -3
- data/proto_docs/google/protobuf/any.rb +5 -2
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/timestamp.rb +10 -1
- metadata +20 -11
@@ -70,7 +70,16 @@ module Google
|
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
72
|
#
|
73
|
-
# Example 5: Compute Timestamp from
|
73
|
+
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
|
+
#
|
75
|
+
# Instant now = Instant.now();
|
76
|
+
#
|
77
|
+
# Timestamp timestamp =
|
78
|
+
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
|
+
# .setNanos(now.getNano()).build();
|
80
|
+
#
|
81
|
+
#
|
82
|
+
# Example 6: Compute Timestamp from current time in Python.
|
74
83
|
#
|
75
84
|
# timestamp = Timestamp()
|
76
85
|
# timestamp.GetCurrentTime()
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-retail-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.5'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.5'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: google-cloud-errors
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +50,14 @@ dependencies:
|
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
53
|
+
version: 1.25.1
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
60
|
+
version: 1.25.1
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: minitest
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -152,7 +158,9 @@ dependencies:
|
|
152
158
|
version: '0.9'
|
153
159
|
description: Retail enables you to build an end-to-end personalized recommendation
|
154
160
|
system based on state-of-the-art deep learning ML models, without a need for expertise
|
155
|
-
in ML or recommendation systems.
|
161
|
+
in ML or recommendation systems. Note that google-cloud-retail-v2 is a version-specific
|
162
|
+
client library. For most uses, we recommend installing the main client library google-cloud-retail
|
163
|
+
instead. See the readme for more details.
|
156
164
|
email: googleapis-packages@google.com
|
157
165
|
executables: []
|
158
166
|
extensions: []
|
@@ -213,6 +221,7 @@ files:
|
|
213
221
|
- proto_docs/google/cloud/retail/v2/user_event_service.rb
|
214
222
|
- proto_docs/google/longrunning/operations.rb
|
215
223
|
- proto_docs/google/protobuf/any.rb
|
224
|
+
- proto_docs/google/protobuf/duration.rb
|
216
225
|
- proto_docs/google/protobuf/empty.rb
|
217
226
|
- proto_docs/google/protobuf/field_mask.rb
|
218
227
|
- proto_docs/google/protobuf/struct.rb
|
@@ -231,14 +240,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
231
240
|
requirements:
|
232
241
|
- - ">="
|
233
242
|
- !ruby/object:Gem::Version
|
234
|
-
version: '2.
|
243
|
+
version: '2.5'
|
235
244
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
236
245
|
requirements:
|
237
246
|
- - ">="
|
238
247
|
- !ruby/object:Gem::Version
|
239
248
|
version: '0'
|
240
249
|
requirements: []
|
241
|
-
rubygems_version: 3.2.
|
250
|
+
rubygems_version: 3.2.17
|
242
251
|
signing_key:
|
243
252
|
specification_version: 4
|
244
253
|
summary: API Client library for the Retail V2 API
|