google-apis-retail_v2beta 0.37.0 → 0.40.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30b34010a1648be4728cb150e3a7a5570f80c848f8a5368482fd555ee7837809
|
4
|
+
data.tar.gz: 31d74bae4a99a7f6790a5d4bcb119f2555ccb5ca5b3289c1ec9ed42a0404d9cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e62e35b79b799b40db738defddaef47608ad6640264df3d51416e6610be6b4c304e05592c858a3085d742824a858b77f8e88d768aa1c993ccf46edecd3f1a5f
|
7
|
+
data.tar.gz: 1d029eb5b689f460be7ef0efd842069686d03eafb0584db3091200cbb2e6a9f5b37a38955d3d672a0288ebe5b1aad34c6d596efc1de98da36a4421eb9a8a8d53
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-retail_v2beta
|
2
2
|
|
3
|
+
### v0.40.0 (2022-05-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220512
|
6
|
+
|
7
|
+
### v0.39.0 (2022-05-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220505
|
10
|
+
|
11
|
+
### v0.38.0 (2022-05-05)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220430
|
14
|
+
|
3
15
|
### v0.37.0 (2022-04-28)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220421
|
@@ -281,7 +281,7 @@ module Google
|
|
281
281
|
|
282
282
|
# Metadata related to the progress of the AddFulfillmentPlaces operation.
|
283
283
|
# Currently empty because there is no meaningful metadata populated from the
|
284
|
-
# AddFulfillmentPlaces method.
|
284
|
+
# ProductService.AddFulfillmentPlaces method.
|
285
285
|
class GoogleCloudRetailV2AddFulfillmentPlacesMetadata
|
286
286
|
include Google::Apis::Core::Hashable
|
287
287
|
|
@@ -295,7 +295,8 @@ module Google
|
|
295
295
|
end
|
296
296
|
|
297
297
|
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
298
|
-
# no meaningful response populated from the AddFulfillmentPlaces
|
298
|
+
# no meaningful response populated from the ProductService.AddFulfillmentPlaces
|
299
|
+
# method.
|
299
300
|
class GoogleCloudRetailV2AddFulfillmentPlacesResponse
|
300
301
|
include Google::Apis::Core::Hashable
|
301
302
|
|
@@ -310,7 +311,7 @@ module Google
|
|
310
311
|
|
311
312
|
# Metadata related to the progress of the AddLocalInventories operation.
|
312
313
|
# Currently empty because there is no meaningful metadata populated from the
|
313
|
-
# AddLocalInventories method.
|
314
|
+
# ProductService.AddLocalInventories method.
|
314
315
|
class GoogleCloudRetailV2AddLocalInventoriesMetadata
|
315
316
|
include Google::Apis::Core::Hashable
|
316
317
|
|
@@ -323,8 +324,9 @@ module Google
|
|
323
324
|
end
|
324
325
|
end
|
325
326
|
|
326
|
-
# Response of the AddLocalInventories API. Currently empty
|
327
|
-
# meaningful response populated from the
|
327
|
+
# Response of the ProductService.AddLocalInventories API. Currently empty
|
328
|
+
# because there is no meaningful response populated from the ProductService.
|
329
|
+
# AddLocalInventories method.
|
328
330
|
class GoogleCloudRetailV2AddLocalInventoriesResponse
|
329
331
|
include Google::Apis::Core::Hashable
|
330
332
|
|
@@ -677,7 +679,7 @@ module Google
|
|
677
679
|
|
678
680
|
# Metadata related to the progress of the AddFulfillmentPlaces operation.
|
679
681
|
# Currently empty because there is no meaningful metadata populated from the
|
680
|
-
# AddFulfillmentPlaces method.
|
682
|
+
# ProductService.AddFulfillmentPlaces method.
|
681
683
|
class GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata
|
682
684
|
include Google::Apis::Core::Hashable
|
683
685
|
|
@@ -691,7 +693,8 @@ module Google
|
|
691
693
|
end
|
692
694
|
|
693
695
|
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
694
|
-
# no meaningful response populated from the AddFulfillmentPlaces
|
696
|
+
# no meaningful response populated from the ProductService.AddFulfillmentPlaces
|
697
|
+
# method.
|
695
698
|
class GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse
|
696
699
|
include Google::Apis::Core::Hashable
|
697
700
|
|
@@ -706,7 +709,7 @@ module Google
|
|
706
709
|
|
707
710
|
# Metadata related to the progress of the AddLocalInventories operation.
|
708
711
|
# Currently empty because there is no meaningful metadata populated from the
|
709
|
-
# AddLocalInventories method.
|
712
|
+
# ProductService.AddLocalInventories method.
|
710
713
|
class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
|
711
714
|
include Google::Apis::Core::Hashable
|
712
715
|
|
@@ -719,8 +722,9 @@ module Google
|
|
719
722
|
end
|
720
723
|
end
|
721
724
|
|
722
|
-
# Response of the AddLocalInventories API. Currently empty
|
723
|
-
# meaningful response populated from the
|
725
|
+
# Response of the ProductService.AddLocalInventories API. Currently empty
|
726
|
+
# because there is no meaningful response populated from the ProductService.
|
727
|
+
# AddLocalInventories method.
|
724
728
|
class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
|
725
729
|
include Google::Apis::Core::Hashable
|
726
730
|
|
@@ -1283,7 +1287,7 @@ module Google
|
|
1283
1287
|
|
1284
1288
|
# Metadata related to the progress of the AddFulfillmentPlaces operation.
|
1285
1289
|
# Currently empty because there is no meaningful metadata populated from the
|
1286
|
-
# AddFulfillmentPlaces method.
|
1290
|
+
# ProductService.AddFulfillmentPlaces method.
|
1287
1291
|
class GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata
|
1288
1292
|
include Google::Apis::Core::Hashable
|
1289
1293
|
|
@@ -1296,7 +1300,7 @@ module Google
|
|
1296
1300
|
end
|
1297
1301
|
end
|
1298
1302
|
|
1299
|
-
# Request message for AddFulfillmentPlaces method.
|
1303
|
+
# Request message for ProductService.AddFulfillmentPlaces method.
|
1300
1304
|
class GoogleCloudRetailV2betaAddFulfillmentPlacesRequest
|
1301
1305
|
include Google::Apis::Core::Hashable
|
1302
1306
|
|
@@ -1353,7 +1357,8 @@ module Google
|
|
1353
1357
|
end
|
1354
1358
|
|
1355
1359
|
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
1356
|
-
# no meaningful response populated from the AddFulfillmentPlaces
|
1360
|
+
# no meaningful response populated from the ProductService.AddFulfillmentPlaces
|
1361
|
+
# method.
|
1357
1362
|
class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse
|
1358
1363
|
include Google::Apis::Core::Hashable
|
1359
1364
|
|
@@ -1368,7 +1373,7 @@ module Google
|
|
1368
1373
|
|
1369
1374
|
# Metadata related to the progress of the AddLocalInventories operation.
|
1370
1375
|
# Currently empty because there is no meaningful metadata populated from the
|
1371
|
-
# AddLocalInventories method.
|
1376
|
+
# ProductService.AddLocalInventories method.
|
1372
1377
|
class GoogleCloudRetailV2betaAddLocalInventoriesMetadata
|
1373
1378
|
include Google::Apis::Core::Hashable
|
1374
1379
|
|
@@ -1381,7 +1386,7 @@ module Google
|
|
1381
1386
|
end
|
1382
1387
|
end
|
1383
1388
|
|
1384
|
-
# Request message for AddLocalInventories method.
|
1389
|
+
# Request message for ProductService.AddLocalInventories method.
|
1385
1390
|
class GoogleCloudRetailV2betaAddLocalInventoriesRequest
|
1386
1391
|
include Google::Apis::Core::Hashable
|
1387
1392
|
|
@@ -1432,8 +1437,9 @@ module Google
|
|
1432
1437
|
end
|
1433
1438
|
end
|
1434
1439
|
|
1435
|
-
# Response of the AddLocalInventories API. Currently empty
|
1436
|
-
# meaningful response populated from the
|
1440
|
+
# Response of the ProductService.AddLocalInventories API. Currently empty
|
1441
|
+
# because there is no meaningful response populated from the ProductService.
|
1442
|
+
# AddLocalInventories method.
|
1437
1443
|
class GoogleCloudRetailV2betaAddLocalInventoriesResponse
|
1438
1444
|
include Google::Apis::Core::Hashable
|
1439
1445
|
|
@@ -1650,12 +1656,13 @@ module Google
|
|
1650
1656
|
# Output only. Indicates whether this attribute has been used by any products. `
|
1651
1657
|
# True` if at least one Product is using this attribute in Product.attributes.
|
1652
1658
|
# Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
|
1653
|
-
# AddCatalogAttribute, ImportCatalogAttributes, or
|
1654
|
-
# This field is `False` for pre-
|
1655
|
-
# that are not in use by
|
1656
|
-
#
|
1657
|
-
#
|
1658
|
-
#
|
1659
|
+
# CatalogService.AddCatalogAttribute, CatalogService.ImportCatalogAttributes, or
|
1660
|
+
# CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-
|
1661
|
+
# loaded CatalogAttributes. Only CatalogAttributes that are not in use by
|
1662
|
+
# products can be deleted. CatalogAttributes that are in use by products cannot
|
1663
|
+
# be deleted; however, their configuration properties will reset to default
|
1664
|
+
# values upon removal request. After catalog changes, it takes about 10 minutes
|
1665
|
+
# for this field to update.
|
1659
1666
|
# Corresponds to the JSON property `inUse`
|
1660
1667
|
# @return [Boolean]
|
1661
1668
|
attr_accessor :in_use
|
@@ -1792,7 +1799,9 @@ module Google
|
|
1792
1799
|
|
1793
1800
|
# Custom attributes for the suggestion term. * For "user-data", the attributes
|
1794
1801
|
# are additional custom attributes ingested through BigQuery. * For "cloud-
|
1795
|
-
# retail", the attributes are product attributes generated by Cloud Retail.
|
1802
|
+
# retail", the attributes are product attributes generated by Cloud Retail. This
|
1803
|
+
# is an experimental feature. Contact Retail Search support team if you are
|
1804
|
+
# interested in enabling it.
|
1796
1805
|
# Corresponds to the JSON property `attributes`
|
1797
1806
|
# @return [Hash<String,Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute>]
|
1798
1807
|
attr_accessor :attributes
|
@@ -2135,11 +2144,12 @@ module Google
|
|
2135
2144
|
|
2136
2145
|
# This field is normally ignored unless AttributesConfig.attribute_config_level
|
2137
2146
|
# of the Catalog is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode.
|
2138
|
-
#
|
2139
|
-
# docs/attribute-config#
|
2140
|
-
#
|
2141
|
-
# Search. This field is ignored
|
2142
|
-
#
|
2147
|
+
# For information about product-level attribute configuration, see [
|
2148
|
+
# Configuration modes](https://cloud.google.com/retail/docs/attribute-config#
|
2149
|
+
# config-modes). If true, custom attribute values are indexed, so that they can
|
2150
|
+
# be filtered, faceted or boosted in SearchService.Search. This field is ignored
|
2151
|
+
# in a UserEvent. See SearchRequest.filter, SearchRequest.facet_specs and
|
2152
|
+
# SearchRequest.boost_spec for more details.
|
2143
2153
|
# Corresponds to the JSON property `indexable`
|
2144
2154
|
# @return [Boolean]
|
2145
2155
|
attr_accessor :indexable
|
@@ -2154,11 +2164,11 @@ module Google
|
|
2154
2164
|
|
2155
2165
|
# This field is normally ignored unless AttributesConfig.attribute_config_level
|
2156
2166
|
# of the Catalog is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode.
|
2157
|
-
#
|
2158
|
-
# docs/attribute-config#
|
2159
|
-
#
|
2160
|
-
#
|
2161
|
-
# is returned.
|
2167
|
+
# For information about product-level attribute configuration, see [
|
2168
|
+
# Configuration modes](https://cloud.google.com/retail/docs/attribute-config#
|
2169
|
+
# config-modes). If true, custom attribute values are searchable by text queries
|
2170
|
+
# in SearchService.Search. This field is ignored in a UserEvent. Only set if
|
2171
|
+
# type text is set. Otherwise, a INVALID_ARGUMENT error is returned.
|
2162
2172
|
# Corresponds to the JSON property `searchable`
|
2163
2173
|
# @return [Boolean]
|
2164
2174
|
attr_accessor :searchable
|
@@ -3006,7 +3016,7 @@ module Google
|
|
3006
3016
|
# The labels applied to a resource must meet the following requirements: * Each
|
3007
3017
|
# resource can have multiple labels, up to a maximum of 64. * Each label must be
|
3008
3018
|
# a key-value pair. * Keys have a minimum length of 1 character and a maximum
|
3009
|
-
# length of 63 characters
|
3019
|
+
# length of 63 characters and cannot be empty. Values can be empty and have a
|
3010
3020
|
# maximum length of 63 characters. * Keys and values can contain only lowercase
|
3011
3021
|
# letters, numeric characters, underscores, and dashes. All characters must use
|
3012
3022
|
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
@@ -3134,9 +3144,9 @@ module Google
|
|
3134
3144
|
attr_accessor :id
|
3135
3145
|
|
3136
3146
|
# Additional product metadata / annotations. Possible values: * `product`: JSON
|
3137
|
-
# representation of the product.
|
3138
|
-
#
|
3139
|
-
#
|
3147
|
+
# representation of the product. Is set if `returnProduct` is set to true in `
|
3148
|
+
# PredictRequest.params`. * `score`: Prediction score in double value. Is set if
|
3149
|
+
# `returnScore` is set to true in `PredictRequest.params`.
|
3140
3150
|
# Corresponds to the JSON property `metadata`
|
3141
3151
|
# @return [Hash<String,Object>]
|
3142
3152
|
attr_accessor :metadata
|
@@ -3499,9 +3509,9 @@ module Google
|
|
3499
3509
|
# attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION,
|
3500
3510
|
# the following fields are always returned in SearchResponse by default: * name
|
3501
3511
|
# For Type.VARIANT, the following fields are always returned in by default: *
|
3502
|
-
# name * color_info
|
3512
|
+
# name * color_info The maximum number of paths is 30. Otherwise, an
|
3503
3513
|
# INVALID_ARGUMENT error is returned. Note: Returning more fields in
|
3504
|
-
# SearchResponse
|
3514
|
+
# SearchResponse can increase response payload size and serving latency.
|
3505
3515
|
# Corresponds to the JSON property `retrievableFields`
|
3506
3516
|
# @return [String]
|
3507
3517
|
attr_accessor :retrievable_fields
|
@@ -4576,7 +4586,7 @@ module Google
|
|
4576
4586
|
# The labels applied to a resource must meet the following requirements: * Each
|
4577
4587
|
# resource can have multiple labels, up to a maximum of 64. * Each label must be
|
4578
4588
|
# a key-value pair. * Keys have a minimum length of 1 character and a maximum
|
4579
|
-
# length of 63 characters
|
4589
|
+
# length of 63 characters and cannot be empty. Values can be empty and have a
|
4580
4590
|
# maximum length of 63 characters. * Keys and values can contain only lowercase
|
4581
4591
|
# letters, numeric characters, underscores, and dashes. All characters must use
|
4582
4592
|
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
@@ -4654,6 +4664,11 @@ module Google
|
|
4654
4664
|
# @return [String]
|
4655
4665
|
attr_accessor :search_mode
|
4656
4666
|
|
4667
|
+
# The specification for query spell correction.
|
4668
|
+
# Corresponds to the JSON property `spellCorrectionSpec`
|
4669
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec]
|
4670
|
+
attr_accessor :spell_correction_spec
|
4671
|
+
|
4657
4672
|
# Information of an end user.
|
4658
4673
|
# Corresponds to the JSON property `userInfo`
|
4659
4674
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo]
|
@@ -4669,8 +4684,8 @@ module Google
|
|
4669
4684
|
# the store ID. Supported keys are: * colorFamilies * price * originalPrice *
|
4670
4685
|
# discount * variantId * inventory(place_id,price) * inventory(place_id,
|
4671
4686
|
# original_price) * inventory(place_id,attributes.key), where key is any key in
|
4672
|
-
# the Product.
|
4673
|
-
# in the Product.attributes map. * pickupInStore.id, where id is any
|
4687
|
+
# the Product.local_inventories.attributes map. * attributes.key, where key is
|
4688
|
+
# any key in the Product.attributes map. * pickupInStore.id, where id is any
|
4674
4689
|
# FulfillmentInfo.place_ids for FulfillmentInfo.type "pickup-in-store". *
|
4675
4690
|
# shipToStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.
|
4676
4691
|
# type "ship-to-store". * sameDayDelivery.id, where id is any FulfillmentInfo.
|
@@ -4721,6 +4736,7 @@ module Google
|
|
4721
4736
|
@query = args[:query] if args.key?(:query)
|
4722
4737
|
@query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
|
4723
4738
|
@search_mode = args[:search_mode] if args.key?(:search_mode)
|
4739
|
+
@spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
|
4724
4740
|
@user_info = args[:user_info] if args.key?(:user_info)
|
4725
4741
|
@variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
|
4726
4742
|
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
@@ -4733,7 +4749,7 @@ module Google
|
|
4733
4749
|
|
4734
4750
|
# Condition boost specifications. If a product matches multiple conditions in
|
4735
4751
|
# the specifictions, boost scores from these specifications are all applied and
|
4736
|
-
# combined in a non-linear way. Maximum number of specifications is
|
4752
|
+
# combined in a non-linear way. Maximum number of specifications is 20.
|
4737
4753
|
# Corresponds to the JSON property `conditionBoostSpecs`
|
4738
4754
|
# @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec>]
|
4739
4755
|
attr_accessor :condition_boost_specs
|
@@ -4844,13 +4860,20 @@ module Google
|
|
4844
4860
|
alias_method :enable_dynamic_position?, :enable_dynamic_position
|
4845
4861
|
|
4846
4862
|
# List of keys to exclude when faceting. By default, FacetKey.key is not
|
4847
|
-
# excluded from the filter unless it is listed in this field.
|
4848
|
-
#
|
4849
|
-
#
|
4850
|
-
#
|
4851
|
-
#
|
4852
|
-
# the "Red"
|
4853
|
-
# key
|
4863
|
+
# excluded from the filter unless it is listed in this field. Listing a facet
|
4864
|
+
# key in this field allows its values to appear as facet results, even when they
|
4865
|
+
# are filtered out of search results. Using this field does not affect what
|
4866
|
+
# search results are returned. For example, suppose there are 100 products with
|
4867
|
+
# the color facet "Red" and 200 products with the color facet "Blue". A query
|
4868
|
+
# containing the filter "colorFamilies:ANY("Red")" and having "colorFamilies" as
|
4869
|
+
# FacetKey.key would by default return only "Red" products in the search results,
|
4870
|
+
# and also return "Red" with count 100 as the only color facet. Although there
|
4871
|
+
# are also blue products available, "Blue" would not be shown as an available
|
4872
|
+
# facet value. If "colorFamilies" is listed in "excludedFilterKeys", then the
|
4873
|
+
# query returns the facet values "Red" with count 100 and "Blue" with count 200,
|
4874
|
+
# because the "colorFamilies" key is now excluded from the filter. Because this
|
4875
|
+
# field doesn't affect search results, the search results are still correctly
|
4876
|
+
# filtered to return only "Red" products. A maximum of 100 values are allowed.
|
4854
4877
|
# Otherwise, an INVALID_ARGUMENT error is returned.
|
4855
4878
|
# Corresponds to the JSON property `excludedFilterKeys`
|
4856
4879
|
# @return [Array<String>]
|
@@ -5024,6 +5047,26 @@ module Google
|
|
5024
5047
|
end
|
5025
5048
|
end
|
5026
5049
|
|
5050
|
+
# The specification for query spell correction.
|
5051
|
+
class GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec
|
5052
|
+
include Google::Apis::Core::Hashable
|
5053
|
+
|
5054
|
+
# The mode under which spell correction should take effect to replace the
|
5055
|
+
# original search query. Default to Mode.AUTO.
|
5056
|
+
# Corresponds to the JSON property `mode`
|
5057
|
+
# @return [String]
|
5058
|
+
attr_accessor :mode
|
5059
|
+
|
5060
|
+
def initialize(**args)
|
5061
|
+
update!(**args)
|
5062
|
+
end
|
5063
|
+
|
5064
|
+
# Update properties of this object
|
5065
|
+
def update!(**args)
|
5066
|
+
@mode = args[:mode] if args.key?(:mode)
|
5067
|
+
end
|
5068
|
+
end
|
5069
|
+
|
5027
5070
|
# Response message for SearchService.Search method.
|
5028
5071
|
class GoogleCloudRetailV2betaSearchResponse
|
5029
5072
|
include Google::Apis::Core::Hashable
|
@@ -5042,8 +5085,8 @@ module Google
|
|
5042
5085
|
attr_accessor :attribution_token
|
5043
5086
|
|
5044
5087
|
# Contains the spell corrected query, if found. If the spell correction type is
|
5045
|
-
# AUTOMATIC, then the search results
|
5046
|
-
#
|
5088
|
+
# AUTOMATIC, then the search results are based on corrected_query. Otherwise the
|
5089
|
+
# original query will be used for search.
|
5047
5090
|
# Corresponds to the JSON property `correctedQuery`
|
5048
5091
|
# @return [String]
|
5049
5092
|
attr_accessor :corrected_query
|
@@ -5072,8 +5115,8 @@ module Google
|
|
5072
5115
|
attr_accessor :query_expansion_info
|
5073
5116
|
|
5074
5117
|
# The URI of a customer-defined redirect page. If redirect action is triggered,
|
5075
|
-
# no search
|
5076
|
-
#
|
5118
|
+
# no search is performed, and only redirect_uri and attribution_token are set in
|
5119
|
+
# the response.
|
5077
5120
|
# Corresponds to the JSON property `redirectUri`
|
5078
5121
|
# @return [String]
|
5079
5122
|
attr_accessor :redirect_uri
|
@@ -5270,11 +5313,11 @@ module Google
|
|
5270
5313
|
# Condition boost specifications. If a product matches multiple conditions in
|
5271
5314
|
# the specifications, boost scores from these specifications are all applied and
|
5272
5315
|
# combined in a non-linear way. Maximum number of specifications is 100. Notice
|
5273
|
-
# that if both ServingConfig.boost_control_ids and
|
5274
|
-
#
|
5275
|
-
#
|
5276
|
-
#
|
5277
|
-
#
|
5316
|
+
# that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are
|
5317
|
+
# set, the boost conditions from both places are evaluated. If a search request
|
5318
|
+
# matches multiple boost conditions, the final boost score is equal to the sum
|
5319
|
+
# of the boost scores from all matched boost conditions. Can only be set if
|
5320
|
+
# solution_types is SOLUTION_TYPE_SEARCH.
|
5278
5321
|
# Corresponds to the JSON property `boostControlIds`
|
5279
5322
|
# @return [Array<String>]
|
5280
5323
|
attr_accessor :boost_control_ids
|
@@ -5743,7 +5786,7 @@ module Google
|
|
5743
5786
|
# which results in degraded model quality. The field must be a UTF-8 encoded
|
5744
5787
|
# string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT
|
5745
5788
|
# error is returned. The field should not contain PII or user-data. We recommend
|
5746
|
-
# to use Google
|
5789
|
+
# to use Google Analytics [Client ID](https://developers.google.com/analytics/
|
5747
5790
|
# devguides/collection/analyticsjs/field-reference#clientId) for this field.
|
5748
5791
|
# Corresponds to the JSON property `visitorId`
|
5749
5792
|
# @return [String]
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2beta
|
18
18
|
# Version of the google-apis-retail_v2beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.40.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220512"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -904,6 +904,12 @@ module Google
|
|
904
904
|
include Google::Apis::Core::JsonObjectSupport
|
905
905
|
end
|
906
906
|
|
907
|
+
class GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
|
+
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
911
|
+
end
|
912
|
+
|
907
913
|
class GoogleCloudRetailV2betaSearchResponse
|
908
914
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
915
|
|
@@ -2284,6 +2290,8 @@ module Google
|
|
2284
2290
|
property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec::Representation
|
2285
2291
|
|
2286
2292
|
property :search_mode, as: 'searchMode'
|
2293
|
+
property :spell_correction_spec, as: 'spellCorrectionSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec::Representation
|
2294
|
+
|
2287
2295
|
property :user_info, as: 'userInfo', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo::Representation
|
2288
2296
|
|
2289
2297
|
collection :variant_rollup_keys, as: 'variantRollupKeys'
|
@@ -2355,6 +2363,13 @@ module Google
|
|
2355
2363
|
end
|
2356
2364
|
end
|
2357
2365
|
|
2366
|
+
class GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec
|
2367
|
+
# @private
|
2368
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2369
|
+
property :mode, as: 'mode'
|
2370
|
+
end
|
2371
|
+
end
|
2372
|
+
|
2358
2373
|
class GoogleCloudRetailV2betaSearchResponse
|
2359
2374
|
# @private
|
2360
2375
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -62,8 +62,9 @@ module Google
|
|
62
62
|
# the imported dataset through CompletionService.ImportCompletionData. "cloud-
|
63
63
|
# retail" will use the dataset generated by cloud retail based on user events.
|
64
64
|
# If leave empty, it will use the "user-data". Current supported values: * user-
|
65
|
-
# data * cloud-retail This option requires
|
66
|
-
#
|
65
|
+
# data * cloud-retail: This option requires enabling auto-learning function
|
66
|
+
# first. See [guidelines](https://cloud.google.com/retail/docs/completion-
|
67
|
+
# overview#generated-completion-dataset).
|
67
68
|
# @param [String] device_type
|
68
69
|
# The device type context for completion suggestions. It is useful to apply
|
69
70
|
# different suggestions on different device types, e.g. `DESKTOP`, `MOBILE`. If
|
@@ -775,9 +776,9 @@ module Google
|
|
775
776
|
execute_or_queue_command(command, &block)
|
776
777
|
end
|
777
778
|
|
778
|
-
# Bulk import of multiple Products. Request processing may be synchronous.
|
779
|
-
#
|
780
|
-
#
|
779
|
+
# Bulk import of multiple Products. Request processing may be synchronous. Non-
|
780
|
+
# existing items are created. Note that it is possible for a subset of the
|
781
|
+
# Products to be successfully updated.
|
781
782
|
# @param [String] parent
|
782
783
|
# Required. `projects/1234/locations/global/catalogs/default_catalog/branches/
|
783
784
|
# default_branch` If no updateMask is specified, requires products.create
|
@@ -1027,9 +1028,9 @@ module Google
|
|
1027
1028
|
# this product will be used. If no inventory fields are set in
|
1028
1029
|
# SetInventoryRequest.set_mask, then any existing inventory information will be
|
1029
1030
|
# preserved. Pre-existing inventory information can only be updated with
|
1030
|
-
# SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces.
|
1031
|
-
# is only available for users who have Retail Search enabled.
|
1032
|
-
# Retail Search on Cloud Console before using this feature.
|
1031
|
+
# SetInventory, ProductService.AddFulfillmentPlaces, and RemoveFulfillmentPlaces.
|
1032
|
+
# This feature is only available for users who have Retail Search enabled.
|
1033
|
+
# Please enable Retail Search on Cloud Console before using this feature.
|
1033
1034
|
# @param [String] name
|
1034
1035
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
1035
1036
|
# global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.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: 2022-05-
|
11
|
+
date: 2022-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.40.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|