google-apis-retail_v2 0.44.0 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/retail_v2/classes.rb +48 -40
- data/lib/google/apis/retail_v2/gem_version.rb +3 -3
- data/lib/google/apis/retail_v2/service.rb +38 -32
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 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
|
@@ -2403,7 +2403,7 @@ module Google
|
|
|
2403
2403
|
|
|
2404
2404
|
# Metadata related to the progress of the RemoveFulfillmentPlaces operation.
|
|
2405
2405
|
# Currently empty because there is no meaningful metadata populated from the
|
|
2406
|
-
# RemoveFulfillmentPlaces method.
|
|
2406
|
+
# ProductService.RemoveFulfillmentPlaces method.
|
|
2407
2407
|
class GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata
|
|
2408
2408
|
include Google::Apis::Core::Hashable
|
|
2409
2409
|
|
|
@@ -2416,7 +2416,7 @@ module Google
|
|
|
2416
2416
|
end
|
|
2417
2417
|
end
|
|
2418
2418
|
|
|
2419
|
-
# Request message for RemoveFulfillmentPlaces method.
|
|
2419
|
+
# Request message for ProductService.RemoveFulfillmentPlaces method.
|
|
2420
2420
|
class GoogleCloudRetailV2RemoveFulfillmentPlacesRequest
|
|
2421
2421
|
include Google::Apis::Core::Hashable
|
|
2422
2422
|
|
|
@@ -2471,7 +2471,8 @@ module Google
|
|
|
2471
2471
|
end
|
|
2472
2472
|
|
|
2473
2473
|
# Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
|
|
2474
|
-
# is no meaningful response populated from the
|
|
2474
|
+
# is no meaningful response populated from the ProductService.
|
|
2475
|
+
# RemoveFulfillmentPlaces method.
|
|
2475
2476
|
class GoogleCloudRetailV2RemoveFulfillmentPlacesResponse
|
|
2476
2477
|
include Google::Apis::Core::Hashable
|
|
2477
2478
|
|
|
@@ -2486,7 +2487,7 @@ module Google
|
|
|
2486
2487
|
|
|
2487
2488
|
# Metadata related to the progress of the RemoveLocalInventories operation.
|
|
2488
2489
|
# Currently empty because there is no meaningful metadata populated from the
|
|
2489
|
-
# RemoveLocalInventories method.
|
|
2490
|
+
# ProductService.RemoveLocalInventories method.
|
|
2490
2491
|
class GoogleCloudRetailV2RemoveLocalInventoriesMetadata
|
|
2491
2492
|
include Google::Apis::Core::Hashable
|
|
2492
2493
|
|
|
@@ -2499,7 +2500,7 @@ module Google
|
|
|
2499
2500
|
end
|
|
2500
2501
|
end
|
|
2501
2502
|
|
|
2502
|
-
# Request message for RemoveLocalInventories method.
|
|
2503
|
+
# Request message for ProductService.RemoveLocalInventories method.
|
|
2503
2504
|
class GoogleCloudRetailV2RemoveLocalInventoriesRequest
|
|
2504
2505
|
include Google::Apis::Core::Hashable
|
|
2505
2506
|
|
|
@@ -2537,8 +2538,9 @@ module Google
|
|
|
2537
2538
|
end
|
|
2538
2539
|
end
|
|
2539
2540
|
|
|
2540
|
-
# Response of the RemoveLocalInventories API. Currently empty
|
|
2541
|
-
# 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.
|
|
2542
2544
|
class GoogleCloudRetailV2RemoveLocalInventoriesResponse
|
|
2543
2545
|
include Google::Apis::Core::Hashable
|
|
2544
2546
|
|
|
@@ -2961,13 +2963,14 @@ module Google
|
|
|
2961
2963
|
# @return [String]
|
|
2962
2964
|
attr_accessor :key
|
|
2963
2965
|
|
|
2964
|
-
# The order in which Facet.values are returned. Allowed values
|
|
2965
|
-
# desc", which means order by Facet.
|
|
2966
|
-
# which means order by Facet.
|
|
2967
|
-
# textual facets. If not set, textual values
|
|
2968
|
-
#
|
|
2969
|
-
# the order given by FacetSpec.FacetKey.
|
|
2970
|
-
# 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.
|
|
2971
2974
|
# Corresponds to the JSON property `orderBy`
|
|
2972
2975
|
# @return [String]
|
|
2973
2976
|
attr_accessor :order_by
|
|
@@ -2985,12 +2988,13 @@ module Google
|
|
|
2985
2988
|
# it will override the default behavior of facet computation. The query syntax
|
|
2986
2989
|
# is the same as a filter expression. See SearchRequest.filter for detail syntax
|
|
2987
2990
|
# and limitations. Notice that there is no limitation on FacetKey.key when query
|
|
2988
|
-
# is specified. In the response,
|
|
2989
|
-
#
|
|
2990
|
-
# example, you can set a customized facet for "
|
|
2991
|
-
# is "customizedShipToStore", and FacetKey.
|
|
2992
|
-
# IN_STOCK\") AND shipToStore: ANY(\"123\")". Then
|
|
2993
|
-
# 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".
|
|
2994
2998
|
# Corresponds to the JSON property `query`
|
|
2995
2999
|
# @return [String]
|
|
2996
3000
|
attr_accessor :query
|
|
@@ -3368,8 +3372,8 @@ module Google
|
|
|
3368
3372
|
end
|
|
3369
3373
|
|
|
3370
3374
|
# Metadata related to the progress of the SetInventory operation. Currently
|
|
3371
|
-
# empty because there is no meaningful metadata populated from the
|
|
3372
|
-
# method.
|
|
3375
|
+
# empty because there is no meaningful metadata populated from the
|
|
3376
|
+
# ProductService.SetInventory method.
|
|
3373
3377
|
class GoogleCloudRetailV2SetInventoryMetadata
|
|
3374
3378
|
include Google::Apis::Core::Hashable
|
|
3375
3379
|
|
|
@@ -3382,7 +3386,7 @@ module Google
|
|
|
3382
3386
|
end
|
|
3383
3387
|
end
|
|
3384
3388
|
|
|
3385
|
-
# Request message for SetInventory method.
|
|
3389
|
+
# Request message for ProductService.SetInventory method.
|
|
3386
3390
|
class GoogleCloudRetailV2SetInventoryRequest
|
|
3387
3391
|
include Google::Apis::Core::Hashable
|
|
3388
3392
|
|
|
@@ -3429,7 +3433,7 @@ module Google
|
|
|
3429
3433
|
end
|
|
3430
3434
|
|
|
3431
3435
|
# Response of the SetInventoryRequest. Currently empty because there is no
|
|
3432
|
-
# meaningful response populated from the SetInventory method.
|
|
3436
|
+
# meaningful response populated from the ProductService.SetInventory method.
|
|
3433
3437
|
class GoogleCloudRetailV2SetInventoryResponse
|
|
3434
3438
|
include Google::Apis::Core::Hashable
|
|
3435
3439
|
|
|
@@ -4260,7 +4264,7 @@ module Google
|
|
|
4260
4264
|
|
|
4261
4265
|
# Metadata related to the progress of the RemoveFulfillmentPlaces operation.
|
|
4262
4266
|
# Currently empty because there is no meaningful metadata populated from the
|
|
4263
|
-
# RemoveFulfillmentPlaces method.
|
|
4267
|
+
# ProductService.RemoveFulfillmentPlaces method.
|
|
4264
4268
|
class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata
|
|
4265
4269
|
include Google::Apis::Core::Hashable
|
|
4266
4270
|
|
|
@@ -4274,7 +4278,8 @@ module Google
|
|
|
4274
4278
|
end
|
|
4275
4279
|
|
|
4276
4280
|
# Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
|
|
4277
|
-
# is no meaningful response populated from the
|
|
4281
|
+
# is no meaningful response populated from the ProductService.
|
|
4282
|
+
# RemoveFulfillmentPlaces method.
|
|
4278
4283
|
class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse
|
|
4279
4284
|
include Google::Apis::Core::Hashable
|
|
4280
4285
|
|
|
@@ -4289,7 +4294,7 @@ module Google
|
|
|
4289
4294
|
|
|
4290
4295
|
# Metadata related to the progress of the RemoveLocalInventories operation.
|
|
4291
4296
|
# Currently empty because there is no meaningful metadata populated from the
|
|
4292
|
-
# RemoveLocalInventories method.
|
|
4297
|
+
# ProductService.RemoveLocalInventories method.
|
|
4293
4298
|
class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
|
|
4294
4299
|
include Google::Apis::Core::Hashable
|
|
4295
4300
|
|
|
@@ -4302,8 +4307,9 @@ module Google
|
|
|
4302
4307
|
end
|
|
4303
4308
|
end
|
|
4304
4309
|
|
|
4305
|
-
# Response of the RemoveLocalInventories API. Currently empty
|
|
4306
|
-
# 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.
|
|
4307
4313
|
class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
|
|
4308
4314
|
include Google::Apis::Core::Hashable
|
|
4309
4315
|
|
|
@@ -4317,8 +4323,8 @@ module Google
|
|
|
4317
4323
|
end
|
|
4318
4324
|
|
|
4319
4325
|
# Metadata related to the progress of the SetInventory operation. Currently
|
|
4320
|
-
# empty because there is no meaningful metadata populated from the
|
|
4321
|
-
# method.
|
|
4326
|
+
# empty because there is no meaningful metadata populated from the
|
|
4327
|
+
# ProductService.SetInventory method.
|
|
4322
4328
|
class GoogleCloudRetailV2alphaSetInventoryMetadata
|
|
4323
4329
|
include Google::Apis::Core::Hashable
|
|
4324
4330
|
|
|
@@ -4332,7 +4338,7 @@ module Google
|
|
|
4332
4338
|
end
|
|
4333
4339
|
|
|
4334
4340
|
# Response of the SetInventoryRequest. Currently empty because there is no
|
|
4335
|
-
# meaningful response populated from the SetInventory method.
|
|
4341
|
+
# meaningful response populated from the ProductService.SetInventory method.
|
|
4336
4342
|
class GoogleCloudRetailV2alphaSetInventoryResponse
|
|
4337
4343
|
include Google::Apis::Core::Hashable
|
|
4338
4344
|
|
|
@@ -4760,7 +4766,7 @@ module Google
|
|
|
4760
4766
|
|
|
4761
4767
|
# Metadata related to the progress of the RemoveFulfillmentPlaces operation.
|
|
4762
4768
|
# Currently empty because there is no meaningful metadata populated from the
|
|
4763
|
-
# RemoveFulfillmentPlaces method.
|
|
4769
|
+
# ProductService.RemoveFulfillmentPlaces method.
|
|
4764
4770
|
class GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata
|
|
4765
4771
|
include Google::Apis::Core::Hashable
|
|
4766
4772
|
|
|
@@ -4774,7 +4780,8 @@ module Google
|
|
|
4774
4780
|
end
|
|
4775
4781
|
|
|
4776
4782
|
# Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
|
|
4777
|
-
# is no meaningful response populated from the
|
|
4783
|
+
# is no meaningful response populated from the ProductService.
|
|
4784
|
+
# RemoveFulfillmentPlaces method.
|
|
4778
4785
|
class GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse
|
|
4779
4786
|
include Google::Apis::Core::Hashable
|
|
4780
4787
|
|
|
@@ -4789,7 +4796,7 @@ module Google
|
|
|
4789
4796
|
|
|
4790
4797
|
# Metadata related to the progress of the RemoveLocalInventories operation.
|
|
4791
4798
|
# Currently empty because there is no meaningful metadata populated from the
|
|
4792
|
-
# RemoveLocalInventories method.
|
|
4799
|
+
# ProductService.RemoveLocalInventories method.
|
|
4793
4800
|
class GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata
|
|
4794
4801
|
include Google::Apis::Core::Hashable
|
|
4795
4802
|
|
|
@@ -4802,8 +4809,9 @@ module Google
|
|
|
4802
4809
|
end
|
|
4803
4810
|
end
|
|
4804
4811
|
|
|
4805
|
-
# Response of the RemoveLocalInventories API. Currently empty
|
|
4806
|
-
# 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.
|
|
4807
4815
|
class GoogleCloudRetailV2betaRemoveLocalInventoriesResponse
|
|
4808
4816
|
include Google::Apis::Core::Hashable
|
|
4809
4817
|
|
|
@@ -4817,8 +4825,8 @@ module Google
|
|
|
4817
4825
|
end
|
|
4818
4826
|
|
|
4819
4827
|
# Metadata related to the progress of the SetInventory operation. Currently
|
|
4820
|
-
# empty because there is no meaningful metadata populated from the
|
|
4821
|
-
# method.
|
|
4828
|
+
# empty because there is no meaningful metadata populated from the
|
|
4829
|
+
# ProductService.SetInventory method.
|
|
4822
4830
|
class GoogleCloudRetailV2betaSetInventoryMetadata
|
|
4823
4831
|
include Google::Apis::Core::Hashable
|
|
4824
4832
|
|
|
@@ -4832,7 +4840,7 @@ module Google
|
|
|
4832
4840
|
end
|
|
4833
4841
|
|
|
4834
4842
|
# Response of the SetInventoryRequest. Currently empty because there is no
|
|
4835
|
-
# meaningful response populated from the SetInventory method.
|
|
4843
|
+
# meaningful response populated from the ProductService.SetInventory method.
|
|
4836
4844
|
class GoogleCloudRetailV2betaSetInventoryResponse
|
|
4837
4845
|
include Google::Apis::Core::Hashable
|
|
4838
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-07-
|
|
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
|
|
@@ -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: []
|