google-cloud-retail-v2 0.11.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +1 -1
- data/lib/google/cloud/retail/v2/catalog_pb.rb +14 -0
- data/lib/google/cloud/retail/v2/catalog_service/client.rb +19 -7
- data/lib/google/cloud/retail/v2/catalog_service.rb +1 -1
- data/lib/google/cloud/retail/v2/completion_service/client.rb +25 -9
- data/lib/google/cloud/retail/v2/completion_service/operations.rb +12 -14
- data/lib/google/cloud/retail/v2/completion_service.rb +2 -2
- data/lib/google/cloud/retail/v2/completion_service_services_pb.rb +3 -3
- data/lib/google/cloud/retail/v2/control_service/client.rb +18 -6
- data/lib/google/cloud/retail/v2/control_service.rb +1 -1
- data/lib/google/cloud/retail/v2/prediction_service/client.rb +21 -8
- data/lib/google/cloud/retail/v2/prediction_service.rb +1 -1
- data/lib/google/cloud/retail/v2/prediction_service_pb.rb +1 -0
- data/lib/google/cloud/retail/v2/product_service/client.rb +90 -68
- data/lib/google/cloud/retail/v2/product_service/operations.rb +12 -14
- data/lib/google/cloud/retail/v2/product_service.rb +1 -1
- data/lib/google/cloud/retail/v2/product_service_services_pb.rb +48 -38
- data/lib/google/cloud/retail/v2/search_service/client.rb +22 -10
- data/lib/google/cloud/retail/v2/search_service.rb +2 -2
- data/lib/google/cloud/retail/v2/search_service_services_pb.rb +2 -2
- data/lib/google/cloud/retail/v2/serving_config_pb.rb +7 -0
- data/lib/google/cloud/retail/v2/serving_config_service/client.rb +23 -11
- data/lib/google/cloud/retail/v2/serving_config_service.rb +1 -1
- data/lib/google/cloud/retail/v2/user_event_service/client.rb +51 -24
- data/lib/google/cloud/retail/v2/user_event_service/operations.rb +12 -14
- data/lib/google/cloud/retail/v2/user_event_service.rb +1 -1
- data/lib/google/cloud/retail/v2/user_event_service_pb.rb +6 -0
- data/lib/google/cloud/retail/v2/user_event_service_services_pb.rb +8 -8
- data/lib/google/cloud/retail/v2/version.rb +1 -1
- data/lib/google/cloud/retail/v2.rb +2 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/retail/v2/catalog.rb +51 -13
- data/proto_docs/google/cloud/retail/v2/catalog_service.rb +1 -1
- data/proto_docs/google/cloud/retail/v2/common.rb +5 -3
- data/proto_docs/google/cloud/retail/v2/completion_service.rb +4 -2
- data/proto_docs/google/cloud/retail/v2/control.rb +2 -3
- data/proto_docs/google/cloud/retail/v2/prediction_service.rb +7 -8
- data/proto_docs/google/cloud/retail/v2/product.rb +27 -5
- data/proto_docs/google/cloud/retail/v2/search_service.rb +15 -8
- data/proto_docs/google/cloud/retail/v2/serving_config.rb +32 -15
- data/proto_docs/google/cloud/retail/v2/serving_config_service.rb +5 -5
- data/proto_docs/google/cloud/retail/v2/user_event.rb +1 -1
- data/proto_docs/google/cloud/retail/v2/user_event_service.rb +24 -8
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +29 -7
@@ -26,7 +26,13 @@ module Google
|
|
26
26
|
# @!attribute [rw] expire_time
|
27
27
|
# @return [::Google::Protobuf::Timestamp]
|
28
28
|
# The timestamp when this product becomes unavailable for
|
29
|
-
# {::Google::Cloud::Retail::V2::SearchService::Client#search SearchService.Search}.
|
29
|
+
# {::Google::Cloud::Retail::V2::SearchService::Client#search SearchService.Search}. Note
|
30
|
+
# that this is only applicable to
|
31
|
+
# {::Google::Cloud::Retail::V2::Product::Type::PRIMARY Type.PRIMARY} and
|
32
|
+
# {::Google::Cloud::Retail::V2::Product::Type::COLLECTION Type.COLLECTION}, and
|
33
|
+
# ignored for {::Google::Cloud::Retail::V2::Product::Type::VARIANT Type.VARIANT}.
|
34
|
+
# In general, we suggest the users to delete the stale products explicitly,
|
35
|
+
# instead of using this field to determine staleness.
|
30
36
|
#
|
31
37
|
# If it is set, the {::Google::Cloud::Retail::V2::Product Product} is not
|
32
38
|
# available for
|
@@ -46,7 +52,13 @@ module Google
|
|
46
52
|
# [expiration_date](https://support.google.com/merchants/answer/6324499).
|
47
53
|
# @!attribute [rw] ttl
|
48
54
|
# @return [::Google::Protobuf::Duration]
|
49
|
-
# Input only. The TTL (time to live) of the product.
|
55
|
+
# Input only. The TTL (time to live) of the product. Note that this is only
|
56
|
+
# applicable to {::Google::Cloud::Retail::V2::Product::Type::PRIMARY Type.PRIMARY}
|
57
|
+
# and {::Google::Cloud::Retail::V2::Product::Type::COLLECTION Type.COLLECTION},
|
58
|
+
# and ignored for
|
59
|
+
# {::Google::Cloud::Retail::V2::Product::Type::VARIANT Type.VARIANT}. In general,
|
60
|
+
# we suggest the users to delete the stale products explicitly, instead of
|
61
|
+
# using this field to determine staleness.
|
50
62
|
#
|
51
63
|
# If it is set, it must be a non-negative value, and
|
52
64
|
# {::Google::Cloud::Retail::V2::Product#expire_time expire_time} is set as
|
@@ -146,7 +158,7 @@ module Google
|
|
146
158
|
#
|
147
159
|
#
|
148
160
|
# To represent full path of category, use '>' sign to separate different
|
149
|
-
# hierarchies. If '>' is part of the category name,
|
161
|
+
# hierarchies. If '>' is part of the category name, replace it with
|
150
162
|
# other character(s).
|
151
163
|
#
|
152
164
|
# For example, if a shoes product belongs to both
|
@@ -276,7 +288,11 @@ module Google
|
|
276
288
|
# @return [::Google::Protobuf::Timestamp]
|
277
289
|
# The timestamp when this {::Google::Cloud::Retail::V2::Product Product} becomes
|
278
290
|
# available for
|
279
|
-
# {::Google::Cloud::Retail::V2::SearchService::Client#search SearchService.Search}.
|
291
|
+
# {::Google::Cloud::Retail::V2::SearchService::Client#search SearchService.Search}. Note
|
292
|
+
# that this is only applicable to
|
293
|
+
# {::Google::Cloud::Retail::V2::Product::Type::PRIMARY Type.PRIMARY} and
|
294
|
+
# {::Google::Cloud::Retail::V2::Product::Type::COLLECTION Type.COLLECTION}, and
|
295
|
+
# ignored for {::Google::Cloud::Retail::V2::Product::Type::VARIANT Type.VARIANT}.
|
280
296
|
# @!attribute [rw] availability
|
281
297
|
# @return [::Google::Cloud::Retail::V2::Product::Availability]
|
282
298
|
# The online availability of the {::Google::Cloud::Retail::V2::Product Product}.
|
@@ -462,6 +478,8 @@ module Google
|
|
462
478
|
# Note: Returning more fields in
|
463
479
|
# {::Google::Cloud::Retail::V2::SearchResponse SearchResponse} can increase
|
464
480
|
# response payload size and serving latency.
|
481
|
+
#
|
482
|
+
# This field is deprecated. Use the retrievable site-wide control instead.
|
465
483
|
# @!attribute [r] variants
|
466
484
|
# @return [::Array<::Google::Cloud::Retail::V2::Product>]
|
467
485
|
# Output only. Product variants grouped together on primary product which
|
@@ -479,7 +497,11 @@ module Google
|
|
479
497
|
# Output only. A list of local inventories specific to different places.
|
480
498
|
#
|
481
499
|
# This is only available for users who have Retail Search enabled, and it can
|
482
|
-
# be managed by
|
500
|
+
# be managed by
|
501
|
+
# {::Google::Cloud::Retail::V2::ProductService::Client#add_local_inventories ProductService.AddLocalInventories}
|
502
|
+
# and
|
503
|
+
# {::Google::Cloud::Retail::V2::ProductService::Client#remove_local_inventories ProductService.RemoveLocalInventories}
|
504
|
+
# APIs.
|
483
505
|
class Product
|
484
506
|
include ::Google::Protobuf::MessageExts
|
485
507
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config`
|
30
30
|
# or the name of the legacy placement resource, such as
|
31
31
|
# `projects/*/locations/global/catalogs/default_catalog/placements/default_search`.
|
32
|
-
# This field is used to identify the serving
|
32
|
+
# This field is used to identify the serving config name and the set
|
33
33
|
# of models that will be used to make the search.
|
34
34
|
# @!attribute [rw] branch
|
35
35
|
# @return [::String]
|
@@ -230,7 +230,7 @@ module Google
|
|
230
230
|
# {::Google::Cloud::Retail::V2::UserEvent#page_categories UserEvent.page_categories};
|
231
231
|
#
|
232
232
|
# To represent full path of category, use '>' sign to separate different
|
233
|
-
# hierarchies. If '>' is part of the category name,
|
233
|
+
# hierarchies. If '>' is part of the category name, replace it with
|
234
234
|
# other character(s).
|
235
235
|
#
|
236
236
|
# Category pages include special pages such as sales or promotions. For
|
@@ -286,7 +286,7 @@ module Google
|
|
286
286
|
# @!attribute [rw] limit
|
287
287
|
# @return [::Integer]
|
288
288
|
# Maximum of facet values that should be returned for this facet. If
|
289
|
-
# unspecified, defaults to
|
289
|
+
# unspecified, defaults to 50. The maximum allowed value is 300. Values
|
290
290
|
# above 300 will be coerced to 300.
|
291
291
|
#
|
292
292
|
# If this field is negative, an INVALID_ARGUMENT is returned.
|
@@ -686,15 +686,20 @@ module Google
|
|
686
686
|
# The search mode of each search request.
|
687
687
|
module SearchMode
|
688
688
|
# Default value. In this case both product search and faceted search will
|
689
|
-
# be performed. Both
|
690
|
-
#
|
689
|
+
# be performed. Both
|
690
|
+
# {::Google::Cloud::Retail::V2::SearchResponse::SearchResult SearchResponse.SearchResult}
|
691
|
+
# and {::Google::Cloud::Retail::V2::SearchResponse::Facet SearchResponse.Facet}
|
692
|
+
# will be returned.
|
691
693
|
SEARCH_MODE_UNSPECIFIED = 0
|
692
694
|
|
693
695
|
# Only product search will be performed. The faceted search will be
|
694
696
|
# disabled.
|
695
697
|
#
|
696
|
-
# Only
|
697
|
-
#
|
698
|
+
# Only
|
699
|
+
# {::Google::Cloud::Retail::V2::SearchResponse::SearchResult SearchResponse.SearchResult}
|
700
|
+
# will be returned.
|
701
|
+
# {::Google::Cloud::Retail::V2::SearchResponse::Facet SearchResponse.Facet} will
|
702
|
+
# not be returned, even if
|
698
703
|
# {::Google::Cloud::Retail::V2::SearchRequest#facet_specs SearchRequest.facet_specs}
|
699
704
|
# or
|
700
705
|
# {::Google::Cloud::Retail::V2::SearchRequest#dynamic_facet_spec SearchRequest.dynamic_facet_spec}
|
@@ -709,7 +714,9 @@ module Google
|
|
709
714
|
# and
|
710
715
|
# {::Google::Cloud::Retail::V2::SearchRequest#dynamic_facet_spec SearchRequest.dynamic_facet_spec}
|
711
716
|
# should be set. Otherwise, an INVALID_ARGUMENT error is returned. Only
|
712
|
-
#
|
717
|
+
# {::Google::Cloud::Retail::V2::SearchResponse::Facet SearchResponse.Facet} will
|
718
|
+
# be returned.
|
719
|
+
# {::Google::Cloud::Retail::V2::SearchResponse::SearchResult SearchResponse.SearchResult}
|
713
720
|
# will not be returned.
|
714
721
|
FACETED_SEARCH_ONLY = 2
|
715
722
|
end
|
@@ -54,13 +54,13 @@ module Google
|
|
54
54
|
# click-through and conversion rates.
|
55
55
|
# Allowed values are:
|
56
56
|
#
|
57
|
-
# *
|
58
|
-
# *
|
59
|
-
# *
|
60
|
-
# *
|
57
|
+
# * `no-price-reranking`
|
58
|
+
# * `low-price-raranking`
|
59
|
+
# * `medium-price-reranking`
|
60
|
+
# * `high-price-reranking`
|
61
61
|
#
|
62
62
|
# If not specified, we choose default based on model type. Default value:
|
63
|
-
#
|
63
|
+
# `no-price-reranking`.
|
64
64
|
#
|
65
65
|
# Can only be set if
|
66
66
|
# {::Google::Cloud::Retail::V2::ServingConfig#solution_types solution_types} is
|
@@ -178,29 +178,34 @@ module Google
|
|
178
178
|
# @!attribute [rw] diversity_level
|
179
179
|
# @return [::String]
|
180
180
|
# How much diversity to use in recommendation model results e.g.
|
181
|
-
#
|
181
|
+
# `medium-diversity` or `high-diversity`. Currently supported values:
|
182
182
|
#
|
183
|
-
# *
|
184
|
-
# *
|
185
|
-
# *
|
186
|
-
# *
|
187
|
-
# *
|
183
|
+
# * `no-diversity`
|
184
|
+
# * `low-diversity`
|
185
|
+
# * `medium-diversity`
|
186
|
+
# * `high-diversity`
|
187
|
+
# * `auto-diversity`
|
188
188
|
#
|
189
189
|
# If not specified, we choose default based on recommendation model
|
190
|
-
# type. Default value:
|
190
|
+
# type. Default value: `no-diversity`.
|
191
191
|
#
|
192
192
|
# Can only be set if
|
193
193
|
# {::Google::Cloud::Retail::V2::ServingConfig#solution_types solution_types} is
|
194
194
|
# [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
|
195
|
+
# @!attribute [rw] diversity_type
|
196
|
+
# @return [::Google::Cloud::Retail::V2::ServingConfig::DiversityType]
|
197
|
+
# What kind of diversity to use - data driven or rule based. If unset,
|
198
|
+
# the server behavior defaults to
|
199
|
+
# {::Google::Cloud::Retail::V2::ServingConfig::DiversityType::RULE_BASED_DIVERSITY RULE_BASED_DIVERSITY}.
|
195
200
|
# @!attribute [rw] enable_category_filter_level
|
196
201
|
# @return [::String]
|
197
|
-
# Whether to add additional category filters on the
|
202
|
+
# Whether to add additional category filters on the `similar-items` model.
|
198
203
|
# If not specified, we enable it by default.
|
199
204
|
# Allowed values are:
|
200
205
|
#
|
201
|
-
# *
|
206
|
+
# * `no-category-match`: No additional filtering of original results from
|
202
207
|
# the model and the customer's filters.
|
203
|
-
# *
|
208
|
+
# * `relaxed-category-match`: Only keep results with categories that match
|
204
209
|
# at least one item categories in the PredictRequests's context item.
|
205
210
|
# * If customer also sends filters in the PredictRequest, then the results
|
206
211
|
# will satisfy both conditions (user given and category match).
|
@@ -231,6 +236,18 @@ module Google
|
|
231
236
|
class ServingConfig
|
232
237
|
include ::Google::Protobuf::MessageExts
|
233
238
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
239
|
+
|
240
|
+
# What type of diversity - data or rule based.
|
241
|
+
module DiversityType
|
242
|
+
# Default value.
|
243
|
+
DIVERSITY_TYPE_UNSPECIFIED = 0
|
244
|
+
|
245
|
+
# Rule based diversity.
|
246
|
+
RULE_BASED_DIVERSITY = 2
|
247
|
+
|
248
|
+
# Data driven diversity.
|
249
|
+
DATA_DRIVEN_DIVERSITY = 3
|
250
|
+
end
|
234
251
|
end
|
235
252
|
end
|
236
253
|
end
|
@@ -63,7 +63,7 @@ module Google
|
|
63
63
|
# @!attribute [rw] name
|
64
64
|
# @return [::String]
|
65
65
|
# Required. The resource name of the ServingConfig to delete. Format:
|
66
|
-
# projects
|
66
|
+
# `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`
|
67
67
|
class DeleteServingConfigRequest
|
68
68
|
include ::Google::Protobuf::MessageExts
|
69
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -73,7 +73,7 @@ module Google
|
|
73
73
|
# @!attribute [rw] name
|
74
74
|
# @return [::String]
|
75
75
|
# Required. The resource name of the ServingConfig to get. Format:
|
76
|
-
# projects
|
76
|
+
# `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`
|
77
77
|
class GetServingConfigRequest
|
78
78
|
include ::Google::Protobuf::MessageExts
|
79
79
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -83,7 +83,7 @@ module Google
|
|
83
83
|
# @!attribute [rw] parent
|
84
84
|
# @return [::String]
|
85
85
|
# Required. The catalog resource name. Format:
|
86
|
-
# projects
|
86
|
+
# `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
|
87
87
|
# @!attribute [rw] page_size
|
88
88
|
# @return [::Integer]
|
89
89
|
# Optional. Maximum number of results to return. If unspecified, defaults
|
@@ -114,7 +114,7 @@ module Google
|
|
114
114
|
# @!attribute [rw] serving_config
|
115
115
|
# @return [::String]
|
116
116
|
# Required. The source ServingConfig resource name . Format:
|
117
|
-
# projects
|
117
|
+
# `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`
|
118
118
|
# @!attribute [rw] control_id
|
119
119
|
# @return [::String]
|
120
120
|
# Required. The id of the control to apply. Assumed to be in the same catalog
|
@@ -128,7 +128,7 @@ module Google
|
|
128
128
|
# @!attribute [rw] serving_config
|
129
129
|
# @return [::String]
|
130
130
|
# Required. The source ServingConfig resource name . Format:
|
131
|
-
# projects
|
131
|
+
# `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`
|
132
132
|
# @!attribute [rw] control_id
|
133
133
|
# @return [::String]
|
134
134
|
# Required. The id of the control to apply. Assumed to be in the same catalog
|
@@ -217,7 +217,7 @@ module Google
|
|
217
217
|
# The categories associated with a category page.
|
218
218
|
#
|
219
219
|
# To represent full path of category, use '>' sign to separate different
|
220
|
-
# hierarchies. If '>' is part of the category name,
|
220
|
+
# hierarchies. If '>' is part of the category name, replace it with
|
221
221
|
# other character(s).
|
222
222
|
#
|
223
223
|
# Category pages include special pages such as sales or promotions. For
|
@@ -29,12 +29,22 @@ module Google
|
|
29
29
|
# @!attribute [rw] user_event
|
30
30
|
# @return [::Google::Cloud::Retail::V2::UserEvent]
|
31
31
|
# Required. User event to write.
|
32
|
+
# @!attribute [rw] write_async
|
33
|
+
# @return [::Boolean]
|
34
|
+
# If set to true, the user event will be written asynchronously after
|
35
|
+
# validation, and the API will respond without waiting for the write.
|
36
|
+
# Therefore, silent failures can occur even if the API returns success. In
|
37
|
+
# case of silent failures, error messages can be found in Stackdriver logs.
|
32
38
|
class WriteUserEventRequest
|
33
39
|
include ::Google::Protobuf::MessageExts
|
34
40
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
35
41
|
end
|
36
42
|
|
37
43
|
# Request message for CollectUserEvent method.
|
44
|
+
# @!attribute [rw] prebuilt_rule
|
45
|
+
# @return [::String]
|
46
|
+
# The prebuilt rule name that can convert a specific type of raw_json.
|
47
|
+
# For example: "default_schema/v1.0"
|
38
48
|
# @!attribute [rw] parent
|
39
49
|
# @return [::String]
|
40
50
|
# Required. The parent catalog name, such as
|
@@ -54,6 +64,12 @@ module Google
|
|
54
64
|
# The event timestamp in milliseconds. This prevents browser caching of
|
55
65
|
# otherwise identical get requests. The name is abbreviated to reduce the
|
56
66
|
# payload bytes.
|
67
|
+
# @!attribute [rw] raw_json
|
68
|
+
# @return [::String]
|
69
|
+
# An arbitrary serialized JSON string that contains necessary information
|
70
|
+
# that can comprise a user event. When this field is specified, the
|
71
|
+
# user_event field will be ignored. Note: line-delimited JSON is not
|
72
|
+
# supported, a single JSON only.
|
57
73
|
class CollectUserEventRequest
|
58
74
|
include ::Google::Protobuf::MessageExts
|
59
75
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -68,19 +84,19 @@ module Google
|
|
68
84
|
# @return [::Google::Cloud::Retail::V2::RejoinUserEventsRequest::UserEventRejoinScope]
|
69
85
|
# The type of the user event rejoin to define the scope and range of the user
|
70
86
|
# events to be rejoined with the latest product catalog. Defaults to
|
71
|
-
# USER_EVENT_REJOIN_SCOPE_UNSPECIFIED if this field is not set, or set to
|
72
|
-
# invalid integer value.
|
87
|
+
# `USER_EVENT_REJOIN_SCOPE_UNSPECIFIED` if this field is not set, or set to
|
88
|
+
# an invalid integer value.
|
73
89
|
class RejoinUserEventsRequest
|
74
90
|
include ::Google::Protobuf::MessageExts
|
75
91
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
76
92
|
|
77
93
|
# The scope of user events to be rejoined with the latest product catalog.
|
78
94
|
# If the rejoining aims at reducing number of unjoined events, set
|
79
|
-
# UserEventRejoinScope to UNJOINED_EVENTS
|
95
|
+
# `UserEventRejoinScope` to `UNJOINED_EVENTS`.
|
80
96
|
# If the rejoining aims at correcting product catalog information in joined
|
81
|
-
# events, set UserEventRejoinScope to JOINED_EVENTS
|
82
|
-
# If all events needs to be rejoined, set UserEventRejoinScope to
|
83
|
-
# USER_EVENT_REJOIN_SCOPE_UNSPECIFIED
|
97
|
+
# events, set `UserEventRejoinScope` to `JOINED_EVENTS`.
|
98
|
+
# If all events needs to be rejoined, set `UserEventRejoinScope` to
|
99
|
+
# `USER_EVENT_REJOIN_SCOPE_UNSPECIFIED`.
|
84
100
|
module UserEventRejoinScope
|
85
101
|
# Rejoin all events with the latest product catalog, including both joined
|
86
102
|
# events and unjoined events.
|
@@ -94,7 +110,7 @@ module Google
|
|
94
110
|
end
|
95
111
|
end
|
96
112
|
|
97
|
-
# Response message for RejoinUserEvents method.
|
113
|
+
# Response message for `RejoinUserEvents` method.
|
98
114
|
# @!attribute [rw] rejoined_user_events_count
|
99
115
|
# @return [::Integer]
|
100
116
|
# Number of user events that were joined with latest product catalog.
|
@@ -103,7 +119,7 @@ module Google
|
|
103
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
120
|
end
|
105
121
|
|
106
|
-
# Metadata for RejoinUserEvents method.
|
122
|
+
# Metadata for `RejoinUserEvents` method.
|
107
123
|
class RejoinUserEventsMetadata
|
108
124
|
include ::Google::Protobuf::MessageExts
|
109
125
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# [google.rpc.Code][google.rpc.Code].
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|
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.13.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:
|
11
|
+
date: 2023-02-17 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:
|
19
|
+
version: 0.17.1
|
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:
|
29
|
+
version: 0.17.1
|
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
|
@@ -234,8 +254,10 @@ files:
|
|
234
254
|
- lib/google/cloud/retail/v2/user_event_service_services_pb.rb
|
235
255
|
- lib/google/cloud/retail/v2/version.rb
|
236
256
|
- proto_docs/README.md
|
257
|
+
- proto_docs/google/api/client.rb
|
237
258
|
- proto_docs/google/api/field_behavior.rb
|
238
259
|
- proto_docs/google/api/httpbody.rb
|
260
|
+
- proto_docs/google/api/launch_stage.rb
|
239
261
|
- proto_docs/google/api/resource.rb
|
240
262
|
- proto_docs/google/cloud/retail/v2/catalog.rb
|
241
263
|
- proto_docs/google/cloud/retail/v2/catalog_service.rb
|
@@ -283,7 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
283
305
|
- !ruby/object:Gem::Version
|
284
306
|
version: '0'
|
285
307
|
requirements: []
|
286
|
-
rubygems_version: 3.
|
308
|
+
rubygems_version: 3.4.2
|
287
309
|
signing_key:
|
288
310
|
specification_version: 4
|
289
311
|
summary: API Client library for the Retail V2 API
|