google-apis-retail_v2beta 0.32.0 → 0.35.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.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2beta
18
18
  # Version of the google-apis-retail_v2beta gem
19
- GEM_VERSION = "0.32.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220310"
25
+ REVISION = "20220408"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,18 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class GoogleCloudRetailV2AddLocalInventoriesMetadata
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudRetailV2AddLocalInventoriesResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class GoogleCloudRetailV2ImportCompletionDataResponse
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -142,6 +154,18 @@ module Google
142
154
  include Google::Apis::Core::JsonObjectSupport
143
155
  end
144
156
 
157
+ class GoogleCloudRetailV2RemoveLocalInventoriesMetadata
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudRetailV2RemoveLocalInventoriesResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
145
169
  class GoogleCloudRetailV2SetInventoryMetadata
146
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
171
 
@@ -346,6 +370,24 @@ module Google
346
370
  include Google::Apis::Core::JsonObjectSupport
347
371
  end
348
372
 
373
+ class GoogleCloudRetailV2betaAddLocalInventoriesMetadata
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class GoogleCloudRetailV2betaAddLocalInventoriesRequest
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class GoogleCloudRetailV2betaAddLocalInventoriesResponse
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
349
391
  class GoogleCloudRetailV2betaAttributesConfig
350
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
393
 
@@ -400,6 +442,12 @@ module Google
400
442
  include Google::Apis::Core::JsonObjectSupport
401
443
  end
402
444
 
445
+ class GoogleCloudRetailV2betaCompletionConfig
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
403
451
  class GoogleCloudRetailV2betaCompletionDataInputConfig
404
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
453
 
@@ -568,6 +616,24 @@ module Google
568
616
  include Google::Apis::Core::JsonObjectSupport
569
617
  end
570
618
 
619
+ class GoogleCloudRetailV2betaLocalInventory
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class GoogleCloudRetailV2betaMerchantCenterLink
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
631
+ class GoogleCloudRetailV2betaMerchantCenterLinkingConfig
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
571
637
  class GoogleCloudRetailV2betaPredictRequest
572
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
639
 
@@ -712,6 +778,24 @@ module Google
712
778
  include Google::Apis::Core::JsonObjectSupport
713
779
  end
714
780
 
781
+ class GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
787
+ class GoogleCloudRetailV2betaRemoveLocalInventoriesRequest
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
793
+ class GoogleCloudRetailV2betaRemoveLocalInventoriesResponse
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
715
799
  class GoogleCloudRetailV2betaReplaceCatalogAttributeRequest
716
800
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
801
 
@@ -1021,6 +1105,18 @@ module Google
1021
1105
  end
1022
1106
  end
1023
1107
 
1108
+ class GoogleCloudRetailV2AddLocalInventoriesMetadata
1109
+ # @private
1110
+ class Representation < Google::Apis::Core::JsonRepresentation
1111
+ end
1112
+ end
1113
+
1114
+ class GoogleCloudRetailV2AddLocalInventoriesResponse
1115
+ # @private
1116
+ class Representation < Google::Apis::Core::JsonRepresentation
1117
+ end
1118
+ end
1119
+
1024
1120
  class GoogleCloudRetailV2ImportCompletionDataResponse
1025
1121
  # @private
1026
1122
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1108,6 +1204,18 @@ module Google
1108
1204
  end
1109
1205
  end
1110
1206
 
1207
+ class GoogleCloudRetailV2RemoveLocalInventoriesMetadata
1208
+ # @private
1209
+ class Representation < Google::Apis::Core::JsonRepresentation
1210
+ end
1211
+ end
1212
+
1213
+ class GoogleCloudRetailV2RemoveLocalInventoriesResponse
1214
+ # @private
1215
+ class Representation < Google::Apis::Core::JsonRepresentation
1216
+ end
1217
+ end
1218
+
1111
1219
  class GoogleCloudRetailV2SetInventoryMetadata
1112
1220
  # @private
1113
1221
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1361,6 +1469,29 @@ module Google
1361
1469
  end
1362
1470
  end
1363
1471
 
1472
+ class GoogleCloudRetailV2betaAddLocalInventoriesMetadata
1473
+ # @private
1474
+ class Representation < Google::Apis::Core::JsonRepresentation
1475
+ end
1476
+ end
1477
+
1478
+ class GoogleCloudRetailV2betaAddLocalInventoriesRequest
1479
+ # @private
1480
+ class Representation < Google::Apis::Core::JsonRepresentation
1481
+ property :add_mask, as: 'addMask'
1482
+ property :add_time, as: 'addTime'
1483
+ property :allow_missing, as: 'allowMissing'
1484
+ collection :local_inventories, as: 'localInventories', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaLocalInventory, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaLocalInventory::Representation
1485
+
1486
+ end
1487
+ end
1488
+
1489
+ class GoogleCloudRetailV2betaAddLocalInventoriesResponse
1490
+ # @private
1491
+ class Representation < Google::Apis::Core::JsonRepresentation
1492
+ end
1493
+ end
1494
+
1364
1495
  class GoogleCloudRetailV2betaAttributesConfig
1365
1496
  # @private
1366
1497
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1396,6 +1527,8 @@ module Google
1396
1527
  # @private
1397
1528
  class Representation < Google::Apis::Core::JsonRepresentation
1398
1529
  property :display_name, as: 'displayName'
1530
+ property :merchant_center_linking_config, as: 'merchantCenterLinkingConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterLinkingConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterLinkingConfig::Representation
1531
+
1399
1532
  property :name, as: 'name'
1400
1533
  property :product_level_config, as: 'productLevelConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductLevelConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductLevelConfig::Representation
1401
1534
 
@@ -1449,6 +1582,26 @@ module Google
1449
1582
  end
1450
1583
  end
1451
1584
 
1585
+ class GoogleCloudRetailV2betaCompletionConfig
1586
+ # @private
1587
+ class Representation < Google::Apis::Core::JsonRepresentation
1588
+ property :allowlist_input_config, as: 'allowlistInputConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionDataInputConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionDataInputConfig::Representation
1589
+
1590
+ property :auto_learning, as: 'autoLearning'
1591
+ property :denylist_input_config, as: 'denylistInputConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionDataInputConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionDataInputConfig::Representation
1592
+
1593
+ property :last_allowlist_import_operation, as: 'lastAllowlistImportOperation'
1594
+ property :last_denylist_import_operation, as: 'lastDenylistImportOperation'
1595
+ property :last_suggestions_import_operation, as: 'lastSuggestionsImportOperation'
1596
+ property :matching_order, as: 'matchingOrder'
1597
+ property :max_suggestions, as: 'maxSuggestions'
1598
+ property :min_prefix_length, as: 'minPrefixLength'
1599
+ property :name, as: 'name'
1600
+ property :suggestions_input_config, as: 'suggestionsInputConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionDataInputConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionDataInputConfig::Representation
1601
+
1602
+ end
1603
+ end
1604
+
1452
1605
  class GoogleCloudRetailV2betaCompletionDataInputConfig
1453
1606
  # @private
1454
1607
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1502,7 +1655,6 @@ module Google
1502
1655
  property :name, as: 'name'
1503
1656
  property :rule, as: 'rule', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule::Representation
1504
1657
 
1505
- collection :search_solution_use_case, as: 'searchSolutionUseCase'
1506
1658
  collection :solution_types, as: 'solutionTypes'
1507
1659
  end
1508
1660
  end
@@ -1714,6 +1866,37 @@ module Google
1714
1866
  end
1715
1867
  end
1716
1868
 
1869
+ class GoogleCloudRetailV2betaLocalInventory
1870
+ # @private
1871
+ class Representation < Google::Apis::Core::JsonRepresentation
1872
+ hash :attributes, as: 'attributes', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute::Representation
1873
+
1874
+ collection :fulfillment_types, as: 'fulfillmentTypes'
1875
+ property :place_id, as: 'placeId'
1876
+ property :price_info, as: 'priceInfo', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPriceInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPriceInfo::Representation
1877
+
1878
+ end
1879
+ end
1880
+
1881
+ class GoogleCloudRetailV2betaMerchantCenterLink
1882
+ # @private
1883
+ class Representation < Google::Apis::Core::JsonRepresentation
1884
+ property :branch_id, as: 'branchId'
1885
+ collection :destinations, as: 'destinations'
1886
+ property :language_code, as: 'languageCode'
1887
+ property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
1888
+ property :region_code, as: 'regionCode'
1889
+ end
1890
+ end
1891
+
1892
+ class GoogleCloudRetailV2betaMerchantCenterLinkingConfig
1893
+ # @private
1894
+ class Representation < Google::Apis::Core::JsonRepresentation
1895
+ collection :links, as: 'links', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterLink, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterLink::Representation
1896
+
1897
+ end
1898
+ end
1899
+
1717
1900
  class GoogleCloudRetailV2betaPredictRequest
1718
1901
  # @private
1719
1902
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1960,6 +2143,27 @@ module Google
1960
2143
  end
1961
2144
  end
1962
2145
 
2146
+ class GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata
2147
+ # @private
2148
+ class Representation < Google::Apis::Core::JsonRepresentation
2149
+ end
2150
+ end
2151
+
2152
+ class GoogleCloudRetailV2betaRemoveLocalInventoriesRequest
2153
+ # @private
2154
+ class Representation < Google::Apis::Core::JsonRepresentation
2155
+ property :allow_missing, as: 'allowMissing'
2156
+ collection :place_ids, as: 'placeIds'
2157
+ property :remove_time, as: 'removeTime'
2158
+ end
2159
+ end
2160
+
2161
+ class GoogleCloudRetailV2betaRemoveLocalInventoriesResponse
2162
+ # @private
2163
+ class Representation < Google::Apis::Core::JsonRepresentation
2164
+ end
2165
+ end
2166
+
1963
2167
  class GoogleCloudRetailV2betaReplaceCatalogAttributeRequest
1964
2168
  # @private
1965
2169
  class Representation < Google::Apis::Core::JsonRepresentation