google-cloud-retail-v2 0.5.0 → 0.6.2
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_pb.rb +2 -2
- data/lib/google/cloud/retail/v2/catalog_service/client.rb +88 -14
- data/lib/google/cloud/retail/v2/catalog_service_pb.rb +2 -2
- data/lib/google/cloud/retail/v2/catalog_service_services_pb.rb +1 -1
- data/lib/google/cloud/retail/v2/common_pb.rb +2 -2
- data/lib/google/cloud/retail/v2/completion_service/client.rb +54 -13
- data/lib/google/cloud/retail/v2/completion_service/operations.rb +115 -12
- data/lib/google/cloud/retail/v2/completion_service_pb.rb +2 -2
- data/lib/google/cloud/retail/v2/completion_service_services_pb.rb +1 -1
- data/lib/google/cloud/retail/v2/import_config_pb.rb +2 -2
- data/lib/google/cloud/retail/v2/prediction_service/client.rb +22 -5
- data/lib/google/cloud/retail/v2/prediction_service_pb.rb +2 -2
- data/lib/google/cloud/retail/v2/prediction_service_services_pb.rb +1 -1
- data/lib/google/cloud/retail/v2/product_pb.rb +2 -2
- data/lib/google/cloud/retail/v2/product_service/client.rb +229 -37
- data/lib/google/cloud/retail/v2/product_service/operations.rb +115 -12
- data/lib/google/cloud/retail/v2/product_service_pb.rb +3 -2
- data/lib/google/cloud/retail/v2/product_service_services_pb.rb +1 -1
- data/lib/google/cloud/retail/v2/purge_config_pb.rb +2 -2
- data/lib/google/cloud/retail/v2/search_service/client.rb +45 -16
- data/lib/google/cloud/retail/v2/search_service_pb.rb +9 -2
- data/lib/google/cloud/retail/v2/search_service_services_pb.rb +1 -1
- data/lib/google/cloud/retail/v2/user_event_pb.rb +2 -2
- data/lib/google/cloud/retail/v2/user_event_service/client.rb +133 -17
- data/lib/google/cloud/retail/v2/user_event_service/operations.rb +115 -12
- data/lib/google/cloud/retail/v2/user_event_service_pb.rb +2 -2
- data/lib/google/cloud/retail/v2/user_event_service_services_pb.rb +1 -1
- data/lib/google/cloud/retail/v2/version.rb +1 -1
- data/proto_docs/google/api/httpbody.rb +7 -3
- data/proto_docs/google/cloud/retail/v2/common.rb +6 -5
- data/proto_docs/google/cloud/retail/v2/completion_service.rb +5 -5
- data/proto_docs/google/cloud/retail/v2/import_config.rb +1 -1
- data/proto_docs/google/cloud/retail/v2/product.rb +16 -10
- data/proto_docs/google/cloud/retail/v2/product_service.rb +8 -8
- data/proto_docs/google/cloud/retail/v2/search_service.rb +52 -15
- data/proto_docs/google/cloud/retail/v2/user_event.rb +4 -4
- metadata +2 -2
@@ -39,12 +39,15 @@ module Google
|
|
39
39
|
#
|
40
40
|
# // The raw HTTP body is bound to this field.
|
41
41
|
# google.api.HttpBody http_body = 2;
|
42
|
+
#
|
42
43
|
# }
|
43
44
|
#
|
44
45
|
# service ResourceService {
|
45
|
-
# rpc GetResource(GetResourceRequest)
|
46
|
-
#
|
47
|
-
# (google.
|
46
|
+
# rpc GetResource(GetResourceRequest)
|
47
|
+
# returns (google.api.HttpBody);
|
48
|
+
# rpc UpdateResource(google.api.HttpBody)
|
49
|
+
# returns (google.protobuf.Empty);
|
50
|
+
#
|
48
51
|
# }
|
49
52
|
#
|
50
53
|
# Example with streaming methods:
|
@@ -54,6 +57,7 @@ module Google
|
|
54
57
|
# returns (stream google.api.HttpBody);
|
55
58
|
# rpc UpdateCalendar(stream google.api.HttpBody)
|
56
59
|
# returns (stream google.api.HttpBody);
|
60
|
+
#
|
57
61
|
# }
|
58
62
|
#
|
59
63
|
# Use of this type only changes how the request and response bodies are
|
@@ -80,7 +80,7 @@ module Google
|
|
80
80
|
# it is expected to have only 1 color. May consider using single "Mixed"
|
81
81
|
# instead of multiple values.
|
82
82
|
#
|
83
|
-
# A maximum of
|
83
|
+
# A maximum of 25 colors are allowed. Each value must be a UTF-8 encoded
|
84
84
|
# string with a length limit of 128 characters. Otherwise, an
|
85
85
|
# INVALID_ARGUMENT error is returned.
|
86
86
|
#
|
@@ -174,9 +174,10 @@ module Google
|
|
174
174
|
# or the region IDs for
|
175
175
|
# {::Google::Cloud::Retail::V2::FulfillmentInfo#type FulfillmentInfo.type.same-day-delivery}.
|
176
176
|
#
|
177
|
-
# A maximum of
|
178
|
-
# length limit of
|
179
|
-
# "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is
|
177
|
+
# A maximum of 3000 values are allowed. Each value must be a string with a
|
178
|
+
# length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such
|
179
|
+
# as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is
|
180
|
+
# returned.
|
180
181
|
class FulfillmentInfo
|
181
182
|
include ::Google::Protobuf::MessageExts
|
182
183
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -421,7 +422,7 @@ module Google
|
|
421
422
|
# ID of the promotion. For example, "free gift".
|
422
423
|
#
|
423
424
|
# The value value must be a UTF-8 encoded string with a length limit of 128
|
424
|
-
# characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]
|
425
|
+
# characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example,
|
425
426
|
# id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
|
426
427
|
# returned.
|
427
428
|
#
|
@@ -55,18 +55,18 @@ module Google
|
|
55
55
|
# @return [::String]
|
56
56
|
# The device type context for completion suggestions.
|
57
57
|
# It is useful to apply different suggestions on different device types, e.g.
|
58
|
-
# DESKTOP
|
58
|
+
# `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device
|
59
59
|
# types.
|
60
60
|
#
|
61
61
|
# Supported formats:
|
62
62
|
#
|
63
|
-
# * UNKNOWN_DEVICE_TYPE
|
63
|
+
# * `UNKNOWN_DEVICE_TYPE`
|
64
64
|
#
|
65
|
-
# * DESKTOP
|
65
|
+
# * `DESKTOP`
|
66
66
|
#
|
67
|
-
# * MOBILE
|
67
|
+
# * `MOBILE`
|
68
68
|
#
|
69
|
-
# * A customized string starts with OTHER_
|
69
|
+
# * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
|
70
70
|
# @!attribute [rw] dataset
|
71
71
|
# @return [::String]
|
72
72
|
# Determines which dataset to use for fetching completion. "user-data" will
|
@@ -150,7 +150,7 @@ module Google
|
|
150
150
|
# Unique identifier provided by client, within the ancestor
|
151
151
|
# dataset scope. Ensures idempotency and used for request deduplication.
|
152
152
|
# Server-generated if unspecified. Up to 128 characters long and must match
|
153
|
-
# the pattern:
|
153
|
+
# the pattern: `[a-zA-Z0-9_]+`. This is returned as [Operation.name][] in
|
154
154
|
# {::Google::Cloud::Retail::V2::ImportMetadata ImportMetadata}.
|
155
155
|
#
|
156
156
|
# Only supported when
|
@@ -37,18 +37,23 @@ module Google
|
|
37
37
|
# and
|
38
38
|
# {::Google::Cloud::Retail::V2::ProductService::Client#list_products ProductService.ListProducts}.
|
39
39
|
#
|
40
|
+
# {::Google::Cloud::Retail::V2::Product#expire_time expire_time} must be later
|
41
|
+
# than {::Google::Cloud::Retail::V2::Product#available_time available_time} and
|
42
|
+
# {::Google::Cloud::Retail::V2::Product#publish_time publish_time}, otherwise an
|
43
|
+
# INVALID_ARGUMENT error is thrown.
|
44
|
+
#
|
40
45
|
# Google Merchant Center property
|
41
46
|
# [expiration_date](https://support.google.com/merchants/answer/6324499).
|
42
47
|
# @!attribute [rw] ttl
|
43
48
|
# @return [::Google::Protobuf::Duration]
|
44
49
|
# Input only. The TTL (time to live) of the product.
|
45
50
|
#
|
46
|
-
# If it is set,
|
47
|
-
# is set as
|
48
|
-
# {::Google::Cloud::Retail::V2::Product#ttl ttl}. The
|
49
|
-
# {::Google::Cloud::Retail::V2::Product#expire_time expire_time} is
|
50
|
-
# the output and {::Google::Cloud::Retail::V2::Product#ttl ttl} is
|
51
|
-
# when retrieving the {::Google::Cloud::Retail::V2::Product Product}.
|
51
|
+
# If it is set, it must be a non-negative value, and
|
52
|
+
# {::Google::Cloud::Retail::V2::Product#expire_time expire_time} is set as
|
53
|
+
# current timestamp plus {::Google::Cloud::Retail::V2::Product#ttl ttl}. The
|
54
|
+
# derived {::Google::Cloud::Retail::V2::Product#expire_time expire_time} is
|
55
|
+
# returned in the output and {::Google::Cloud::Retail::V2::Product#ttl ttl} is
|
56
|
+
# left blank when retrieving the {::Google::Cloud::Retail::V2::Product Product}.
|
52
57
|
#
|
53
58
|
# If it is set, the product is not available for
|
54
59
|
# {::Google::Cloud::Retail::V2::SearchService::Client#search SearchService.Search} after
|
@@ -61,8 +66,6 @@ module Google
|
|
61
66
|
# @return [::String]
|
62
67
|
# Immutable. Full resource name of the product, such as
|
63
68
|
# `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
64
|
-
#
|
65
|
-
# The branch ID must be "default_branch".
|
66
69
|
# @!attribute [rw] id
|
67
70
|
# @return [::String]
|
68
71
|
# Immutable. {::Google::Cloud::Retail::V2::Product Product} identifier, which is
|
@@ -120,6 +123,9 @@ module Google
|
|
120
123
|
# This field must be a UTF-8 encoded string with a length limit of 128
|
121
124
|
# characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
122
125
|
#
|
126
|
+
# This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is
|
127
|
+
# returned.
|
128
|
+
#
|
123
129
|
# Google Merchant Center property
|
124
130
|
# [gtin](https://support.google.com/merchants/answer/6324461).
|
125
131
|
# Schema.org property
|
@@ -234,7 +240,7 @@ module Google
|
|
234
240
|
# * The key must be a UTF-8 encoded string with a length limit of 128
|
235
241
|
# characters.
|
236
242
|
# * For indexable attribute, the key must match the pattern:
|
237
|
-
# [a-zA-Z0-9][a-zA-Z0-9_]
|
243
|
+
# `[a-zA-Z0-9][a-zA-Z0-9_]*`. For example, key0LikeThis or KEY_1_LIKE_THIS.
|
238
244
|
# @!attribute [rw] tags
|
239
245
|
# @return [::Array<::String>]
|
240
246
|
# Custom tags associated with the product.
|
@@ -354,7 +360,7 @@ module Google
|
|
354
360
|
# The pattern or graphic print of the product. For example, "striped", "polka
|
355
361
|
# dot", "paisley".
|
356
362
|
#
|
357
|
-
# A maximum of
|
363
|
+
# A maximum of 20 values are allowed per
|
358
364
|
# {::Google::Cloud::Retail::V2::Product Product}. Each value must be a UTF-8
|
359
365
|
# encoded string with a length limit of 128 characters. Otherwise, an
|
360
366
|
# INVALID_ARGUMENT error is returned.
|
@@ -290,7 +290,7 @@ module Google
|
|
290
290
|
# {::Google::Cloud::Retail::V2::Product#name Product.name} is not found, the
|
291
291
|
# inventory update will still be processed and retained for at most 1 day
|
292
292
|
# until the {::Google::Cloud::Retail::V2::Product Product} is created. If set to
|
293
|
-
# false,
|
293
|
+
# false, a NOT_FOUND error is returned if the
|
294
294
|
# {::Google::Cloud::Retail::V2::Product Product} is not found.
|
295
295
|
class SetInventoryRequest
|
296
296
|
include ::Google::Protobuf::MessageExts
|
@@ -355,7 +355,7 @@ module Google
|
|
355
355
|
#
|
356
356
|
# At least 1 value is required, and a maximum of 2000 values are allowed.
|
357
357
|
# Each value must be a string with a length limit of 10 characters, matching
|
358
|
-
# the pattern [a-zA-Z0-9_-]
|
358
|
+
# the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an
|
359
359
|
# INVALID_ARGUMENT error is returned.
|
360
360
|
#
|
361
361
|
# If the total number of place IDs exceeds 2000 for this
|
@@ -371,8 +371,8 @@ module Google
|
|
371
371
|
# If set to true, and the {::Google::Cloud::Retail::V2::Product Product} is not
|
372
372
|
# found, the fulfillment information will still be processed and retained for
|
373
373
|
# at most 1 day and processed once the
|
374
|
-
# {::Google::Cloud::Retail::V2::Product Product} is created. If set to false,
|
375
|
-
#
|
374
|
+
# {::Google::Cloud::Retail::V2::Product Product} is created. If set to false, a
|
375
|
+
# NOT_FOUND error is returned if the
|
376
376
|
# {::Google::Cloud::Retail::V2::Product Product} is not found.
|
377
377
|
class AddFulfillmentPlacesRequest
|
378
378
|
include ::Google::Protobuf::MessageExts
|
@@ -387,7 +387,7 @@ module Google
|
|
387
387
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
388
388
|
end
|
389
389
|
|
390
|
-
# Response of the
|
390
|
+
# Response of the AddFulfillmentPlacesRequest. Currently empty because
|
391
391
|
# there is no meaningful response populated from the [AddFulfillmentPlaces][]
|
392
392
|
# method.
|
393
393
|
class AddFulfillmentPlacesResponse
|
@@ -436,7 +436,7 @@ module Google
|
|
436
436
|
#
|
437
437
|
# At least 1 value is required, and a maximum of 2000 values are allowed.
|
438
438
|
# Each value must be a string with a length limit of 10 characters, matching
|
439
|
-
# the pattern [a-zA-Z0-9_-]
|
439
|
+
# the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an
|
440
440
|
# INVALID_ARGUMENT error is returned.
|
441
441
|
# @!attribute [rw] remove_time
|
442
442
|
# @return [::Google::Protobuf::Timestamp]
|
@@ -448,8 +448,8 @@ module Google
|
|
448
448
|
# If set to true, and the {::Google::Cloud::Retail::V2::Product Product} is not
|
449
449
|
# found, the fulfillment information will still be processed and retained for
|
450
450
|
# at most 1 day and processed once the
|
451
|
-
# {::Google::Cloud::Retail::V2::Product Product} is created. If set to false,
|
452
|
-
#
|
451
|
+
# {::Google::Cloud::Retail::V2::Product Product} is created. If set to false, a
|
452
|
+
# NOT_FOUND error is returned if the
|
453
453
|
# {::Google::Cloud::Retail::V2::Product Product} is not found.
|
454
454
|
class RemoveFulfillmentPlacesRequest
|
455
455
|
include ::Google::Protobuf::MessageExts
|
@@ -27,12 +27,8 @@ module Google
|
|
27
27
|
# @return [::String]
|
28
28
|
# Required. The resource name of the search engine placement, such as
|
29
29
|
# `projects/*/locations/global/catalogs/default_catalog/placements/default_search`.
|
30
|
-
# This field is used to identify the
|
31
|
-
# the search.
|
32
|
-
#
|
33
|
-
# We currently support one placement with the following ID:
|
34
|
-
#
|
35
|
-
# * `default_search`.
|
30
|
+
# This field is used to identify the serving configuration name and the set
|
31
|
+
# of models that will be used to make the search.
|
36
32
|
# @!attribute [rw] branch
|
37
33
|
# @return [::String]
|
38
34
|
# The branch resource name, such as
|
@@ -88,7 +84,7 @@ module Google
|
|
88
84
|
# The filter syntax consists of an expression language for constructing a
|
89
85
|
# predicate from one or more fields of the products being filtered. Filter
|
90
86
|
# expression is case-sensitive. See more details at this [user
|
91
|
-
# guide](/retail/
|
87
|
+
# guide](https://cloud.google.com/retail/docs/filter-and-order#filter).
|
92
88
|
#
|
93
89
|
# If this field is unrecognizable, an INVALID_ARGUMENT is returned.
|
94
90
|
# @!attribute [rw] canonical_filter
|
@@ -108,7 +104,7 @@ module Google
|
|
108
104
|
# a field in an {::Google::Cloud::Retail::V2::Product Product} object. Leave it
|
109
105
|
# unset if ordered by relevance. OrderBy expression is case-sensitive. See
|
110
106
|
# more details at this [user
|
111
|
-
# guide](/retail/
|
107
|
+
# guide](https://cloud.google.com/retail/docs/filter-and-order#order).
|
112
108
|
#
|
113
109
|
# If this field is unrecognizable, an INVALID_ARGUMENT is returned.
|
114
110
|
# @!attribute [rw] facet_specs
|
@@ -127,12 +123,18 @@ module Google
|
|
127
123
|
# @!attribute [rw] boost_spec
|
128
124
|
# @return [::Google::Cloud::Retail::V2::SearchRequest::BoostSpec]
|
129
125
|
# Boost specification to boost certain products. See more details at this
|
130
|
-
# [user guide](/retail/
|
126
|
+
# [user guide](https://cloud.google.com/retail/docs/boosting).
|
127
|
+
#
|
128
|
+
# Notice that if both [ServingConfig.boost_control_ids][] and
|
129
|
+
# [SearchRequest.boost_spec] are set, the boost conditions from both places
|
130
|
+
# are evaluated. If a search request matches multiple boost conditions,
|
131
|
+
# the final boost score is equal to the sum of the boost scores from all
|
132
|
+
# matched boost conditions.
|
131
133
|
# @!attribute [rw] query_expansion_spec
|
132
134
|
# @return [::Google::Cloud::Retail::V2::SearchRequest::QueryExpansionSpec]
|
133
135
|
# The query expansion specification that specifies the conditions under which
|
134
136
|
# query expansion will occur. See more details at this [user
|
135
|
-
# guide](/retail/
|
137
|
+
# guide](https://cloud.google.com/retail/docs/result-size#query_expansion).
|
136
138
|
# @!attribute [rw] variant_rollup_keys
|
137
139
|
# @return [::Array<::String>]
|
138
140
|
# The keys to fetch and rollup the matching
|
@@ -155,6 +157,7 @@ module Google
|
|
155
157
|
# * price
|
156
158
|
# * originalPrice
|
157
159
|
# * discount
|
160
|
+
# * inventory(place_id,price)
|
158
161
|
# * attributes.key, where key is any key in the
|
159
162
|
# {::Google::Cloud::Retail::V2::Product#attributes Product.attributes} map.
|
160
163
|
# * pickupInStore.id, where id is any
|
@@ -210,6 +213,10 @@ module Google
|
|
210
213
|
# Category pages include special pages such as sales or promotions. For
|
211
214
|
# instance, a special sale page may have the category hierarchy:
|
212
215
|
# "pageCategories" : ["Sales > 2017 Black Friday Deals"].
|
216
|
+
# @!attribute [rw] search_mode
|
217
|
+
# @return [::Google::Cloud::Retail::V2::SearchRequest::SearchMode]
|
218
|
+
# The search mode of the search request. If not specified, a single search
|
219
|
+
# request triggers both product search and faceted search.
|
213
220
|
class SearchRequest
|
214
221
|
include ::Google::Protobuf::MessageExts
|
215
222
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -319,6 +326,7 @@ module Google
|
|
319
326
|
# * "rating"
|
320
327
|
# * "ratingCount"
|
321
328
|
# * "attributes.key"
|
329
|
+
# * "inventory(place_id,price)"
|
322
330
|
# @!attribute [rw] intervals
|
323
331
|
# @return [::Array<::Google::Cloud::Retail::V2::Interval>]
|
324
332
|
# Set only if values should be bucketized into intervals. Must be set
|
@@ -460,10 +468,9 @@ module Google
|
|
460
468
|
#
|
461
469
|
# * To boost products with product ID "product_1" or "product_2", and
|
462
470
|
# color
|
463
|
-
# "Red" or "Blue"
|
464
|
-
#
|
465
|
-
#
|
466
|
-
# *(colorFamilies: ANY("Red", "Blue"))<br>*
|
471
|
+
# "Red" or "Blue":
|
472
|
+
# * (id: ANY("product_1", "product_2")) AND (colorFamilies:
|
473
|
+
# ANY("Red","Blue"))
|
467
474
|
# @!attribute [rw] boost
|
468
475
|
# @return [::Float]
|
469
476
|
# Strength of the condition boost, which should be in [-1, 1]. Negative
|
@@ -519,6 +526,35 @@ module Google
|
|
519
526
|
AUTO = 3
|
520
527
|
end
|
521
528
|
end
|
529
|
+
|
530
|
+
# The search mode of each search request.
|
531
|
+
module SearchMode
|
532
|
+
# Default value. In this case both product search and faceted search will
|
533
|
+
# be performed. Both [SearchResponse.SearchResult] and
|
534
|
+
# [SearchResponse.Facet] will be returned.
|
535
|
+
SEARCH_MODE_UNSPECIFIED = 0
|
536
|
+
|
537
|
+
# Only product search will be performed. The faceted search will be
|
538
|
+
# disabled.
|
539
|
+
#
|
540
|
+
# Only [SearchResponse.SearchResult] will be returned.
|
541
|
+
# [SearchResponse.Facet] will not be returned, even if
|
542
|
+
# {::Google::Cloud::Retail::V2::SearchRequest#facet_specs SearchRequest.facet_specs}
|
543
|
+
# or
|
544
|
+
# {::Google::Cloud::Retail::V2::SearchRequest#dynamic_facet_spec SearchRequest.dynamic_facet_spec}
|
545
|
+
# is set.
|
546
|
+
PRODUCT_SEARCH_ONLY = 1
|
547
|
+
|
548
|
+
# Only faceted search will be performed. The product search will be
|
549
|
+
# disabled.
|
550
|
+
#
|
551
|
+
# When in this mode, one or both of [SearchRequest.facet_spec][] and
|
552
|
+
# {::Google::Cloud::Retail::V2::SearchRequest#dynamic_facet_spec SearchRequest.dynamic_facet_spec}
|
553
|
+
# should be set. Otherwise, an INVALID_ARGUMENT error is returned. Only
|
554
|
+
# [SearchResponse.Facet] will be returned. [SearchResponse.SearchResult]
|
555
|
+
# will not be returned.
|
556
|
+
FACETED_SEARCH_ONLY = 2
|
557
|
+
end
|
522
558
|
end
|
523
559
|
|
524
560
|
# Response message for
|
@@ -698,7 +734,8 @@ module Google
|
|
698
734
|
# @!attribute [rw] pinned_result_count
|
699
735
|
# @return [::Integer]
|
700
736
|
# Number of pinned results. This field will only be set when expansion
|
701
|
-
# happens and
|
737
|
+
# happens and
|
738
|
+
# {::Google::Cloud::Retail::V2::SearchRequest::QueryExpansionSpec#pin_unexpanded_results SearchRequest.QueryExpansionSpec.pin_unexpanded_results}
|
702
739
|
# is set to true.
|
703
740
|
class QueryExpansionInfo
|
704
741
|
include ::Google::Protobuf::MessageExts
|
@@ -110,12 +110,12 @@ module Google
|
|
110
110
|
# * `purchase-complete`
|
111
111
|
#
|
112
112
|
# In a `search` event, this field represents the products returned to the end
|
113
|
-
# user on the current page (the end user may have not finished
|
113
|
+
# user on the current page (the end user may have not finished browsing the
|
114
114
|
# whole page yet). When a new page is returned to the end user, after
|
115
115
|
# pagination/filtering/ordering even for the same query, a new `search` event
|
116
116
|
# with different
|
117
117
|
# {::Google::Cloud::Retail::V2::UserEvent#product_details product_details} is
|
118
|
-
# desired. The end user may have not finished
|
118
|
+
# desired. The end user may have not finished browsing the whole page yet.
|
119
119
|
# @!attribute [rw] completion_detail
|
120
120
|
# @return [::Google::Cloud::Retail::V2::CompletionDetail]
|
121
121
|
# The main completion details related to the event.
|
@@ -136,7 +136,7 @@ module Google
|
|
136
136
|
# search, and etc.
|
137
137
|
# @!attribute [rw] cart_id
|
138
138
|
# @return [::String]
|
139
|
-
# The
|
139
|
+
# The ID or name of the associated shopping cart. This ID is used
|
140
140
|
# to associate multiple items added or present in the cart before purchase.
|
141
141
|
#
|
142
142
|
# This can only be set for `add-to-cart`, `purchase-complete`, or
|
@@ -231,7 +231,7 @@ module Google
|
|
231
231
|
# Tag Manager, this value is filled in automatically.
|
232
232
|
# @!attribute [rw] page_view_id
|
233
233
|
# @return [::String]
|
234
|
-
# A unique
|
234
|
+
# A unique ID of a web page view.
|
235
235
|
#
|
236
236
|
# This should be kept the same for all user events triggered from the same
|
237
237
|
# pageview. For example, an item detail page view could trigger multiple
|
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.6.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-08
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|