google-apis-retail_v2beta 0.16.0 → 0.20.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 +98 -42
- 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: bffa1782de1971c6d9d824947c86ce8f91a28a6593d9dafd607d97cb6595f25b
|
4
|
+
data.tar.gz: c8bb1b1967f1943c20277f464a1a417d9007a09296908d64c6d9c1b79b4cb677
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e3c4f0fad5cd484c234fc15a7bd26a542b75c1b891b8a9b22418b9d2d7cd84421ea0b436a9a98a8a1abbf66656c91173f5629f1fc0c0e32e5f265b4a785738c
|
7
|
+
data.tar.gz: 93ec77e2238c9cd3fa3fbefdc48cd7b814c2dd4bafadc4d1e1d1d655e51f1ad9f94d837437093a1ceb6feaeedbfd5aef1449800000f4dcc9b2e96965db515e10
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-retail_v2beta
|
2
2
|
|
3
|
+
### v0.20.0 (2021-11-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211028
|
6
|
+
|
7
|
+
### v0.19.0 (2021-10-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211021
|
10
|
+
|
11
|
+
### v0.18.0 (2021-10-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211011
|
14
|
+
|
15
|
+
### v0.17.0 (2021-10-05)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210930
|
18
|
+
|
3
19
|
### v0.16.0 (2021-09-25)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210924
|
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.
|
@@ -1101,8 +1145,8 @@ module Google
|
|
1101
1145
|
|
1102
1146
|
# If set to true, and the Product is not found, the fulfillment information will
|
1103
1147
|
# still be processed and retained for at most 1 day and processed once the
|
1104
|
-
# Product is created. If set to false,
|
1105
|
-
#
|
1148
|
+
# Product is created. If set to false, a NOT_FOUND error is returned if the
|
1149
|
+
# Product is not found.
|
1106
1150
|
# Corresponds to the JSON property `allowMissing`
|
1107
1151
|
# @return [Boolean]
|
1108
1152
|
attr_accessor :allow_missing
|
@@ -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>]
|
@@ -2511,8 +2555,10 @@ module Google
|
|
2511
2555
|
# The timestamp when this product becomes unavailable for SearchService.Search.
|
2512
2556
|
# If it is set, the Product is not available for SearchService.Search after
|
2513
2557
|
# expire_time. However, the product can still be retrieved by ProductService.
|
2514
|
-
# GetProduct and ProductService.ListProducts.
|
2515
|
-
#
|
2558
|
+
# GetProduct and ProductService.ListProducts. expire_time must be later than
|
2559
|
+
# available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown.
|
2560
|
+
# Google Merchant Center property [expiration_date](https://support.google.com/
|
2561
|
+
# merchants/answer/6324499).
|
2516
2562
|
# Corresponds to the JSON property `expireTime`
|
2517
2563
|
# @return [String]
|
2518
2564
|
attr_accessor :expire_time
|
@@ -2681,12 +2727,13 @@ module Google
|
|
2681
2727
|
# @return [String]
|
2682
2728
|
attr_accessor :title
|
2683
2729
|
|
2684
|
-
# Input only. The TTL (time to live) of the product. If it is set,
|
2685
|
-
# is set as current timestamp plus ttl. The
|
2686
|
-
# the output and ttl is left blank when
|
2687
|
-
# the product is not available for
|
2688
|
-
# plus ttl. However, the product
|
2689
|
-
# 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.
|
2690
2737
|
# Corresponds to the JSON property `ttl`
|
2691
2738
|
# @return [String]
|
2692
2739
|
attr_accessor :ttl
|
@@ -2888,8 +2935,8 @@ module Google
|
|
2888
2935
|
include Google::Apis::Core::Hashable
|
2889
2936
|
|
2890
2937
|
# ID of the promotion. For example, "free gift". The value value must be a UTF-8
|
2891
|
-
# encoded string with a length limit of 128 characters, and match the pattern:
|
2892
|
-
# 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
|
2893
2940
|
# INVALID_ARGUMENT error is returned. Google Merchant Center property [promotion]
|
2894
2941
|
# (https://support.google.com/merchants/answer/7050148).
|
2895
2942
|
# Corresponds to the JSON property `promotionId`
|
@@ -3139,8 +3186,8 @@ module Google
|
|
3139
3186
|
|
3140
3187
|
# If set to true, and the Product is not found, the fulfillment information will
|
3141
3188
|
# still be processed and retained for at most 1 day and processed once the
|
3142
|
-
# Product is created. If set to false,
|
3143
|
-
#
|
3189
|
+
# Product is created. If set to false, a NOT_FOUND error is returned if the
|
3190
|
+
# Product is not found.
|
3144
3191
|
# Corresponds to the JSON property `allowMissing`
|
3145
3192
|
# @return [Boolean]
|
3146
3193
|
attr_accessor :allow_missing
|
@@ -3150,7 +3197,7 @@ module Google
|
|
3150
3197
|
# or the region IDs for "same-day-delivery", to be removed for this type. At
|
3151
3198
|
# least 1 value is required, and a maximum of 2000 values are allowed. Each
|
3152
3199
|
# value must be a string with a length limit of 10 characters, matching the
|
3153
|
-
# pattern [a-zA-Z0-9_-]
|
3200
|
+
# pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an
|
3154
3201
|
# INVALID_ARGUMENT error is returned.
|
3155
3202
|
# Corresponds to the JSON property `placeIds`
|
3156
3203
|
# @return [Array<String>]
|
@@ -3302,6 +3349,12 @@ module Google
|
|
3302
3349
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec]
|
3303
3350
|
attr_accessor :query_expansion_spec
|
3304
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
|
+
|
3305
3358
|
# Information of an end user.
|
3306
3359
|
# Corresponds to the JSON property `userInfo`
|
3307
3360
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo]
|
@@ -3314,16 +3367,17 @@ module Google
|
|
3314
3367
|
# and a fulfillment ID must be provided in the format of "fulfillmentType.
|
3315
3368
|
# fulfillmentId". E.g., in "pickupInStore.store123", "pickupInStore" is
|
3316
3369
|
# fulfillment type and "store123" is the store ID. Supported keys are: *
|
3317
|
-
# colorFamilies * price * originalPrice * discount *
|
3318
|
-
# is any key in the Product.attributes map. *
|
3319
|
-
#
|
3320
|
-
# shipToStore.id, where id is any
|
3321
|
-
# type "ship-to-store". *
|
3322
|
-
#
|
3323
|
-
#
|
3324
|
-
#
|
3325
|
-
#
|
3326
|
-
#
|
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". *
|
3327
3381
|
# customFulfillment3.id, where id is any FulfillmentInfo.place_ids for
|
3328
3382
|
# FulfillmentInfo.type "custom-type-3". * customFulfillment4.id, where id is any
|
3329
3383
|
# FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-4". *
|
@@ -3363,6 +3417,7 @@ module Google
|
|
3363
3417
|
@page_token = args[:page_token] if args.key?(:page_token)
|
3364
3418
|
@query = args[:query] if args.key?(:query)
|
3365
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)
|
3366
3421
|
@user_info = args[:user_info] if args.key?(:user_info)
|
3367
3422
|
@variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
|
3368
3423
|
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
@@ -3541,7 +3596,8 @@ module Google
|
|
3541
3596
|
# * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "
|
3542
3597
|
# customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "
|
3543
3598
|
# customFulfillment4" * "customFulfillment5" * numerical_field = * "price" * "
|
3544
|
-
# discount" * "rating" * "ratingCount" * "attributes.key"
|
3599
|
+
# discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,
|
3600
|
+
# price)"
|
3545
3601
|
# Corresponds to the JSON property `key`
|
3546
3602
|
# @return [String]
|
3547
3603
|
attr_accessor :key
|
@@ -3906,8 +3962,8 @@ module Google
|
|
3906
3962
|
|
3907
3963
|
# If set to true, and the Product with name Product.name is not found, the
|
3908
3964
|
# inventory update will still be processed and retained for at most 1 day until
|
3909
|
-
# the Product is created. If set to false,
|
3910
|
-
#
|
3965
|
+
# the Product is created. If set to false, a NOT_FOUND error is returned if the
|
3966
|
+
# Product is not found.
|
3911
3967
|
# Corresponds to the JSON property `allowMissing`
|
3912
3968
|
# @return [Boolean]
|
3913
3969
|
attr_accessor :allow_missing
|
@@ -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.20.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 = "20211028"
|
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.20.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-08 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.20.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:
|