google-cloud-retail-v2 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/retail/v2/catalog_service/client.rb +14 -3
- data/lib/google/cloud/retail/v2/catalog_service/rest/client.rb +184 -2
- data/lib/google/cloud/retail/v2/catalog_service/rest/service_stub.rb +11 -11
- data/lib/google/cloud/retail/v2/completion_service/client.rb +14 -3
- data/lib/google/cloud/retail/v2/completion_service/operations.rb +13 -2
- data/lib/google/cloud/retail/v2/completion_service/rest/client.rb +43 -2
- data/lib/google/cloud/retail/v2/completion_service/rest/operations.rb +82 -5
- data/lib/google/cloud/retail/v2/completion_service/rest/service_stub.rb +2 -2
- data/lib/google/cloud/retail/v2/control_service/client.rb +14 -3
- data/lib/google/cloud/retail/v2/control_service/rest/client.rb +88 -2
- data/lib/google/cloud/retail/v2/control_service/rest/service_stub.rb +5 -5
- data/lib/google/cloud/retail/v2/model_service/client.rb +14 -3
- data/lib/google/cloud/retail/v2/model_service/operations.rb +13 -2
- data/lib/google/cloud/retail/v2/model_service/rest/client.rb +150 -2
- data/lib/google/cloud/retail/v2/model_service/rest/operations.rb +82 -5
- data/lib/google/cloud/retail/v2/model_service/rest/service_stub.rb +8 -8
- data/lib/google/cloud/retail/v2/prediction_service/client.rb +14 -3
- data/lib/google/cloud/retail/v2/prediction_service/rest/client.rb +20 -2
- data/lib/google/cloud/retail/v2/prediction_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/retail/v2/product_service/client.rb +14 -3
- data/lib/google/cloud/retail/v2/product_service/operations.rb +13 -2
- data/lib/google/cloud/retail/v2/product_service/rest/client.rb +226 -2
- data/lib/google/cloud/retail/v2/product_service/rest/operations.rb +82 -5
- data/lib/google/cloud/retail/v2/product_service/rest/service_stub.rb +11 -11
- data/lib/google/cloud/retail/v2/search_service/client.rb +14 -3
- data/lib/google/cloud/retail/v2/search_service/rest/client.rb +24 -2
- data/lib/google/cloud/retail/v2/search_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/retail/v2/serving_config_service/client.rb +14 -3
- data/lib/google/cloud/retail/v2/serving_config_service/rest/client.rb +120 -2
- data/lib/google/cloud/retail/v2/serving_config_service/rest/service_stub.rb +7 -7
- data/lib/google/cloud/retail/v2/user_event_service/client.rb +14 -3
- data/lib/google/cloud/retail/v2/user_event_service/operations.rb +13 -2
- data/lib/google/cloud/retail/v2/user_event_service/rest/client.rb +105 -2
- data/lib/google/cloud/retail/v2/user_event_service/rest/operations.rb +82 -5
- data/lib/google/cloud/retail/v2/user_event_service/rest/service_stub.rb +5 -5
- data/lib/google/cloud/retail/v2/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_write_user_event_request request_pb
|
61
61
|
query_string_params = if query_string_params.any?
|
62
|
-
query_string_params.to_h { |p| p.split
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
63
63
|
else
|
64
64
|
{}
|
65
65
|
end
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
|
98
98
|
verb, uri, query_string_params, body = ServiceStub.transcode_collect_user_event_request request_pb
|
99
99
|
query_string_params = if query_string_params.any?
|
100
|
-
query_string_params.to_h { |p| p.split
|
100
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
101
101
|
else
|
102
102
|
{}
|
103
103
|
end
|
@@ -135,7 +135,7 @@ module Google
|
|
135
135
|
|
136
136
|
verb, uri, query_string_params, body = ServiceStub.transcode_purge_user_events_request request_pb
|
137
137
|
query_string_params = if query_string_params.any?
|
138
|
-
query_string_params.to_h { |p| p.split
|
138
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
139
139
|
else
|
140
140
|
{}
|
141
141
|
end
|
@@ -173,7 +173,7 @@ module Google
|
|
173
173
|
|
174
174
|
verb, uri, query_string_params, body = ServiceStub.transcode_import_user_events_request request_pb
|
175
175
|
query_string_params = if query_string_params.any?
|
176
|
-
query_string_params.to_h { |p| p.split
|
176
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
177
177
|
else
|
178
178
|
{}
|
179
179
|
end
|
@@ -211,7 +211,7 @@ module Google
|
|
211
211
|
|
212
212
|
verb, uri, query_string_params, body = ServiceStub.transcode_rejoin_user_events_request request_pb
|
213
213
|
query_string_params = if query_string_params.any?
|
214
|
-
query_string_params.to_h { |p| p.split
|
214
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
215
215
|
else
|
216
216
|
{}
|
217
217
|
end
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
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.17.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-09-12 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.20.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.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -347,7 +347,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
347
347
|
- !ruby/object:Gem::Version
|
348
348
|
version: '0'
|
349
349
|
requirements: []
|
350
|
-
rubygems_version: 3.4.
|
350
|
+
rubygems_version: 3.4.19
|
351
351
|
signing_key:
|
352
352
|
specification_version: 4
|
353
353
|
summary: Cloud Retail service enables customers to build end-to-end personalized recommendation
|