google-apis-retail_v2alpha 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/retail_v2alpha/classes.rb +66 -70
- data/lib/google/apis/retail_v2alpha/gem_version.rb +2 -2
- data/lib/google/apis/retail_v2alpha/representations.rb +2 -0
- data/lib/google/apis/retail_v2alpha/service.rb +30 -24
- data/lib/google/apis/retail_v2alpha.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: 124b77e227ad584c4e1cd230d72b1cc14aea9cb11878cca82d4ed5b69dc6c789
|
4
|
+
data.tar.gz: 2ffa641222e07ed2f016b28773b73cc4901d5a57ad646cf6b5c1a10e83997ed3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4cc827c473d958c584a6e91c91971fc856383672d989bb1b0d0771b07f02caa0ebd2eda092d29b4c3c736454b1ba464cae3edc2fe465cae1763894675eba59d
|
7
|
+
data.tar.gz: 7af2fd3488519bc32f558061067051c56ad5c4a6e86d06ef84f78efcdef79eb598679ab31c7ad7e9abc4c59ab06c67813bcfe074abce950aa5ffd5e56a4aa76c
|
data/CHANGELOG.md
CHANGED
@@ -907,9 +907,9 @@ module Google
|
|
907
907
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult>]
|
908
908
|
attr_accessor :completion_results
|
909
909
|
|
910
|
-
# Matched recent searches of this user.
|
911
|
-
# Contact Retail
|
912
|
-
# interested in enabling it. This feature is only available when
|
910
|
+
# Matched recent searches of this user. The maximum number of recent searches is
|
911
|
+
# 10. This field is a restricted feature. Contact Retail Search support team if
|
912
|
+
# you are interested in enabling it. This feature is only available when
|
913
913
|
# CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The
|
914
914
|
# recent searches satisfy the follow rules: * They are ordered from latest to
|
915
915
|
# oldest. * They are matched with CompleteQueryRequest.query case insensitively.
|
@@ -1709,9 +1709,9 @@ module Google
|
|
1709
1709
|
|
1710
1710
|
# String representing the destination to import for, all if left empty. List of
|
1711
1711
|
# possible values can be found here. [https://support.google.com/merchants/
|
1712
|
-
# answer/7501026
|
1713
|
-
#
|
1714
|
-
#
|
1712
|
+
# answer/7501026] List of allowed string values: "shopping-ads", "buy-on-google-
|
1713
|
+
# listings", "display-ads", "local-inventory -ads", "free-listings", "free-local-
|
1714
|
+
# listings" NOTE: The string values are case sensitive.
|
1715
1715
|
# Corresponds to the JSON property `destinations`
|
1716
1716
|
# @return [Array<String>]
|
1717
1717
|
attr_accessor :destinations
|
@@ -2040,12 +2040,10 @@ module Google
|
|
2040
2040
|
# product, or age of a customer. For example: `` "vendor": `"text": ["vendor123",
|
2041
2041
|
# "vendor456"]`, "lengths_cm": `"numbers":[2.3, 15.4]`, "heights_cm": `"numbers"
|
2042
2042
|
# :[8.1, 6.4]` ``. This field needs to pass all below criteria, otherwise an
|
2043
|
-
# INVALID_ARGUMENT error is returned: * Max entries count: 200
|
2044
|
-
#
|
2045
|
-
#
|
2046
|
-
#
|
2047
|
-
# key must match the pattern: a-zA-Z0-9*. For example, key0LikeThis or
|
2048
|
-
# KEY_1_LIKE_THIS.
|
2043
|
+
# INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must
|
2044
|
+
# be a UTF-8 encoded string with a length limit of 128 characters. * For
|
2045
|
+
# indexable attribute, the key must match the pattern: a-zA-Z0-9*. For example,
|
2046
|
+
# key0LikeThis or KEY_1_LIKE_THIS.
|
2049
2047
|
# Corresponds to the JSON property `attributes`
|
2050
2048
|
# @return [Hash<String,Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute>]
|
2051
2049
|
attr_accessor :attributes
|
@@ -2152,7 +2150,8 @@ module Google
|
|
2152
2150
|
|
2153
2151
|
# The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8
|
2154
2152
|
# encoded string with a length limit of 128 characters. Otherwise, an
|
2155
|
-
# INVALID_ARGUMENT error is returned.
|
2153
|
+
# INVALID_ARGUMENT error is returned. This field must be a Unigram. Otherwise,
|
2154
|
+
# an INVALID_ARGUMENT error is returned. Google Merchant Center property [gtin](
|
2156
2155
|
# https://support.google.com/merchants/answer/6324461). Schema.org property [
|
2157
2156
|
# Product.isbn](https://schema.org/isbn) or [Product.gtin8](https://schema.org/
|
2158
2157
|
# gtin8) or [Product.gtin12](https://schema.org/gtin12) or [Product.gtin13](
|
@@ -2191,7 +2190,7 @@ module Google
|
|
2191
2190
|
# @return [String]
|
2192
2191
|
attr_accessor :language_code
|
2193
2192
|
|
2194
|
-
# The material of the product. For example, "leather", "wooden". A maximum of
|
2193
|
+
# The material of the product. For example, "leather", "wooden". A maximum of 20
|
2195
2194
|
# values are allowed. Each value must be a UTF-8 encoded string with a length
|
2196
2195
|
# limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
2197
2196
|
# Google Merchant Center property [material](https://support.google.com/
|
@@ -2209,7 +2208,7 @@ module Google
|
|
2209
2208
|
attr_accessor :name
|
2210
2209
|
|
2211
2210
|
# The pattern or graphic print of the product. For example, "striped", "polka
|
2212
|
-
# dot", "paisley". A maximum of
|
2211
|
+
# dot", "paisley". A maximum of 20 values are allowed per Product. Each value
|
2213
2212
|
# must be a UTF-8 encoded string with a length limit of 128 characters.
|
2214
2213
|
# Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center
|
2215
2214
|
# property [pattern](https://support.google.com/merchants/answer/6324483).
|
@@ -2265,8 +2264,9 @@ module Google
|
|
2265
2264
|
# attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION,
|
2266
2265
|
# the following fields are always returned in SearchResponse by default: * name
|
2267
2266
|
# For Type.VARIANT, the following fields are always returned in by default: *
|
2268
|
-
# name * color_info Maximum number of paths is
|
2269
|
-
# INVALID_ARGUMENT error is returned.
|
2267
|
+
# name * color_info Maximum number of paths is 30. Otherwise, an
|
2268
|
+
# INVALID_ARGUMENT error is returned. Note: Returning more fields in
|
2269
|
+
# SearchResponse may increase response payload size and serving latency.
|
2270
2270
|
# Corresponds to the JSON property `retrievableFields`
|
2271
2271
|
# @return [String]
|
2272
2272
|
attr_accessor :retrievable_fields
|
@@ -2943,25 +2943,25 @@ module Google
|
|
2943
2943
|
# The keys to fetch and rollup the matching variant Products attributes. The
|
2944
2944
|
# attributes from all the matching variant Products are merged and de-duplicated.
|
2945
2945
|
# Notice that rollup variant Products attributes will lead to extra query
|
2946
|
-
# latency. Maximum number of keys is 10. For
|
2947
|
-
#
|
2948
|
-
#
|
2949
|
-
#
|
2950
|
-
#
|
2951
|
-
#
|
2952
|
-
#
|
2953
|
-
# shipToStore.id, where id is any FulfillmentInfo.
|
2954
|
-
#
|
2955
|
-
# for type
|
2956
|
-
# id is any FulfillmentInfo.
|
2957
|
-
# * customFulfillment1.id, where id is any FulfillmentInfo.
|
2958
|
-
# FulfillmentInfo.
|
2959
|
-
# FulfillmentInfo.
|
2960
|
-
# customFulfillment3.id, where id is any FulfillmentInfo.
|
2961
|
-
# FulfillmentInfo.
|
2962
|
-
# FulfillmentInfo.
|
2963
|
-
# customFulfillment5.id, where id is any FulfillmentInfo.
|
2964
|
-
# FulfillmentInfo.
|
2946
|
+
# latency. Maximum number of keys is 10. For FulfillmentInfo, a fulfillment type
|
2947
|
+
# and a fulfillment ID must be provided in the format of "fulfillmentType.
|
2948
|
+
# fulfillmentId". E.g., in "pickupInStore.store123", "pickupInStore" is
|
2949
|
+
# fulfillment type and "store123" is the store ID. Supported keys are: *
|
2950
|
+
# colorFamilies * price * originalPrice * discount * attributes.key, where key
|
2951
|
+
# is any key in the Product.attributes map. * pickupInStore.id, where id is any
|
2952
|
+
# FulfillmentInfo.place_ids for FulfillmentInfo.type "pickup-in-store". *
|
2953
|
+
# shipToStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.
|
2954
|
+
# type "ship-to-store". * sameDayDelivery.id, where id is any FulfillmentInfo.
|
2955
|
+
# place_ids for FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id,
|
2956
|
+
# where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type "next-day-
|
2957
|
+
# delivery". * customFulfillment1.id, where id is any FulfillmentInfo.place_ids
|
2958
|
+
# for FulfillmentInfo.type "custom-type-1". * customFulfillment2.id, where id is
|
2959
|
+
# any FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-2". *
|
2960
|
+
# customFulfillment3.id, where id is any FulfillmentInfo.place_ids for
|
2961
|
+
# FulfillmentInfo.type "custom-type-3". * customFulfillment4.id, where id is any
|
2962
|
+
# FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-4". *
|
2963
|
+
# customFulfillment5.id, where id is any FulfillmentInfo.place_ids for
|
2964
|
+
# FulfillmentInfo.type "custom-type-5". If this field is set to an invalid value
|
2965
2965
|
# other than these, an INVALID_ARGUMENT error is returned.
|
2966
2966
|
# Corresponds to the JSON property `variantRollupKeys`
|
2967
2967
|
# @return [Array<String>]
|
@@ -3046,8 +3046,8 @@ module Google
|
|
3046
3046
|
# An expression which specifies a boost condition. The syntax and supported
|
3047
3047
|
# fields are the same as a filter expression. See SearchRequest.filter for
|
3048
3048
|
# detail syntax and limitations. Examples: * To boost products with product ID "
|
3049
|
-
# product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "
|
3050
|
-
# product_2"))
|
3049
|
+
# product_1" or "product_2", and color "Red" or "Blue": * (id: ANY("product_1", "
|
3050
|
+
# product_2")) AND (colorFamilies: ANY("Red","Blue"))
|
3051
3051
|
# Corresponds to the JSON property `condition`
|
3052
3052
|
# @return [String]
|
3053
3053
|
attr_accessor :condition
|
@@ -3169,33 +3169,13 @@ module Google
|
|
3169
3169
|
|
3170
3170
|
# Required. Supported textual and numerical facet keys in Product object, over
|
3171
3171
|
# which the facet values are computed. Facet key is case-sensitive. Allowed
|
3172
|
-
# facet keys when FacetKey.query is not specified: * textual_field =
|
3173
|
-
#
|
3174
|
-
#
|
3175
|
-
#
|
3176
|
-
#
|
3177
|
-
#
|
3178
|
-
# *
|
3179
|
-
# patterns. * | "patterns"; *# The Product.conditions. * | "conditions"; *# The
|
3180
|
-
# textual custom attribute in Product object. Key can * *# be any key in the
|
3181
|
-
# Product.attributes map * *# if the attribute values are textual. * *# map. * |
|
3182
|
-
# "attributes.key"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.
|
3183
|
-
# PICKUP_IN_STORE. * | "pickupInStore"; *# The FulfillmentInfo.ids for type *#
|
3184
|
-
# FulfillmentInfo.Type.SHIP_TO_STORE. * | "shipToStore"; *# The FulfillmentInfo.
|
3185
|
-
# ids for type *# FulfillmentInfo.Type.SAME_DAY_DELIVERY. * | "sameDayDelivery";
|
3186
|
-
# *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.NEXT_DAY_DELIVERY.
|
3187
|
-
# * | "nextDayDelivery"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.
|
3188
|
-
# Type.CUSTOM_TYPE_1. * | "customFulfillment1"; *# The FulfillmentInfo.ids for
|
3189
|
-
# type *# FulfillmentInfo.Type.CUSTOM_TYPE_2. * | "customFulfillment2"; *# The
|
3190
|
-
# FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_3. * | "
|
3191
|
-
# customFulfillment3"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.
|
3192
|
-
# Type.CUSTOM_TYPE_4. * | "customFulfillment4"; *# The FulfillmentInfo.ids for
|
3193
|
-
# type *# FulfillmentInfo.Type.CUSTOM_TYPE_5. * | "customFulfillment5"; *
|
3194
|
-
# numerical_field = *# The PriceInfo.price. * "price"; *# The discount. Computed
|
3195
|
-
# by (original_price-price)/price * "discount"; *# The Rating.average_rating. * "
|
3196
|
-
# rating"; *# The Rating.rating_count. * "ratingCount"; *# The numerical custom
|
3197
|
-
# attribute in Product object. Key can * *# be any key in the Product.attributes
|
3198
|
-
# map * *# if the attribute values are numerical. * | "attributes.key";
|
3172
|
+
# facet keys when FacetKey.query is not specified: * textual_field = * "brands" *
|
3173
|
+
# "categories" * "genders" * "ageGroups" * "availability" * "colorFamilies" * "
|
3174
|
+
# colors" * "sizes" * "materials" * "patterns" * "conditions" * "attributes.key"
|
3175
|
+
# * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "
|
3176
|
+
# customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "
|
3177
|
+
# customFulfillment4" * "customFulfillment5" * numerical_field = * "price" * "
|
3178
|
+
# discount" * "rating" * "ratingCount" * "attributes.key"
|
3199
3179
|
# Corresponds to the JSON property `key`
|
3200
3180
|
# @return [String]
|
3201
3181
|
attr_accessor :key
|
@@ -3205,7 +3185,7 @@ module Google
|
|
3205
3185
|
# which means order by Facet.FacetValue.value descending. Only applies to
|
3206
3186
|
# textual facets. If not set, textual values are sorted in [natural order](https:
|
3207
3187
|
# //en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in
|
3208
|
-
# the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.
|
3188
|
+
# the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are
|
3209
3189
|
# sorted in the order given by FacetSpec.FacetKey.restricted_values.
|
3210
3190
|
# Corresponds to the JSON property `orderBy`
|
3211
3191
|
# @return [String]
|
@@ -3271,6 +3251,14 @@ module Google
|
|
3271
3251
|
# @return [String]
|
3272
3252
|
attr_accessor :condition
|
3273
3253
|
|
3254
|
+
# Whether to pin unexpanded results. If this field is set to true, unexpanded
|
3255
|
+
# products are always at the top of the search results, followed by the expanded
|
3256
|
+
# results.
|
3257
|
+
# Corresponds to the JSON property `pinUnexpandedResults`
|
3258
|
+
# @return [Boolean]
|
3259
|
+
attr_accessor :pin_unexpanded_results
|
3260
|
+
alias_method :pin_unexpanded_results?, :pin_unexpanded_results
|
3261
|
+
|
3274
3262
|
def initialize(**args)
|
3275
3263
|
update!(**args)
|
3276
3264
|
end
|
@@ -3278,6 +3266,7 @@ module Google
|
|
3278
3266
|
# Update properties of this object
|
3279
3267
|
def update!(**args)
|
3280
3268
|
@condition = args[:condition] if args.key?(:condition)
|
3269
|
+
@pin_unexpanded_results = args[:pin_unexpanded_results] if args.key?(:pin_unexpanded_results)
|
3281
3270
|
end
|
3282
3271
|
end
|
3283
3272
|
|
@@ -3424,6 +3413,12 @@ module Google
|
|
3424
3413
|
attr_accessor :expanded_query
|
3425
3414
|
alias_method :expanded_query?, :expanded_query
|
3426
3415
|
|
3416
|
+
# Number of pinned results. This field will only be set when expansion happens
|
3417
|
+
# and SearchRequest.query_expansion_spec.pin_unexpanded_results is set to true.
|
3418
|
+
# Corresponds to the JSON property `pinnedResultCount`
|
3419
|
+
# @return [Fixnum]
|
3420
|
+
attr_accessor :pinned_result_count
|
3421
|
+
|
3427
3422
|
def initialize(**args)
|
3428
3423
|
update!(**args)
|
3429
3424
|
end
|
@@ -3431,6 +3426,7 @@ module Google
|
|
3431
3426
|
# Update properties of this object
|
3432
3427
|
def update!(**args)
|
3433
3428
|
@expanded_query = args[:expanded_query] if args.key?(:expanded_query)
|
3429
|
+
@pinned_result_count = args[:pinned_result_count] if args.key?(:pinned_result_count)
|
3434
3430
|
end
|
3435
3431
|
end
|
3436
3432
|
|
@@ -3472,10 +3468,10 @@ module Google
|
|
3472
3468
|
# protobuf.ListValue. For example, if there are two variants with colors "red"
|
3473
3469
|
# and "blue", the rollup values are ` key: "colorFamilies" value ` list_value `
|
3474
3470
|
# values ` string_value: "red" ` values ` string_value: "blue" ` ` ` ` For
|
3475
|
-
#
|
3476
|
-
#
|
3477
|
-
#
|
3478
|
-
#
|
3471
|
+
# FulfillmentInfo, the rollup values is a double value with type google.protobuf.
|
3472
|
+
# Value. For example, ``key: "pickupInStore.store1" value ` number_value: 10 ```
|
3473
|
+
# means a there are 10 variants in this product are available in the store "
|
3474
|
+
# store1".
|
3479
3475
|
# Corresponds to the JSON property `variantRollupValues`
|
3480
3476
|
# @return [Hash<String,Object>]
|
3481
3477
|
attr_accessor :variant_rollup_values
|
@@ -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.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
|
@@ -1586,6 +1586,7 @@ module Google
|
|
1586
1586
|
# @private
|
1587
1587
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1588
1588
|
property :condition, as: 'condition'
|
1589
|
+
property :pin_unexpanded_results, as: 'pinUnexpandedResults'
|
1589
1590
|
end
|
1590
1591
|
end
|
1591
1592
|
|
@@ -1630,6 +1631,7 @@ module Google
|
|
1630
1631
|
# @private
|
1631
1632
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1632
1633
|
property :expanded_query, as: 'expandedQuery'
|
1634
|
+
property :pinned_result_count, :numeric_string => true, as: 'pinnedResultCount'
|
1633
1635
|
end
|
1634
1636
|
end
|
1635
1637
|
|
@@ -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
|
@@ -638,8 +642,9 @@ module Google
|
|
638
642
|
# enqueued and processed downstream. As a consequence, when a response is
|
639
643
|
# returned, the removed place IDs are not immediately manifested in the Product
|
640
644
|
# queried by GetProduct or ListProducts. This feature is only available for
|
641
|
-
# users who have Retail Search enabled.
|
642
|
-
#
|
645
|
+
# users who have Retail Search enabled. Please submit a form [here](https://
|
646
|
+
# cloud.google.com/contact) to contact cloud sales if you are interested in
|
647
|
+
# using Retail Search.
|
643
648
|
# @param [String] product
|
644
649
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
645
650
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -691,9 +696,9 @@ module Google
|
|
691
696
|
# UpdateProductRequest.set_mask, then any existing inventory information will be
|
692
697
|
# preserved. Pre-existing inventory information can only be updated with
|
693
698
|
# SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces. This feature
|
694
|
-
# is only available for users who have Retail Search enabled.
|
695
|
-
#
|
696
|
-
# Retail Search.
|
699
|
+
# is only available for users who have Retail Search enabled. Please submit a
|
700
|
+
# form [here](https://cloud.google.com/contact) to contact cloud sales if you
|
701
|
+
# are interested in using Retail Search.
|
697
702
|
# @param [String] name
|
698
703
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
699
704
|
# global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
@@ -730,8 +735,9 @@ module Google
|
|
730
735
|
|
731
736
|
# Bulk import of processed completion dataset. Request processing may be
|
732
737
|
# synchronous. Partial updating is not supported. This feature is only available
|
733
|
-
# for users who have Retail Search enabled.
|
734
|
-
#
|
738
|
+
# for users who have Retail Search enabled. Please submit a form [here](https://
|
739
|
+
# cloud.google.com/contact) to contact cloud sales if you are interested in
|
740
|
+
# using Retail Search.
|
735
741
|
# @param [String] parent
|
736
742
|
# Required. The catalog which the suggestions dataset belongs to. Format: `
|
737
743
|
# projects/1234/locations/global/catalogs/default_catalog`.
|
@@ -882,8 +888,8 @@ module Google
|
|
882
888
|
end
|
883
889
|
|
884
890
|
# Performs a search. This feature is only available for users who have Retail
|
885
|
-
# Search enabled.
|
886
|
-
# you are interested in using Retail Search.
|
891
|
+
# Search enabled. Please submit a form [here](https://cloud.google.com/contact)
|
892
|
+
# to contact cloud sales if you are interested in using Retail Search.
|
887
893
|
# @param [String] placement
|
888
894
|
# Required. The resource name of the search engine placement, such as `projects/*
|
889
895
|
# /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 = 'V2alpha'
|
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_v2alpha
|
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_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.14.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|