google-apis-retail_v2alpha 0.44.0 → 0.47.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0501411f8392c47a42cde2e731fe7ed38f1ecadb5932140e73faf75cdeaf9b6
4
- data.tar.gz: 55736739a79b6da3399587347b790893f467d1f1fda00baa7669e06574161d29
3
+ metadata.gz: ae40371b7c6893d7986ff15160d353f4f11aa1160c781a4a9ab6f0708caa32bb
4
+ data.tar.gz: aea4f2c7a5adf0a68209817d52936594a733f22dd9efa03f0d5fe89c6364934d
5
5
  SHA512:
6
- metadata.gz: 8f5f8596cbd6a51d121cec9041473fdf45d9bbcabe20832b486e0354ca72d3f39173ee2100d48cb2a8c53da2c2d53cf2c425d38ca852680baf011b9166e1780a
7
- data.tar.gz: f0158d3ab733de0c6df0df577dfa81ae45ff42013fef3563ed39e77612ec3dc08cd4bff869e5aec0f6b463939127f6c13121db7849bded9fcc2ff150046d76fe
6
+ metadata.gz: cee9057ebd4b51074fc0783e3268158614b4ea634822fb473c89a0ba4d35c585c1dd594f219830d4e6713d44aa9999dc56351a0d75f46c1ab55fc8a1f88ee728
7
+ data.tar.gz: ec3250f74f92b0eaf8abb2ee7a5f592b0b209f887164b9de06e8a75ac4c7d0dc961b57bc52001d2e42b4223835e35cba6131ada697226ac4a39e465df181ea68
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.47.0 (2022-07-08)
4
+
5
+ * Regenerated from discovery document revision 20220630
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.46.0 (2022-07-01)
9
+
10
+ * Regenerated from discovery document revision 20220623
11
+ * Regenerated using generator version 0.8.0
12
+
13
+ ### v0.45.0 (2022-06-23)
14
+
15
+ * Regenerated from discovery document revision 20220617
16
+ * Regenerated using generator version 0.7.0
17
+
3
18
  ### v0.44.0 (2022-06-14)
4
19
 
5
20
  * Regenerated from discovery document revision 20220609
@@ -565,7 +565,7 @@ module Google
565
565
 
566
566
  # Metadata related to the progress of the RemoveFulfillmentPlaces operation.
567
567
  # Currently empty because there is no meaningful metadata populated from the
568
- # RemoveFulfillmentPlaces method.
568
+ # ProductService.RemoveFulfillmentPlaces method.
569
569
  class GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata
570
570
  include Google::Apis::Core::Hashable
571
571
 
@@ -579,7 +579,8 @@ module Google
579
579
  end
580
580
 
581
581
  # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
582
- # is no meaningful response populated from the RemoveFulfillmentPlaces method.
582
+ # is no meaningful response populated from the ProductService.
583
+ # RemoveFulfillmentPlaces method.
583
584
  class GoogleCloudRetailV2RemoveFulfillmentPlacesResponse
584
585
  include Google::Apis::Core::Hashable
585
586
 
@@ -594,7 +595,7 @@ module Google
594
595
 
595
596
  # Metadata related to the progress of the RemoveLocalInventories operation.
596
597
  # Currently empty because there is no meaningful metadata populated from the
597
- # RemoveLocalInventories method.
598
+ # ProductService.RemoveLocalInventories method.
598
599
  class GoogleCloudRetailV2RemoveLocalInventoriesMetadata
599
600
  include Google::Apis::Core::Hashable
600
601
 
@@ -607,8 +608,9 @@ module Google
607
608
  end
608
609
  end
609
610
 
610
- # Response of the RemoveLocalInventories API. Currently empty because there is
611
- # no meaningful response populated from the RemoveLocalInventories method.
611
+ # Response of the ProductService.RemoveLocalInventories API. Currently empty
612
+ # because there is no meaningful response populated from the ProductService.
613
+ # RemoveLocalInventories method.
612
614
  class GoogleCloudRetailV2RemoveLocalInventoriesResponse
613
615
  include Google::Apis::Core::Hashable
614
616
 
@@ -622,8 +624,8 @@ module Google
622
624
  end
623
625
 
624
626
  # Metadata related to the progress of the SetInventory operation. Currently
625
- # empty because there is no meaningful metadata populated from the SetInventory
626
- # method.
627
+ # empty because there is no meaningful metadata populated from the
628
+ # ProductService.SetInventory method.
627
629
  class GoogleCloudRetailV2SetInventoryMetadata
628
630
  include Google::Apis::Core::Hashable
629
631
 
@@ -637,7 +639,7 @@ module Google
637
639
  end
638
640
 
639
641
  # Response of the SetInventoryRequest. Currently empty because there is no
640
- # meaningful response populated from the SetInventory method.
642
+ # meaningful response populated from the ProductService.SetInventory method.
641
643
  class GoogleCloudRetailV2SetInventoryResponse
642
644
  include Google::Apis::Core::Hashable
643
645
 
@@ -1108,11 +1110,22 @@ module Google
1108
1110
  attr_accessor :indexable_option
1109
1111
 
1110
1112
  # Required. Attribute name. For example: `color`, `brands`, `attributes.
1111
- # custom_attribute`, such as `attributes.xyz`.
1113
+ # custom_attribute`, such as `attributes.xyz`. To be indexable, the attribute
1114
+ # name can contain only alpha-numeric characters and underscores. For example,
1115
+ # an attribute named `attributes.abc_xyz` can be indexed, but an attribute named
1116
+ # `attributes.abc-xyz` cannot be indexed.
1112
1117
  # Corresponds to the JSON property `key`
1113
1118
  # @return [String]
1114
1119
  attr_accessor :key
1115
1120
 
1121
+ # When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG,
1122
+ # if RECOMMENDATIONS_FILTERING_ENABLED, attribute values are filterable for
1123
+ # recommendations. This option works for categorical features only, does not
1124
+ # work for numerical features, inventory filtering.
1125
+ # Corresponds to the JSON property `recommendationsFilteringOption`
1126
+ # @return [String]
1127
+ attr_accessor :recommendations_filtering_option
1128
+
1116
1129
  # When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG,
1117
1130
  # if SEARCHABLE_ENABLED, attribute values are searchable by text queries in
1118
1131
  # SearchService.Search. If SEARCHABLE_ENABLED but attribute type is numerical,
@@ -1138,6 +1151,7 @@ module Google
1138
1151
  @in_use = args[:in_use] if args.key?(:in_use)
1139
1152
  @indexable_option = args[:indexable_option] if args.key?(:indexable_option)
1140
1153
  @key = args[:key] if args.key?(:key)
1154
+ @recommendations_filtering_option = args[:recommendations_filtering_option] if args.key?(:recommendations_filtering_option)
1141
1155
  @searchable_option = args[:searchable_option] if args.key?(:searchable_option)
1142
1156
  @type = args[:type] if args.key?(:type)
1143
1157
  end
@@ -1297,14 +1311,16 @@ module Google
1297
1311
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompletionDataInputConfig]
1298
1312
  attr_accessor :denylist_input_config
1299
1313
 
1300
- # Output only. LRO corresponding to the latest allowlist import. Can use
1301
- # GetOperation API to retrieve the latest state of the Long Running Operation.
1314
+ # Output only. Name of the LRO corresponding to the latest allowlist import. Can
1315
+ # use GetOperation API to retrieve the latest state of the Long Running
1316
+ # Operation.
1302
1317
  # Corresponds to the JSON property `lastAllowlistImportOperation`
1303
1318
  # @return [String]
1304
1319
  attr_accessor :last_allowlist_import_operation
1305
1320
 
1306
- # Output only. LRO corresponding to the latest denylist import. Can use
1307
- # GetOperation API to retrieve the latest state of the Long Running Operation.
1321
+ # Output only. Name of the LRO corresponding to the latest denylist import. Can
1322
+ # use GetOperation API to retrieve the latest state of the Long Running
1323
+ # Operation.
1308
1324
  # Corresponds to the JSON property `lastDenylistImportOperation`
1309
1325
  # @return [String]
1310
1326
  attr_accessor :last_denylist_import_operation
@@ -2459,7 +2475,11 @@ module Google
2459
2475
  # only want results strictly matching the filters, set `strictFiltering` to True
2460
2476
  # in `PredictRequest.params` to receive empty results instead. Note that the API
2461
2477
  # will never return items with storageStatus of "EXPIRED" or "DELETED"
2462
- # regardless of filter choices.
2478
+ # regardless of filter choices. If `filterSyntaxV2` is set to true under the `
2479
+ # params` field, then attribute based expressions are expected instead of the
2480
+ # above described tag-based syntax. Examples: * (colors: ANY("Red", "Blue")) AND
2481
+ # NOT (categories: ANY("Phones")) * (availability: ANY("IN_STOCK")) AND (colors:
2482
+ # ANY("Red") OR categories: ANY("Phones"))
2463
2483
  # Corresponds to the JSON property `filter`
2464
2484
  # @return [String]
2465
2485
  attr_accessor :filter
@@ -2508,7 +2528,9 @@ module Google
2508
2528
  # price. * `diversityLevel`: String. Default empty. If set to be non-empty, then
2509
2529
  # it needs to be one of `'no-diversity', 'low-diversity', 'medium-diversity', '
2510
2530
  # high-diversity', 'auto-diversity'`. This gives request-level control and
2511
- # adjusts prediction results based on product category.
2531
+ # adjusts prediction results based on product category. * `filterSyntaxV2`:
2532
+ # Boolean. False by default. If set to true, the `filter` field will be
2533
+ # interpreteted according to the new, attribute-based syntax.
2512
2534
  # Corresponds to the JSON property `params`
2513
2535
  # @return [Hash<String,Object>]
2514
2536
  attr_accessor :params
@@ -3594,7 +3616,7 @@ module Google
3594
3616
 
3595
3617
  # Metadata related to the progress of the RemoveFulfillmentPlaces operation.
3596
3618
  # Currently empty because there is no meaningful metadata populated from the
3597
- # RemoveFulfillmentPlaces method.
3619
+ # ProductService.RemoveFulfillmentPlaces method.
3598
3620
  class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata
3599
3621
  include Google::Apis::Core::Hashable
3600
3622
 
@@ -3607,7 +3629,7 @@ module Google
3607
3629
  end
3608
3630
  end
3609
3631
 
3610
- # Request message for RemoveFulfillmentPlaces method.
3632
+ # Request message for ProductService.RemoveFulfillmentPlaces method.
3611
3633
  class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesRequest
3612
3634
  include Google::Apis::Core::Hashable
3613
3635
 
@@ -3662,7 +3684,8 @@ module Google
3662
3684
  end
3663
3685
 
3664
3686
  # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
3665
- # is no meaningful response populated from the RemoveFulfillmentPlaces method.
3687
+ # is no meaningful response populated from the ProductService.
3688
+ # RemoveFulfillmentPlaces method.
3666
3689
  class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse
3667
3690
  include Google::Apis::Core::Hashable
3668
3691
 
@@ -3677,7 +3700,7 @@ module Google
3677
3700
 
3678
3701
  # Metadata related to the progress of the RemoveLocalInventories operation.
3679
3702
  # Currently empty because there is no meaningful metadata populated from the
3680
- # RemoveLocalInventories method.
3703
+ # ProductService.RemoveLocalInventories method.
3681
3704
  class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
3682
3705
  include Google::Apis::Core::Hashable
3683
3706
 
@@ -3690,7 +3713,7 @@ module Google
3690
3713
  end
3691
3714
  end
3692
3715
 
3693
- # Request message for RemoveLocalInventories method.
3716
+ # Request message for ProductService.RemoveLocalInventories method.
3694
3717
  class GoogleCloudRetailV2alphaRemoveLocalInventoriesRequest
3695
3718
  include Google::Apis::Core::Hashable
3696
3719
 
@@ -3728,8 +3751,9 @@ module Google
3728
3751
  end
3729
3752
  end
3730
3753
 
3731
- # Response of the RemoveLocalInventories API. Currently empty because there is
3732
- # no meaningful response populated from the RemoveLocalInventories method.
3754
+ # Response of the ProductService.RemoveLocalInventories API. Currently empty
3755
+ # because there is no meaningful response populated from the ProductService.
3756
+ # RemoveLocalInventories method.
3733
3757
  class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
3734
3758
  include Google::Apis::Core::Hashable
3735
3759
 
@@ -4516,13 +4540,14 @@ module Google
4516
4540
  # @return [String]
4517
4541
  attr_accessor :key
4518
4542
 
4519
- # The order in which Facet.values are returned. Allowed values are: * "count
4520
- # desc", which means order by Facet.FacetValue.count descending. * "value desc",
4521
- # which means order by Facet.FacetValue.value descending. Only applies to
4522
- # textual facets. If not set, textual values are sorted in [natural order](https:
4523
- # //en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in
4524
- # the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are
4525
- # sorted in the order given by FacetSpec.FacetKey.restricted_values.
4543
+ # The order in which SearchResponse.Facet.values are returned. Allowed values
4544
+ # are: * "count desc", which means order by SearchResponse.Facet.values.count
4545
+ # descending. * "value desc", which means order by SearchResponse.Facet.values.
4546
+ # value descending. Only applies to textual facets. If not set, textual values
4547
+ # are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order)
4548
+ # ; numerical intervals are sorted in the order given by FacetSpec.FacetKey.
4549
+ # intervals; FulfillmentInfo.place_ids are sorted in the order given by
4550
+ # FacetSpec.FacetKey.restricted_values.
4526
4551
  # Corresponds to the JSON property `orderBy`
4527
4552
  # @return [String]
4528
4553
  attr_accessor :order_by
@@ -4540,12 +4565,13 @@ module Google
4540
4565
  # it will override the default behavior of facet computation. The query syntax
4541
4566
  # is the same as a filter expression. See SearchRequest.filter for detail syntax
4542
4567
  # and limitations. Notice that there is no limitation on FacetKey.key when query
4543
- # is specified. In the response, FacetValue.value will be always "1" and
4544
- # FacetValue.count will be the number of results that matches the query. For
4545
- # example, you can set a customized facet for "shipToStore", where FacetKey.key
4546
- # is "customizedShipToStore", and FacetKey.query is "availability: ANY(\"
4547
- # IN_STOCK\") AND shipToStore: ANY(\"123\")". Then the facet will count the
4548
- # products that are both in stock and ship to store "123".
4568
+ # is specified. In the response, SearchResponse.Facet.values.value will be
4569
+ # always "1" and SearchResponse.Facet.values.count will be the number of results
4570
+ # that match the query. For example, you can set a customized facet for "
4571
+ # shipToStore", where FacetKey.key is "customizedShipToStore", and FacetKey.
4572
+ # query is "availability: ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")". Then
4573
+ # the facet will count the products that are both in stock and ship to store "
4574
+ # 123".
4549
4575
  # Corresponds to the JSON property `query`
4550
4576
  # @return [String]
4551
4577
  attr_accessor :query
@@ -5100,8 +5126,8 @@ module Google
5100
5126
  end
5101
5127
 
5102
5128
  # Metadata related to the progress of the SetInventory operation. Currently
5103
- # empty because there is no meaningful metadata populated from the SetInventory
5104
- # method.
5129
+ # empty because there is no meaningful metadata populated from the
5130
+ # ProductService.SetInventory method.
5105
5131
  class GoogleCloudRetailV2alphaSetInventoryMetadata
5106
5132
  include Google::Apis::Core::Hashable
5107
5133
 
@@ -5114,7 +5140,7 @@ module Google
5114
5140
  end
5115
5141
  end
5116
5142
 
5117
- # Request message for SetInventory method.
5143
+ # Request message for ProductService.SetInventory method.
5118
5144
  class GoogleCloudRetailV2alphaSetInventoryRequest
5119
5145
  include Google::Apis::Core::Hashable
5120
5146
 
@@ -5161,7 +5187,7 @@ module Google
5161
5187
  end
5162
5188
 
5163
5189
  # Response of the SetInventoryRequest. Currently empty because there is no
5164
- # meaningful response populated from the SetInventory method.
5190
+ # meaningful response populated from the ProductService.SetInventory method.
5165
5191
  class GoogleCloudRetailV2alphaSetInventoryResponse
5166
5192
  include Google::Apis::Core::Hashable
5167
5193
 
@@ -5924,7 +5950,7 @@ module Google
5924
5950
 
5925
5951
  # Metadata related to the progress of the RemoveFulfillmentPlaces operation.
5926
5952
  # Currently empty because there is no meaningful metadata populated from the
5927
- # RemoveFulfillmentPlaces method.
5953
+ # ProductService.RemoveFulfillmentPlaces method.
5928
5954
  class GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata
5929
5955
  include Google::Apis::Core::Hashable
5930
5956
 
@@ -5938,7 +5964,8 @@ module Google
5938
5964
  end
5939
5965
 
5940
5966
  # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
5941
- # is no meaningful response populated from the RemoveFulfillmentPlaces method.
5967
+ # is no meaningful response populated from the ProductService.
5968
+ # RemoveFulfillmentPlaces method.
5942
5969
  class GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse
5943
5970
  include Google::Apis::Core::Hashable
5944
5971
 
@@ -5953,7 +5980,7 @@ module Google
5953
5980
 
5954
5981
  # Metadata related to the progress of the RemoveLocalInventories operation.
5955
5982
  # Currently empty because there is no meaningful metadata populated from the
5956
- # RemoveLocalInventories method.
5983
+ # ProductService.RemoveLocalInventories method.
5957
5984
  class GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata
5958
5985
  include Google::Apis::Core::Hashable
5959
5986
 
@@ -5966,8 +5993,9 @@ module Google
5966
5993
  end
5967
5994
  end
5968
5995
 
5969
- # Response of the RemoveLocalInventories API. Currently empty because there is
5970
- # no meaningful response populated from the RemoveLocalInventories method.
5996
+ # Response of the ProductService.RemoveLocalInventories API. Currently empty
5997
+ # because there is no meaningful response populated from the ProductService.
5998
+ # RemoveLocalInventories method.
5971
5999
  class GoogleCloudRetailV2betaRemoveLocalInventoriesResponse
5972
6000
  include Google::Apis::Core::Hashable
5973
6001
 
@@ -5981,8 +6009,8 @@ module Google
5981
6009
  end
5982
6010
 
5983
6011
  # Metadata related to the progress of the SetInventory operation. Currently
5984
- # empty because there is no meaningful metadata populated from the SetInventory
5985
- # method.
6012
+ # empty because there is no meaningful metadata populated from the
6013
+ # ProductService.SetInventory method.
5986
6014
  class GoogleCloudRetailV2betaSetInventoryMetadata
5987
6015
  include Google::Apis::Core::Hashable
5988
6016
 
@@ -5996,7 +6024,7 @@ module Google
5996
6024
  end
5997
6025
 
5998
6026
  # Response of the SetInventoryRequest. Currently empty because there is no
5999
- # meaningful response populated from the SetInventory method.
6027
+ # meaningful response populated from the ProductService.SetInventory method.
6000
6028
  class GoogleCloudRetailV2betaSetInventoryResponse
6001
6029
  include Google::Apis::Core::Hashable
6002
6030
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2alpha
18
18
  # Version of the google-apis-retail_v2alpha gem
19
- GEM_VERSION = "0.44.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.6.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220609"
25
+ REVISION = "20220630"
26
26
  end
27
27
  end
28
28
  end
@@ -1358,6 +1358,7 @@ module Google
1358
1358
  property :in_use, as: 'inUse'
1359
1359
  property :indexable_option, as: 'indexableOption'
1360
1360
  property :key, as: 'key'
1361
+ property :recommendations_filtering_option, as: 'recommendationsFilteringOption'
1361
1362
  property :searchable_option, as: 'searchableOption'
1362
1363
  property :type, as: 'type'
1363
1364
  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
- # The language filters applied to the output suggestions. If set, it should
76
- # contain the language of the query. If not set, suggestions are returned
77
- # without considering language restrictions. This is the BCP-47 language code,
78
- # such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying
79
- # Languages](https://tools.ietf.org/html/bcp47). The maximum number of language
80
- # codes is 3.
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
@@ -578,9 +579,9 @@ module Google
578
579
  # updating fulfillment information. If the request is valid, the update will be
579
580
  # enqueued and processed downstream. As a consequence, when a response is
580
581
  # returned, the added place IDs are not immediately manifested in the Product
581
- # queried by GetProduct or ListProducts. This feature is only available for
582
- # users who have Retail Search enabled. Please enable Retail Search on Cloud
583
- # Console before using this feature.
582
+ # queried by ProductService.GetProduct or ProductService.ListProducts. This
583
+ # feature is only available for users who have Retail Search enabled. Please
584
+ # enable Retail Search on Cloud Console before using this feature.
584
585
  # @param [String] product
585
586
  # Required. Full resource name of Product, such as `projects/*/locations/global/
586
587
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -621,11 +622,13 @@ module Google
621
622
  # asynchronous and does not require the Product to exist before updating
622
623
  # inventory information. If the request is valid, the update will be enqueued
623
624
  # and processed downstream. As a consequence, when a response is returned,
624
- # updates are not immediately manifested in the Product queried by GetProduct or
625
- # ListProducts. Local inventory information can only be modified using this
626
- # method. CreateProduct and UpdateProduct has no effect on local inventories.
627
- # This feature is only available for users who have Retail Search enabled.
628
- # Please enable Retail Search on Cloud Console before using this feature.
625
+ # updates are not immediately manifested in the Product queried by
626
+ # ProductService.GetProduct or ProductService.ListProducts. Local inventory
627
+ # information can only be modified using this method. ProductService.
628
+ # CreateProduct and ProductService.UpdateProduct has no effect on local
629
+ # inventories. This feature is only available for users who have Retail Search
630
+ # enabled. Please enable Retail Search on Cloud Console before using this
631
+ # feature.
629
632
  # @param [String] product
630
633
  # Required. Full resource name of Product, such as `projects/*/locations/global/
631
634
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -935,9 +938,10 @@ module Google
935
938
  # asynchronous. If the request is valid, the removal will be enqueued and
936
939
  # processed offline. Depending on the number of Products, this operation could
937
940
  # take hours to complete. Before the operation completes, some Products may
938
- # still be returned by GetProduct or ListProducts. Depending on the number of
939
- # Products, this operation could take hours to complete. To get a sample of
940
- # Products that would be deleted, set PurgeProductsRequest.force to false.
941
+ # still be returned by ProductService.GetProduct or ProductService.ListProducts.
942
+ # Depending on the number of Products, this operation could take hours to
943
+ # complete. To get a sample of Products that would be deleted, set
944
+ # PurgeProductsRequest.force to false.
941
945
  # @param [String] parent
942
946
  # Required. The resource name of the branch under which the products are created.
943
947
  # The format is `projects/$`projectId`/locations/global/catalogs/$`catalogId`/
@@ -977,9 +981,9 @@ module Google
977
981
  # updating fulfillment information. If the request is valid, the update will be
978
982
  # enqueued and processed downstream. As a consequence, when a response is
979
983
  # returned, the removed place IDs are not immediately manifested in the Product
980
- # queried by GetProduct or ListProducts. This feature is only available for
981
- # users who have Retail Search enabled. Please enable Retail Search on Cloud
982
- # Console before using this feature.
984
+ # queried by ProductService.GetProduct or ProductService.ListProducts. This
985
+ # feature is only available for users who have Retail Search enabled. Please
986
+ # enable Retail Search on Cloud Console before using this feature.
983
987
  # @param [String] product
984
988
  # Required. Full resource name of Product, such as `projects/*/locations/global/
985
989
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -1019,10 +1023,11 @@ module Google
1019
1023
  # removal timestamp. This process is asynchronous. If the request is valid, the
1020
1024
  # removal will be enqueued and processed downstream. As a consequence, when a
1021
1025
  # response is returned, removals are not immediately manifested in the Product
1022
- # queried by GetProduct or ListProducts. Local inventory information can only be
1023
- # removed using this method. CreateProduct and UpdateProduct has no effect on
1024
- # local inventories. This feature is only available for users who have Retail
1025
- # Search enabled. Please enable Retail Search on Cloud Console before using this
1026
+ # queried by ProductService.GetProduct or ProductService.ListProducts. Local
1027
+ # inventory information can only be removed using this method. ProductService.
1028
+ # CreateProduct and ProductService.UpdateProduct has no effect on local
1029
+ # inventories. This feature is only available for users who have Retail Search
1030
+ # enabled. Please enable Retail Search on Cloud Console before using this
1026
1031
  # feature.
1027
1032
  # @param [String] product
1028
1033
  # Required. Full resource name of Product, such as `projects/*/locations/global/
@@ -1064,19 +1069,21 @@ module Google
1064
1069
  # require the Product to exist before updating fulfillment information. If the
1065
1070
  # request is valid, the update will be enqueued and processed downstream. As a
1066
1071
  # consequence, when a response is returned, updates are not immediately
1067
- # manifested in the Product queried by GetProduct or ListProducts. When
1068
- # inventory is updated with CreateProduct and UpdateProduct, the specified
1069
- # inventory field value(s) will overwrite any existing value(s) while ignoring
1070
- # the last update time for this field. Furthermore, the last update time for the
1071
- # specified inventory fields will be overwritten to the time of the
1072
- # CreateProduct or UpdateProduct request. If no inventory fields are set in
1073
- # CreateProductRequest.product, then any pre-existing inventory information for
1074
- # this product will be used. If no inventory fields are set in
1072
+ # manifested in the Product queried by ProductService.GetProduct or
1073
+ # ProductService.ListProducts. When inventory is updated with ProductService.
1074
+ # CreateProduct and ProductService.UpdateProduct, the specified inventory field
1075
+ # value(s) will overwrite any existing value(s) while ignoring the last update
1076
+ # time for this field. Furthermore, the last update time for the specified
1077
+ # inventory fields will be overwritten to the time of the ProductService.
1078
+ # CreateProduct or ProductService.UpdateProduct request. If no inventory fields
1079
+ # are set in CreateProductRequest.product, then any pre-existing inventory
1080
+ # information for this product will be used. If no inventory fields are set in
1075
1081
  # SetInventoryRequest.set_mask, then any existing inventory information will be
1076
1082
  # preserved. Pre-existing inventory information can only be updated with
1077
- # SetInventory, ProductService.AddFulfillmentPlaces, and RemoveFulfillmentPlaces.
1078
- # This feature is only available for users who have Retail Search enabled.
1079
- # Please enable Retail Search on Cloud Console before using this feature.
1083
+ # ProductService.SetInventory, ProductService.AddFulfillmentPlaces, and
1084
+ # ProductService.RemoveFulfillmentPlaces. This feature is only available for
1085
+ # users who have Retail Search enabled. Please enable Retail Search on Cloud
1086
+ # Console before using this feature.
1080
1087
  # @param [String] name
1081
1088
  # Immutable. Full resource name of the product, such as `projects/*/locations/
1082
1089
  # 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_v2alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.47.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-06-20 00:00:00.000000000 Z
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.5'
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.5'
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_v2alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.47.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
63
63
  post_install_message:
64
64
  rdoc_options: []