google-apis-retail_v2 0.42.0 → 0.45.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 +14 -0
- data/lib/google/apis/retail_v2/classes.rb +56 -42
- data/lib/google/apis/retail_v2/gem_version.rb +3 -3
- data/lib/google/apis/retail_v2/service.rb +38 -32
- 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: 874c48ccb188ca9435943902e64fa5e13fa944d73ca04f4802b2b1bcfd08cbe9
|
4
|
+
data.tar.gz: 539084a82fdb730dbde38fdab81a17c7244d947016b3021c19a9def2135d4078
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0136713627d50b984eb866422f9bb84bba126e45038eacf081f97cfb61123da0fe57c0a1b6fe8d8564cfde92c4e28212f949492320d8c07d709b247672ed169
|
7
|
+
data.tar.gz: 0aa9988a7028801c8d905f7d1de846b00e5cc466854f3751f809b8df0165532bccbb1acaf9a98df95620409e231de9f54fa09bd5a1e6d7bad9af23de46191d46
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.45.0 (2022-07-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220630
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
8
|
+
### v0.44.0 (2022-06-30)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.8.0
|
11
|
+
|
12
|
+
### v0.43.0 (2022-06-23)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220617
|
15
|
+
* Regenerated using generator version 0.7.0
|
16
|
+
|
3
17
|
### v0.42.0 (2022-06-17)
|
4
18
|
|
5
19
|
* Regenerated from discovery document revision 20220609
|
@@ -1410,7 +1410,11 @@ module Google
|
|
1410
1410
|
# only want results strictly matching the filters, set `strictFiltering` to True
|
1411
1411
|
# in `PredictRequest.params` to receive empty results instead. Note that the API
|
1412
1412
|
# will never return items with storageStatus of "EXPIRED" or "DELETED"
|
1413
|
-
# regardless of filter choices.
|
1413
|
+
# regardless of filter choices. If `filterSyntaxV2` is set to true under the `
|
1414
|
+
# params` field, then attribute based expressions are expected instead of the
|
1415
|
+
# above described tag-based syntax. Examples: * (colors: ANY("Red", "Blue")) AND
|
1416
|
+
# NOT (categories: ANY("Phones")) * (availability: ANY("IN_STOCK")) AND (colors:
|
1417
|
+
# ANY("Red") OR categories: ANY("Phones"))
|
1414
1418
|
# Corresponds to the JSON property `filter`
|
1415
1419
|
# @return [String]
|
1416
1420
|
attr_accessor :filter
|
@@ -1459,7 +1463,9 @@ module Google
|
|
1459
1463
|
# price. * `diversityLevel`: String. Default empty. If set to be non-empty, then
|
1460
1464
|
# it needs to be one of `'no-diversity', 'low-diversity', 'medium-diversity', '
|
1461
1465
|
# high-diversity', 'auto-diversity'`. This gives request-level control and
|
1462
|
-
# adjusts prediction results based on product category.
|
1466
|
+
# adjusts prediction results based on product category. * `filterSyntaxV2`:
|
1467
|
+
# Boolean. False by default. If set to true, the `filter` field will be
|
1468
|
+
# interpreteted according to the new, attribute-based syntax.
|
1463
1469
|
# Corresponds to the JSON property `params`
|
1464
1470
|
# @return [Hash<String,Object>]
|
1465
1471
|
attr_accessor :params
|
@@ -2397,7 +2403,7 @@ module Google
|
|
2397
2403
|
|
2398
2404
|
# Metadata related to the progress of the RemoveFulfillmentPlaces operation.
|
2399
2405
|
# Currently empty because there is no meaningful metadata populated from the
|
2400
|
-
# RemoveFulfillmentPlaces method.
|
2406
|
+
# ProductService.RemoveFulfillmentPlaces method.
|
2401
2407
|
class GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata
|
2402
2408
|
include Google::Apis::Core::Hashable
|
2403
2409
|
|
@@ -2410,7 +2416,7 @@ module Google
|
|
2410
2416
|
end
|
2411
2417
|
end
|
2412
2418
|
|
2413
|
-
# Request message for RemoveFulfillmentPlaces method.
|
2419
|
+
# Request message for ProductService.RemoveFulfillmentPlaces method.
|
2414
2420
|
class GoogleCloudRetailV2RemoveFulfillmentPlacesRequest
|
2415
2421
|
include Google::Apis::Core::Hashable
|
2416
2422
|
|
@@ -2465,7 +2471,8 @@ module Google
|
|
2465
2471
|
end
|
2466
2472
|
|
2467
2473
|
# Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
|
2468
|
-
# is no meaningful response populated from the
|
2474
|
+
# is no meaningful response populated from the ProductService.
|
2475
|
+
# RemoveFulfillmentPlaces method.
|
2469
2476
|
class GoogleCloudRetailV2RemoveFulfillmentPlacesResponse
|
2470
2477
|
include Google::Apis::Core::Hashable
|
2471
2478
|
|
@@ -2480,7 +2487,7 @@ module Google
|
|
2480
2487
|
|
2481
2488
|
# Metadata related to the progress of the RemoveLocalInventories operation.
|
2482
2489
|
# Currently empty because there is no meaningful metadata populated from the
|
2483
|
-
# RemoveLocalInventories method.
|
2490
|
+
# ProductService.RemoveLocalInventories method.
|
2484
2491
|
class GoogleCloudRetailV2RemoveLocalInventoriesMetadata
|
2485
2492
|
include Google::Apis::Core::Hashable
|
2486
2493
|
|
@@ -2493,7 +2500,7 @@ module Google
|
|
2493
2500
|
end
|
2494
2501
|
end
|
2495
2502
|
|
2496
|
-
# Request message for RemoveLocalInventories method.
|
2503
|
+
# Request message for ProductService.RemoveLocalInventories method.
|
2497
2504
|
class GoogleCloudRetailV2RemoveLocalInventoriesRequest
|
2498
2505
|
include Google::Apis::Core::Hashable
|
2499
2506
|
|
@@ -2531,8 +2538,9 @@ module Google
|
|
2531
2538
|
end
|
2532
2539
|
end
|
2533
2540
|
|
2534
|
-
# Response of the RemoveLocalInventories API. Currently empty
|
2535
|
-
# no meaningful response populated from the
|
2541
|
+
# Response of the ProductService.RemoveLocalInventories API. Currently empty
|
2542
|
+
# because there is no meaningful response populated from the ProductService.
|
2543
|
+
# RemoveLocalInventories method.
|
2536
2544
|
class GoogleCloudRetailV2RemoveLocalInventoriesResponse
|
2537
2545
|
include Google::Apis::Core::Hashable
|
2538
2546
|
|
@@ -2955,13 +2963,14 @@ module Google
|
|
2955
2963
|
# @return [String]
|
2956
2964
|
attr_accessor :key
|
2957
2965
|
|
2958
|
-
# The order in which Facet.values are returned. Allowed values
|
2959
|
-
# desc", which means order by Facet.
|
2960
|
-
# which means order by Facet.
|
2961
|
-
# textual facets. If not set, textual values
|
2962
|
-
#
|
2963
|
-
# the order given by FacetSpec.FacetKey.
|
2964
|
-
# sorted in the order given by
|
2966
|
+
# The order in which SearchResponse.Facet.values are returned. Allowed values
|
2967
|
+
# are: * "count desc", which means order by SearchResponse.Facet.values.count
|
2968
|
+
# descending. * "value desc", which means order by SearchResponse.Facet.values.
|
2969
|
+
# value descending. Only applies to textual facets. If not set, textual values
|
2970
|
+
# are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order)
|
2971
|
+
# ; numerical intervals are sorted in the order given by FacetSpec.FacetKey.
|
2972
|
+
# intervals; FulfillmentInfo.place_ids are sorted in the order given by
|
2973
|
+
# FacetSpec.FacetKey.restricted_values.
|
2965
2974
|
# Corresponds to the JSON property `orderBy`
|
2966
2975
|
# @return [String]
|
2967
2976
|
attr_accessor :order_by
|
@@ -2979,12 +2988,13 @@ module Google
|
|
2979
2988
|
# it will override the default behavior of facet computation. The query syntax
|
2980
2989
|
# is the same as a filter expression. See SearchRequest.filter for detail syntax
|
2981
2990
|
# and limitations. Notice that there is no limitation on FacetKey.key when query
|
2982
|
-
# is specified. In the response,
|
2983
|
-
#
|
2984
|
-
# example, you can set a customized facet for "
|
2985
|
-
# is "customizedShipToStore", and FacetKey.
|
2986
|
-
# IN_STOCK\") AND shipToStore: ANY(\"123\")". Then
|
2987
|
-
# products that are both in stock and ship to store "
|
2991
|
+
# is specified. In the response, SearchResponse.Facet.values.value will be
|
2992
|
+
# always "1" and SearchResponse.Facet.values.count will be the number of results
|
2993
|
+
# that match the query. For example, you can set a customized facet for "
|
2994
|
+
# shipToStore", where FacetKey.key is "customizedShipToStore", and FacetKey.
|
2995
|
+
# query is "availability: ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")". Then
|
2996
|
+
# the facet will count the products that are both in stock and ship to store "
|
2997
|
+
# 123".
|
2988
2998
|
# Corresponds to the JSON property `query`
|
2989
2999
|
# @return [String]
|
2990
3000
|
attr_accessor :query
|
@@ -3362,8 +3372,8 @@ module Google
|
|
3362
3372
|
end
|
3363
3373
|
|
3364
3374
|
# Metadata related to the progress of the SetInventory operation. Currently
|
3365
|
-
# empty because there is no meaningful metadata populated from the
|
3366
|
-
# method.
|
3375
|
+
# empty because there is no meaningful metadata populated from the
|
3376
|
+
# ProductService.SetInventory method.
|
3367
3377
|
class GoogleCloudRetailV2SetInventoryMetadata
|
3368
3378
|
include Google::Apis::Core::Hashable
|
3369
3379
|
|
@@ -3376,7 +3386,7 @@ module Google
|
|
3376
3386
|
end
|
3377
3387
|
end
|
3378
3388
|
|
3379
|
-
# Request message for SetInventory method.
|
3389
|
+
# Request message for ProductService.SetInventory method.
|
3380
3390
|
class GoogleCloudRetailV2SetInventoryRequest
|
3381
3391
|
include Google::Apis::Core::Hashable
|
3382
3392
|
|
@@ -3423,7 +3433,7 @@ module Google
|
|
3423
3433
|
end
|
3424
3434
|
|
3425
3435
|
# Response of the SetInventoryRequest. Currently empty because there is no
|
3426
|
-
# meaningful response populated from the SetInventory method.
|
3436
|
+
# meaningful response populated from the ProductService.SetInventory method.
|
3427
3437
|
class GoogleCloudRetailV2SetInventoryResponse
|
3428
3438
|
include Google::Apis::Core::Hashable
|
3429
3439
|
|
@@ -4254,7 +4264,7 @@ module Google
|
|
4254
4264
|
|
4255
4265
|
# Metadata related to the progress of the RemoveFulfillmentPlaces operation.
|
4256
4266
|
# Currently empty because there is no meaningful metadata populated from the
|
4257
|
-
# RemoveFulfillmentPlaces method.
|
4267
|
+
# ProductService.RemoveFulfillmentPlaces method.
|
4258
4268
|
class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata
|
4259
4269
|
include Google::Apis::Core::Hashable
|
4260
4270
|
|
@@ -4268,7 +4278,8 @@ module Google
|
|
4268
4278
|
end
|
4269
4279
|
|
4270
4280
|
# Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
|
4271
|
-
# is no meaningful response populated from the
|
4281
|
+
# is no meaningful response populated from the ProductService.
|
4282
|
+
# RemoveFulfillmentPlaces method.
|
4272
4283
|
class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse
|
4273
4284
|
include Google::Apis::Core::Hashable
|
4274
4285
|
|
@@ -4283,7 +4294,7 @@ module Google
|
|
4283
4294
|
|
4284
4295
|
# Metadata related to the progress of the RemoveLocalInventories operation.
|
4285
4296
|
# Currently empty because there is no meaningful metadata populated from the
|
4286
|
-
# RemoveLocalInventories method.
|
4297
|
+
# ProductService.RemoveLocalInventories method.
|
4287
4298
|
class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
|
4288
4299
|
include Google::Apis::Core::Hashable
|
4289
4300
|
|
@@ -4296,8 +4307,9 @@ module Google
|
|
4296
4307
|
end
|
4297
4308
|
end
|
4298
4309
|
|
4299
|
-
# Response of the RemoveLocalInventories API. Currently empty
|
4300
|
-
# no meaningful response populated from the
|
4310
|
+
# Response of the ProductService.RemoveLocalInventories API. Currently empty
|
4311
|
+
# because there is no meaningful response populated from the ProductService.
|
4312
|
+
# RemoveLocalInventories method.
|
4301
4313
|
class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
|
4302
4314
|
include Google::Apis::Core::Hashable
|
4303
4315
|
|
@@ -4311,8 +4323,8 @@ module Google
|
|
4311
4323
|
end
|
4312
4324
|
|
4313
4325
|
# Metadata related to the progress of the SetInventory operation. Currently
|
4314
|
-
# empty because there is no meaningful metadata populated from the
|
4315
|
-
# method.
|
4326
|
+
# empty because there is no meaningful metadata populated from the
|
4327
|
+
# ProductService.SetInventory method.
|
4316
4328
|
class GoogleCloudRetailV2alphaSetInventoryMetadata
|
4317
4329
|
include Google::Apis::Core::Hashable
|
4318
4330
|
|
@@ -4326,7 +4338,7 @@ module Google
|
|
4326
4338
|
end
|
4327
4339
|
|
4328
4340
|
# Response of the SetInventoryRequest. Currently empty because there is no
|
4329
|
-
# meaningful response populated from the SetInventory method.
|
4341
|
+
# meaningful response populated from the ProductService.SetInventory method.
|
4330
4342
|
class GoogleCloudRetailV2alphaSetInventoryResponse
|
4331
4343
|
include Google::Apis::Core::Hashable
|
4332
4344
|
|
@@ -4754,7 +4766,7 @@ module Google
|
|
4754
4766
|
|
4755
4767
|
# Metadata related to the progress of the RemoveFulfillmentPlaces operation.
|
4756
4768
|
# Currently empty because there is no meaningful metadata populated from the
|
4757
|
-
# RemoveFulfillmentPlaces method.
|
4769
|
+
# ProductService.RemoveFulfillmentPlaces method.
|
4758
4770
|
class GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata
|
4759
4771
|
include Google::Apis::Core::Hashable
|
4760
4772
|
|
@@ -4768,7 +4780,8 @@ module Google
|
|
4768
4780
|
end
|
4769
4781
|
|
4770
4782
|
# Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
|
4771
|
-
# is no meaningful response populated from the
|
4783
|
+
# is no meaningful response populated from the ProductService.
|
4784
|
+
# RemoveFulfillmentPlaces method.
|
4772
4785
|
class GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse
|
4773
4786
|
include Google::Apis::Core::Hashable
|
4774
4787
|
|
@@ -4783,7 +4796,7 @@ module Google
|
|
4783
4796
|
|
4784
4797
|
# Metadata related to the progress of the RemoveLocalInventories operation.
|
4785
4798
|
# Currently empty because there is no meaningful metadata populated from the
|
4786
|
-
# RemoveLocalInventories method.
|
4799
|
+
# ProductService.RemoveLocalInventories method.
|
4787
4800
|
class GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata
|
4788
4801
|
include Google::Apis::Core::Hashable
|
4789
4802
|
|
@@ -4796,8 +4809,9 @@ module Google
|
|
4796
4809
|
end
|
4797
4810
|
end
|
4798
4811
|
|
4799
|
-
# Response of the RemoveLocalInventories API. Currently empty
|
4800
|
-
# no meaningful response populated from the
|
4812
|
+
# Response of the ProductService.RemoveLocalInventories API. Currently empty
|
4813
|
+
# because there is no meaningful response populated from the ProductService.
|
4814
|
+
# RemoveLocalInventories method.
|
4801
4815
|
class GoogleCloudRetailV2betaRemoveLocalInventoriesResponse
|
4802
4816
|
include Google::Apis::Core::Hashable
|
4803
4817
|
|
@@ -4811,8 +4825,8 @@ module Google
|
|
4811
4825
|
end
|
4812
4826
|
|
4813
4827
|
# Metadata related to the progress of the SetInventory operation. Currently
|
4814
|
-
# empty because there is no meaningful metadata populated from the
|
4815
|
-
# method.
|
4828
|
+
# empty because there is no meaningful metadata populated from the
|
4829
|
+
# ProductService.SetInventory method.
|
4816
4830
|
class GoogleCloudRetailV2betaSetInventoryMetadata
|
4817
4831
|
include Google::Apis::Core::Hashable
|
4818
4832
|
|
@@ -4826,7 +4840,7 @@ module Google
|
|
4826
4840
|
end
|
4827
4841
|
|
4828
4842
|
# Response of the SetInventoryRequest. Currently empty because there is no
|
4829
|
-
# meaningful response populated from the SetInventory method.
|
4843
|
+
# meaningful response populated from the ProductService.SetInventory method.
|
4830
4844
|
class GoogleCloudRetailV2betaSetInventoryResponse
|
4831
4845
|
include Google::Apis::Core::Hashable
|
4832
4846
|
|
@@ -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.45.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220630"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -72,12 +72,13 @@ module Google
|
|
72
72
|
# `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `MOBILE` * A customized string starts with
|
73
73
|
# `OTHER_`, e.g. `OTHER_IPHONE`.
|
74
74
|
# @param [Array<String>, String] language_codes
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
75
|
+
# Note that this field applies for `user-data` dataset only. For requests with `
|
76
|
+
# cloud-retail` dataset, setting this field has no effect. The language filters
|
77
|
+
# applied to the output suggestions. If set, it should contain the language of
|
78
|
+
# the query. If not set, suggestions are returned without considering language
|
79
|
+
# restrictions. This is the BCP-47 language code, such as "en-US" or "sr-Latn".
|
80
|
+
# For more information, see [Tags for Identifying Languages](https://tools.ietf.
|
81
|
+
# org/html/bcp47). The maximum number of language codes is 3.
|
81
82
|
# @param [Fixnum] max_suggestions
|
82
83
|
# Completion max suggestions. If left unset or set to 0, then will fallback to
|
83
84
|
# the configured value CompletionConfig.max_suggestions. The maximum allowed max
|
@@ -325,9 +326,9 @@ module Google
|
|
325
326
|
# updating fulfillment information. If the request is valid, the update will be
|
326
327
|
# enqueued and processed downstream. As a consequence, when a response is
|
327
328
|
# returned, the added place IDs are not immediately manifested in the Product
|
328
|
-
# queried by GetProduct or ListProducts. This
|
329
|
-
# users who have Retail Search enabled. Please
|
330
|
-
# Console before using this feature.
|
329
|
+
# queried by ProductService.GetProduct or ProductService.ListProducts. This
|
330
|
+
# feature is only available for users who have Retail Search enabled. Please
|
331
|
+
# enable Retail Search on Cloud Console before using this feature.
|
331
332
|
# @param [String] product
|
332
333
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
333
334
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -368,11 +369,13 @@ module Google
|
|
368
369
|
# asynchronous and does not require the Product to exist before updating
|
369
370
|
# inventory information. If the request is valid, the update will be enqueued
|
370
371
|
# and processed downstream. As a consequence, when a response is returned,
|
371
|
-
# updates are not immediately manifested in the Product queried by
|
372
|
-
# ListProducts. Local inventory
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
372
|
+
# updates are not immediately manifested in the Product queried by
|
373
|
+
# ProductService.GetProduct or ProductService.ListProducts. Local inventory
|
374
|
+
# information can only be modified using this method. ProductService.
|
375
|
+
# CreateProduct and ProductService.UpdateProduct has no effect on local
|
376
|
+
# inventories. This feature is only available for users who have Retail Search
|
377
|
+
# enabled. Please enable Retail Search on Cloud Console before using this
|
378
|
+
# feature.
|
376
379
|
# @param [String] product
|
377
380
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
378
381
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -678,9 +681,9 @@ module Google
|
|
678
681
|
# updating fulfillment information. If the request is valid, the update will be
|
679
682
|
# enqueued and processed downstream. As a consequence, when a response is
|
680
683
|
# returned, the removed place IDs are not immediately manifested in the Product
|
681
|
-
# queried by GetProduct or ListProducts. This
|
682
|
-
# users who have Retail Search enabled. Please
|
683
|
-
# Console before using this feature.
|
684
|
+
# queried by ProductService.GetProduct or ProductService.ListProducts. This
|
685
|
+
# feature is only available for users who have Retail Search enabled. Please
|
686
|
+
# enable Retail Search on Cloud Console before using this feature.
|
684
687
|
# @param [String] product
|
685
688
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
686
689
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -720,10 +723,11 @@ module Google
|
|
720
723
|
# removal timestamp. This process is asynchronous. If the request is valid, the
|
721
724
|
# removal will be enqueued and processed downstream. As a consequence, when a
|
722
725
|
# response is returned, removals are not immediately manifested in the Product
|
723
|
-
# queried by GetProduct or ListProducts. Local
|
724
|
-
# removed using this method.
|
725
|
-
#
|
726
|
-
#
|
726
|
+
# queried by ProductService.GetProduct or ProductService.ListProducts. Local
|
727
|
+
# inventory information can only be removed using this method. ProductService.
|
728
|
+
# CreateProduct and ProductService.UpdateProduct has no effect on local
|
729
|
+
# inventories. This feature is only available for users who have Retail Search
|
730
|
+
# enabled. Please enable Retail Search on Cloud Console before using this
|
727
731
|
# feature.
|
728
732
|
# @param [String] product
|
729
733
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
@@ -765,19 +769,21 @@ module Google
|
|
765
769
|
# require the Product to exist before updating fulfillment information. If the
|
766
770
|
# request is valid, the update will be enqueued and processed downstream. As a
|
767
771
|
# consequence, when a response is returned, updates are not immediately
|
768
|
-
# manifested in the Product queried by GetProduct or
|
769
|
-
# inventory is updated with
|
770
|
-
#
|
771
|
-
#
|
772
|
-
#
|
773
|
-
#
|
774
|
-
#
|
775
|
-
#
|
772
|
+
# manifested in the Product queried by ProductService.GetProduct or
|
773
|
+
# ProductService.ListProducts. When inventory is updated with ProductService.
|
774
|
+
# CreateProduct and ProductService.UpdateProduct, the specified inventory field
|
775
|
+
# value(s) will overwrite any existing value(s) while ignoring the last update
|
776
|
+
# time for this field. Furthermore, the last update time for the specified
|
777
|
+
# inventory fields will be overwritten to the time of the ProductService.
|
778
|
+
# CreateProduct or ProductService.UpdateProduct request. If no inventory fields
|
779
|
+
# are set in CreateProductRequest.product, then any pre-existing inventory
|
780
|
+
# information for this product will be used. If no inventory fields are set in
|
776
781
|
# SetInventoryRequest.set_mask, then any existing inventory information will be
|
777
782
|
# preserved. Pre-existing inventory information can only be updated with
|
778
|
-
# SetInventory, ProductService.AddFulfillmentPlaces, and
|
779
|
-
# This feature is only available for
|
780
|
-
#
|
783
|
+
# ProductService.SetInventory, ProductService.AddFulfillmentPlaces, and
|
784
|
+
# ProductService.RemoveFulfillmentPlaces. This feature is only available for
|
785
|
+
# users who have Retail Search enabled. Please enable Retail Search on Cloud
|
786
|
+
# Console before using this feature.
|
781
787
|
# @param [String] name
|
782
788
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
783
789
|
# global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
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.45.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: 2022-
|
11
|
+
date: 2022-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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/main/generated/google-apis-retail_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.45.0
|
62
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: []
|