google-apis-retail_v2 0.13.0 → 0.14.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/retail_v2/classes.rb +63 -67
- data/lib/google/apis/retail_v2/gem_version.rb +2 -2
- data/lib/google/apis/retail_v2/representations.rb +2 -0
- data/lib/google/apis/retail_v2/service.rb +30 -24
- data/lib/google/apis/retail_v2.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f3a50c96198bec7340b74cab8eadcda2abcb4705e31afcabf1211b705e3673d
|
4
|
+
data.tar.gz: 2a6af9423fcf78ccaa8d0a1081bde3f8c94c487212984e77f8fb649a5c9f8ca8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6d64aeafd83c0eab1fc569a960cb9ad2caf098eb138c7603e0a2745b91d6caae9eb0310a6715382cc9eb35573dd687afcbe62dd0ad281f8e9d97a1e5910ff26
|
7
|
+
data.tar.gz: cbc596f534cb9089369229071ef8cb65757f13693e48289fd1bc69aa5c57f271c81be2e2b3ff880f3056911ec542d80650298e28253b2923db07b1699a808b5e
|
data/CHANGELOG.md
CHANGED
@@ -561,9 +561,9 @@ module Google
|
|
561
561
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponseCompletionResult>]
|
562
562
|
attr_accessor :completion_results
|
563
563
|
|
564
|
-
# Matched recent searches of this user.
|
565
|
-
# Contact Retail
|
566
|
-
# interested in enabling it. This feature is only available when
|
564
|
+
# Matched recent searches of this user. The maximum number of recent searches is
|
565
|
+
# 10. This field is a restricted feature. Contact Retail Search support team if
|
566
|
+
# you are interested in enabling it. This feature is only available when
|
567
567
|
# CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The
|
568
568
|
# recent searches satisfy the follow rules: * They are ordered from latest to
|
569
569
|
# oldest. * They are matched with CompleteQueryRequest.query case insensitively.
|
@@ -1520,12 +1520,10 @@ module Google
|
|
1520
1520
|
# product, or age of a customer. For example: `` "vendor": `"text": ["vendor123",
|
1521
1521
|
# "vendor456"]`, "lengths_cm": `"numbers":[2.3, 15.4]`, "heights_cm": `"numbers"
|
1522
1522
|
# :[8.1, 6.4]` ``. This field needs to pass all below criteria, otherwise an
|
1523
|
-
# INVALID_ARGUMENT error is returned: * Max entries count: 200
|
1524
|
-
#
|
1525
|
-
#
|
1526
|
-
#
|
1527
|
-
# key must match the pattern: a-zA-Z0-9*. For example, key0LikeThis or
|
1528
|
-
# KEY_1_LIKE_THIS.
|
1523
|
+
# INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must
|
1524
|
+
# be a UTF-8 encoded string with a length limit of 128 characters. * For
|
1525
|
+
# indexable attribute, the key must match the pattern: a-zA-Z0-9*. For example,
|
1526
|
+
# key0LikeThis or KEY_1_LIKE_THIS.
|
1529
1527
|
# Corresponds to the JSON property `attributes`
|
1530
1528
|
# @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute>]
|
1531
1529
|
attr_accessor :attributes
|
@@ -1632,7 +1630,8 @@ module Google
|
|
1632
1630
|
|
1633
1631
|
# The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8
|
1634
1632
|
# encoded string with a length limit of 128 characters. Otherwise, an
|
1635
|
-
# INVALID_ARGUMENT error is returned.
|
1633
|
+
# INVALID_ARGUMENT error is returned. This field must be a Unigram. Otherwise,
|
1634
|
+
# an INVALID_ARGUMENT error is returned. Google Merchant Center property [gtin](
|
1636
1635
|
# https://support.google.com/merchants/answer/6324461). Schema.org property [
|
1637
1636
|
# Product.isbn](https://schema.org/isbn) or [Product.gtin8](https://schema.org/
|
1638
1637
|
# gtin8) or [Product.gtin12](https://schema.org/gtin12) or [Product.gtin13](
|
@@ -1671,7 +1670,7 @@ module Google
|
|
1671
1670
|
# @return [String]
|
1672
1671
|
attr_accessor :language_code
|
1673
1672
|
|
1674
|
-
# The material of the product. For example, "leather", "wooden". A maximum of
|
1673
|
+
# The material of the product. For example, "leather", "wooden". A maximum of 20
|
1675
1674
|
# values are allowed. Each value must be a UTF-8 encoded string with a length
|
1676
1675
|
# limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
1677
1676
|
# Google Merchant Center property [material](https://support.google.com/
|
@@ -1689,7 +1688,7 @@ module Google
|
|
1689
1688
|
attr_accessor :name
|
1690
1689
|
|
1691
1690
|
# The pattern or graphic print of the product. For example, "striped", "polka
|
1692
|
-
# dot", "paisley". A maximum of
|
1691
|
+
# dot", "paisley". A maximum of 20 values are allowed per Product. Each value
|
1693
1692
|
# must be a UTF-8 encoded string with a length limit of 128 characters.
|
1694
1693
|
# Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center
|
1695
1694
|
# property [pattern](https://support.google.com/merchants/answer/6324483).
|
@@ -1745,8 +1744,9 @@ module Google
|
|
1745
1744
|
# attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION,
|
1746
1745
|
# the following fields are always returned in SearchResponse by default: * name
|
1747
1746
|
# For Type.VARIANT, the following fields are always returned in by default: *
|
1748
|
-
# name * color_info Maximum number of paths is
|
1749
|
-
# INVALID_ARGUMENT error is returned.
|
1747
|
+
# name * color_info Maximum number of paths is 30. Otherwise, an
|
1748
|
+
# INVALID_ARGUMENT error is returned. Note: Returning more fields in
|
1749
|
+
# SearchResponse may increase response payload size and serving latency.
|
1750
1750
|
# Corresponds to the JSON property `retrievableFields`
|
1751
1751
|
# @return [String]
|
1752
1752
|
attr_accessor :retrievable_fields
|
@@ -2415,25 +2415,25 @@ module Google
|
|
2415
2415
|
# The keys to fetch and rollup the matching variant Products attributes. The
|
2416
2416
|
# attributes from all the matching variant Products are merged and de-duplicated.
|
2417
2417
|
# Notice that rollup variant Products attributes will lead to extra query
|
2418
|
-
# latency. Maximum number of keys is 10. For
|
2419
|
-
#
|
2420
|
-
#
|
2421
|
-
#
|
2422
|
-
#
|
2423
|
-
#
|
2424
|
-
#
|
2425
|
-
# shipToStore.id, where id is any FulfillmentInfo.
|
2426
|
-
#
|
2427
|
-
# for type
|
2428
|
-
# id is any FulfillmentInfo.
|
2429
|
-
# * customFulfillment1.id, where id is any FulfillmentInfo.
|
2430
|
-
# FulfillmentInfo.
|
2431
|
-
# FulfillmentInfo.
|
2432
|
-
# customFulfillment3.id, where id is any FulfillmentInfo.
|
2433
|
-
# FulfillmentInfo.
|
2434
|
-
# FulfillmentInfo.
|
2435
|
-
# customFulfillment5.id, where id is any FulfillmentInfo.
|
2436
|
-
# FulfillmentInfo.
|
2418
|
+
# latency. Maximum number of keys is 10. For FulfillmentInfo, a fulfillment type
|
2419
|
+
# and a fulfillment ID must be provided in the format of "fulfillmentType.
|
2420
|
+
# fulfillmentId". E.g., in "pickupInStore.store123", "pickupInStore" is
|
2421
|
+
# fulfillment type and "store123" is the store ID. Supported keys are: *
|
2422
|
+
# colorFamilies * price * originalPrice * discount * attributes.key, where key
|
2423
|
+
# is any key in the Product.attributes map. * pickupInStore.id, where id is any
|
2424
|
+
# FulfillmentInfo.place_ids for FulfillmentInfo.type "pickup-in-store". *
|
2425
|
+
# shipToStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.
|
2426
|
+
# type "ship-to-store". * sameDayDelivery.id, where id is any FulfillmentInfo.
|
2427
|
+
# place_ids for FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id,
|
2428
|
+
# where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type "next-day-
|
2429
|
+
# delivery". * customFulfillment1.id, where id is any FulfillmentInfo.place_ids
|
2430
|
+
# for FulfillmentInfo.type "custom-type-1". * customFulfillment2.id, where id is
|
2431
|
+
# any FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-2". *
|
2432
|
+
# customFulfillment3.id, where id is any FulfillmentInfo.place_ids for
|
2433
|
+
# FulfillmentInfo.type "custom-type-3". * customFulfillment4.id, where id is any
|
2434
|
+
# FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-4". *
|
2435
|
+
# customFulfillment5.id, where id is any FulfillmentInfo.place_ids for
|
2436
|
+
# FulfillmentInfo.type "custom-type-5". If this field is set to an invalid value
|
2437
2437
|
# other than these, an INVALID_ARGUMENT error is returned.
|
2438
2438
|
# Corresponds to the JSON property `variantRollupKeys`
|
2439
2439
|
# @return [Array<String>]
|
@@ -2517,8 +2517,8 @@ module Google
|
|
2517
2517
|
# An expression which specifies a boost condition. The syntax and supported
|
2518
2518
|
# fields are the same as a filter expression. See SearchRequest.filter for
|
2519
2519
|
# detail syntax and limitations. Examples: * To boost products with product ID "
|
2520
|
-
# product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "
|
2521
|
-
# product_2"))
|
2520
|
+
# product_1" or "product_2", and color "Red" or "Blue": * (id: ANY("product_1", "
|
2521
|
+
# product_2")) AND (colorFamilies: ANY("Red","Blue"))
|
2522
2522
|
# Corresponds to the JSON property `condition`
|
2523
2523
|
# @return [String]
|
2524
2524
|
attr_accessor :condition
|
@@ -2640,33 +2640,13 @@ module Google
|
|
2640
2640
|
|
2641
2641
|
# Required. Supported textual and numerical facet keys in Product object, over
|
2642
2642
|
# which the facet values are computed. Facet key is case-sensitive. Allowed
|
2643
|
-
# facet keys when FacetKey.query is not specified: * textual_field =
|
2644
|
-
#
|
2645
|
-
#
|
2646
|
-
#
|
2647
|
-
#
|
2648
|
-
#
|
2649
|
-
# *
|
2650
|
-
# patterns. * | "patterns"; *# The Product.conditions. * | "conditions"; *# The
|
2651
|
-
# textual custom attribute in Product object. Key can * *# be any key in the
|
2652
|
-
# Product.attributes map * *# if the attribute values are textual. * *# map. * |
|
2653
|
-
# "attributes.key"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.
|
2654
|
-
# PICKUP_IN_STORE. * | "pickupInStore"; *# The FulfillmentInfo.ids for type *#
|
2655
|
-
# FulfillmentInfo.Type.SHIP_TO_STORE. * | "shipToStore"; *# The FulfillmentInfo.
|
2656
|
-
# ids for type *# FulfillmentInfo.Type.SAME_DAY_DELIVERY. * | "sameDayDelivery";
|
2657
|
-
# *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.NEXT_DAY_DELIVERY.
|
2658
|
-
# * | "nextDayDelivery"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.
|
2659
|
-
# Type.CUSTOM_TYPE_1. * | "customFulfillment1"; *# The FulfillmentInfo.ids for
|
2660
|
-
# type *# FulfillmentInfo.Type.CUSTOM_TYPE_2. * | "customFulfillment2"; *# The
|
2661
|
-
# FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_3. * | "
|
2662
|
-
# customFulfillment3"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.
|
2663
|
-
# Type.CUSTOM_TYPE_4. * | "customFulfillment4"; *# The FulfillmentInfo.ids for
|
2664
|
-
# type *# FulfillmentInfo.Type.CUSTOM_TYPE_5. * | "customFulfillment5"; *
|
2665
|
-
# numerical_field = *# The PriceInfo.price. * "price"; *# The discount. Computed
|
2666
|
-
# by (original_price-price)/price * "discount"; *# The Rating.average_rating. * "
|
2667
|
-
# rating"; *# The Rating.rating_count. * "ratingCount"; *# The numerical custom
|
2668
|
-
# attribute in Product object. Key can * *# be any key in the Product.attributes
|
2669
|
-
# map * *# if the attribute values are numerical. * | "attributes.key";
|
2643
|
+
# facet keys when FacetKey.query is not specified: * textual_field = * "brands" *
|
2644
|
+
# "categories" * "genders" * "ageGroups" * "availability" * "colorFamilies" * "
|
2645
|
+
# colors" * "sizes" * "materials" * "patterns" * "conditions" * "attributes.key"
|
2646
|
+
# * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "
|
2647
|
+
# customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "
|
2648
|
+
# customFulfillment4" * "customFulfillment5" * numerical_field = * "price" * "
|
2649
|
+
# discount" * "rating" * "ratingCount" * "attributes.key"
|
2670
2650
|
# Corresponds to the JSON property `key`
|
2671
2651
|
# @return [String]
|
2672
2652
|
attr_accessor :key
|
@@ -2676,7 +2656,7 @@ module Google
|
|
2676
2656
|
# which means order by Facet.FacetValue.value descending. Only applies to
|
2677
2657
|
# textual facets. If not set, textual values are sorted in [natural order](https:
|
2678
2658
|
# //en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in
|
2679
|
-
# the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.
|
2659
|
+
# the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are
|
2680
2660
|
# sorted in the order given by FacetSpec.FacetKey.restricted_values.
|
2681
2661
|
# Corresponds to the JSON property `orderBy`
|
2682
2662
|
# @return [String]
|
@@ -2742,6 +2722,14 @@ module Google
|
|
2742
2722
|
# @return [String]
|
2743
2723
|
attr_accessor :condition
|
2744
2724
|
|
2725
|
+
# Whether to pin unexpanded results. If this field is set to true, unexpanded
|
2726
|
+
# products are always at the top of the search results, followed by the expanded
|
2727
|
+
# results.
|
2728
|
+
# Corresponds to the JSON property `pinUnexpandedResults`
|
2729
|
+
# @return [Boolean]
|
2730
|
+
attr_accessor :pin_unexpanded_results
|
2731
|
+
alias_method :pin_unexpanded_results?, :pin_unexpanded_results
|
2732
|
+
|
2745
2733
|
def initialize(**args)
|
2746
2734
|
update!(**args)
|
2747
2735
|
end
|
@@ -2749,6 +2737,7 @@ module Google
|
|
2749
2737
|
# Update properties of this object
|
2750
2738
|
def update!(**args)
|
2751
2739
|
@condition = args[:condition] if args.key?(:condition)
|
2740
|
+
@pin_unexpanded_results = args[:pin_unexpanded_results] if args.key?(:pin_unexpanded_results)
|
2752
2741
|
end
|
2753
2742
|
end
|
2754
2743
|
|
@@ -2895,6 +2884,12 @@ module Google
|
|
2895
2884
|
attr_accessor :expanded_query
|
2896
2885
|
alias_method :expanded_query?, :expanded_query
|
2897
2886
|
|
2887
|
+
# Number of pinned results. This field will only be set when expansion happens
|
2888
|
+
# and SearchRequest.query_expansion_spec.pin_unexpanded_results is set to true.
|
2889
|
+
# Corresponds to the JSON property `pinnedResultCount`
|
2890
|
+
# @return [Fixnum]
|
2891
|
+
attr_accessor :pinned_result_count
|
2892
|
+
|
2898
2893
|
def initialize(**args)
|
2899
2894
|
update!(**args)
|
2900
2895
|
end
|
@@ -2902,6 +2897,7 @@ module Google
|
|
2902
2897
|
# Update properties of this object
|
2903
2898
|
def update!(**args)
|
2904
2899
|
@expanded_query = args[:expanded_query] if args.key?(:expanded_query)
|
2900
|
+
@pinned_result_count = args[:pinned_result_count] if args.key?(:pinned_result_count)
|
2905
2901
|
end
|
2906
2902
|
end
|
2907
2903
|
|
@@ -2943,10 +2939,10 @@ module Google
|
|
2943
2939
|
# protobuf.ListValue. For example, if there are two variants with colors "red"
|
2944
2940
|
# and "blue", the rollup values are ` key: "colorFamilies" value ` list_value `
|
2945
2941
|
# values ` string_value: "red" ` values ` string_value: "blue" ` ` ` ` For
|
2946
|
-
#
|
2947
|
-
#
|
2948
|
-
#
|
2949
|
-
#
|
2942
|
+
# FulfillmentInfo, the rollup values is a double value with type google.protobuf.
|
2943
|
+
# Value. For example, ``key: "pickupInStore.store1" value ` number_value: 10 ```
|
2944
|
+
# means a there are 10 variants in this product are available in the store "
|
2945
|
+
# store1".
|
2950
2946
|
# Corresponds to the JSON property `variantRollupValues`
|
2951
2947
|
# @return [Hash<String,Object>]
|
2952
2948
|
attr_accessor :variant_rollup_values
|
@@ -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.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210819"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1399,6 +1399,7 @@ module Google
|
|
1399
1399
|
# @private
|
1400
1400
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1401
1401
|
property :condition, as: 'condition'
|
1402
|
+
property :pin_unexpanded_results, as: 'pinUnexpandedResults'
|
1402
1403
|
end
|
1403
1404
|
end
|
1404
1405
|
|
@@ -1443,6 +1444,7 @@ module Google
|
|
1443
1444
|
# @private
|
1444
1445
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1445
1446
|
property :expanded_query, as: 'expandedQuery'
|
1447
|
+
property :pinned_result_count, :numeric_string => true, as: 'pinnedResultCount'
|
1446
1448
|
end
|
1447
1449
|
end
|
1448
1450
|
|
@@ -52,18 +52,19 @@ module Google
|
|
52
52
|
end
|
53
53
|
|
54
54
|
# Completes the specified prefix with keyword suggestions. This feature is only
|
55
|
-
# available for users who have Retail Search enabled.
|
56
|
-
#
|
55
|
+
# available for users who have Retail Search enabled. Please submit a form [here]
|
56
|
+
# (https://cloud.google.com/contact) to contact cloud sales if you are
|
57
|
+
# interested in using Retail Search.
|
57
58
|
# @param [String] catalog
|
58
59
|
# Required. Catalog for which the completion is performed. Full resource name of
|
59
60
|
# catalog, such as `projects/*/locations/global/catalogs/default_catalog`.
|
60
61
|
# @param [String] dataset
|
61
62
|
# Determines which dataset to use for fetching completion. "user-data" will use
|
62
|
-
# the imported dataset through ImportCompletionData. "cloud-
|
63
|
-
# dataset generated by cloud retail based on user events.
|
64
|
-
# will use the "user-data". Current supported values: * user-
|
65
|
-
# This option
|
66
|
-
# retail
|
63
|
+
# the imported dataset through CompletionService.ImportCompletionData. "cloud-
|
64
|
+
# retail" will use the dataset generated by cloud retail based on user events.
|
65
|
+
# If leave empty, it will use the "user-data". Current supported values: * user-
|
66
|
+
# data * cloud-retail This option requires additional allowlisting. Before using
|
67
|
+
# cloud-retail, contact Cloud Retail support team first.
|
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 it
|
@@ -76,8 +77,9 @@ module Google
|
|
76
77
|
# (https://tools.ietf.org/html/bcp47). The maximum number of allowed characters
|
77
78
|
# is 255. Only "en-US" is currently supported.
|
78
79
|
# @param [Fixnum] max_suggestions
|
79
|
-
# Completion max suggestions.
|
80
|
-
#
|
80
|
+
# Completion max suggestions. If left unset or set to 0, then will fallback to
|
81
|
+
# the configured value CompletionConfig.max_suggestions. The maximum allowed max
|
82
|
+
# suggestions is 20. If it is set higher, it will be capped by 20.
|
81
83
|
# @param [String] query
|
82
84
|
# Required. The query used to generate suggestions. The maximum number of
|
83
85
|
# allowed characters is 255.
|
@@ -123,8 +125,9 @@ module Google
|
|
123
125
|
|
124
126
|
# Get which branch is currently default branch set by CatalogService.
|
125
127
|
# SetDefaultBranch method under a specified parent catalog. This feature is only
|
126
|
-
# available for users who have Retail Search enabled.
|
127
|
-
#
|
128
|
+
# available for users who have Retail Search enabled. Please submit a form [here]
|
129
|
+
# (https://cloud.google.com/contact) to contact cloud sales if you are
|
130
|
+
# interested in using Retail Search.
|
128
131
|
# @param [String] catalog
|
129
132
|
# The parent catalog resource name, such as `projects/*/locations/global/
|
130
133
|
# catalogs/default_catalog`.
|
@@ -254,8 +257,8 @@ module Google
|
|
254
257
|
# SearchService will only return product IDs from branch `newBranch` (if branch
|
255
258
|
# is not explicitly set). * UserEventService will only join events with products
|
256
259
|
# from branch `newBranch`. This feature is only available for users who have
|
257
|
-
# Retail Search enabled.
|
258
|
-
#
|
260
|
+
# Retail Search enabled. Please submit a form [here](https://cloud.google.com/
|
261
|
+
# contact) to contact cloud sales if you are interested in using Retail Search.
|
259
262
|
# @param [String] catalog
|
260
263
|
# Full resource name of the catalog, such as `projects/*/locations/global/
|
261
264
|
# catalogs/default_catalog`.
|
@@ -326,8 +329,9 @@ module Google
|
|
326
329
|
# enqueued and processed downstream. As a consequence, when a response is
|
327
330
|
# returned, the added place IDs are not immediately manifested in the Product
|
328
331
|
# queried by GetProduct or ListProducts. This feature is only available for
|
329
|
-
# users who have Retail Search enabled.
|
330
|
-
#
|
332
|
+
# users who have Retail Search enabled. Please submit a form [here](https://
|
333
|
+
# cloud.google.com/contact) to contact cloud sales if you are interested in
|
334
|
+
# using Retail Search.
|
331
335
|
# @param [String] product
|
332
336
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
333
337
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -633,8 +637,9 @@ module Google
|
|
633
637
|
# enqueued and processed downstream. As a consequence, when a response is
|
634
638
|
# returned, the removed place IDs are not immediately manifested in the Product
|
635
639
|
# queried by GetProduct or ListProducts. This feature is only available for
|
636
|
-
# users who have Retail Search enabled.
|
637
|
-
#
|
640
|
+
# users who have Retail Search enabled. Please submit a form [here](https://
|
641
|
+
# cloud.google.com/contact) to contact cloud sales if you are interested in
|
642
|
+
# using Retail Search.
|
638
643
|
# @param [String] product
|
639
644
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
640
645
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -686,9 +691,9 @@ module Google
|
|
686
691
|
# UpdateProductRequest.set_mask, then any existing inventory information will be
|
687
692
|
# preserved. Pre-existing inventory information can only be updated with
|
688
693
|
# SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces. This feature
|
689
|
-
# is only available for users who have Retail Search enabled.
|
690
|
-
#
|
691
|
-
# Retail Search.
|
694
|
+
# is only available for users who have Retail Search enabled. Please submit a
|
695
|
+
# form [here](https://cloud.google.com/contact) to contact cloud sales if you
|
696
|
+
# are interested in using Retail Search.
|
692
697
|
# @param [String] name
|
693
698
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
694
699
|
# global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
@@ -725,8 +730,9 @@ module Google
|
|
725
730
|
|
726
731
|
# Bulk import of processed completion dataset. Request processing may be
|
727
732
|
# synchronous. Partial updating is not supported. This feature is only available
|
728
|
-
# for users who have Retail Search enabled.
|
729
|
-
#
|
733
|
+
# for users who have Retail Search enabled. Please submit a form [here](https://
|
734
|
+
# cloud.google.com/contact) to contact cloud sales if you are interested in
|
735
|
+
# using Retail Search.
|
730
736
|
# @param [String] parent
|
731
737
|
# Required. The catalog which the suggestions dataset belongs to. Format: `
|
732
738
|
# projects/1234/locations/global/catalogs/default_catalog`.
|
@@ -877,8 +883,8 @@ module Google
|
|
877
883
|
end
|
878
884
|
|
879
885
|
# Performs a search. This feature is only available for users who have Retail
|
880
|
-
# Search enabled.
|
881
|
-
# you are interested in using Retail Search.
|
886
|
+
# Search enabled. Please submit a form [here](https://cloud.google.com/contact)
|
887
|
+
# to contact cloud sales if you are interested in using Retail Search.
|
882
888
|
# @param [String] placement
|
883
889
|
# Required. The resource name of the search engine placement, such as `projects/*
|
884
890
|
# /locations/global/catalogs/default_catalog/placements/default_search`. This
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# This is NOT the gem version.
|
32
32
|
VERSION = 'V2'
|
33
33
|
|
34
|
-
# See, edit, configure, and delete your Google Cloud
|
34
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
36
|
end
|
37
37
|
end
|
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.14.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: 2021-
|
11
|
+
date: 2021-09-06 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/master/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.14.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|