google-apis-retail_v2 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_v2/classes.rb +98 -42
- data/lib/google/apis/retail_v2/gem_version.rb +2 -2
- data/lib/google/apis/retail_v2/representations.rb +39 -2
- data/lib/google/apis/retail_v2/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: 7d42d12e9ff9de712f7baa2f7ca911972b611526b26d30cef2be8fd5139898cb
|
4
|
+
data.tar.gz: 8f411a5fe49df3d14c0bfcfd8791666737bb02359c6a220da4303e2dfad45c28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4768e93eb02a2a008812a622f2ed30b150354c85f39d576b9980174dafebdb90756ea2b589b374543bc3d8b5237536bf600f72a9745b898b71567b3eaac6d84e
|
7
|
+
data.tar.gz: d6dee21de3339148da8e8f387930ee5dbadb7b5444519c0a495a35cbc31f22161416d26910546695825fc3a5d9c106bf073d505742e91582e3ecadf567c5b6ca
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
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
|
|
@@ -307,8 +307,8 @@ module Google
|
|
307
307
|
|
308
308
|
# If set to true, and the Product is not found, the fulfillment information will
|
309
309
|
# still be processed and retained for at most 1 day and processed once the
|
310
|
-
# Product is created. If set to false,
|
311
|
-
#
|
310
|
+
# Product is created. If set to false, a NOT_FOUND error is returned if the
|
311
|
+
# Product is not found.
|
312
312
|
# Corresponds to the JSON property `allowMissing`
|
313
313
|
# @return [Boolean]
|
314
314
|
attr_accessor :allow_missing
|
@@ -318,7 +318,7 @@ module Google
|
|
318
318
|
# or the region IDs for "same-day-delivery" to be added for this type. Duplicate
|
319
319
|
# IDs will be automatically ignored. At least 1 value is required, and a maximum
|
320
320
|
# of 2000 values are allowed. Each value must be a string with a length limit of
|
321
|
-
# 10 characters, matching the pattern [a-zA-Z0-9_-]
|
321
|
+
# 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "
|
322
322
|
# REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. If the total
|
323
323
|
# number of place IDs exceeds 2000 for this type after adding, then the update
|
324
324
|
# will be rejected.
|
@@ -350,8 +350,8 @@ module Google
|
|
350
350
|
end
|
351
351
|
end
|
352
352
|
|
353
|
-
# Response of the
|
354
|
-
#
|
353
|
+
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
354
|
+
# no meaningful response populated from the AddFulfillmentPlaces method.
|
355
355
|
class GoogleCloudRetailV2AddFulfillmentPlacesResponse
|
356
356
|
include Google::Apis::Core::Hashable
|
357
357
|
|
@@ -742,7 +742,7 @@ module Google
|
|
742
742
|
# The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-
|
743
743
|
# in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A
|
744
744
|
# maximum of 3000 values are allowed. Each value must be a string with a length
|
745
|
-
# limit of 30 characters, matching the pattern [a-zA-Z0-9_-]
|
745
|
+
# limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1"
|
746
746
|
# or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.
|
747
747
|
# Corresponds to the JSON property `placeIds`
|
748
748
|
# @return [Array<String>]
|
@@ -1032,8 +1032,8 @@ module Google
|
|
1032
1032
|
|
1033
1033
|
# Unique identifier provided by client, within the ancestor dataset scope.
|
1034
1034
|
# Ensures idempotency and used for request deduplication. Server-generated if
|
1035
|
-
# unspecified. Up to 128 characters long and must match the pattern:
|
1036
|
-
# 9_]
|
1035
|
+
# unspecified. Up to 128 characters long and must match the pattern: `[a-zA-Z0-
|
1036
|
+
# 9_]+`. This is returned as Operation.name in ImportMetadata. Only supported
|
1037
1037
|
# when ImportProductsRequest.reconciliation_mode is set to `FULL`.
|
1038
1038
|
# Corresponds to the JSON property `requestId`
|
1039
1039
|
# @return [String]
|
@@ -1522,7 +1522,7 @@ module Google
|
|
1522
1522
|
# :[8.1, 6.4]` ``. This field needs to pass all below criteria, otherwise an
|
1523
1523
|
# INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must
|
1524
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
|
1525
|
+
# indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example,
|
1526
1526
|
# key0LikeThis or KEY_1_LIKE_THIS.
|
1527
1527
|
# Corresponds to the JSON property `attributes`
|
1528
1528
|
# @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute>]
|
@@ -1615,8 +1615,10 @@ module Google
|
|
1615
1615
|
# The timestamp when this product becomes unavailable for SearchService.Search.
|
1616
1616
|
# If it is set, the Product is not available for SearchService.Search after
|
1617
1617
|
# expire_time. However, the product can still be retrieved by ProductService.
|
1618
|
-
# GetProduct and ProductService.ListProducts.
|
1619
|
-
#
|
1618
|
+
# GetProduct and ProductService.ListProducts. expire_time must be later than
|
1619
|
+
# available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown.
|
1620
|
+
# Google Merchant Center property [expiration_date](https://support.google.com/
|
1621
|
+
# merchants/answer/6324499).
|
1620
1622
|
# Corresponds to the JSON property `expireTime`
|
1621
1623
|
# @return [String]
|
1622
1624
|
attr_accessor :expire_time
|
@@ -1785,12 +1787,13 @@ module Google
|
|
1785
1787
|
# @return [String]
|
1786
1788
|
attr_accessor :title
|
1787
1789
|
|
1788
|
-
# Input only. The TTL (time to live) of the product. If it is set,
|
1789
|
-
# is set as current timestamp plus ttl. The
|
1790
|
-
# the output and ttl is left blank when
|
1791
|
-
# the product is not available for
|
1792
|
-
# plus ttl. However, the product
|
1793
|
-
# GetProduct and ProductService.
|
1790
|
+
# Input only. The TTL (time to live) of the product. If it is set, it must be a
|
1791
|
+
# non-negative value, and expire_time is set as current timestamp plus ttl. The
|
1792
|
+
# derived expire_time is returned in the output and ttl is left blank when
|
1793
|
+
# retrieving the Product. If it is set, the product is not available for
|
1794
|
+
# SearchService.Search after current timestamp plus ttl. However, the product
|
1795
|
+
# can still be retrieved by ProductService.GetProduct and ProductService.
|
1796
|
+
# ListProducts.
|
1794
1797
|
# Corresponds to the JSON property `ttl`
|
1795
1798
|
# @return [String]
|
1796
1799
|
attr_accessor :ttl
|
@@ -1992,8 +1995,8 @@ module Google
|
|
1992
1995
|
include Google::Apis::Core::Hashable
|
1993
1996
|
|
1994
1997
|
# ID of the promotion. For example, "free gift". The value value must be a UTF-8
|
1995
|
-
# encoded string with a length limit of 128 characters, and match the pattern:
|
1996
|
-
# zA-Z
|
1998
|
+
# encoded string with a length limit of 128 characters, and match the pattern: `
|
1999
|
+
# a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an
|
1997
2000
|
# INVALID_ARGUMENT error is returned. Google Merchant Center property [promotion]
|
1998
2001
|
# (https://support.google.com/merchants/answer/7050148).
|
1999
2002
|
# Corresponds to the JSON property `promotionId`
|
@@ -2243,8 +2246,8 @@ module Google
|
|
2243
2246
|
|
2244
2247
|
# If set to true, and the Product is not found, the fulfillment information will
|
2245
2248
|
# still be processed and retained for at most 1 day and processed once the
|
2246
|
-
# Product is created. If set to false,
|
2247
|
-
#
|
2249
|
+
# Product is created. If set to false, a NOT_FOUND error is returned if the
|
2250
|
+
# Product is not found.
|
2248
2251
|
# Corresponds to the JSON property `allowMissing`
|
2249
2252
|
# @return [Boolean]
|
2250
2253
|
attr_accessor :allow_missing
|
@@ -2254,7 +2257,7 @@ module Google
|
|
2254
2257
|
# or the region IDs for "same-day-delivery", to be removed for this type. At
|
2255
2258
|
# least 1 value is required, and a maximum of 2000 values are allowed. Each
|
2256
2259
|
# value must be a string with a length limit of 10 characters, matching the
|
2257
|
-
# pattern [a-zA-Z0-9_-]
|
2260
|
+
# pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an
|
2258
2261
|
# INVALID_ARGUMENT error is returned.
|
2259
2262
|
# Corresponds to the JSON property `placeIds`
|
2260
2263
|
# @return [Array<String>]
|
@@ -2406,6 +2409,12 @@ module Google
|
|
2406
2409
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec]
|
2407
2410
|
attr_accessor :query_expansion_spec
|
2408
2411
|
|
2412
|
+
# The search mode of the search request. If not specified, a single search
|
2413
|
+
# request triggers both product search and faceted search.
|
2414
|
+
# Corresponds to the JSON property `searchMode`
|
2415
|
+
# @return [String]
|
2416
|
+
attr_accessor :search_mode
|
2417
|
+
|
2409
2418
|
# Information of an end user.
|
2410
2419
|
# Corresponds to the JSON property `userInfo`
|
2411
2420
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo]
|
@@ -2418,16 +2427,17 @@ module Google
|
|
2418
2427
|
# and a fulfillment ID must be provided in the format of "fulfillmentType.
|
2419
2428
|
# fulfillmentId". E.g., in "pickupInStore.store123", "pickupInStore" is
|
2420
2429
|
# fulfillment type and "store123" is the store ID. Supported keys are: *
|
2421
|
-
# colorFamilies * price * originalPrice * discount *
|
2422
|
-
# is any key in the Product.attributes map. *
|
2423
|
-
#
|
2424
|
-
# shipToStore.id, where id is any
|
2425
|
-
# type "ship-to-store". *
|
2426
|
-
#
|
2427
|
-
#
|
2428
|
-
#
|
2429
|
-
#
|
2430
|
-
#
|
2430
|
+
# colorFamilies * price * originalPrice * discount * inventory(place_id,price) *
|
2431
|
+
# attributes.key, where key is any key in the Product.attributes map. *
|
2432
|
+
# pickupInStore.id, where id is any FulfillmentInfo.place_ids for
|
2433
|
+
# FulfillmentInfo.type "pickup-in-store". * shipToStore.id, where id is any
|
2434
|
+
# FulfillmentInfo.place_ids for FulfillmentInfo.type "ship-to-store". *
|
2435
|
+
# sameDayDelivery.id, where id is any FulfillmentInfo.place_ids for
|
2436
|
+
# FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id, where id is
|
2437
|
+
# any FulfillmentInfo.place_ids for FulfillmentInfo.type "next-day-delivery". *
|
2438
|
+
# customFulfillment1.id, where id is any FulfillmentInfo.place_ids for
|
2439
|
+
# FulfillmentInfo.type "custom-type-1". * customFulfillment2.id, where id is any
|
2440
|
+
# FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-2". *
|
2431
2441
|
# customFulfillment3.id, where id is any FulfillmentInfo.place_ids for
|
2432
2442
|
# FulfillmentInfo.type "custom-type-3". * customFulfillment4.id, where id is any
|
2433
2443
|
# FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-4". *
|
@@ -2467,6 +2477,7 @@ module Google
|
|
2467
2477
|
@page_token = args[:page_token] if args.key?(:page_token)
|
2468
2478
|
@query = args[:query] if args.key?(:query)
|
2469
2479
|
@query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
|
2480
|
+
@search_mode = args[:search_mode] if args.key?(:search_mode)
|
2470
2481
|
@user_info = args[:user_info] if args.key?(:user_info)
|
2471
2482
|
@variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
|
2472
2483
|
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
@@ -2645,7 +2656,8 @@ module Google
|
|
2645
2656
|
# * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "
|
2646
2657
|
# customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "
|
2647
2658
|
# customFulfillment4" * "customFulfillment5" * numerical_field = * "price" * "
|
2648
|
-
# discount" * "rating" * "ratingCount" * "attributes.key"
|
2659
|
+
# discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,
|
2660
|
+
# price)"
|
2649
2661
|
# Corresponds to the JSON property `key`
|
2650
2662
|
# @return [String]
|
2651
2663
|
attr_accessor :key
|
@@ -3010,8 +3022,8 @@ module Google
|
|
3010
3022
|
|
3011
3023
|
# If set to true, and the Product with name Product.name is not found, the
|
3012
3024
|
# inventory update will still be processed and retained for at most 1 day until
|
3013
|
-
# the Product is created. If set to false,
|
3014
|
-
#
|
3025
|
+
# the Product is created. If set to false, a NOT_FOUND error is returned if the
|
3026
|
+
# Product is not found.
|
3015
3027
|
# Corresponds to the JSON property `allowMissing`
|
3016
3028
|
# @return [Boolean]
|
3017
3029
|
attr_accessor :allow_missing
|
@@ -3430,8 +3442,8 @@ module Google
|
|
3430
3442
|
end
|
3431
3443
|
end
|
3432
3444
|
|
3433
|
-
# Response of the
|
3434
|
-
#
|
3445
|
+
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
3446
|
+
# no meaningful response populated from the AddFulfillmentPlaces method.
|
3435
3447
|
class GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse
|
3436
3448
|
include Google::Apis::Core::Hashable
|
3437
3449
|
|
@@ -3444,9 +3456,24 @@ module Google
|
|
3444
3456
|
end
|
3445
3457
|
end
|
3446
3458
|
|
3447
|
-
# Metadata related to the
|
3448
|
-
#
|
3449
|
-
|
3459
|
+
# Metadata related to the progress of the AddLocalInventories operation.
|
3460
|
+
# Currently empty because there is no meaningful metadata populated from the
|
3461
|
+
# AddLocalInventories method.
|
3462
|
+
class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
|
3463
|
+
include Google::Apis::Core::Hashable
|
3464
|
+
|
3465
|
+
def initialize(**args)
|
3466
|
+
update!(**args)
|
3467
|
+
end
|
3468
|
+
|
3469
|
+
# Update properties of this object
|
3470
|
+
def update!(**args)
|
3471
|
+
end
|
3472
|
+
end
|
3473
|
+
|
3474
|
+
# Response of the AddLocalInventories API. Currently empty because there is no
|
3475
|
+
# meaningful response populated from the AddLocalInventories method.
|
3476
|
+
class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
|
3450
3477
|
include Google::Apis::Core::Hashable
|
3451
3478
|
|
3452
3479
|
def initialize(**args)
|
@@ -3814,6 +3841,35 @@ module Google
|
|
3814
3841
|
end
|
3815
3842
|
end
|
3816
3843
|
|
3844
|
+
# Metadata related to the progress of the RemoveLocalInventories operation.
|
3845
|
+
# Currently empty because there is no meaningful metadata populated from the
|
3846
|
+
# RemoveLocalInventories method.
|
3847
|
+
class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
|
3848
|
+
include Google::Apis::Core::Hashable
|
3849
|
+
|
3850
|
+
def initialize(**args)
|
3851
|
+
update!(**args)
|
3852
|
+
end
|
3853
|
+
|
3854
|
+
# Update properties of this object
|
3855
|
+
def update!(**args)
|
3856
|
+
end
|
3857
|
+
end
|
3858
|
+
|
3859
|
+
# Response of the RemoveLocalInventories API. Currently empty because there is
|
3860
|
+
# no meaningful response populated from the RemoveLocalInventories method.
|
3861
|
+
class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
|
3862
|
+
include Google::Apis::Core::Hashable
|
3863
|
+
|
3864
|
+
def initialize(**args)
|
3865
|
+
update!(**args)
|
3866
|
+
end
|
3867
|
+
|
3868
|
+
# Update properties of this object
|
3869
|
+
def update!(**args)
|
3870
|
+
end
|
3871
|
+
end
|
3872
|
+
|
3817
3873
|
# Metadata related to the progress of the SetInventory operation. Currently
|
3818
3874
|
# empty because there is no meaningful metadata populated from the SetInventory
|
3819
3875
|
# method.
|
@@ -3885,8 +3941,8 @@ module Google
|
|
3885
3941
|
end
|
3886
3942
|
end
|
3887
3943
|
|
3888
|
-
# Response of the
|
3889
|
-
#
|
3944
|
+
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
3945
|
+
# no meaningful response populated from the AddFulfillmentPlaces method.
|
3890
3946
|
class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse
|
3891
3947
|
include Google::Apis::Core::Hashable
|
3892
3948
|
|
@@ -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.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
|
@@ -502,7 +502,13 @@ module Google
|
|
502
502
|
include Google::Apis::Core::JsonObjectSupport
|
503
503
|
end
|
504
504
|
|
505
|
-
class
|
505
|
+
class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
511
|
+
class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
|
506
512
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
513
|
|
508
514
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -598,6 +604,18 @@ module Google
|
|
598
604
|
include Google::Apis::Core::JsonObjectSupport
|
599
605
|
end
|
600
606
|
|
607
|
+
class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
+
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
611
|
+
end
|
612
|
+
|
613
|
+
class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
601
619
|
class GoogleCloudRetailV2alphaSetInventoryMetadata
|
602
620
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
621
|
|
@@ -1346,6 +1364,7 @@ module Google
|
|
1346
1364
|
property :query, as: 'query'
|
1347
1365
|
property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec::Representation
|
1348
1366
|
|
1367
|
+
property :search_mode, as: 'searchMode'
|
1349
1368
|
property :user_info, as: 'userInfo', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo::Representation
|
1350
1369
|
|
1351
1370
|
collection :variant_rollup_keys, as: 'variantRollupKeys'
|
@@ -1578,7 +1597,13 @@ module Google
|
|
1578
1597
|
end
|
1579
1598
|
end
|
1580
1599
|
|
1581
|
-
class
|
1600
|
+
class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
|
1601
|
+
# @private
|
1602
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1603
|
+
end
|
1604
|
+
end
|
1605
|
+
|
1606
|
+
class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
|
1582
1607
|
# @private
|
1583
1608
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1584
1609
|
end
|
@@ -1706,6 +1731,18 @@ module Google
|
|
1706
1731
|
end
|
1707
1732
|
end
|
1708
1733
|
|
1734
|
+
class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
|
1735
|
+
# @private
|
1736
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1737
|
+
end
|
1738
|
+
end
|
1739
|
+
|
1740
|
+
class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
|
1741
|
+
# @private
|
1742
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1743
|
+
end
|
1744
|
+
end
|
1745
|
+
|
1709
1746
|
class GoogleCloudRetailV2alphaSetInventoryMetadata
|
1710
1747
|
# @private
|
1711
1748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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::RetailV2::GoogleCloudRetailV2SearchRequest] google_cloud_retail_v2_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_v2
|
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_v2/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_v2/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.20.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|