google-apis-retail_v2 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: 5e457804fa4324db2dc9c63fc9f84bca169af5566f5b8f134ea0c98666051901
|
4
|
+
data.tar.gz: 95cd7afd12b90b2aeb5d300a71b8e2b195520a8720b8524128b9b48c6263a79b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b8864590998ab3490bf46f49f72c24593d061b74300bd244cf186d7462cd3073794eb55301a1bd6d259d441147fd127452d5d544fb13ea4868429d6b1c9c633
|
7
|
+
data.tar.gz: 5cf510dde1176d17c404e4881e517ec65e3d5a634689b2946c604cd5a45e4209a14c7a249c41af9b60950ee43224487dd8c575f5f80117954ae31556616f9b9b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.40.0 (2022-05-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220519
|
6
|
+
|
7
|
+
### v0.39.0 (2022-05-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220512
|
10
|
+
|
11
|
+
### v0.38.0 (2022-05-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220505
|
14
|
+
|
3
15
|
### v0.37.0 (2022-05-05)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220430
|
@@ -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
|
|
@@ -294,7 +294,7 @@ module Google
|
|
294
294
|
end
|
295
295
|
end
|
296
296
|
|
297
|
-
# Request message for AddFulfillmentPlaces method.
|
297
|
+
# Request message for ProductService.AddFulfillmentPlaces method.
|
298
298
|
class GoogleCloudRetailV2AddFulfillmentPlacesRequest
|
299
299
|
include Google::Apis::Core::Hashable
|
300
300
|
|
@@ -351,7 +351,8 @@ module Google
|
|
351
351
|
end
|
352
352
|
|
353
353
|
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
354
|
-
# no meaningful response populated from the AddFulfillmentPlaces
|
354
|
+
# no meaningful response populated from the ProductService.AddFulfillmentPlaces
|
355
|
+
# method.
|
355
356
|
class GoogleCloudRetailV2AddFulfillmentPlacesResponse
|
356
357
|
include Google::Apis::Core::Hashable
|
357
358
|
|
@@ -366,7 +367,7 @@ module Google
|
|
366
367
|
|
367
368
|
# Metadata related to the progress of the AddLocalInventories operation.
|
368
369
|
# Currently empty because there is no meaningful metadata populated from the
|
369
|
-
# AddLocalInventories method.
|
370
|
+
# ProductService.AddLocalInventories method.
|
370
371
|
class GoogleCloudRetailV2AddLocalInventoriesMetadata
|
371
372
|
include Google::Apis::Core::Hashable
|
372
373
|
|
@@ -379,7 +380,7 @@ module Google
|
|
379
380
|
end
|
380
381
|
end
|
381
382
|
|
382
|
-
# Request message for AddLocalInventories method.
|
383
|
+
# Request message for ProductService.AddLocalInventories method.
|
383
384
|
class GoogleCloudRetailV2AddLocalInventoriesRequest
|
384
385
|
include Google::Apis::Core::Hashable
|
385
386
|
|
@@ -430,8 +431,9 @@ module Google
|
|
430
431
|
end
|
431
432
|
end
|
432
433
|
|
433
|
-
# Response of the AddLocalInventories API. Currently empty
|
434
|
-
# meaningful response populated from the
|
434
|
+
# Response of the ProductService.AddLocalInventories API. Currently empty
|
435
|
+
# because there is no meaningful response populated from the ProductService.
|
436
|
+
# AddLocalInventories method.
|
435
437
|
class GoogleCloudRetailV2AddLocalInventoriesResponse
|
436
438
|
include Google::Apis::Core::Hashable
|
437
439
|
|
@@ -678,7 +680,9 @@ module Google
|
|
678
680
|
|
679
681
|
# Custom attributes for the suggestion term. * For "user-data", the attributes
|
680
682
|
# are additional custom attributes ingested through BigQuery. * For "cloud-
|
681
|
-
# retail", the attributes are product attributes generated by Cloud Retail.
|
683
|
+
# retail", the attributes are product attributes generated by Cloud Retail. This
|
684
|
+
# is an experimental feature. Contact Retail Search support team if you are
|
685
|
+
# interested in enabling it.
|
682
686
|
# Corresponds to the JSON property `attributes`
|
683
687
|
# @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute>]
|
684
688
|
attr_accessor :attributes
|
@@ -776,11 +780,12 @@ module Google
|
|
776
780
|
|
777
781
|
# This field is normally ignored unless AttributesConfig.attribute_config_level
|
778
782
|
# of the Catalog is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode.
|
779
|
-
#
|
780
|
-
# docs/attribute-config#
|
781
|
-
#
|
782
|
-
# Search. This field is ignored
|
783
|
-
#
|
783
|
+
# For information about product-level attribute configuration, see [
|
784
|
+
# Configuration modes](https://cloud.google.com/retail/docs/attribute-config#
|
785
|
+
# config-modes). If true, custom attribute values are indexed, so that they can
|
786
|
+
# be filtered, faceted or boosted in SearchService.Search. This field is ignored
|
787
|
+
# in a UserEvent. See SearchRequest.filter, SearchRequest.facet_specs and
|
788
|
+
# SearchRequest.boost_spec for more details.
|
784
789
|
# Corresponds to the JSON property `indexable`
|
785
790
|
# @return [Boolean]
|
786
791
|
attr_accessor :indexable
|
@@ -795,11 +800,11 @@ module Google
|
|
795
800
|
|
796
801
|
# This field is normally ignored unless AttributesConfig.attribute_config_level
|
797
802
|
# of the Catalog is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode.
|
798
|
-
#
|
799
|
-
# docs/attribute-config#
|
800
|
-
#
|
801
|
-
#
|
802
|
-
# is returned.
|
803
|
+
# For information about product-level attribute configuration, see [
|
804
|
+
# Configuration modes](https://cloud.google.com/retail/docs/attribute-config#
|
805
|
+
# config-modes). If true, custom attribute values are searchable by text queries
|
806
|
+
# in SearchService.Search. This field is ignored in a UserEvent. Only set if
|
807
|
+
# type text is set. Otherwise, a INVALID_ARGUMENT error is returned.
|
803
808
|
# Corresponds to the JSON property `searchable`
|
804
809
|
# @return [Boolean]
|
805
810
|
attr_accessor :searchable
|
@@ -1413,7 +1418,7 @@ module Google
|
|
1413
1418
|
# The labels applied to a resource must meet the following requirements: * Each
|
1414
1419
|
# resource can have multiple labels, up to a maximum of 64. * Each label must be
|
1415
1420
|
# a key-value pair. * Keys have a minimum length of 1 character and a maximum
|
1416
|
-
# length of 63 characters
|
1421
|
+
# length of 63 characters and cannot be empty. Values can be empty and have a
|
1417
1422
|
# maximum length of 63 characters. * Keys and values can contain only lowercase
|
1418
1423
|
# letters, numeric characters, underscores, and dashes. All characters must use
|
1419
1424
|
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
@@ -1541,9 +1546,9 @@ module Google
|
|
1541
1546
|
attr_accessor :id
|
1542
1547
|
|
1543
1548
|
# Additional product metadata / annotations. Possible values: * `product`: JSON
|
1544
|
-
# representation of the product.
|
1545
|
-
#
|
1546
|
-
#
|
1549
|
+
# representation of the product. Is set if `returnProduct` is set to true in `
|
1550
|
+
# PredictRequest.params`. * `score`: Prediction score in double value. Is set if
|
1551
|
+
# `returnScore` is set to true in `PredictRequest.params`.
|
1547
1552
|
# Corresponds to the JSON property `metadata`
|
1548
1553
|
# @return [Hash<String,Object>]
|
1549
1554
|
attr_accessor :metadata
|
@@ -1906,9 +1911,9 @@ module Google
|
|
1906
1911
|
# attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION,
|
1907
1912
|
# the following fields are always returned in SearchResponse by default: * name
|
1908
1913
|
# For Type.VARIANT, the following fields are always returned in by default: *
|
1909
|
-
# name * color_info
|
1914
|
+
# name * color_info The maximum number of paths is 30. Otherwise, an
|
1910
1915
|
# INVALID_ARGUMENT error is returned. Note: Returning more fields in
|
1911
|
-
# SearchResponse
|
1916
|
+
# SearchResponse can increase response payload size and serving latency.
|
1912
1917
|
# Corresponds to the JSON property `retrievableFields`
|
1913
1918
|
# @return [String]
|
1914
1919
|
attr_accessor :retrievable_fields
|
@@ -2589,7 +2594,7 @@ module Google
|
|
2589
2594
|
# The labels applied to a resource must meet the following requirements: * Each
|
2590
2595
|
# resource can have multiple labels, up to a maximum of 64. * Each label must be
|
2591
2596
|
# a key-value pair. * Keys have a minimum length of 1 character and a maximum
|
2592
|
-
# length of 63 characters
|
2597
|
+
# length of 63 characters and cannot be empty. Values can be empty and have a
|
2593
2598
|
# maximum length of 63 characters. * Keys and values can contain only lowercase
|
2594
2599
|
# letters, numeric characters, underscores, and dashes. All characters must use
|
2595
2600
|
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
@@ -2667,6 +2672,11 @@ module Google
|
|
2667
2672
|
# @return [String]
|
2668
2673
|
attr_accessor :search_mode
|
2669
2674
|
|
2675
|
+
# The specification for query spell correction.
|
2676
|
+
# Corresponds to the JSON property `spellCorrectionSpec`
|
2677
|
+
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestSpellCorrectionSpec]
|
2678
|
+
attr_accessor :spell_correction_spec
|
2679
|
+
|
2670
2680
|
# Information of an end user.
|
2671
2681
|
# Corresponds to the JSON property `userInfo`
|
2672
2682
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo]
|
@@ -2682,8 +2692,8 @@ module Google
|
|
2682
2692
|
# the store ID. Supported keys are: * colorFamilies * price * originalPrice *
|
2683
2693
|
# discount * variantId * inventory(place_id,price) * inventory(place_id,
|
2684
2694
|
# original_price) * inventory(place_id,attributes.key), where key is any key in
|
2685
|
-
# the Product.
|
2686
|
-
# in the Product.attributes map. * pickupInStore.id, where id is any
|
2695
|
+
# the Product.local_inventories.attributes map. * attributes.key, where key is
|
2696
|
+
# any key in the Product.attributes map. * pickupInStore.id, where id is any
|
2687
2697
|
# FulfillmentInfo.place_ids for FulfillmentInfo.type "pickup-in-store". *
|
2688
2698
|
# shipToStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.
|
2689
2699
|
# type "ship-to-store". * sameDayDelivery.id, where id is any FulfillmentInfo.
|
@@ -2734,6 +2744,7 @@ module Google
|
|
2734
2744
|
@query = args[:query] if args.key?(:query)
|
2735
2745
|
@query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
|
2736
2746
|
@search_mode = args[:search_mode] if args.key?(:search_mode)
|
2747
|
+
@spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
|
2737
2748
|
@user_info = args[:user_info] if args.key?(:user_info)
|
2738
2749
|
@variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
|
2739
2750
|
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
@@ -2746,7 +2757,7 @@ module Google
|
|
2746
2757
|
|
2747
2758
|
# Condition boost specifications. If a product matches multiple conditions in
|
2748
2759
|
# the specifictions, boost scores from these specifications are all applied and
|
2749
|
-
# combined in a non-linear way. Maximum number of specifications is
|
2760
|
+
# combined in a non-linear way. Maximum number of specifications is 20.
|
2750
2761
|
# Corresponds to the JSON property `conditionBoostSpecs`
|
2751
2762
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec>]
|
2752
2763
|
attr_accessor :condition_boost_specs
|
@@ -2857,13 +2868,20 @@ module Google
|
|
2857
2868
|
alias_method :enable_dynamic_position?, :enable_dynamic_position
|
2858
2869
|
|
2859
2870
|
# List of keys to exclude when faceting. By default, FacetKey.key is not
|
2860
|
-
# excluded from the filter unless it is listed in this field.
|
2861
|
-
#
|
2862
|
-
#
|
2863
|
-
#
|
2864
|
-
#
|
2865
|
-
# the "Red"
|
2866
|
-
# key
|
2871
|
+
# excluded from the filter unless it is listed in this field. Listing a facet
|
2872
|
+
# key in this field allows its values to appear as facet results, even when they
|
2873
|
+
# are filtered out of search results. Using this field does not affect what
|
2874
|
+
# search results are returned. For example, suppose there are 100 products with
|
2875
|
+
# the color facet "Red" and 200 products with the color facet "Blue". A query
|
2876
|
+
# containing the filter "colorFamilies:ANY("Red")" and having "colorFamilies" as
|
2877
|
+
# FacetKey.key would by default return only "Red" products in the search results,
|
2878
|
+
# and also return "Red" with count 100 as the only color facet. Although there
|
2879
|
+
# are also blue products available, "Blue" would not be shown as an available
|
2880
|
+
# facet value. If "colorFamilies" is listed in "excludedFilterKeys", then the
|
2881
|
+
# query returns the facet values "Red" with count 100 and "Blue" with count 200,
|
2882
|
+
# because the "colorFamilies" key is now excluded from the filter. Because this
|
2883
|
+
# field doesn't affect search results, the search results are still correctly
|
2884
|
+
# filtered to return only "Red" products. A maximum of 100 values are allowed.
|
2867
2885
|
# Otherwise, an INVALID_ARGUMENT error is returned.
|
2868
2886
|
# Corresponds to the JSON property `excludedFilterKeys`
|
2869
2887
|
# @return [Array<String>]
|
@@ -2965,10 +2983,11 @@ module Google
|
|
2965
2983
|
# Only get facet for the given restricted values. For example, when using "
|
2966
2984
|
# pickupInStore" as key and set restricted values to ["store123", "store456"],
|
2967
2985
|
# only facets for "store123" and "store456" are returned. Only supported on
|
2968
|
-
# textual fields and fulfillments. Maximum
|
2969
|
-
# fulfillment facet keys: * pickupInStore *
|
2970
|
-
#
|
2971
|
-
# * customFulfillment4 *
|
2986
|
+
# predefined textual fields, custom textual attributes and fulfillments. Maximum
|
2987
|
+
# is 20. Must be set for the fulfillment facet keys: * pickupInStore *
|
2988
|
+
# shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 *
|
2989
|
+
# customFulfillment2 * customFulfillment3 * customFulfillment4 *
|
2990
|
+
# customFulfillment5
|
2972
2991
|
# Corresponds to the JSON property `restrictedValues`
|
2973
2992
|
# @return [Array<String>]
|
2974
2993
|
attr_accessor :restricted_values
|
@@ -3037,6 +3056,26 @@ module Google
|
|
3037
3056
|
end
|
3038
3057
|
end
|
3039
3058
|
|
3059
|
+
# The specification for query spell correction.
|
3060
|
+
class GoogleCloudRetailV2SearchRequestSpellCorrectionSpec
|
3061
|
+
include Google::Apis::Core::Hashable
|
3062
|
+
|
3063
|
+
# The mode under which spell correction should take effect to replace the
|
3064
|
+
# original search query. Default to Mode.AUTO.
|
3065
|
+
# Corresponds to the JSON property `mode`
|
3066
|
+
# @return [String]
|
3067
|
+
attr_accessor :mode
|
3068
|
+
|
3069
|
+
def initialize(**args)
|
3070
|
+
update!(**args)
|
3071
|
+
end
|
3072
|
+
|
3073
|
+
# Update properties of this object
|
3074
|
+
def update!(**args)
|
3075
|
+
@mode = args[:mode] if args.key?(:mode)
|
3076
|
+
end
|
3077
|
+
end
|
3078
|
+
|
3040
3079
|
# Response message for SearchService.Search method.
|
3041
3080
|
class GoogleCloudRetailV2SearchResponse
|
3042
3081
|
include Google::Apis::Core::Hashable
|
@@ -3055,8 +3094,8 @@ module Google
|
|
3055
3094
|
attr_accessor :attribution_token
|
3056
3095
|
|
3057
3096
|
# Contains the spell corrected query, if found. If the spell correction type is
|
3058
|
-
# AUTOMATIC, then the search results
|
3059
|
-
#
|
3097
|
+
# AUTOMATIC, then the search results are based on corrected_query. Otherwise the
|
3098
|
+
# original query will be used for search.
|
3060
3099
|
# Corresponds to the JSON property `correctedQuery`
|
3061
3100
|
# @return [String]
|
3062
3101
|
attr_accessor :corrected_query
|
@@ -3085,8 +3124,8 @@ module Google
|
|
3085
3124
|
attr_accessor :query_expansion_info
|
3086
3125
|
|
3087
3126
|
# The URI of a customer-defined redirect page. If redirect action is triggered,
|
3088
|
-
# no search
|
3089
|
-
#
|
3127
|
+
# no search is performed, and only redirect_uri and attribution_token are set in
|
3128
|
+
# the response.
|
3090
3129
|
# Corresponds to the JSON property `redirectUri`
|
3091
3130
|
# @return [String]
|
3092
3131
|
attr_accessor :redirect_uri
|
@@ -3579,7 +3618,7 @@ module Google
|
|
3579
3618
|
# which results in degraded model quality. The field must be a UTF-8 encoded
|
3580
3619
|
# string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT
|
3581
3620
|
# error is returned. The field should not contain PII or user-data. We recommend
|
3582
|
-
# to use Google
|
3621
|
+
# to use Google Analytics [Client ID](https://developers.google.com/analytics/
|
3583
3622
|
# devguides/collection/analyticsjs/field-reference#clientId) for this field.
|
3584
3623
|
# Corresponds to the JSON property `visitorId`
|
3585
3624
|
# @return [String]
|
@@ -3751,7 +3790,7 @@ module Google
|
|
3751
3790
|
|
3752
3791
|
# Metadata related to the progress of the AddFulfillmentPlaces operation.
|
3753
3792
|
# Currently empty because there is no meaningful metadata populated from the
|
3754
|
-
# AddFulfillmentPlaces method.
|
3793
|
+
# ProductService.AddFulfillmentPlaces method.
|
3755
3794
|
class GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata
|
3756
3795
|
include Google::Apis::Core::Hashable
|
3757
3796
|
|
@@ -3765,7 +3804,8 @@ module Google
|
|
3765
3804
|
end
|
3766
3805
|
|
3767
3806
|
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
3768
|
-
# no meaningful response populated from the AddFulfillmentPlaces
|
3807
|
+
# no meaningful response populated from the ProductService.AddFulfillmentPlaces
|
3808
|
+
# method.
|
3769
3809
|
class GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse
|
3770
3810
|
include Google::Apis::Core::Hashable
|
3771
3811
|
|
@@ -3780,7 +3820,7 @@ module Google
|
|
3780
3820
|
|
3781
3821
|
# Metadata related to the progress of the AddLocalInventories operation.
|
3782
3822
|
# Currently empty because there is no meaningful metadata populated from the
|
3783
|
-
# AddLocalInventories method.
|
3823
|
+
# ProductService.AddLocalInventories method.
|
3784
3824
|
class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
|
3785
3825
|
include Google::Apis::Core::Hashable
|
3786
3826
|
|
@@ -3793,8 +3833,9 @@ module Google
|
|
3793
3833
|
end
|
3794
3834
|
end
|
3795
3835
|
|
3796
|
-
# Response of the AddLocalInventories API. Currently empty
|
3797
|
-
# meaningful response populated from the
|
3836
|
+
# Response of the ProductService.AddLocalInventories API. Currently empty
|
3837
|
+
# because there is no meaningful response populated from the ProductService.
|
3838
|
+
# AddLocalInventories method.
|
3798
3839
|
class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
|
3799
3840
|
include Google::Apis::Core::Hashable
|
3800
3841
|
|
@@ -4317,7 +4358,7 @@ module Google
|
|
4317
4358
|
|
4318
4359
|
# Metadata related to the progress of the AddFulfillmentPlaces operation.
|
4319
4360
|
# Currently empty because there is no meaningful metadata populated from the
|
4320
|
-
# AddFulfillmentPlaces method.
|
4361
|
+
# ProductService.AddFulfillmentPlaces method.
|
4321
4362
|
class GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata
|
4322
4363
|
include Google::Apis::Core::Hashable
|
4323
4364
|
|
@@ -4331,7 +4372,8 @@ module Google
|
|
4331
4372
|
end
|
4332
4373
|
|
4333
4374
|
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
4334
|
-
# no meaningful response populated from the AddFulfillmentPlaces
|
4375
|
+
# no meaningful response populated from the ProductService.AddFulfillmentPlaces
|
4376
|
+
# method.
|
4335
4377
|
class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse
|
4336
4378
|
include Google::Apis::Core::Hashable
|
4337
4379
|
|
@@ -4346,7 +4388,7 @@ module Google
|
|
4346
4388
|
|
4347
4389
|
# Metadata related to the progress of the AddLocalInventories operation.
|
4348
4390
|
# Currently empty because there is no meaningful metadata populated from the
|
4349
|
-
# AddLocalInventories method.
|
4391
|
+
# ProductService.AddLocalInventories method.
|
4350
4392
|
class GoogleCloudRetailV2betaAddLocalInventoriesMetadata
|
4351
4393
|
include Google::Apis::Core::Hashable
|
4352
4394
|
|
@@ -4359,8 +4401,9 @@ module Google
|
|
4359
4401
|
end
|
4360
4402
|
end
|
4361
4403
|
|
4362
|
-
# Response of the AddLocalInventories API. Currently empty
|
4363
|
-
# meaningful response populated from the
|
4404
|
+
# Response of the ProductService.AddLocalInventories API. Currently empty
|
4405
|
+
# because there is no meaningful response populated from the ProductService.
|
4406
|
+
# AddLocalInventories method.
|
4364
4407
|
class GoogleCloudRetailV2betaAddLocalInventoriesResponse
|
4365
4408
|
include Google::Apis::Core::Hashable
|
4366
4409
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2
|
18
18
|
# Version of the google-apis-retail_v2 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 = "20220519"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -454,6 +454,12 @@ module Google
|
|
454
454
|
include Google::Apis::Core::JsonObjectSupport
|
455
455
|
end
|
456
456
|
|
457
|
+
class GoogleCloudRetailV2SearchRequestSpellCorrectionSpec
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
457
463
|
class GoogleCloudRetailV2SearchResponse
|
458
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
465
|
|
@@ -1508,6 +1514,8 @@ module Google
|
|
1508
1514
|
property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec::Representation
|
1509
1515
|
|
1510
1516
|
property :search_mode, as: 'searchMode'
|
1517
|
+
property :spell_correction_spec, as: 'spellCorrectionSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestSpellCorrectionSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestSpellCorrectionSpec::Representation
|
1518
|
+
|
1511
1519
|
property :user_info, as: 'userInfo', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo::Representation
|
1512
1520
|
|
1513
1521
|
collection :variant_rollup_keys, as: 'variantRollupKeys'
|
@@ -1579,6 +1587,13 @@ module Google
|
|
1579
1587
|
end
|
1580
1588
|
end
|
1581
1589
|
|
1590
|
+
class GoogleCloudRetailV2SearchRequestSpellCorrectionSpec
|
1591
|
+
# @private
|
1592
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1593
|
+
property :mode, as: 'mode'
|
1594
|
+
end
|
1595
|
+
end
|
1596
|
+
|
1582
1597
|
class GoogleCloudRetailV2SearchResponse
|
1583
1598
|
# @private
|
1584
1599
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -523,9 +523,9 @@ module Google
|
|
523
523
|
execute_or_queue_command(command, &block)
|
524
524
|
end
|
525
525
|
|
526
|
-
# Bulk import of multiple Products. Request processing may be synchronous.
|
527
|
-
#
|
528
|
-
#
|
526
|
+
# Bulk import of multiple Products. Request processing may be synchronous. Non-
|
527
|
+
# existing items are created. Note that it is possible for a subset of the
|
528
|
+
# Products to be successfully updated.
|
529
529
|
# @param [String] parent
|
530
530
|
# Required. `projects/1234/locations/global/catalogs/default_catalog/branches/
|
531
531
|
# default_branch` If no updateMask is specified, requires products.create
|
@@ -775,9 +775,9 @@ module Google
|
|
775
775
|
# this product will be used. If no inventory fields are set in
|
776
776
|
# SetInventoryRequest.set_mask, then any existing inventory information will be
|
777
777
|
# preserved. Pre-existing inventory information can only be updated with
|
778
|
-
# SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces.
|
779
|
-
# is only available for users who have Retail Search enabled.
|
780
|
-
# Retail Search on Cloud Console before using this feature.
|
778
|
+
# SetInventory, ProductService.AddFulfillmentPlaces, and RemoveFulfillmentPlaces.
|
779
|
+
# This feature is only available for users who have Retail Search enabled.
|
780
|
+
# Please enable Retail Search on Cloud Console before using this feature.
|
781
781
|
# @param [String] name
|
782
782
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
783
783
|
# 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_v2
|
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-30 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_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.40.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Retail API V2
|