google-apis-retail_v2alpha 0.39.0 → 0.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 44ef2bee884e2a8c93ee4268acf06f7446811fd0014b197dd60e96af99fbb13a
|
|
4
|
+
data.tar.gz: 23edf9bc572404b7b07a4d6ee298de46ba1255012d2074cdb0f698189230c771
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 56f362bba0bca18125e0a2885b4aee78d1aea4105f30e857b9dd5bc74b06e9e9dd5588039f3ce428a177c1d734601c8a3d7c027af8164068da92e2acd2758aa5
|
|
7
|
+
data.tar.gz: 2206ecb4d022eb2b5190ce5f248a9886d3ed4b30761b3ab6f0809a660bfacd8ffb2a9f556fcfcf4f24bca6bcac3ef6412f040e64b96a994ae48661fbde4e3833
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
|
@@ -717,7 +719,7 @@ module Google
|
|
|
717
719
|
|
|
718
720
|
# Metadata related to the progress of the AddFulfillmentPlaces operation.
|
|
719
721
|
# Currently empty because there is no meaningful metadata populated from the
|
|
720
|
-
# AddFulfillmentPlaces method.
|
|
722
|
+
# ProductService.AddFulfillmentPlaces method.
|
|
721
723
|
class GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata
|
|
722
724
|
include Google::Apis::Core::Hashable
|
|
723
725
|
|
|
@@ -730,7 +732,7 @@ module Google
|
|
|
730
732
|
end
|
|
731
733
|
end
|
|
732
734
|
|
|
733
|
-
# Request message for AddFulfillmentPlaces method.
|
|
735
|
+
# Request message for ProductService.AddFulfillmentPlaces method.
|
|
734
736
|
class GoogleCloudRetailV2alphaAddFulfillmentPlacesRequest
|
|
735
737
|
include Google::Apis::Core::Hashable
|
|
736
738
|
|
|
@@ -787,7 +789,8 @@ module Google
|
|
|
787
789
|
end
|
|
788
790
|
|
|
789
791
|
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
|
790
|
-
# no meaningful response populated from the AddFulfillmentPlaces
|
|
792
|
+
# no meaningful response populated from the ProductService.AddFulfillmentPlaces
|
|
793
|
+
# method.
|
|
791
794
|
class GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse
|
|
792
795
|
include Google::Apis::Core::Hashable
|
|
793
796
|
|
|
@@ -802,7 +805,7 @@ module Google
|
|
|
802
805
|
|
|
803
806
|
# Metadata related to the progress of the AddLocalInventories operation.
|
|
804
807
|
# Currently empty because there is no meaningful metadata populated from the
|
|
805
|
-
# AddLocalInventories method.
|
|
808
|
+
# ProductService.AddLocalInventories method.
|
|
806
809
|
class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
|
|
807
810
|
include Google::Apis::Core::Hashable
|
|
808
811
|
|
|
@@ -815,7 +818,7 @@ module Google
|
|
|
815
818
|
end
|
|
816
819
|
end
|
|
817
820
|
|
|
818
|
-
# Request message for AddLocalInventories method.
|
|
821
|
+
# Request message for ProductService.AddLocalInventories method.
|
|
819
822
|
class GoogleCloudRetailV2alphaAddLocalInventoriesRequest
|
|
820
823
|
include Google::Apis::Core::Hashable
|
|
821
824
|
|
|
@@ -866,8 +869,9 @@ module Google
|
|
|
866
869
|
end
|
|
867
870
|
end
|
|
868
871
|
|
|
869
|
-
# Response of the AddLocalInventories API. Currently empty
|
|
870
|
-
# meaningful response populated from the
|
|
872
|
+
# Response of the ProductService.AddLocalInventories API. Currently empty
|
|
873
|
+
# because there is no meaningful response populated from the ProductService.
|
|
874
|
+
# AddLocalInventories method.
|
|
871
875
|
class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
|
|
872
876
|
include Google::Apis::Core::Hashable
|
|
873
877
|
|
|
@@ -1084,12 +1088,13 @@ module Google
|
|
|
1084
1088
|
# Output only. Indicates whether this attribute has been used by any products. `
|
|
1085
1089
|
# True` if at least one Product is using this attribute in Product.attributes.
|
|
1086
1090
|
# Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
|
|
1087
|
-
# AddCatalogAttribute, ImportCatalogAttributes, or
|
|
1088
|
-
# This field is `False` for pre-
|
|
1089
|
-
# that are not in use by
|
|
1090
|
-
#
|
|
1091
|
-
#
|
|
1092
|
-
#
|
|
1091
|
+
# CatalogService.AddCatalogAttribute, CatalogService.ImportCatalogAttributes, or
|
|
1092
|
+
# CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-
|
|
1093
|
+
# loaded CatalogAttributes. Only CatalogAttributes that are not in use by
|
|
1094
|
+
# products can be deleted. CatalogAttributes that are in use by products cannot
|
|
1095
|
+
# be deleted; however, their configuration properties will reset to default
|
|
1096
|
+
# values upon removal request. After catalog changes, it takes about 10 minutes
|
|
1097
|
+
# for this field to update.
|
|
1093
1098
|
# Corresponds to the JSON property `inUse`
|
|
1094
1099
|
# @return [Boolean]
|
|
1095
1100
|
attr_accessor :in_use
|
|
@@ -1569,11 +1574,12 @@ module Google
|
|
|
1569
1574
|
|
|
1570
1575
|
# This field is normally ignored unless AttributesConfig.attribute_config_level
|
|
1571
1576
|
# of the Catalog is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode.
|
|
1572
|
-
#
|
|
1573
|
-
# docs/attribute-config#
|
|
1574
|
-
#
|
|
1575
|
-
# Search. This field is ignored
|
|
1576
|
-
#
|
|
1577
|
+
# For information about product-level attribute configuration, see [
|
|
1578
|
+
# Configuration modes](https://cloud.google.com/retail/docs/attribute-config#
|
|
1579
|
+
# config-modes). If true, custom attribute values are indexed, so that they can
|
|
1580
|
+
# be filtered, faceted or boosted in SearchService.Search. This field is ignored
|
|
1581
|
+
# in a UserEvent. See SearchRequest.filter, SearchRequest.facet_specs and
|
|
1582
|
+
# SearchRequest.boost_spec for more details.
|
|
1577
1583
|
# Corresponds to the JSON property `indexable`
|
|
1578
1584
|
# @return [Boolean]
|
|
1579
1585
|
attr_accessor :indexable
|
|
@@ -1588,11 +1594,11 @@ module Google
|
|
|
1588
1594
|
|
|
1589
1595
|
# This field is normally ignored unless AttributesConfig.attribute_config_level
|
|
1590
1596
|
# of the Catalog is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode.
|
|
1591
|
-
#
|
|
1592
|
-
# docs/attribute-config#
|
|
1593
|
-
#
|
|
1594
|
-
#
|
|
1595
|
-
# is returned.
|
|
1597
|
+
# For information about product-level attribute configuration, see [
|
|
1598
|
+
# Configuration modes](https://cloud.google.com/retail/docs/attribute-config#
|
|
1599
|
+
# config-modes). If true, custom attribute values are searchable by text queries
|
|
1600
|
+
# in SearchService.Search. This field is ignored in a UserEvent. Only set if
|
|
1601
|
+
# type text is set. Otherwise, a INVALID_ARGUMENT error is returned.
|
|
1596
1602
|
# Corresponds to the JSON property `searchable`
|
|
1597
1603
|
# @return [Boolean]
|
|
1598
1604
|
attr_accessor :searchable
|
|
@@ -2459,7 +2465,7 @@ module Google
|
|
|
2459
2465
|
# The labels applied to a resource must meet the following requirements: * Each
|
|
2460
2466
|
# resource can have multiple labels, up to a maximum of 64. * Each label must be
|
|
2461
2467
|
# a key-value pair. * Keys have a minimum length of 1 character and a maximum
|
|
2462
|
-
# length of 63 characters
|
|
2468
|
+
# length of 63 characters and cannot be empty. Values can be empty and have a
|
|
2463
2469
|
# maximum length of 63 characters. * Keys and values can contain only lowercase
|
|
2464
2470
|
# letters, numeric characters, underscores, and dashes. All characters must use
|
|
2465
2471
|
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
|
@@ -2587,9 +2593,9 @@ module Google
|
|
|
2587
2593
|
attr_accessor :id
|
|
2588
2594
|
|
|
2589
2595
|
# Additional product metadata / annotations. Possible values: * `product`: JSON
|
|
2590
|
-
# representation of the product.
|
|
2591
|
-
#
|
|
2592
|
-
#
|
|
2596
|
+
# representation of the product. Is set if `returnProduct` is set to true in `
|
|
2597
|
+
# PredictRequest.params`. * `score`: Prediction score in double value. Is set if
|
|
2598
|
+
# `returnScore` is set to true in `PredictRequest.params`.
|
|
2593
2599
|
# Corresponds to the JSON property `metadata`
|
|
2594
2600
|
# @return [Hash<String,Object>]
|
|
2595
2601
|
attr_accessor :metadata
|
|
@@ -2952,9 +2958,9 @@ module Google
|
|
|
2952
2958
|
# attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION,
|
|
2953
2959
|
# the following fields are always returned in SearchResponse by default: * name
|
|
2954
2960
|
# For Type.VARIANT, the following fields are always returned in by default: *
|
|
2955
|
-
# name * color_info
|
|
2961
|
+
# name * color_info The maximum number of paths is 30. Otherwise, an
|
|
2956
2962
|
# INVALID_ARGUMENT error is returned. Note: Returning more fields in
|
|
2957
|
-
# SearchResponse
|
|
2963
|
+
# SearchResponse can increase response payload size and serving latency.
|
|
2958
2964
|
# Corresponds to the JSON property `retrievableFields`
|
|
2959
2965
|
# @return [String]
|
|
2960
2966
|
attr_accessor :retrievable_fields
|
|
@@ -4138,7 +4144,7 @@ module Google
|
|
|
4138
4144
|
# The labels applied to a resource must meet the following requirements: * Each
|
|
4139
4145
|
# resource can have multiple labels, up to a maximum of 64. * Each label must be
|
|
4140
4146
|
# a key-value pair. * Keys have a minimum length of 1 character and a maximum
|
|
4141
|
-
# length of 63 characters
|
|
4147
|
+
# length of 63 characters and cannot be empty. Values can be empty and have a
|
|
4142
4148
|
# maximum length of 63 characters. * Keys and values can contain only lowercase
|
|
4143
4149
|
# letters, numeric characters, underscores, and dashes. All characters must use
|
|
4144
4150
|
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
|
@@ -4224,6 +4230,11 @@ module Google
|
|
|
4224
4230
|
# @return [String]
|
|
4225
4231
|
attr_accessor :search_mode
|
|
4226
4232
|
|
|
4233
|
+
# The specification for query spell correction.
|
|
4234
|
+
# Corresponds to the JSON property `spellCorrectionSpec`
|
|
4235
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec]
|
|
4236
|
+
attr_accessor :spell_correction_spec
|
|
4237
|
+
|
|
4227
4238
|
# Information of an end user.
|
|
4228
4239
|
# Corresponds to the JSON property `userInfo`
|
|
4229
4240
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo]
|
|
@@ -4239,8 +4250,8 @@ module Google
|
|
|
4239
4250
|
# the store ID. Supported keys are: * colorFamilies * price * originalPrice *
|
|
4240
4251
|
# discount * variantId * inventory(place_id,price) * inventory(place_id,
|
|
4241
4252
|
# original_price) * inventory(place_id,attributes.key), where key is any key in
|
|
4242
|
-
# the Product.
|
|
4243
|
-
# in the Product.attributes map. * pickupInStore.id, where id is any
|
|
4253
|
+
# the Product.local_inventories.attributes map. * attributes.key, where key is
|
|
4254
|
+
# any key in the Product.attributes map. * pickupInStore.id, where id is any
|
|
4244
4255
|
# FulfillmentInfo.place_ids for FulfillmentInfo.type "pickup-in-store". *
|
|
4245
4256
|
# shipToStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.
|
|
4246
4257
|
# type "ship-to-store". * sameDayDelivery.id, where id is any FulfillmentInfo.
|
|
@@ -4292,6 +4303,7 @@ module Google
|
|
|
4292
4303
|
@query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
|
|
4293
4304
|
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
|
4294
4305
|
@search_mode = args[:search_mode] if args.key?(:search_mode)
|
|
4306
|
+
@spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
|
|
4295
4307
|
@user_info = args[:user_info] if args.key?(:user_info)
|
|
4296
4308
|
@variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
|
|
4297
4309
|
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
@@ -4595,6 +4607,26 @@ module Google
|
|
|
4595
4607
|
end
|
|
4596
4608
|
end
|
|
4597
4609
|
|
|
4610
|
+
# The specification for query spell correction.
|
|
4611
|
+
class GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec
|
|
4612
|
+
include Google::Apis::Core::Hashable
|
|
4613
|
+
|
|
4614
|
+
# The mode under which spell correction should take effect to replace the
|
|
4615
|
+
# original search query. Default to Mode.AUTO.
|
|
4616
|
+
# Corresponds to the JSON property `mode`
|
|
4617
|
+
# @return [String]
|
|
4618
|
+
attr_accessor :mode
|
|
4619
|
+
|
|
4620
|
+
def initialize(**args)
|
|
4621
|
+
update!(**args)
|
|
4622
|
+
end
|
|
4623
|
+
|
|
4624
|
+
# Update properties of this object
|
|
4625
|
+
def update!(**args)
|
|
4626
|
+
@mode = args[:mode] if args.key?(:mode)
|
|
4627
|
+
end
|
|
4628
|
+
end
|
|
4629
|
+
|
|
4598
4630
|
# Response message for SearchService.Search method.
|
|
4599
4631
|
class GoogleCloudRetailV2alphaSearchResponse
|
|
4600
4632
|
include Google::Apis::Core::Hashable
|
|
@@ -4613,8 +4645,8 @@ module Google
|
|
|
4613
4645
|
attr_accessor :attribution_token
|
|
4614
4646
|
|
|
4615
4647
|
# Contains the spell corrected query, if found. If the spell correction type is
|
|
4616
|
-
# AUTOMATIC, then the search results
|
|
4617
|
-
#
|
|
4648
|
+
# AUTOMATIC, then the search results are based on corrected_query. Otherwise the
|
|
4649
|
+
# original query will be used for search.
|
|
4618
4650
|
# Corresponds to the JSON property `correctedQuery`
|
|
4619
4651
|
# @return [String]
|
|
4620
4652
|
attr_accessor :corrected_query
|
|
@@ -4643,8 +4675,8 @@ module Google
|
|
|
4643
4675
|
attr_accessor :query_expansion_info
|
|
4644
4676
|
|
|
4645
4677
|
# The URI of a customer-defined redirect page. If redirect action is triggered,
|
|
4646
|
-
# no search
|
|
4647
|
-
#
|
|
4678
|
+
# no search is performed, and only redirect_uri and attribution_token are set in
|
|
4679
|
+
# the response.
|
|
4648
4680
|
# Corresponds to the JSON property `redirectUri`
|
|
4649
4681
|
# @return [String]
|
|
4650
4682
|
attr_accessor :redirect_uri
|
|
@@ -4841,11 +4873,11 @@ module Google
|
|
|
4841
4873
|
# Condition boost specifications. If a product matches multiple conditions in
|
|
4842
4874
|
# the specifications, boost scores from these specifications are all applied and
|
|
4843
4875
|
# combined in a non-linear way. Maximum number of specifications is 100. Notice
|
|
4844
|
-
# that if both ServingConfig.boost_control_ids and
|
|
4845
|
-
#
|
|
4846
|
-
#
|
|
4847
|
-
#
|
|
4848
|
-
#
|
|
4876
|
+
# that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are
|
|
4877
|
+
# set, the boost conditions from both places are evaluated. If a search request
|
|
4878
|
+
# matches multiple boost conditions, the final boost score is equal to the sum
|
|
4879
|
+
# of the boost scores from all matched boost conditions. Can only be set if
|
|
4880
|
+
# solution_types is SOLUTION_TYPE_SEARCH.
|
|
4849
4881
|
# Corresponds to the JSON property `boostControlIds`
|
|
4850
4882
|
# @return [Array<String>]
|
|
4851
4883
|
attr_accessor :boost_control_ids
|
|
@@ -5486,7 +5518,7 @@ module Google
|
|
|
5486
5518
|
|
|
5487
5519
|
# Metadata related to the progress of the AddFulfillmentPlaces operation.
|
|
5488
5520
|
# Currently empty because there is no meaningful metadata populated from the
|
|
5489
|
-
# AddFulfillmentPlaces method.
|
|
5521
|
+
# ProductService.AddFulfillmentPlaces method.
|
|
5490
5522
|
class GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata
|
|
5491
5523
|
include Google::Apis::Core::Hashable
|
|
5492
5524
|
|
|
@@ -5500,7 +5532,8 @@ module Google
|
|
|
5500
5532
|
end
|
|
5501
5533
|
|
|
5502
5534
|
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
|
5503
|
-
# no meaningful response populated from the AddFulfillmentPlaces
|
|
5535
|
+
# no meaningful response populated from the ProductService.AddFulfillmentPlaces
|
|
5536
|
+
# method.
|
|
5504
5537
|
class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse
|
|
5505
5538
|
include Google::Apis::Core::Hashable
|
|
5506
5539
|
|
|
@@ -5515,7 +5548,7 @@ module Google
|
|
|
5515
5548
|
|
|
5516
5549
|
# Metadata related to the progress of the AddLocalInventories operation.
|
|
5517
5550
|
# Currently empty because there is no meaningful metadata populated from the
|
|
5518
|
-
# AddLocalInventories method.
|
|
5551
|
+
# ProductService.AddLocalInventories method.
|
|
5519
5552
|
class GoogleCloudRetailV2betaAddLocalInventoriesMetadata
|
|
5520
5553
|
include Google::Apis::Core::Hashable
|
|
5521
5554
|
|
|
@@ -5528,8 +5561,9 @@ module Google
|
|
|
5528
5561
|
end
|
|
5529
5562
|
end
|
|
5530
5563
|
|
|
5531
|
-
# Response of the AddLocalInventories API. Currently empty
|
|
5532
|
-
# meaningful response populated from the
|
|
5564
|
+
# Response of the ProductService.AddLocalInventories API. Currently empty
|
|
5565
|
+
# because there is no meaningful response populated from the ProductService.
|
|
5566
|
+
# AddLocalInventories method.
|
|
5533
5567
|
class GoogleCloudRetailV2betaAddLocalInventoriesResponse
|
|
5534
5568
|
include Google::Apis::Core::Hashable
|
|
5535
5569
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module RetailV2alpha
|
|
18
18
|
# Version of the google-apis-retail_v2alpha 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 = "20220505"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -766,6 +766,12 @@ module Google
|
|
|
766
766
|
include Google::Apis::Core::JsonObjectSupport
|
|
767
767
|
end
|
|
768
768
|
|
|
769
|
+
class GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec
|
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
771
|
+
|
|
772
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
773
|
+
end
|
|
774
|
+
|
|
769
775
|
class GoogleCloudRetailV2alphaSearchResponse
|
|
770
776
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
771
777
|
|
|
@@ -2123,6 +2129,8 @@ module Google
|
|
|
2123
2129
|
|
|
2124
2130
|
property :relevance_threshold, as: 'relevanceThreshold'
|
|
2125
2131
|
property :search_mode, as: 'searchMode'
|
|
2132
|
+
property :spell_correction_spec, as: 'spellCorrectionSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec::Representation
|
|
2133
|
+
|
|
2126
2134
|
property :user_info, as: 'userInfo', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo::Representation
|
|
2127
2135
|
|
|
2128
2136
|
collection :variant_rollup_keys, as: 'variantRollupKeys'
|
|
@@ -2194,6 +2202,13 @@ module Google
|
|
|
2194
2202
|
end
|
|
2195
2203
|
end
|
|
2196
2204
|
|
|
2205
|
+
class GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec
|
|
2206
|
+
# @private
|
|
2207
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2208
|
+
property :mode, as: 'mode'
|
|
2209
|
+
end
|
|
2210
|
+
end
|
|
2211
|
+
|
|
2197
2212
|
class GoogleCloudRetailV2alphaSearchResponse
|
|
2198
2213
|
# @private
|
|
2199
2214
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1074,9 +1074,9 @@ module Google
|
|
|
1074
1074
|
# this product will be used. If no inventory fields are set in
|
|
1075
1075
|
# SetInventoryRequest.set_mask, then any existing inventory information will be
|
|
1076
1076
|
# preserved. Pre-existing inventory information can only be updated with
|
|
1077
|
-
# SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces.
|
|
1078
|
-
# is only available for users who have Retail Search enabled.
|
|
1079
|
-
# Retail Search on Cloud Console before using this feature.
|
|
1077
|
+
# SetInventory, ProductService.AddFulfillmentPlaces, and RemoveFulfillmentPlaces.
|
|
1078
|
+
# This feature is only available for users who have Retail Search enabled.
|
|
1079
|
+
# Please enable Retail Search on Cloud Console before using this feature.
|
|
1080
1080
|
# @param [String] name
|
|
1081
1081
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
|
1082
1082
|
# 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_v2alpha
|
|
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-16 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_v2alpha/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.40.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|