google-cloud-retail-v2 0.12.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/retail/v2/catalog_service/client.rb +18 -6
- data/lib/google/cloud/retail/v2/catalog_service/rest/client.rb +1220 -0
- data/lib/google/cloud/retail/v2/catalog_service/rest/service_stub.rb +704 -0
- data/lib/google/cloud/retail/v2/catalog_service/rest.rb +52 -0
- data/lib/google/cloud/retail/v2/catalog_service.rb +6 -0
- data/lib/google/cloud/retail/v2/completion_service/client.rb +18 -4
- data/lib/google/cloud/retail/v2/completion_service/operations.rb +12 -14
- data/lib/google/cloud/retail/v2/completion_service/rest/client.rb +533 -0
- data/lib/google/cloud/retail/v2/completion_service/rest/operations.rb +828 -0
- data/lib/google/cloud/retail/v2/completion_service/rest/service_stub.rb +167 -0
- data/lib/google/cloud/retail/v2/completion_service/rest.rb +56 -0
- data/lib/google/cloud/retail/v2/completion_service.rb +6 -0
- data/lib/google/cloud/retail/v2/control_service/client.rb +18 -6
- data/lib/google/cloud/retail/v2/control_service/rest/client.rb +680 -0
- data/lib/google/cloud/retail/v2/control_service/rest/service_stub.rb +345 -0
- data/lib/google/cloud/retail/v2/control_service/rest.rb +52 -0
- data/lib/google/cloud/retail/v2/control_service.rb +6 -0
- data/lib/google/cloud/retail/v2/prediction_service/client.rb +14 -0
- data/lib/google/cloud/retail/v2/prediction_service/rest/client.rb +486 -0
- data/lib/google/cloud/retail/v2/prediction_service/rest/service_stub.rb +116 -0
- data/lib/google/cloud/retail/v2/prediction_service/rest.rb +52 -0
- data/lib/google/cloud/retail/v2/prediction_service.rb +6 -0
- data/lib/google/cloud/retail/v2/product_service/client.rb +42 -30
- data/lib/google/cloud/retail/v2/product_service/operations.rb +12 -14
- data/lib/google/cloud/retail/v2/product_service/rest/client.rb +1649 -0
- data/lib/google/cloud/retail/v2/product_service/rest/operations.rb +828 -0
- data/lib/google/cloud/retail/v2/product_service/rest/service_stub.rb +705 -0
- data/lib/google/cloud/retail/v2/product_service/rest.rb +54 -0
- data/lib/google/cloud/retail/v2/product_service.rb +6 -0
- data/lib/google/cloud/retail/v2/rest.rb +44 -0
- data/lib/google/cloud/retail/v2/search_service/client.rb +18 -6
- data/lib/google/cloud/retail/v2/search_service/rest/client.rb +598 -0
- data/lib/google/cloud/retail/v2/search_service/rest/service_stub.rb +116 -0
- data/lib/google/cloud/retail/v2/search_service/rest.rb +55 -0
- data/lib/google/cloud/retail/v2/search_service.rb +6 -0
- data/lib/google/cloud/retail/v2/serving_config_service/client.rb +18 -6
- data/lib/google/cloud/retail/v2/serving_config_service/rest/client.rb +825 -0
- data/lib/google/cloud/retail/v2/serving_config_service/rest/service_stub.rb +465 -0
- data/lib/google/cloud/retail/v2/serving_config_service/rest.rb +52 -0
- data/lib/google/cloud/retail/v2/serving_config_service.rb +6 -0
- data/lib/google/cloud/retail/v2/user_event_service/client.rb +26 -12
- data/lib/google/cloud/retail/v2/user_event_service/operations.rb +12 -14
- data/lib/google/cloud/retail/v2/user_event_service/rest/client.rb +755 -0
- data/lib/google/cloud/retail/v2/user_event_service/rest/operations.rb +828 -0
- data/lib/google/cloud/retail/v2/user_event_service/rest/service_stub.rb +347 -0
- data/lib/google/cloud/retail/v2/user_event_service/rest.rb +53 -0
- data/lib/google/cloud/retail/v2/user_event_service.rb +6 -0
- data/lib/google/cloud/retail/v2/version.rb +1 -1
- data/lib/google/cloud/retail/v2.rb +5 -0
- metadata +58 -8
@@ -0,0 +1,347 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "google/cloud/retail/v2/user_event_service_pb"
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Cloud
|
23
|
+
module Retail
|
24
|
+
module V2
|
25
|
+
module UserEventService
|
26
|
+
module Rest
|
27
|
+
##
|
28
|
+
# REST service stub for the UserEventService service.
|
29
|
+
# Service stub contains baseline method implementations
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
31
|
+
#
|
32
|
+
class ServiceStub
|
33
|
+
def initialize endpoint:, credentials:
|
34
|
+
# These require statements are intentionally placed here to initialize
|
35
|
+
# the REST modules only when it's required.
|
36
|
+
require "gapic/rest"
|
37
|
+
|
38
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials,
|
39
|
+
numeric_enums: true,
|
40
|
+
raise_faraday_errors: false
|
41
|
+
end
|
42
|
+
|
43
|
+
##
|
44
|
+
# Baseline implementation for the write_user_event REST call
|
45
|
+
#
|
46
|
+
# @param request_pb [::Google::Cloud::Retail::V2::WriteUserEventRequest]
|
47
|
+
# A request object representing the call parameters. Required.
|
48
|
+
# @param options [::Gapic::CallOptions]
|
49
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
50
|
+
#
|
51
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
52
|
+
# @yieldparam result [::Google::Cloud::Retail::V2::UserEvent]
|
53
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
54
|
+
#
|
55
|
+
# @return [::Google::Cloud::Retail::V2::UserEvent]
|
56
|
+
# A result object deserialized from the server's reply
|
57
|
+
def write_user_event request_pb, options = nil
|
58
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
59
|
+
|
60
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_write_user_event_request request_pb
|
61
|
+
query_string_params = if query_string_params.any?
|
62
|
+
query_string_params.to_h { |p| p.split("=", 2) }
|
63
|
+
else
|
64
|
+
{}
|
65
|
+
end
|
66
|
+
|
67
|
+
response = @client_stub.make_http_request(
|
68
|
+
verb,
|
69
|
+
uri: uri,
|
70
|
+
body: body || "",
|
71
|
+
params: query_string_params,
|
72
|
+
options: options
|
73
|
+
)
|
74
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
75
|
+
result = ::Google::Cloud::Retail::V2::UserEvent.decode_json response.body, ignore_unknown_fields: true
|
76
|
+
|
77
|
+
yield result, operation if block_given?
|
78
|
+
result
|
79
|
+
end
|
80
|
+
|
81
|
+
##
|
82
|
+
# Baseline implementation for the collect_user_event REST call
|
83
|
+
#
|
84
|
+
# @param request_pb [::Google::Cloud::Retail::V2::CollectUserEventRequest]
|
85
|
+
# A request object representing the call parameters. Required.
|
86
|
+
# @param options [::Gapic::CallOptions]
|
87
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
88
|
+
#
|
89
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
90
|
+
# @yieldparam result [::Google::Api::HttpBody]
|
91
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
92
|
+
#
|
93
|
+
# @return [::Google::Api::HttpBody]
|
94
|
+
# A result object deserialized from the server's reply
|
95
|
+
def collect_user_event request_pb, options = nil
|
96
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
97
|
+
|
98
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_collect_user_event_request request_pb
|
99
|
+
query_string_params = if query_string_params.any?
|
100
|
+
query_string_params.to_h { |p| p.split("=", 2) }
|
101
|
+
else
|
102
|
+
{}
|
103
|
+
end
|
104
|
+
|
105
|
+
response = @client_stub.make_http_request(
|
106
|
+
verb,
|
107
|
+
uri: uri,
|
108
|
+
body: body || "",
|
109
|
+
params: query_string_params,
|
110
|
+
options: options
|
111
|
+
)
|
112
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
113
|
+
result = ::Google::Api::HttpBody.decode_json response.body, ignore_unknown_fields: true
|
114
|
+
|
115
|
+
yield result, operation if block_given?
|
116
|
+
result
|
117
|
+
end
|
118
|
+
|
119
|
+
##
|
120
|
+
# Baseline implementation for the purge_user_events REST call
|
121
|
+
#
|
122
|
+
# @param request_pb [::Google::Cloud::Retail::V2::PurgeUserEventsRequest]
|
123
|
+
# A request object representing the call parameters. Required.
|
124
|
+
# @param options [::Gapic::CallOptions]
|
125
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
126
|
+
#
|
127
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
128
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
129
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
130
|
+
#
|
131
|
+
# @return [::Google::Longrunning::Operation]
|
132
|
+
# A result object deserialized from the server's reply
|
133
|
+
def purge_user_events request_pb, options = nil
|
134
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
135
|
+
|
136
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_purge_user_events_request request_pb
|
137
|
+
query_string_params = if query_string_params.any?
|
138
|
+
query_string_params.to_h { |p| p.split("=", 2) }
|
139
|
+
else
|
140
|
+
{}
|
141
|
+
end
|
142
|
+
|
143
|
+
response = @client_stub.make_http_request(
|
144
|
+
verb,
|
145
|
+
uri: uri,
|
146
|
+
body: body || "",
|
147
|
+
params: query_string_params,
|
148
|
+
options: options
|
149
|
+
)
|
150
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
151
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
152
|
+
|
153
|
+
yield result, operation if block_given?
|
154
|
+
result
|
155
|
+
end
|
156
|
+
|
157
|
+
##
|
158
|
+
# Baseline implementation for the import_user_events REST call
|
159
|
+
#
|
160
|
+
# @param request_pb [::Google::Cloud::Retail::V2::ImportUserEventsRequest]
|
161
|
+
# A request object representing the call parameters. Required.
|
162
|
+
# @param options [::Gapic::CallOptions]
|
163
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
164
|
+
#
|
165
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
166
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
167
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
168
|
+
#
|
169
|
+
# @return [::Google::Longrunning::Operation]
|
170
|
+
# A result object deserialized from the server's reply
|
171
|
+
def import_user_events request_pb, options = nil
|
172
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
173
|
+
|
174
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_import_user_events_request request_pb
|
175
|
+
query_string_params = if query_string_params.any?
|
176
|
+
query_string_params.to_h { |p| p.split("=", 2) }
|
177
|
+
else
|
178
|
+
{}
|
179
|
+
end
|
180
|
+
|
181
|
+
response = @client_stub.make_http_request(
|
182
|
+
verb,
|
183
|
+
uri: uri,
|
184
|
+
body: body || "",
|
185
|
+
params: query_string_params,
|
186
|
+
options: options
|
187
|
+
)
|
188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
189
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
190
|
+
|
191
|
+
yield result, operation if block_given?
|
192
|
+
result
|
193
|
+
end
|
194
|
+
|
195
|
+
##
|
196
|
+
# Baseline implementation for the rejoin_user_events REST call
|
197
|
+
#
|
198
|
+
# @param request_pb [::Google::Cloud::Retail::V2::RejoinUserEventsRequest]
|
199
|
+
# A request object representing the call parameters. Required.
|
200
|
+
# @param options [::Gapic::CallOptions]
|
201
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
202
|
+
#
|
203
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
204
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
205
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
206
|
+
#
|
207
|
+
# @return [::Google::Longrunning::Operation]
|
208
|
+
# A result object deserialized from the server's reply
|
209
|
+
def rejoin_user_events request_pb, options = nil
|
210
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
211
|
+
|
212
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_rejoin_user_events_request request_pb
|
213
|
+
query_string_params = if query_string_params.any?
|
214
|
+
query_string_params.to_h { |p| p.split("=", 2) }
|
215
|
+
else
|
216
|
+
{}
|
217
|
+
end
|
218
|
+
|
219
|
+
response = @client_stub.make_http_request(
|
220
|
+
verb,
|
221
|
+
uri: uri,
|
222
|
+
body: body || "",
|
223
|
+
params: query_string_params,
|
224
|
+
options: options
|
225
|
+
)
|
226
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
227
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
228
|
+
|
229
|
+
yield result, operation if block_given?
|
230
|
+
result
|
231
|
+
end
|
232
|
+
|
233
|
+
##
|
234
|
+
# @private
|
235
|
+
#
|
236
|
+
# GRPC transcoding helper method for the write_user_event REST call
|
237
|
+
#
|
238
|
+
# @param request_pb [::Google::Cloud::Retail::V2::WriteUserEventRequest]
|
239
|
+
# A request object representing the call parameters. Required.
|
240
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
241
|
+
# Uri, Body, Query string parameters
|
242
|
+
def self.transcode_write_user_event_request request_pb
|
243
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
244
|
+
.with_bindings(
|
245
|
+
uri_method: :post,
|
246
|
+
uri_template: "/v2/{parent}/userEvents:write",
|
247
|
+
body: "user_event",
|
248
|
+
matches: [
|
249
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/?$}, false]
|
250
|
+
]
|
251
|
+
)
|
252
|
+
transcoder.transcode request_pb
|
253
|
+
end
|
254
|
+
|
255
|
+
##
|
256
|
+
# @private
|
257
|
+
#
|
258
|
+
# GRPC transcoding helper method for the collect_user_event REST call
|
259
|
+
#
|
260
|
+
# @param request_pb [::Google::Cloud::Retail::V2::CollectUserEventRequest]
|
261
|
+
# A request object representing the call parameters. Required.
|
262
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
263
|
+
# Uri, Body, Query string parameters
|
264
|
+
def self.transcode_collect_user_event_request request_pb
|
265
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
266
|
+
.with_bindings(
|
267
|
+
uri_method: :get,
|
268
|
+
uri_template: "/v2/{parent}/userEvents:collect",
|
269
|
+
matches: [
|
270
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/?$}, false]
|
271
|
+
]
|
272
|
+
)
|
273
|
+
transcoder.transcode request_pb
|
274
|
+
end
|
275
|
+
|
276
|
+
##
|
277
|
+
# @private
|
278
|
+
#
|
279
|
+
# GRPC transcoding helper method for the purge_user_events REST call
|
280
|
+
#
|
281
|
+
# @param request_pb [::Google::Cloud::Retail::V2::PurgeUserEventsRequest]
|
282
|
+
# A request object representing the call parameters. Required.
|
283
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
284
|
+
# Uri, Body, Query string parameters
|
285
|
+
def self.transcode_purge_user_events_request request_pb
|
286
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
287
|
+
.with_bindings(
|
288
|
+
uri_method: :post,
|
289
|
+
uri_template: "/v2/{parent}/userEvents:purge",
|
290
|
+
body: "*",
|
291
|
+
matches: [
|
292
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/?$}, false]
|
293
|
+
]
|
294
|
+
)
|
295
|
+
transcoder.transcode request_pb
|
296
|
+
end
|
297
|
+
|
298
|
+
##
|
299
|
+
# @private
|
300
|
+
#
|
301
|
+
# GRPC transcoding helper method for the import_user_events REST call
|
302
|
+
#
|
303
|
+
# @param request_pb [::Google::Cloud::Retail::V2::ImportUserEventsRequest]
|
304
|
+
# A request object representing the call parameters. Required.
|
305
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
306
|
+
# Uri, Body, Query string parameters
|
307
|
+
def self.transcode_import_user_events_request request_pb
|
308
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
309
|
+
.with_bindings(
|
310
|
+
uri_method: :post,
|
311
|
+
uri_template: "/v2/{parent}/userEvents:import",
|
312
|
+
body: "*",
|
313
|
+
matches: [
|
314
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/?$}, false]
|
315
|
+
]
|
316
|
+
)
|
317
|
+
transcoder.transcode request_pb
|
318
|
+
end
|
319
|
+
|
320
|
+
##
|
321
|
+
# @private
|
322
|
+
#
|
323
|
+
# GRPC transcoding helper method for the rejoin_user_events REST call
|
324
|
+
#
|
325
|
+
# @param request_pb [::Google::Cloud::Retail::V2::RejoinUserEventsRequest]
|
326
|
+
# A request object representing the call parameters. Required.
|
327
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
328
|
+
# Uri, Body, Query string parameters
|
329
|
+
def self.transcode_rejoin_user_events_request request_pb
|
330
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
331
|
+
.with_bindings(
|
332
|
+
uri_method: :post,
|
333
|
+
uri_template: "/v2/{parent}/userEvents:rejoin",
|
334
|
+
body: "*",
|
335
|
+
matches: [
|
336
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/?$}, false]
|
337
|
+
]
|
338
|
+
)
|
339
|
+
transcoder.transcode request_pb
|
340
|
+
end
|
341
|
+
end
|
342
|
+
end
|
343
|
+
end
|
344
|
+
end
|
345
|
+
end
|
346
|
+
end
|
347
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/rest"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/retail/v2/version"
|
24
|
+
|
25
|
+
require "google/cloud/retail/v2/user_event_service/credentials"
|
26
|
+
require "google/cloud/retail/v2/user_event_service/paths"
|
27
|
+
require "google/cloud/retail/v2/user_event_service/rest/operations"
|
28
|
+
require "google/cloud/retail/v2/user_event_service/rest/client"
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module Retail
|
33
|
+
module V2
|
34
|
+
##
|
35
|
+
# Service for ingesting end user actions on the customer website.
|
36
|
+
#
|
37
|
+
# To load this service and instantiate a REST client:
|
38
|
+
#
|
39
|
+
# require "google/cloud/retail/v2/user_event_service/rest"
|
40
|
+
# client = ::Google::Cloud::Retail::V2::UserEventService::Rest::Client.new
|
41
|
+
#
|
42
|
+
module UserEventService
|
43
|
+
# Client for the REST transport
|
44
|
+
module Rest
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
53
|
+
require "google/cloud/retail/v2/user_event_service/rest/helpers" if ::File.file? helper_path
|
@@ -26,6 +26,7 @@ require "google/cloud/retail/v2/user_event_service/credentials"
|
|
26
26
|
require "google/cloud/retail/v2/user_event_service/paths"
|
27
27
|
require "google/cloud/retail/v2/user_event_service/operations"
|
28
28
|
require "google/cloud/retail/v2/user_event_service/client"
|
29
|
+
require "google/cloud/retail/v2/user_event_service/rest"
|
29
30
|
|
30
31
|
module Google
|
31
32
|
module Cloud
|
@@ -39,6 +40,11 @@ module Google
|
|
39
40
|
# require "google/cloud/retail/v2/user_event_service"
|
40
41
|
# client = ::Google::Cloud::Retail::V2::UserEventService::Client.new
|
41
42
|
#
|
43
|
+
# @example Load this service and instantiate a REST client
|
44
|
+
#
|
45
|
+
# require "google/cloud/retail/v2/user_event_service/rest"
|
46
|
+
# client = ::Google::Cloud::Retail::V2::UserEventService::Rest::Client.new
|
47
|
+
#
|
42
48
|
module UserEventService
|
43
49
|
end
|
44
50
|
end
|
@@ -37,6 +37,11 @@ module Google
|
|
37
37
|
# require "google/cloud/retail/v2"
|
38
38
|
# client = ::Google::Cloud::Retail::V2::CatalogService::Client.new
|
39
39
|
#
|
40
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
41
|
+
#
|
42
|
+
# require "google/cloud/retail/v2"
|
43
|
+
# client = ::Google::Cloud::Retail::V2::CatalogService::Rest::Client.new
|
44
|
+
#
|
40
45
|
module V2
|
41
46
|
end
|
42
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -44,20 +44,40 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.4'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.4'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
47
67
|
- !ruby/object:Gem::Dependency
|
48
68
|
name: google-style
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|
50
70
|
requirements:
|
51
71
|
- - "~>"
|
52
72
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.
|
73
|
+
version: 1.26.3
|
54
74
|
type: :development
|
55
75
|
prerelease: false
|
56
76
|
version_requirements: !ruby/object:Gem::Requirement
|
57
77
|
requirements:
|
58
78
|
- - "~>"
|
59
79
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.
|
80
|
+
version: 1.26.3
|
61
81
|
- !ruby/object:Gem::Dependency
|
62
82
|
name: minitest
|
63
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -177,6 +197,9 @@ files:
|
|
177
197
|
- lib/google/cloud/retail/v2/catalog_service/client.rb
|
178
198
|
- lib/google/cloud/retail/v2/catalog_service/credentials.rb
|
179
199
|
- lib/google/cloud/retail/v2/catalog_service/paths.rb
|
200
|
+
- lib/google/cloud/retail/v2/catalog_service/rest.rb
|
201
|
+
- lib/google/cloud/retail/v2/catalog_service/rest/client.rb
|
202
|
+
- lib/google/cloud/retail/v2/catalog_service/rest/service_stub.rb
|
180
203
|
- lib/google/cloud/retail/v2/catalog_service_pb.rb
|
181
204
|
- lib/google/cloud/retail/v2/catalog_service_services_pb.rb
|
182
205
|
- lib/google/cloud/retail/v2/common_pb.rb
|
@@ -185,6 +208,10 @@ files:
|
|
185
208
|
- lib/google/cloud/retail/v2/completion_service/credentials.rb
|
186
209
|
- lib/google/cloud/retail/v2/completion_service/operations.rb
|
187
210
|
- lib/google/cloud/retail/v2/completion_service/paths.rb
|
211
|
+
- lib/google/cloud/retail/v2/completion_service/rest.rb
|
212
|
+
- lib/google/cloud/retail/v2/completion_service/rest/client.rb
|
213
|
+
- lib/google/cloud/retail/v2/completion_service/rest/operations.rb
|
214
|
+
- lib/google/cloud/retail/v2/completion_service/rest/service_stub.rb
|
188
215
|
- lib/google/cloud/retail/v2/completion_service_pb.rb
|
189
216
|
- lib/google/cloud/retail/v2/completion_service_services_pb.rb
|
190
217
|
- lib/google/cloud/retail/v2/control_pb.rb
|
@@ -192,6 +219,9 @@ files:
|
|
192
219
|
- lib/google/cloud/retail/v2/control_service/client.rb
|
193
220
|
- lib/google/cloud/retail/v2/control_service/credentials.rb
|
194
221
|
- lib/google/cloud/retail/v2/control_service/paths.rb
|
222
|
+
- lib/google/cloud/retail/v2/control_service/rest.rb
|
223
|
+
- lib/google/cloud/retail/v2/control_service/rest/client.rb
|
224
|
+
- lib/google/cloud/retail/v2/control_service/rest/service_stub.rb
|
195
225
|
- lib/google/cloud/retail/v2/control_service_pb.rb
|
196
226
|
- lib/google/cloud/retail/v2/control_service_services_pb.rb
|
197
227
|
- lib/google/cloud/retail/v2/import_config_pb.rb
|
@@ -199,6 +229,9 @@ files:
|
|
199
229
|
- lib/google/cloud/retail/v2/prediction_service/client.rb
|
200
230
|
- lib/google/cloud/retail/v2/prediction_service/credentials.rb
|
201
231
|
- lib/google/cloud/retail/v2/prediction_service/paths.rb
|
232
|
+
- lib/google/cloud/retail/v2/prediction_service/rest.rb
|
233
|
+
- lib/google/cloud/retail/v2/prediction_service/rest/client.rb
|
234
|
+
- lib/google/cloud/retail/v2/prediction_service/rest/service_stub.rb
|
202
235
|
- lib/google/cloud/retail/v2/prediction_service_pb.rb
|
203
236
|
- lib/google/cloud/retail/v2/prediction_service_services_pb.rb
|
204
237
|
- lib/google/cloud/retail/v2/product_pb.rb
|
@@ -207,14 +240,22 @@ files:
|
|
207
240
|
- lib/google/cloud/retail/v2/product_service/credentials.rb
|
208
241
|
- lib/google/cloud/retail/v2/product_service/operations.rb
|
209
242
|
- lib/google/cloud/retail/v2/product_service/paths.rb
|
243
|
+
- lib/google/cloud/retail/v2/product_service/rest.rb
|
244
|
+
- lib/google/cloud/retail/v2/product_service/rest/client.rb
|
245
|
+
- lib/google/cloud/retail/v2/product_service/rest/operations.rb
|
246
|
+
- lib/google/cloud/retail/v2/product_service/rest/service_stub.rb
|
210
247
|
- lib/google/cloud/retail/v2/product_service_pb.rb
|
211
248
|
- lib/google/cloud/retail/v2/product_service_services_pb.rb
|
212
249
|
- lib/google/cloud/retail/v2/promotion_pb.rb
|
213
250
|
- lib/google/cloud/retail/v2/purge_config_pb.rb
|
251
|
+
- lib/google/cloud/retail/v2/rest.rb
|
214
252
|
- lib/google/cloud/retail/v2/search_service.rb
|
215
253
|
- lib/google/cloud/retail/v2/search_service/client.rb
|
216
254
|
- lib/google/cloud/retail/v2/search_service/credentials.rb
|
217
255
|
- lib/google/cloud/retail/v2/search_service/paths.rb
|
256
|
+
- lib/google/cloud/retail/v2/search_service/rest.rb
|
257
|
+
- lib/google/cloud/retail/v2/search_service/rest/client.rb
|
258
|
+
- lib/google/cloud/retail/v2/search_service/rest/service_stub.rb
|
218
259
|
- lib/google/cloud/retail/v2/search_service_pb.rb
|
219
260
|
- lib/google/cloud/retail/v2/search_service_services_pb.rb
|
220
261
|
- lib/google/cloud/retail/v2/serving_config_pb.rb
|
@@ -222,6 +263,9 @@ files:
|
|
222
263
|
- lib/google/cloud/retail/v2/serving_config_service/client.rb
|
223
264
|
- lib/google/cloud/retail/v2/serving_config_service/credentials.rb
|
224
265
|
- lib/google/cloud/retail/v2/serving_config_service/paths.rb
|
266
|
+
- lib/google/cloud/retail/v2/serving_config_service/rest.rb
|
267
|
+
- lib/google/cloud/retail/v2/serving_config_service/rest/client.rb
|
268
|
+
- lib/google/cloud/retail/v2/serving_config_service/rest/service_stub.rb
|
225
269
|
- lib/google/cloud/retail/v2/serving_config_service_pb.rb
|
226
270
|
- lib/google/cloud/retail/v2/serving_config_service_services_pb.rb
|
227
271
|
- lib/google/cloud/retail/v2/user_event_pb.rb
|
@@ -230,6 +274,10 @@ files:
|
|
230
274
|
- lib/google/cloud/retail/v2/user_event_service/credentials.rb
|
231
275
|
- lib/google/cloud/retail/v2/user_event_service/operations.rb
|
232
276
|
- lib/google/cloud/retail/v2/user_event_service/paths.rb
|
277
|
+
- lib/google/cloud/retail/v2/user_event_service/rest.rb
|
278
|
+
- lib/google/cloud/retail/v2/user_event_service/rest/client.rb
|
279
|
+
- lib/google/cloud/retail/v2/user_event_service/rest/operations.rb
|
280
|
+
- lib/google/cloud/retail/v2/user_event_service/rest/service_stub.rb
|
233
281
|
- lib/google/cloud/retail/v2/user_event_service_pb.rb
|
234
282
|
- lib/google/cloud/retail/v2/user_event_service_services_pb.rb
|
235
283
|
- lib/google/cloud/retail/v2/version.rb
|
@@ -285,8 +333,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
285
333
|
- !ruby/object:Gem::Version
|
286
334
|
version: '0'
|
287
335
|
requirements: []
|
288
|
-
rubygems_version: 3.
|
336
|
+
rubygems_version: 3.4.2
|
289
337
|
signing_key:
|
290
338
|
specification_version: 4
|
291
|
-
summary:
|
339
|
+
summary: Cloud Retail service enables customers to build end-to-end personalized recommendation
|
340
|
+
systems without requiring a high level of expertise in machine learning, recommendation
|
341
|
+
system, or Google Cloud.
|
292
342
|
test_files: []
|