google-apis-retail_v2beta 0.17.0 → 0.21.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 +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/retail_v2beta/classes.rb +97 -43
- data/lib/google/apis/retail_v2beta/gem_version.rb +2 -2
- data/lib/google/apis/retail_v2beta/representations.rb +39 -2
- data/lib/google/apis/retail_v2beta/service.rb +6 -7
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e83e98a63736700b4d839c01b4d54de9d8902ee7b7324ae408fbf678ad4d0086
|
4
|
+
data.tar.gz: 48c5d5af3d64cc880332a5ff4657342dbd579f3d675d2c1e75496f8f6b04a4d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d77fc4b02fa3487c9d422be62e7836548854558995d8c7fa2da160735557b3e172bb37bc2ba5c088772ba8cec8d14dcfc1616ced6935e19800dfd270e560b63
|
7
|
+
data.tar.gz: 6af358dfa01661b1628e84799384a125bef54b520ac1747eb3b38ac6f1f7725f74e2518bb707cee3c5d54de41f44b57d5b5e58ccfc172d6aa63d3b7786613899
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-retail_v2beta
|
2
2
|
|
3
|
+
### v0.21.0 (2021-11-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211104
|
6
|
+
|
7
|
+
### v0.20.0 (2021-11-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211028
|
10
|
+
|
11
|
+
### v0.19.0 (2021-10-26)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211021
|
14
|
+
|
15
|
+
### v0.18.0 (2021-10-12)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211011
|
18
|
+
|
3
19
|
### v0.17.0 (2021-10-05)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210930
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Retail service in particular.)
|
67
67
|
|
@@ -294,8 +294,8 @@ module Google
|
|
294
294
|
end
|
295
295
|
end
|
296
296
|
|
297
|
-
# Response of the
|
298
|
-
#
|
297
|
+
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
298
|
+
# no meaningful response populated from the AddFulfillmentPlaces method.
|
299
299
|
class GoogleCloudRetailV2AddFulfillmentPlacesResponse
|
300
300
|
include Google::Apis::Core::Hashable
|
301
301
|
|
@@ -633,8 +633,8 @@ module Google
|
|
633
633
|
end
|
634
634
|
end
|
635
635
|
|
636
|
-
# Response of the
|
637
|
-
#
|
636
|
+
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
637
|
+
# no meaningful response populated from the AddFulfillmentPlaces method.
|
638
638
|
class GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse
|
639
639
|
include Google::Apis::Core::Hashable
|
640
640
|
|
@@ -647,9 +647,24 @@ module Google
|
|
647
647
|
end
|
648
648
|
end
|
649
649
|
|
650
|
-
# Metadata related to the
|
651
|
-
#
|
652
|
-
|
650
|
+
# Metadata related to the progress of the AddLocalInventories operation.
|
651
|
+
# Currently empty because there is no meaningful metadata populated from the
|
652
|
+
# AddLocalInventories method.
|
653
|
+
class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
|
654
|
+
include Google::Apis::Core::Hashable
|
655
|
+
|
656
|
+
def initialize(**args)
|
657
|
+
update!(**args)
|
658
|
+
end
|
659
|
+
|
660
|
+
# Update properties of this object
|
661
|
+
def update!(**args)
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
665
|
+
# Response of the AddLocalInventories API. Currently empty because there is no
|
666
|
+
# meaningful response populated from the AddLocalInventories method.
|
667
|
+
class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
|
653
668
|
include Google::Apis::Core::Hashable
|
654
669
|
|
655
670
|
def initialize(**args)
|
@@ -1017,6 +1032,35 @@ module Google
|
|
1017
1032
|
end
|
1018
1033
|
end
|
1019
1034
|
|
1035
|
+
# Metadata related to the progress of the RemoveLocalInventories operation.
|
1036
|
+
# Currently empty because there is no meaningful metadata populated from the
|
1037
|
+
# RemoveLocalInventories method.
|
1038
|
+
class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
|
1039
|
+
include Google::Apis::Core::Hashable
|
1040
|
+
|
1041
|
+
def initialize(**args)
|
1042
|
+
update!(**args)
|
1043
|
+
end
|
1044
|
+
|
1045
|
+
# Update properties of this object
|
1046
|
+
def update!(**args)
|
1047
|
+
end
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
# Response of the RemoveLocalInventories API. Currently empty because there is
|
1051
|
+
# no meaningful response populated from the RemoveLocalInventories method.
|
1052
|
+
class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
|
1053
|
+
include Google::Apis::Core::Hashable
|
1054
|
+
|
1055
|
+
def initialize(**args)
|
1056
|
+
update!(**args)
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
# Update properties of this object
|
1060
|
+
def update!(**args)
|
1061
|
+
end
|
1062
|
+
end
|
1063
|
+
|
1020
1064
|
# Metadata related to the progress of the SetInventory operation. Currently
|
1021
1065
|
# empty because there is no meaningful metadata populated from the SetInventory
|
1022
1066
|
# method.
|
@@ -1112,7 +1156,7 @@ module Google
|
|
1112
1156
|
# or the region IDs for "same-day-delivery" to be added for this type. Duplicate
|
1113
1157
|
# IDs will be automatically ignored. At least 1 value is required, and a maximum
|
1114
1158
|
# of 2000 values are allowed. Each value must be a string with a length limit of
|
1115
|
-
# 10 characters, matching the pattern [a-zA-Z0-9_-]
|
1159
|
+
# 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "
|
1116
1160
|
# REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. If the total
|
1117
1161
|
# number of place IDs exceeds 2000 for this type after adding, then the update
|
1118
1162
|
# will be rejected.
|
@@ -1144,8 +1188,8 @@ module Google
|
|
1144
1188
|
end
|
1145
1189
|
end
|
1146
1190
|
|
1147
|
-
# Response of the
|
1148
|
-
#
|
1191
|
+
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
1192
|
+
# no meaningful response populated from the AddFulfillmentPlaces method.
|
1149
1193
|
class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse
|
1150
1194
|
include Google::Apis::Core::Hashable
|
1151
1195
|
|
@@ -1638,7 +1682,7 @@ module Google
|
|
1638
1682
|
# The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-
|
1639
1683
|
# in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A
|
1640
1684
|
# maximum of 3000 values are allowed. Each value must be a string with a length
|
1641
|
-
# limit of 30 characters, matching the pattern [a-zA-Z0-9_-]
|
1685
|
+
# limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1"
|
1642
1686
|
# or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.
|
1643
1687
|
# Corresponds to the JSON property `placeIds`
|
1644
1688
|
# @return [Array<String>]
|
@@ -1928,8 +1972,8 @@ module Google
|
|
1928
1972
|
|
1929
1973
|
# Unique identifier provided by client, within the ancestor dataset scope.
|
1930
1974
|
# Ensures idempotency and used for request deduplication. Server-generated if
|
1931
|
-
# unspecified. Up to 128 characters long and must match the pattern:
|
1932
|
-
# 9_]
|
1975
|
+
# unspecified. Up to 128 characters long and must match the pattern: `[a-zA-Z0-
|
1976
|
+
# 9_]+`. This is returned as Operation.name in ImportMetadata. Only supported
|
1933
1977
|
# when ImportProductsRequest.reconciliation_mode is set to `FULL`.
|
1934
1978
|
# Corresponds to the JSON property `requestId`
|
1935
1979
|
# @return [String]
|
@@ -2418,7 +2462,7 @@ module Google
|
|
2418
2462
|
# :[8.1, 6.4]` ``. This field needs to pass all below criteria, otherwise an
|
2419
2463
|
# INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must
|
2420
2464
|
# be a UTF-8 encoded string with a length limit of 128 characters. * For
|
2421
|
-
# indexable attribute, the key must match the pattern: a-zA-Z0-9
|
2465
|
+
# indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example,
|
2422
2466
|
# key0LikeThis or KEY_1_LIKE_THIS.
|
2423
2467
|
# Corresponds to the JSON property `attributes`
|
2424
2468
|
# @return [Hash<String,Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute>]
|
@@ -2683,12 +2727,13 @@ module Google
|
|
2683
2727
|
# @return [String]
|
2684
2728
|
attr_accessor :title
|
2685
2729
|
|
2686
|
-
# Input only. The TTL (time to live) of the product. If it is set,
|
2687
|
-
# is set as current timestamp plus ttl. The
|
2688
|
-
# the output and ttl is left blank when
|
2689
|
-
# the product is not available for
|
2690
|
-
# plus ttl. However, the product
|
2691
|
-
# GetProduct and ProductService.
|
2730
|
+
# Input only. The TTL (time to live) of the product. If it is set, it must be a
|
2731
|
+
# non-negative value, and expire_time is set as current timestamp plus ttl. The
|
2732
|
+
# derived expire_time is returned in the output and ttl is left blank when
|
2733
|
+
# retrieving the Product. If it is set, the product is not available for
|
2734
|
+
# SearchService.Search after current timestamp plus ttl. However, the product
|
2735
|
+
# can still be retrieved by ProductService.GetProduct and ProductService.
|
2736
|
+
# ListProducts.
|
2692
2737
|
# Corresponds to the JSON property `ttl`
|
2693
2738
|
# @return [String]
|
2694
2739
|
attr_accessor :ttl
|
@@ -2847,15 +2892,15 @@ module Google
|
|
2847
2892
|
include Google::Apis::Core::Hashable
|
2848
2893
|
|
2849
2894
|
# The type of Products allowed to be ingested into the catalog. Acceptable
|
2850
|
-
# values are: * `primary` (default): You can
|
2851
|
-
#
|
2852
|
-
#
|
2853
|
-
#
|
2854
|
-
#
|
2855
|
-
#
|
2856
|
-
#
|
2857
|
-
#
|
2858
|
-
#
|
2895
|
+
# values are: * `primary` (default): You can ingest Products of all types. When
|
2896
|
+
# ingesting a Product, its type will default to Product.Type.PRIMARY if unset. *
|
2897
|
+
# `variant`: You can only ingest Product.Type.VARIANT Products. This means
|
2898
|
+
# Product.primary_product_id cannot be empty. If this field is set to an invalid
|
2899
|
+
# value other than these, an INVALID_ARGUMENT error is returned. If this field
|
2900
|
+
# is `variant` and merchant_center_product_id_field is `itemGroupId`, an
|
2901
|
+
# INVALID_ARGUMENT error is returned. See [Using product levels](https://cloud.
|
2902
|
+
# google.com/retail/recommendations-ai/docs/catalog#product-levels) for more
|
2903
|
+
# details.
|
2859
2904
|
# Corresponds to the JSON property `ingestionProductType`
|
2860
2905
|
# @return [String]
|
2861
2906
|
attr_accessor :ingestion_product_type
|
@@ -2890,8 +2935,8 @@ module Google
|
|
2890
2935
|
include Google::Apis::Core::Hashable
|
2891
2936
|
|
2892
2937
|
# ID of the promotion. For example, "free gift". The value value must be a UTF-8
|
2893
|
-
# encoded string with a length limit of 128 characters, and match the pattern:
|
2894
|
-
# zA-Z
|
2938
|
+
# encoded string with a length limit of 128 characters, and match the pattern: `
|
2939
|
+
# a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an
|
2895
2940
|
# INVALID_ARGUMENT error is returned. Google Merchant Center property [promotion]
|
2896
2941
|
# (https://support.google.com/merchants/answer/7050148).
|
2897
2942
|
# Corresponds to the JSON property `promotionId`
|
@@ -3152,7 +3197,7 @@ module Google
|
|
3152
3197
|
# or the region IDs for "same-day-delivery", to be removed for this type. At
|
3153
3198
|
# least 1 value is required, and a maximum of 2000 values are allowed. Each
|
3154
3199
|
# value must be a string with a length limit of 10 characters, matching the
|
3155
|
-
# pattern [a-zA-Z0-9_-]
|
3200
|
+
# pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an
|
3156
3201
|
# INVALID_ARGUMENT error is returned.
|
3157
3202
|
# Corresponds to the JSON property `placeIds`
|
3158
3203
|
# @return [Array<String>]
|
@@ -3304,6 +3349,12 @@ module Google
|
|
3304
3349
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec]
|
3305
3350
|
attr_accessor :query_expansion_spec
|
3306
3351
|
|
3352
|
+
# The search mode of the search request. If not specified, a single search
|
3353
|
+
# request triggers both product search and faceted search.
|
3354
|
+
# Corresponds to the JSON property `searchMode`
|
3355
|
+
# @return [String]
|
3356
|
+
attr_accessor :search_mode
|
3357
|
+
|
3307
3358
|
# Information of an end user.
|
3308
3359
|
# Corresponds to the JSON property `userInfo`
|
3309
3360
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo]
|
@@ -3316,16 +3367,17 @@ module Google
|
|
3316
3367
|
# and a fulfillment ID must be provided in the format of "fulfillmentType.
|
3317
3368
|
# fulfillmentId". E.g., in "pickupInStore.store123", "pickupInStore" is
|
3318
3369
|
# fulfillment type and "store123" is the store ID. Supported keys are: *
|
3319
|
-
# colorFamilies * price * originalPrice * discount *
|
3320
|
-
# is any key in the Product.attributes map. *
|
3321
|
-
#
|
3322
|
-
# shipToStore.id, where id is any
|
3323
|
-
# type "ship-to-store". *
|
3324
|
-
#
|
3325
|
-
#
|
3326
|
-
#
|
3327
|
-
#
|
3328
|
-
#
|
3370
|
+
# colorFamilies * price * originalPrice * discount * inventory(place_id,price) *
|
3371
|
+
# attributes.key, where key is any key in the Product.attributes map. *
|
3372
|
+
# pickupInStore.id, where id is any FulfillmentInfo.place_ids for
|
3373
|
+
# FulfillmentInfo.type "pickup-in-store". * shipToStore.id, where id is any
|
3374
|
+
# FulfillmentInfo.place_ids for FulfillmentInfo.type "ship-to-store". *
|
3375
|
+
# sameDayDelivery.id, where id is any FulfillmentInfo.place_ids for
|
3376
|
+
# FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id, where id is
|
3377
|
+
# any FulfillmentInfo.place_ids for FulfillmentInfo.type "next-day-delivery". *
|
3378
|
+
# customFulfillment1.id, where id is any FulfillmentInfo.place_ids for
|
3379
|
+
# FulfillmentInfo.type "custom-type-1". * customFulfillment2.id, where id is any
|
3380
|
+
# FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-2". *
|
3329
3381
|
# customFulfillment3.id, where id is any FulfillmentInfo.place_ids for
|
3330
3382
|
# FulfillmentInfo.type "custom-type-3". * customFulfillment4.id, where id is any
|
3331
3383
|
# FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-4". *
|
@@ -3365,6 +3417,7 @@ module Google
|
|
3365
3417
|
@page_token = args[:page_token] if args.key?(:page_token)
|
3366
3418
|
@query = args[:query] if args.key?(:query)
|
3367
3419
|
@query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
|
3420
|
+
@search_mode = args[:search_mode] if args.key?(:search_mode)
|
3368
3421
|
@user_info = args[:user_info] if args.key?(:user_info)
|
3369
3422
|
@variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
|
3370
3423
|
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
@@ -3543,7 +3596,8 @@ module Google
|
|
3543
3596
|
# * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "
|
3544
3597
|
# customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "
|
3545
3598
|
# customFulfillment4" * "customFulfillment5" * numerical_field = * "price" * "
|
3546
|
-
# discount" * "rating" * "ratingCount" * "attributes.key"
|
3599
|
+
# discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,
|
3600
|
+
# price)"
|
3547
3601
|
# Corresponds to the JSON property `key`
|
3548
3602
|
# @return [String]
|
3549
3603
|
attr_accessor :key
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2beta
|
18
18
|
# Version of the google-apis-retail_v2beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.21.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 = "20211104"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,7 +172,13 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
-
class
|
175
|
+
class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
183
|
|
178
184
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -268,6 +274,18 @@ module Google
|
|
268
274
|
include Google::Apis::Core::JsonObjectSupport
|
269
275
|
end
|
270
276
|
|
277
|
+
class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
271
289
|
class GoogleCloudRetailV2alphaSetInventoryMetadata
|
272
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
291
|
|
@@ -966,7 +984,13 @@ module Google
|
|
966
984
|
end
|
967
985
|
end
|
968
986
|
|
969
|
-
class
|
987
|
+
class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
|
988
|
+
# @private
|
989
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
990
|
+
end
|
991
|
+
end
|
992
|
+
|
993
|
+
class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
|
970
994
|
# @private
|
971
995
|
class Representation < Google::Apis::Core::JsonRepresentation
|
972
996
|
end
|
@@ -1094,6 +1118,18 @@ module Google
|
|
1094
1118
|
end
|
1095
1119
|
end
|
1096
1120
|
|
1121
|
+
class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
|
1122
|
+
# @private
|
1123
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1124
|
+
end
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
|
1128
|
+
# @private
|
1129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1130
|
+
end
|
1131
|
+
end
|
1132
|
+
|
1097
1133
|
class GoogleCloudRetailV2alphaSetInventoryMetadata
|
1098
1134
|
# @private
|
1099
1135
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1660,6 +1696,7 @@ module Google
|
|
1660
1696
|
property :query, as: 'query'
|
1661
1697
|
property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec::Representation
|
1662
1698
|
|
1699
|
+
property :search_mode, as: 'searchMode'
|
1663
1700
|
property :user_info, as: 'userInfo', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo::Representation
|
1664
1701
|
|
1665
1702
|
collection :variant_rollup_keys, as: 'variantRollupKeys'
|
@@ -67,10 +67,10 @@ module Google
|
|
67
67
|
# cloud-retail, contact Cloud Retail support team first.
|
68
68
|
# @param [String] device_type
|
69
69
|
# The device type context for completion suggestions. It is useful to apply
|
70
|
-
# different suggestions on different device types, e.g. DESKTOP
|
71
|
-
# is empty, the suggestions are across all device types. Supported formats: *
|
72
|
-
# UNKNOWN_DEVICE_TYPE * DESKTOP * MOBILE * A customized string starts with
|
73
|
-
# OTHER_
|
70
|
+
# different suggestions on different device types, e.g. `DESKTOP`, `MOBILE`. If
|
71
|
+
# it is empty, the suggestions are across all device types. Supported formats: *
|
72
|
+
# `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `MOBILE` * A customized string starts with
|
73
|
+
# `OTHER_`, e.g. `OTHER_IPHONE`.
|
74
74
|
# @param [Array<String>, String] language_codes
|
75
75
|
# The list of languages of the query. This is the BCP-47 language code, such as "
|
76
76
|
# en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages]
|
@@ -886,9 +886,8 @@ module Google
|
|
886
886
|
# @param [String] placement
|
887
887
|
# Required. The resource name of the search engine placement, such as `projects/*
|
888
888
|
# /locations/global/catalogs/default_catalog/placements/default_search`. This
|
889
|
-
# field is used to identify the
|
890
|
-
#
|
891
|
-
# default_search`.
|
889
|
+
# field is used to identify the serving configuration name and the set of models
|
890
|
+
# that will be used to make the search.
|
892
891
|
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequest] google_cloud_retail_v2beta_search_request_object
|
893
892
|
# @param [String] fields
|
894
893
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.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-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.21.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|