google-apis-retail_v2alpha 0.38.0 → 0.41.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: cfd42af239ea942822bed2603f17346ea6a48a2ffefe6910ab95103b96724c75
|
4
|
+
data.tar.gz: f2e263444c30c4a04204d0ae7decab5d0a974951f02c71073bdb9fd0b90152b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bb4b1ecd00202d364a37ed3ddcbc92f62f59007511e30bfa23377096cf109a678f83a95177a1e9508cdbfb9e67adcb8621527f46e513e9ac52ae4036caa41cf
|
7
|
+
data.tar.gz: 03c0440da6890cb1257aee403b4db4f4773f8d796d5407fe8b7c567dd7622266128c1a8239c120801b4490ad26db8a3659917ffa781ffd70e9424c1e09327b73
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.41.0 (2022-05-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220512
|
6
|
+
|
7
|
+
### v0.40.0 (2022-05-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220505
|
10
|
+
|
11
|
+
### v0.39.0 (2022-05-05)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220430
|
14
|
+
|
3
15
|
### v0.38.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
|
|
@@ -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
|
@@ -1226,7 +1231,9 @@ module Google
|
|
1226
1231
|
|
1227
1232
|
# Custom attributes for the suggestion term. * For "user-data", the attributes
|
1228
1233
|
# are additional custom attributes ingested through BigQuery. * For "cloud-
|
1229
|
-
# retail", the attributes are product attributes generated by Cloud Retail.
|
1234
|
+
# retail", the attributes are product attributes generated by Cloud Retail. This
|
1235
|
+
# is an experimental feature. Contact Retail Search support team if you are
|
1236
|
+
# interested in enabling it.
|
1230
1237
|
# Corresponds to the JSON property `attributes`
|
1231
1238
|
# @return [Hash<String,Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute>]
|
1232
1239
|
attr_accessor :attributes
|
@@ -1569,11 +1576,12 @@ module Google
|
|
1569
1576
|
|
1570
1577
|
# This field is normally ignored unless AttributesConfig.attribute_config_level
|
1571
1578
|
# 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
|
-
#
|
1579
|
+
# For information about product-level attribute configuration, see [
|
1580
|
+
# Configuration modes](https://cloud.google.com/retail/docs/attribute-config#
|
1581
|
+
# config-modes). If true, custom attribute values are indexed, so that they can
|
1582
|
+
# be filtered, faceted or boosted in SearchService.Search. This field is ignored
|
1583
|
+
# in a UserEvent. See SearchRequest.filter, SearchRequest.facet_specs and
|
1584
|
+
# SearchRequest.boost_spec for more details.
|
1577
1585
|
# Corresponds to the JSON property `indexable`
|
1578
1586
|
# @return [Boolean]
|
1579
1587
|
attr_accessor :indexable
|
@@ -1588,11 +1596,11 @@ module Google
|
|
1588
1596
|
|
1589
1597
|
# This field is normally ignored unless AttributesConfig.attribute_config_level
|
1590
1598
|
# of the Catalog is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode.
|
1591
|
-
#
|
1592
|
-
# docs/attribute-config#
|
1593
|
-
#
|
1594
|
-
#
|
1595
|
-
# is returned.
|
1599
|
+
# For information about product-level attribute configuration, see [
|
1600
|
+
# Configuration modes](https://cloud.google.com/retail/docs/attribute-config#
|
1601
|
+
# config-modes). If true, custom attribute values are searchable by text queries
|
1602
|
+
# in SearchService.Search. This field is ignored in a UserEvent. Only set if
|
1603
|
+
# type text is set. Otherwise, a INVALID_ARGUMENT error is returned.
|
1596
1604
|
# Corresponds to the JSON property `searchable`
|
1597
1605
|
# @return [Boolean]
|
1598
1606
|
attr_accessor :searchable
|
@@ -2459,7 +2467,7 @@ module Google
|
|
2459
2467
|
# The labels applied to a resource must meet the following requirements: * Each
|
2460
2468
|
# resource can have multiple labels, up to a maximum of 64. * Each label must be
|
2461
2469
|
# a key-value pair. * Keys have a minimum length of 1 character and a maximum
|
2462
|
-
# length of 63 characters
|
2470
|
+
# length of 63 characters and cannot be empty. Values can be empty and have a
|
2463
2471
|
# maximum length of 63 characters. * Keys and values can contain only lowercase
|
2464
2472
|
# letters, numeric characters, underscores, and dashes. All characters must use
|
2465
2473
|
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
@@ -2587,9 +2595,9 @@ module Google
|
|
2587
2595
|
attr_accessor :id
|
2588
2596
|
|
2589
2597
|
# Additional product metadata / annotations. Possible values: * `product`: JSON
|
2590
|
-
# representation of the product.
|
2591
|
-
#
|
2592
|
-
#
|
2598
|
+
# representation of the product. Is set if `returnProduct` is set to true in `
|
2599
|
+
# PredictRequest.params`. * `score`: Prediction score in double value. Is set if
|
2600
|
+
# `returnScore` is set to true in `PredictRequest.params`.
|
2593
2601
|
# Corresponds to the JSON property `metadata`
|
2594
2602
|
# @return [Hash<String,Object>]
|
2595
2603
|
attr_accessor :metadata
|
@@ -2952,9 +2960,9 @@ module Google
|
|
2952
2960
|
# attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION,
|
2953
2961
|
# the following fields are always returned in SearchResponse by default: * name
|
2954
2962
|
# For Type.VARIANT, the following fields are always returned in by default: *
|
2955
|
-
# name * color_info
|
2963
|
+
# name * color_info The maximum number of paths is 30. Otherwise, an
|
2956
2964
|
# INVALID_ARGUMENT error is returned. Note: Returning more fields in
|
2957
|
-
# SearchResponse
|
2965
|
+
# SearchResponse can increase response payload size and serving latency.
|
2958
2966
|
# Corresponds to the JSON property `retrievableFields`
|
2959
2967
|
# @return [String]
|
2960
2968
|
attr_accessor :retrievable_fields
|
@@ -4138,7 +4146,7 @@ module Google
|
|
4138
4146
|
# The labels applied to a resource must meet the following requirements: * Each
|
4139
4147
|
# resource can have multiple labels, up to a maximum of 64. * Each label must be
|
4140
4148
|
# a key-value pair. * Keys have a minimum length of 1 character and a maximum
|
4141
|
-
# length of 63 characters
|
4149
|
+
# length of 63 characters and cannot be empty. Values can be empty and have a
|
4142
4150
|
# maximum length of 63 characters. * Keys and values can contain only lowercase
|
4143
4151
|
# letters, numeric characters, underscores, and dashes. All characters must use
|
4144
4152
|
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
@@ -4224,6 +4232,11 @@ module Google
|
|
4224
4232
|
# @return [String]
|
4225
4233
|
attr_accessor :search_mode
|
4226
4234
|
|
4235
|
+
# The specification for query spell correction.
|
4236
|
+
# Corresponds to the JSON property `spellCorrectionSpec`
|
4237
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec]
|
4238
|
+
attr_accessor :spell_correction_spec
|
4239
|
+
|
4227
4240
|
# Information of an end user.
|
4228
4241
|
# Corresponds to the JSON property `userInfo`
|
4229
4242
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo]
|
@@ -4239,8 +4252,8 @@ module Google
|
|
4239
4252
|
# the store ID. Supported keys are: * colorFamilies * price * originalPrice *
|
4240
4253
|
# discount * variantId * inventory(place_id,price) * inventory(place_id,
|
4241
4254
|
# 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
|
4255
|
+
# the Product.local_inventories.attributes map. * attributes.key, where key is
|
4256
|
+
# any key in the Product.attributes map. * pickupInStore.id, where id is any
|
4244
4257
|
# FulfillmentInfo.place_ids for FulfillmentInfo.type "pickup-in-store". *
|
4245
4258
|
# shipToStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.
|
4246
4259
|
# type "ship-to-store". * sameDayDelivery.id, where id is any FulfillmentInfo.
|
@@ -4292,6 +4305,7 @@ module Google
|
|
4292
4305
|
@query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
|
4293
4306
|
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
4294
4307
|
@search_mode = args[:search_mode] if args.key?(:search_mode)
|
4308
|
+
@spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
|
4295
4309
|
@user_info = args[:user_info] if args.key?(:user_info)
|
4296
4310
|
@variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
|
4297
4311
|
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
@@ -4304,7 +4318,7 @@ module Google
|
|
4304
4318
|
|
4305
4319
|
# Condition boost specifications. If a product matches multiple conditions in
|
4306
4320
|
# the specifictions, boost scores from these specifications are all applied and
|
4307
|
-
# combined in a non-linear way. Maximum number of specifications is
|
4321
|
+
# combined in a non-linear way. Maximum number of specifications is 20.
|
4308
4322
|
# Corresponds to the JSON property `conditionBoostSpecs`
|
4309
4323
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec>]
|
4310
4324
|
attr_accessor :condition_boost_specs
|
@@ -4415,13 +4429,20 @@ module Google
|
|
4415
4429
|
alias_method :enable_dynamic_position?, :enable_dynamic_position
|
4416
4430
|
|
4417
4431
|
# List of keys to exclude when faceting. By default, FacetKey.key is not
|
4418
|
-
# excluded from the filter unless it is listed in this field.
|
4419
|
-
#
|
4420
|
-
#
|
4421
|
-
#
|
4422
|
-
#
|
4423
|
-
# the "Red"
|
4424
|
-
# key
|
4432
|
+
# excluded from the filter unless it is listed in this field. Listing a facet
|
4433
|
+
# key in this field allows its values to appear as facet results, even when they
|
4434
|
+
# are filtered out of search results. Using this field does not affect what
|
4435
|
+
# search results are returned. For example, suppose there are 100 products with
|
4436
|
+
# the color facet "Red" and 200 products with the color facet "Blue". A query
|
4437
|
+
# containing the filter "colorFamilies:ANY("Red")" and having "colorFamilies" as
|
4438
|
+
# FacetKey.key would by default return only "Red" products in the search results,
|
4439
|
+
# and also return "Red" with count 100 as the only color facet. Although there
|
4440
|
+
# are also blue products available, "Blue" would not be shown as an available
|
4441
|
+
# facet value. If "colorFamilies" is listed in "excludedFilterKeys", then the
|
4442
|
+
# query returns the facet values "Red" with count 100 and "Blue" with count 200,
|
4443
|
+
# because the "colorFamilies" key is now excluded from the filter. Because this
|
4444
|
+
# field doesn't affect search results, the search results are still correctly
|
4445
|
+
# filtered to return only "Red" products. A maximum of 100 values are allowed.
|
4425
4446
|
# Otherwise, an INVALID_ARGUMENT error is returned.
|
4426
4447
|
# Corresponds to the JSON property `excludedFilterKeys`
|
4427
4448
|
# @return [Array<String>]
|
@@ -4595,6 +4616,26 @@ module Google
|
|
4595
4616
|
end
|
4596
4617
|
end
|
4597
4618
|
|
4619
|
+
# The specification for query spell correction.
|
4620
|
+
class GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec
|
4621
|
+
include Google::Apis::Core::Hashable
|
4622
|
+
|
4623
|
+
# The mode under which spell correction should take effect to replace the
|
4624
|
+
# original search query. Default to Mode.AUTO.
|
4625
|
+
# Corresponds to the JSON property `mode`
|
4626
|
+
# @return [String]
|
4627
|
+
attr_accessor :mode
|
4628
|
+
|
4629
|
+
def initialize(**args)
|
4630
|
+
update!(**args)
|
4631
|
+
end
|
4632
|
+
|
4633
|
+
# Update properties of this object
|
4634
|
+
def update!(**args)
|
4635
|
+
@mode = args[:mode] if args.key?(:mode)
|
4636
|
+
end
|
4637
|
+
end
|
4638
|
+
|
4598
4639
|
# Response message for SearchService.Search method.
|
4599
4640
|
class GoogleCloudRetailV2alphaSearchResponse
|
4600
4641
|
include Google::Apis::Core::Hashable
|
@@ -4613,8 +4654,8 @@ module Google
|
|
4613
4654
|
attr_accessor :attribution_token
|
4614
4655
|
|
4615
4656
|
# Contains the spell corrected query, if found. If the spell correction type is
|
4616
|
-
# AUTOMATIC, then the search results
|
4617
|
-
#
|
4657
|
+
# AUTOMATIC, then the search results are based on corrected_query. Otherwise the
|
4658
|
+
# original query will be used for search.
|
4618
4659
|
# Corresponds to the JSON property `correctedQuery`
|
4619
4660
|
# @return [String]
|
4620
4661
|
attr_accessor :corrected_query
|
@@ -4643,8 +4684,8 @@ module Google
|
|
4643
4684
|
attr_accessor :query_expansion_info
|
4644
4685
|
|
4645
4686
|
# The URI of a customer-defined redirect page. If redirect action is triggered,
|
4646
|
-
# no search
|
4647
|
-
#
|
4687
|
+
# no search is performed, and only redirect_uri and attribution_token are set in
|
4688
|
+
# the response.
|
4648
4689
|
# Corresponds to the JSON property `redirectUri`
|
4649
4690
|
# @return [String]
|
4650
4691
|
attr_accessor :redirect_uri
|
@@ -4841,11 +4882,11 @@ module Google
|
|
4841
4882
|
# Condition boost specifications. If a product matches multiple conditions in
|
4842
4883
|
# the specifications, boost scores from these specifications are all applied and
|
4843
4884
|
# 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
|
-
#
|
4885
|
+
# that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are
|
4886
|
+
# set, the boost conditions from both places are evaluated. If a search request
|
4887
|
+
# matches multiple boost conditions, the final boost score is equal to the sum
|
4888
|
+
# of the boost scores from all matched boost conditions. Can only be set if
|
4889
|
+
# solution_types is SOLUTION_TYPE_SEARCH.
|
4849
4890
|
# Corresponds to the JSON property `boostControlIds`
|
4850
4891
|
# @return [Array<String>]
|
4851
4892
|
attr_accessor :boost_control_ids
|
@@ -5314,7 +5355,7 @@ module Google
|
|
5314
5355
|
# which results in degraded model quality. The field must be a UTF-8 encoded
|
5315
5356
|
# string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT
|
5316
5357
|
# error is returned. The field should not contain PII or user-data. We recommend
|
5317
|
-
# to use Google
|
5358
|
+
# to use Google Analytics [Client ID](https://developers.google.com/analytics/
|
5318
5359
|
# devguides/collection/analyticsjs/field-reference#clientId) for this field.
|
5319
5360
|
# Corresponds to the JSON property `visitorId`
|
5320
5361
|
# @return [String]
|
@@ -5486,7 +5527,7 @@ module Google
|
|
5486
5527
|
|
5487
5528
|
# Metadata related to the progress of the AddFulfillmentPlaces operation.
|
5488
5529
|
# Currently empty because there is no meaningful metadata populated from the
|
5489
|
-
# AddFulfillmentPlaces method.
|
5530
|
+
# ProductService.AddFulfillmentPlaces method.
|
5490
5531
|
class GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata
|
5491
5532
|
include Google::Apis::Core::Hashable
|
5492
5533
|
|
@@ -5500,7 +5541,8 @@ module Google
|
|
5500
5541
|
end
|
5501
5542
|
|
5502
5543
|
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
5503
|
-
# no meaningful response populated from the AddFulfillmentPlaces
|
5544
|
+
# no meaningful response populated from the ProductService.AddFulfillmentPlaces
|
5545
|
+
# method.
|
5504
5546
|
class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse
|
5505
5547
|
include Google::Apis::Core::Hashable
|
5506
5548
|
|
@@ -5515,7 +5557,7 @@ module Google
|
|
5515
5557
|
|
5516
5558
|
# Metadata related to the progress of the AddLocalInventories operation.
|
5517
5559
|
# Currently empty because there is no meaningful metadata populated from the
|
5518
|
-
# AddLocalInventories method.
|
5560
|
+
# ProductService.AddLocalInventories method.
|
5519
5561
|
class GoogleCloudRetailV2betaAddLocalInventoriesMetadata
|
5520
5562
|
include Google::Apis::Core::Hashable
|
5521
5563
|
|
@@ -5528,8 +5570,9 @@ module Google
|
|
5528
5570
|
end
|
5529
5571
|
end
|
5530
5572
|
|
5531
|
-
# Response of the AddLocalInventories API. Currently empty
|
5532
|
-
# meaningful response populated from the
|
5573
|
+
# Response of the ProductService.AddLocalInventories API. Currently empty
|
5574
|
+
# because there is no meaningful response populated from the ProductService.
|
5575
|
+
# AddLocalInventories method.
|
5533
5576
|
class GoogleCloudRetailV2betaAddLocalInventoriesResponse
|
5534
5577
|
include Google::Apis::Core::Hashable
|
5535
5578
|
|
@@ -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.41.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
|
@@ -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
|
@@ -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
|
@@ -1073,9 +1074,9 @@ module Google
|
|
1073
1074
|
# this product will be used. If no inventory fields are set in
|
1074
1075
|
# SetInventoryRequest.set_mask, then any existing inventory information will be
|
1075
1076
|
# preserved. Pre-existing inventory information can only be updated with
|
1076
|
-
# SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces.
|
1077
|
-
# is only available for users who have Retail Search enabled.
|
1078
|
-
# 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.
|
1079
1080
|
# @param [String] name
|
1080
1081
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
1081
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.41.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_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.41.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: []
|