google-apis-retail_v2 0.49.0 → 0.52.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 RetailV2
18
18
  # Version of the google-apis-retail_v2 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220729"
25
+ REVISION = "20220822"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class GoogleCloudRetailV2AddControlRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class GoogleCloudRetailV2AddFulfillmentPlacesMetadata
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -178,6 +184,30 @@ module Google
178
184
  include Google::Apis::Core::JsonObjectSupport
179
185
  end
180
186
 
187
+ class GoogleCloudRetailV2Condition
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleCloudRetailV2ConditionQueryTerm
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleCloudRetailV2ConditionTimeRange
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudRetailV2Control
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
181
211
  class GoogleCloudRetailV2CustomAttribute
182
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
213
 
@@ -268,12 +298,24 @@ module Google
268
298
  include Google::Apis::Core::JsonObjectSupport
269
299
  end
270
300
 
301
+ class GoogleCloudRetailV2ListControlsResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
271
307
  class GoogleCloudRetailV2ListProductsResponse
272
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
309
 
274
310
  include Google::Apis::Core::JsonObjectSupport
275
311
  end
276
312
 
313
+ class GoogleCloudRetailV2ListServingConfigsResponse
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
277
319
  class GoogleCloudRetailV2LocalInventory
278
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
321
 
@@ -400,6 +442,12 @@ module Google
400
442
  include Google::Apis::Core::JsonObjectSupport
401
443
  end
402
444
 
445
+ class GoogleCloudRetailV2RemoveControlRequest
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
403
451
  class GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata
404
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
453
 
@@ -436,6 +484,66 @@ module Google
436
484
  include Google::Apis::Core::JsonObjectSupport
437
485
  end
438
486
 
487
+ class GoogleCloudRetailV2ReplaceCatalogAttributeRequest
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class GoogleCloudRetailV2Rule
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class GoogleCloudRetailV2RuleBoostAction
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class GoogleCloudRetailV2RuleDoNotAssociateAction
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class GoogleCloudRetailV2RuleFilterAction
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class GoogleCloudRetailV2RuleIgnoreAction
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class GoogleCloudRetailV2RuleOnewaySynonymsAction
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class GoogleCloudRetailV2RuleRedirectAction
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class GoogleCloudRetailV2RuleReplacementAction
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
541
+ class GoogleCloudRetailV2RuleTwowaySynonymsAction
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
439
547
  class GoogleCloudRetailV2SearchRequest
440
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
549
 
@@ -520,6 +628,12 @@ module Google
520
628
  include Google::Apis::Core::JsonObjectSupport
521
629
  end
522
630
 
631
+ class GoogleCloudRetailV2ServingConfig
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
523
637
  class GoogleCloudRetailV2SetDefaultBranchRequest
524
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
639
 
@@ -1059,6 +1173,13 @@ module Google
1059
1173
  end
1060
1174
  end
1061
1175
 
1176
+ class GoogleCloudRetailV2AddControlRequest
1177
+ # @private
1178
+ class Representation < Google::Apis::Core::JsonRepresentation
1179
+ property :control_id, as: 'controlId'
1180
+ end
1181
+ end
1182
+
1062
1183
  class GoogleCloudRetailV2AddFulfillmentPlacesMetadata
1063
1184
  # @private
1064
1185
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1229,6 +1350,45 @@ module Google
1229
1350
  end
1230
1351
  end
1231
1352
 
1353
+ class GoogleCloudRetailV2Condition
1354
+ # @private
1355
+ class Representation < Google::Apis::Core::JsonRepresentation
1356
+ collection :active_time_range, as: 'activeTimeRange', class: Google::Apis::RetailV2::GoogleCloudRetailV2ConditionTimeRange, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ConditionTimeRange::Representation
1357
+
1358
+ collection :query_terms, as: 'queryTerms', class: Google::Apis::RetailV2::GoogleCloudRetailV2ConditionQueryTerm, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ConditionQueryTerm::Representation
1359
+
1360
+ end
1361
+ end
1362
+
1363
+ class GoogleCloudRetailV2ConditionQueryTerm
1364
+ # @private
1365
+ class Representation < Google::Apis::Core::JsonRepresentation
1366
+ property :full_match, as: 'fullMatch'
1367
+ property :value, as: 'value'
1368
+ end
1369
+ end
1370
+
1371
+ class GoogleCloudRetailV2ConditionTimeRange
1372
+ # @private
1373
+ class Representation < Google::Apis::Core::JsonRepresentation
1374
+ property :end_time, as: 'endTime'
1375
+ property :start_time, as: 'startTime'
1376
+ end
1377
+ end
1378
+
1379
+ class GoogleCloudRetailV2Control
1380
+ # @private
1381
+ class Representation < Google::Apis::Core::JsonRepresentation
1382
+ collection :associated_serving_config_ids, as: 'associatedServingConfigIds'
1383
+ property :display_name, as: 'displayName'
1384
+ property :name, as: 'name'
1385
+ property :rule, as: 'rule', class: Google::Apis::RetailV2::GoogleCloudRetailV2Rule, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Rule::Representation
1386
+
1387
+ collection :search_solution_use_case, as: 'searchSolutionUseCase'
1388
+ collection :solution_types, as: 'solutionTypes'
1389
+ end
1390
+ end
1391
+
1232
1392
  class GoogleCloudRetailV2CustomAttribute
1233
1393
  # @private
1234
1394
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1374,6 +1534,15 @@ module Google
1374
1534
  end
1375
1535
  end
1376
1536
 
1537
+ class GoogleCloudRetailV2ListControlsResponse
1538
+ # @private
1539
+ class Representation < Google::Apis::Core::JsonRepresentation
1540
+ collection :controls, as: 'controls', class: Google::Apis::RetailV2::GoogleCloudRetailV2Control, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Control::Representation
1541
+
1542
+ property :next_page_token, as: 'nextPageToken'
1543
+ end
1544
+ end
1545
+
1377
1546
  class GoogleCloudRetailV2ListProductsResponse
1378
1547
  # @private
1379
1548
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1383,6 +1552,15 @@ module Google
1383
1552
  end
1384
1553
  end
1385
1554
 
1555
+ class GoogleCloudRetailV2ListServingConfigsResponse
1556
+ # @private
1557
+ class Representation < Google::Apis::Core::JsonRepresentation
1558
+ property :next_page_token, as: 'nextPageToken'
1559
+ collection :serving_configs, as: 'servingConfigs', class: Google::Apis::RetailV2::GoogleCloudRetailV2ServingConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ServingConfig::Representation
1560
+
1561
+ end
1562
+ end
1563
+
1386
1564
  class GoogleCloudRetailV2LocalInventory
1387
1565
  # @private
1388
1566
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1477,6 +1655,8 @@ module Google
1477
1655
  collection :images, as: 'images', class: Google::Apis::RetailV2::GoogleCloudRetailV2Image, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Image::Representation
1478
1656
 
1479
1657
  property :language_code, as: 'languageCode'
1658
+ collection :local_inventories, as: 'localInventories', class: Google::Apis::RetailV2::GoogleCloudRetailV2LocalInventory, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2LocalInventory::Representation
1659
+
1480
1660
  collection :materials, as: 'materials'
1481
1661
  property :name, as: 'name'
1482
1662
  collection :patterns, as: 'patterns'
@@ -1612,6 +1792,13 @@ module Google
1612
1792
  end
1613
1793
  end
1614
1794
 
1795
+ class GoogleCloudRetailV2RemoveControlRequest
1796
+ # @private
1797
+ class Representation < Google::Apis::Core::JsonRepresentation
1798
+ property :control_id, as: 'controlId'
1799
+ end
1800
+ end
1801
+
1615
1802
  class GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata
1616
1803
  # @private
1617
1804
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1655,6 +1842,102 @@ module Google
1655
1842
  end
1656
1843
  end
1657
1844
 
1845
+ class GoogleCloudRetailV2ReplaceCatalogAttributeRequest
1846
+ # @private
1847
+ class Representation < Google::Apis::Core::JsonRepresentation
1848
+ property :catalog_attribute, as: 'catalogAttribute', class: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttribute, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttribute::Representation
1849
+
1850
+ property :update_mask, as: 'updateMask'
1851
+ end
1852
+ end
1853
+
1854
+ class GoogleCloudRetailV2Rule
1855
+ # @private
1856
+ class Representation < Google::Apis::Core::JsonRepresentation
1857
+ property :boost_action, as: 'boostAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleBoostAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleBoostAction::Representation
1858
+
1859
+ property :condition, as: 'condition', class: Google::Apis::RetailV2::GoogleCloudRetailV2Condition, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Condition::Representation
1860
+
1861
+ property :do_not_associate_action, as: 'doNotAssociateAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleDoNotAssociateAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleDoNotAssociateAction::Representation
1862
+
1863
+ property :filter_action, as: 'filterAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleFilterAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleFilterAction::Representation
1864
+
1865
+ property :ignore_action, as: 'ignoreAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleIgnoreAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleIgnoreAction::Representation
1866
+
1867
+ property :oneway_synonyms_action, as: 'onewaySynonymsAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleOnewaySynonymsAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleOnewaySynonymsAction::Representation
1868
+
1869
+ property :redirect_action, as: 'redirectAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleRedirectAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleRedirectAction::Representation
1870
+
1871
+ property :replacement_action, as: 'replacementAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleReplacementAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleReplacementAction::Representation
1872
+
1873
+ property :twoway_synonyms_action, as: 'twowaySynonymsAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleTwowaySynonymsAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleTwowaySynonymsAction::Representation
1874
+
1875
+ end
1876
+ end
1877
+
1878
+ class GoogleCloudRetailV2RuleBoostAction
1879
+ # @private
1880
+ class Representation < Google::Apis::Core::JsonRepresentation
1881
+ property :boost, as: 'boost'
1882
+ property :products_filter, as: 'productsFilter'
1883
+ end
1884
+ end
1885
+
1886
+ class GoogleCloudRetailV2RuleDoNotAssociateAction
1887
+ # @private
1888
+ class Representation < Google::Apis::Core::JsonRepresentation
1889
+ collection :do_not_associate_terms, as: 'doNotAssociateTerms'
1890
+ collection :query_terms, as: 'queryTerms'
1891
+ collection :terms, as: 'terms'
1892
+ end
1893
+ end
1894
+
1895
+ class GoogleCloudRetailV2RuleFilterAction
1896
+ # @private
1897
+ class Representation < Google::Apis::Core::JsonRepresentation
1898
+ property :filter, as: 'filter'
1899
+ end
1900
+ end
1901
+
1902
+ class GoogleCloudRetailV2RuleIgnoreAction
1903
+ # @private
1904
+ class Representation < Google::Apis::Core::JsonRepresentation
1905
+ collection :ignore_terms, as: 'ignoreTerms'
1906
+ end
1907
+ end
1908
+
1909
+ class GoogleCloudRetailV2RuleOnewaySynonymsAction
1910
+ # @private
1911
+ class Representation < Google::Apis::Core::JsonRepresentation
1912
+ collection :oneway_terms, as: 'onewayTerms'
1913
+ collection :query_terms, as: 'queryTerms'
1914
+ collection :synonyms, as: 'synonyms'
1915
+ end
1916
+ end
1917
+
1918
+ class GoogleCloudRetailV2RuleRedirectAction
1919
+ # @private
1920
+ class Representation < Google::Apis::Core::JsonRepresentation
1921
+ property :redirect_uri, as: 'redirectUri'
1922
+ end
1923
+ end
1924
+
1925
+ class GoogleCloudRetailV2RuleReplacementAction
1926
+ # @private
1927
+ class Representation < Google::Apis::Core::JsonRepresentation
1928
+ collection :query_terms, as: 'queryTerms'
1929
+ property :replacement_term, as: 'replacementTerm'
1930
+ property :term, as: 'term'
1931
+ end
1932
+ end
1933
+
1934
+ class GoogleCloudRetailV2RuleTwowaySynonymsAction
1935
+ # @private
1936
+ class Representation < Google::Apis::Core::JsonRepresentation
1937
+ collection :synonyms, as: 'synonyms'
1938
+ end
1939
+ end
1940
+
1658
1941
  class GoogleCloudRetailV2SearchRequest
1659
1942
  # @private
1660
1943
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1824,6 +2107,33 @@ module Google
1824
2107
  end
1825
2108
  end
1826
2109
 
2110
+ class GoogleCloudRetailV2ServingConfig
2111
+ # @private
2112
+ class Representation < Google::Apis::Core::JsonRepresentation
2113
+ collection :boost_control_ids, as: 'boostControlIds'
2114
+ property :display_name, as: 'displayName'
2115
+ property :diversity_level, as: 'diversityLevel'
2116
+ property :diversity_type, as: 'diversityType'
2117
+ collection :do_not_associate_control_ids, as: 'doNotAssociateControlIds'
2118
+ property :dynamic_facet_spec, as: 'dynamicFacetSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestDynamicFacetSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestDynamicFacetSpec::Representation
2119
+
2120
+ property :enable_category_filter_level, as: 'enableCategoryFilterLevel'
2121
+ collection :facet_control_ids, as: 'facetControlIds'
2122
+ collection :filter_control_ids, as: 'filterControlIds'
2123
+ collection :ignore_control_ids, as: 'ignoreControlIds'
2124
+ property :model_id, as: 'modelId'
2125
+ property :name, as: 'name'
2126
+ collection :oneway_synonyms_control_ids, as: 'onewaySynonymsControlIds'
2127
+ property :personalization_spec, as: 'personalizationSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestPersonalizationSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestPersonalizationSpec::Representation
2128
+
2129
+ property :price_reranking_level, as: 'priceRerankingLevel'
2130
+ collection :redirect_control_ids, as: 'redirectControlIds'
2131
+ collection :replacement_control_ids, as: 'replacementControlIds'
2132
+ collection :solution_types, as: 'solutionTypes'
2133
+ collection :twoway_synonyms_control_ids, as: 'twowaySynonymsControlIds'
2134
+ end
2135
+ end
2136
+
1827
2137
  class GoogleCloudRetailV2SetDefaultBranchRequest
1828
2138
  # @private
1829
2139
  class Representation < Google::Apis::Core::JsonRepresentation