google-apis-retail_v2beta 0.31.0 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.31.0"
19
+ GEM_VERSION = "0.34.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 = "20220303"
25
+ REVISION = "20220324"
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
 
@@ -244,6 +268,18 @@ module Google
244
268
  include Google::Apis::Core::JsonObjectSupport
245
269
  end
246
270
 
271
+ class GoogleCloudRetailV2alphaPurgeProductsMetadata
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudRetailV2alphaPurgeProductsResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
247
283
  class GoogleCloudRetailV2alphaPurgeUserEventsResponse
248
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
285
 
@@ -334,6 +370,24 @@ module Google
334
370
  include Google::Apis::Core::JsonObjectSupport
335
371
  end
336
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
+
337
391
  class GoogleCloudRetailV2betaAttributesConfig
338
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
393
 
@@ -388,6 +442,12 @@ module Google
388
442
  include Google::Apis::Core::JsonObjectSupport
389
443
  end
390
444
 
445
+ class GoogleCloudRetailV2betaCompletionConfig
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
391
451
  class GoogleCloudRetailV2betaCompletionDataInputConfig
392
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
453
 
@@ -556,6 +616,24 @@ module Google
556
616
  include Google::Apis::Core::JsonObjectSupport
557
617
  end
558
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
+
559
637
  class GoogleCloudRetailV2betaPredictRequest
560
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
561
639
 
@@ -700,6 +778,24 @@ module Google
700
778
  include Google::Apis::Core::JsonObjectSupport
701
779
  end
702
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
+
703
799
  class GoogleCloudRetailV2betaReplaceCatalogAttributeRequest
704
800
  class Representation < Google::Apis::Core::JsonRepresentation; end
705
801
 
@@ -1009,6 +1105,18 @@ module Google
1009
1105
  end
1010
1106
  end
1011
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
+
1012
1120
  class GoogleCloudRetailV2ImportCompletionDataResponse
1013
1121
  # @private
1014
1122
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1096,6 +1204,18 @@ module Google
1096
1204
  end
1097
1205
  end
1098
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
+
1099
1219
  class GoogleCloudRetailV2SetInventoryMetadata
1100
1220
  # @private
1101
1221
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1230,6 +1350,24 @@ module Google
1230
1350
  end
1231
1351
  end
1232
1352
 
1353
+ class GoogleCloudRetailV2alphaPurgeProductsMetadata
1354
+ # @private
1355
+ class Representation < Google::Apis::Core::JsonRepresentation
1356
+ property :create_time, as: 'createTime'
1357
+ property :failure_count, :numeric_string => true, as: 'failureCount'
1358
+ property :success_count, :numeric_string => true, as: 'successCount'
1359
+ property :update_time, as: 'updateTime'
1360
+ end
1361
+ end
1362
+
1363
+ class GoogleCloudRetailV2alphaPurgeProductsResponse
1364
+ # @private
1365
+ class Representation < Google::Apis::Core::JsonRepresentation
1366
+ property :purge_count, :numeric_string => true, as: 'purgeCount'
1367
+ collection :purge_sample, as: 'purgeSample'
1368
+ end
1369
+ end
1370
+
1233
1371
  class GoogleCloudRetailV2alphaPurgeUserEventsResponse
1234
1372
  # @private
1235
1373
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1331,6 +1469,29 @@ module Google
1331
1469
  end
1332
1470
  end
1333
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
+
1334
1495
  class GoogleCloudRetailV2betaAttributesConfig
1335
1496
  # @private
1336
1497
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1366,6 +1527,8 @@ module Google
1366
1527
  # @private
1367
1528
  class Representation < Google::Apis::Core::JsonRepresentation
1368
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
+
1369
1532
  property :name, as: 'name'
1370
1533
  property :product_level_config, as: 'productLevelConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductLevelConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductLevelConfig::Representation
1371
1534
 
@@ -1419,6 +1582,26 @@ module Google
1419
1582
  end
1420
1583
  end
1421
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
+
1422
1605
  class GoogleCloudRetailV2betaCompletionDataInputConfig
1423
1606
  # @private
1424
1607
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1472,6 +1655,7 @@ module Google
1472
1655
  property :name, as: 'name'
1473
1656
  property :rule, as: 'rule', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule::Representation
1474
1657
 
1658
+ collection :search_solution_use_case, as: 'searchSolutionUseCase'
1475
1659
  collection :solution_types, as: 'solutionTypes'
1476
1660
  end
1477
1661
  end
@@ -1683,6 +1867,37 @@ module Google
1683
1867
  end
1684
1868
  end
1685
1869
 
1870
+ class GoogleCloudRetailV2betaLocalInventory
1871
+ # @private
1872
+ class Representation < Google::Apis::Core::JsonRepresentation
1873
+ hash :attributes, as: 'attributes', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute::Representation
1874
+
1875
+ collection :fulfillment_types, as: 'fulfillmentTypes'
1876
+ property :place_id, as: 'placeId'
1877
+ property :price_info, as: 'priceInfo', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPriceInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPriceInfo::Representation
1878
+
1879
+ end
1880
+ end
1881
+
1882
+ class GoogleCloudRetailV2betaMerchantCenterLink
1883
+ # @private
1884
+ class Representation < Google::Apis::Core::JsonRepresentation
1885
+ property :branch_id, as: 'branchId'
1886
+ collection :destinations, as: 'destinations'
1887
+ property :language_code, as: 'languageCode'
1888
+ property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
1889
+ property :region_code, as: 'regionCode'
1890
+ end
1891
+ end
1892
+
1893
+ class GoogleCloudRetailV2betaMerchantCenterLinkingConfig
1894
+ # @private
1895
+ class Representation < Google::Apis::Core::JsonRepresentation
1896
+ collection :links, as: 'links', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterLink, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterLink::Representation
1897
+
1898
+ end
1899
+ end
1900
+
1686
1901
  class GoogleCloudRetailV2betaPredictRequest
1687
1902
  # @private
1688
1903
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1929,6 +2144,27 @@ module Google
1929
2144
  end
1930
2145
  end
1931
2146
 
2147
+ class GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata
2148
+ # @private
2149
+ class Representation < Google::Apis::Core::JsonRepresentation
2150
+ end
2151
+ end
2152
+
2153
+ class GoogleCloudRetailV2betaRemoveLocalInventoriesRequest
2154
+ # @private
2155
+ class Representation < Google::Apis::Core::JsonRepresentation
2156
+ property :allow_missing, as: 'allowMissing'
2157
+ collection :place_ids, as: 'placeIds'
2158
+ property :remove_time, as: 'removeTime'
2159
+ end
2160
+ end
2161
+
2162
+ class GoogleCloudRetailV2betaRemoveLocalInventoriesResponse
2163
+ # @private
2164
+ class Representation < Google::Apis::Core::JsonRepresentation
2165
+ end
2166
+ end
2167
+
1932
2168
  class GoogleCloudRetailV2betaReplaceCatalogAttributeRequest
1933
2169
  # @private
1934
2170
  class Representation < Google::Apis::Core::JsonRepresentation