google-cloud-retail-v2 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4362ee1ee1297de1e4f20da8c2e02d5b20a38f5334da03e58db621276d2d767b
4
- data.tar.gz: 7de1bf1b00e922ab9b07c4b7912161f3af7dce3cd46fb4bf4f139d4dd53fba1d
3
+ metadata.gz: 422025455c4fa8d251bfa6ce1ac4a943b1888ecc0efdbaf16803ea3545926a52
4
+ data.tar.gz: dfc946b2a39132d32a90da0defa43aab97f8e24009573e405e6e691ca2ab3a36
5
5
  SHA512:
6
- metadata.gz: 1dca8e4dc874b55df773716b5115820d4e4f528a88673cf55107acaae041fd3aa8ee236b5bfaa20244172ae23a9b92053dfb10c77c6ee252610c635f19cc35a9
7
- data.tar.gz: 66bc9026d1216894564f36f5fe8ed093225e7213ed85e3571dce187a4b9ab672023b51706d727ca4acee795ced47cbcfdb9e1aab84146ca75866546ffc15a8e4
6
+ metadata.gz: 82cb4d8e176954b73e53e73fd89ca45ef04655fa7e1fd57b2d1abf2e4801b22f937bd36d2fbd717d0db76477c25c6ada69c6e923d72ca384625194f07274a330
7
+ data.tar.gz: bfce46bb79939b1de5189510ff0230eedced58551f49de189104f2e47949965ce4c24d59df170bb85e4fdaf10921997682afada6412074f09ebce6d8388d905a
@@ -64,9 +64,9 @@ module Google
64
64
  end
65
65
  default_config = Client::Configuration.new parent_config
66
66
 
67
- default_config.timeout = 60.0
67
+ default_config.timeout = 5.0
68
68
  default_config.retry_policy = {
69
- initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
69
+ initial_delay: 0.1, max_delay: 5.0, multiplier: 1.3, retry_codes: [14, 4]
70
70
  }
71
71
 
72
72
  default_config
@@ -68,9 +68,9 @@ module Google
68
68
  end
69
69
  default_config = Client::Configuration.new parent_config
70
70
 
71
- default_config.timeout = 60.0
71
+ default_config.timeout = 5.0
72
72
  default_config.retry_policy = {
73
- initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
73
+ initial_delay: 0.1, max_delay: 5.0, multiplier: 1.3, retry_codes: [14, 4]
74
74
  }
75
75
 
76
76
  default_config
@@ -64,9 +64,9 @@ module Google
64
64
  end
65
65
  default_config = Client::Configuration.new parent_config
66
66
 
67
- default_config.timeout = 60.0
67
+ default_config.timeout = 5.0
68
68
  default_config.retry_policy = {
69
- initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
69
+ initial_delay: 0.1, max_delay: 5.0, multiplier: 1.3, retry_codes: [14, 4]
70
70
  }
71
71
 
72
72
  default_config
@@ -65,9 +65,14 @@ module Google
65
65
  end
66
66
  default_config = Client::Configuration.new parent_config
67
67
 
68
- default_config.timeout = 60.0
68
+ default_config.timeout = 30.0
69
69
  default_config.retry_policy = {
70
- initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
70
+ initial_delay: 0.1, max_delay: 30.0, multiplier: 1.3, retry_codes: [14, 4]
71
+ }
72
+
73
+ default_config.rpcs.import_products.timeout = 300.0
74
+ default_config.rpcs.import_products.retry_policy = {
75
+ initial_delay: 0.1, max_delay: 300.0, multiplier: 1.3, retry_codes: [14, 4]
71
76
  }
72
77
 
73
78
  default_config
@@ -68,9 +68,9 @@ module Google
68
68
  end
69
69
  default_config = Client::Configuration.new parent_config
70
70
 
71
- default_config.timeout = 60.0
71
+ default_config.timeout = 5.0
72
72
  default_config.retry_policy = {
73
- initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
73
+ initial_delay: 0.1, max_delay: 5.0, multiplier: 1.3, retry_codes: [14, 4]
74
74
  }
75
75
 
76
76
  default_config
@@ -230,8 +230,7 @@ module Google
230
230
  # @param filter [::String]
231
231
  # The filter syntax consists of an expression language for constructing a
232
232
  # predicate from one or more fields of the products being filtered. Filter
233
- # expression is case-sensitive. See more details at this [user
234
- # guide](/retail/private/docs/filter-and-order#filter).
233
+ # expression is case-sensitive.
235
234
  #
236
235
  # If this field is unrecognizable, an INVALID_ARGUMENT is returned.
237
236
  # @param canonical_filter [::String]
@@ -247,9 +246,7 @@ module Google
247
246
  # @param order_by [::String]
248
247
  # The order in which products are returned. Products can be ordered by
249
248
  # a field in an {::Google::Cloud::Retail::V2::Product Product} object. Leave it
250
- # unset if ordered by relevance. OrderBy expression is case-sensitive. See
251
- # more details at this [user
252
- # guide](/retail/private/docs/filter-and-order#order).
249
+ # unset if ordered by relevance. OrderBy expression is case-sensitive.
253
250
  #
254
251
  # If this field is unrecognizable, an INVALID_ARGUMENT is returned.
255
252
  # @param facet_specs [::Array<::Google::Cloud::Retail::V2::SearchRequest::FacetSpec, ::Hash>]
@@ -264,12 +261,10 @@ module Google
264
261
  # This feature requires additional allowlisting. Contact Retail Search
265
262
  # support team if you are interested in using dynamic facet feature.
266
263
  # @param boost_spec [::Google::Cloud::Retail::V2::SearchRequest::BoostSpec, ::Hash]
267
- # Boost specification to boost certain products. See more details at this
268
- # [user guide](/retail/private/docs/boosting).
264
+ # Boost specification to boost certain products.
269
265
  # @param query_expansion_spec [::Google::Cloud::Retail::V2::SearchRequest::QueryExpansionSpec, ::Hash]
270
266
  # The query expansion specification that specifies the conditions under which
271
- # query expansion will occur. See more details at this [user
272
- # guide](/retail/private/docs/result-size#query_expansion).
267
+ # query expansion will occur.
273
268
  # @param variant_rollup_keys [::Array<::String>]
274
269
  # The keys to fetch and rollup the matching
275
270
  # {::Google::Cloud::Retail::V2::Product::Type::VARIANT variant}
@@ -64,9 +64,19 @@ module Google
64
64
  end
65
65
  default_config = Client::Configuration.new parent_config
66
66
 
67
- default_config.timeout = 60.0
67
+ default_config.timeout = 5.0
68
68
  default_config.retry_policy = {
69
- initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
69
+ initial_delay: 0.1, max_delay: 5.0, multiplier: 1.3, retry_codes: [14, 4]
70
+ }
71
+
72
+ default_config.rpcs.purge_user_events.timeout = 30.0
73
+ default_config.rpcs.purge_user_events.retry_policy = {
74
+ initial_delay: 0.1, max_delay: 30.0, multiplier: 1.3, retry_codes: [14, 4]
75
+ }
76
+
77
+ default_config.rpcs.import_user_events.timeout = 300.0
78
+ default_config.rpcs.import_user_events.retry_policy = {
79
+ initial_delay: 0.1, max_delay: 300.0, multiplier: 1.3, retry_codes: [14, 4]
70
80
  }
71
81
 
72
82
  default_config
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Retail
23
23
  module V2
24
- VERSION = "0.5.0"
24
+ VERSION = "0.5.1"
25
25
  end
26
26
  end
27
27
  end
@@ -120,6 +120,9 @@ module Google
120
120
  # This field must be a UTF-8 encoded string with a length limit of 128
121
121
  # characters. Otherwise, an INVALID_ARGUMENT error is returned.
122
122
  #
123
+ # This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is
124
+ # returned.
125
+ #
123
126
  # Google Merchant Center property
124
127
  # [gtin](https://support.google.com/merchants/answer/6324461).
125
128
  # Schema.org property
@@ -354,7 +357,7 @@ module Google
354
357
  # The pattern or graphic print of the product. For example, "striped", "polka
355
358
  # dot", "paisley".
356
359
  #
357
- # A maximum of 5 values are allowed per
360
+ # A maximum of 20 values are allowed per
358
361
  # {::Google::Cloud::Retail::V2::Product Product}. Each value must be a UTF-8
359
362
  # encoded string with a length limit of 128 characters. Otherwise, an
360
363
  # INVALID_ARGUMENT error is returned.
@@ -87,8 +87,7 @@ module Google
87
87
  # @return [::String]
88
88
  # The filter syntax consists of an expression language for constructing a
89
89
  # predicate from one or more fields of the products being filtered. Filter
90
- # expression is case-sensitive. See more details at this [user
91
- # guide](/retail/private/docs/filter-and-order#filter).
90
+ # expression is case-sensitive.
92
91
  #
93
92
  # If this field is unrecognizable, an INVALID_ARGUMENT is returned.
94
93
  # @!attribute [rw] canonical_filter
@@ -106,9 +105,7 @@ module Google
106
105
  # @return [::String]
107
106
  # The order in which products are returned. Products can be ordered by
108
107
  # a field in an {::Google::Cloud::Retail::V2::Product Product} object. Leave it
109
- # unset if ordered by relevance. OrderBy expression is case-sensitive. See
110
- # more details at this [user
111
- # guide](/retail/private/docs/filter-and-order#order).
108
+ # unset if ordered by relevance. OrderBy expression is case-sensitive.
112
109
  #
113
110
  # If this field is unrecognizable, an INVALID_ARGUMENT is returned.
114
111
  # @!attribute [rw] facet_specs
@@ -126,13 +123,11 @@ module Google
126
123
  # support team if you are interested in using dynamic facet feature.
127
124
  # @!attribute [rw] boost_spec
128
125
  # @return [::Google::Cloud::Retail::V2::SearchRequest::BoostSpec]
129
- # Boost specification to boost certain products. See more details at this
130
- # [user guide](/retail/private/docs/boosting).
126
+ # Boost specification to boost certain products.
131
127
  # @!attribute [rw] query_expansion_spec
132
128
  # @return [::Google::Cloud::Retail::V2::SearchRequest::QueryExpansionSpec]
133
129
  # The query expansion specification that specifies the conditions under which
134
- # query expansion will occur. See more details at this [user
135
- # guide](/retail/private/docs/result-size#query_expansion).
130
+ # query expansion will occur.
136
131
  # @!attribute [rw] variant_rollup_keys
137
132
  # @return [::Array<::String>]
138
133
  # The keys to fetch and rollup the matching
@@ -460,10 +455,9 @@ module Google
460
455
  #
461
456
  # * To boost products with product ID "product_1" or "product_2", and
462
457
  # color
463
- # "Red" or "Blue":<br>
464
- # *(id: ANY("product_1", "product_2"))<br>*
465
- # *AND<br>*
466
- # *(colorFamilies: ANY("Red", "Blue"))<br>*
458
+ # "Red" or "Blue":
459
+ # * (id: ANY("product_1", "product_2")) AND (colorFamilies:
460
+ # ANY("Red","Blue"))
467
461
  # @!attribute [rw] boost
468
462
  # @return [::Float]
469
463
  # Strength of the condition boost, which should be in [-1, 1]. Negative
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.5.0
4
+ version: 0.5.1
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-23 00:00:00.000000000 Z
11
+ date: 2021-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common