google-apis-retail_v2alpha 0.25.0 → 0.26.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 RetailV2alpha
|
18
18
|
# Version of the google-apis-retail_v2alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.26.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 = "
|
25
|
+
REVISION = "20220120"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -160,6 +160,12 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class GoogleCloudRetailV2alphaAddControlRequest
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
@@ -250,6 +256,30 @@ module Google
|
|
250
256
|
include Google::Apis::Core::JsonObjectSupport
|
251
257
|
end
|
252
258
|
|
259
|
+
class GoogleCloudRetailV2alphaCondition
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class GoogleCloudRetailV2alphaConditionQueryTerm
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class GoogleCloudRetailV2alphaConditionTimeRange
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class GoogleCloudRetailV2alphaControl
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
253
283
|
class GoogleCloudRetailV2alphaCustomAttribute
|
254
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
285
|
|
@@ -364,12 +394,24 @@ module Google
|
|
364
394
|
include Google::Apis::Core::JsonObjectSupport
|
365
395
|
end
|
366
396
|
|
397
|
+
class GoogleCloudRetailV2alphaListControlsResponse
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
367
403
|
class GoogleCloudRetailV2alphaListProductsResponse
|
368
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
405
|
|
370
406
|
include Google::Apis::Core::JsonObjectSupport
|
371
407
|
end
|
372
408
|
|
409
|
+
class GoogleCloudRetailV2alphaListServingConfigsResponse
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
373
415
|
class GoogleCloudRetailV2alphaLocalInventory
|
374
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
417
|
|
@@ -502,6 +544,12 @@ module Google
|
|
502
544
|
include Google::Apis::Core::JsonObjectSupport
|
503
545
|
end
|
504
546
|
|
547
|
+
class GoogleCloudRetailV2alphaRemoveControlRequest
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
+
|
550
|
+
include Google::Apis::Core::JsonObjectSupport
|
551
|
+
end
|
552
|
+
|
505
553
|
class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata
|
506
554
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
555
|
|
@@ -538,6 +586,60 @@ module Google
|
|
538
586
|
include Google::Apis::Core::JsonObjectSupport
|
539
587
|
end
|
540
588
|
|
589
|
+
class GoogleCloudRetailV2alphaRule
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
+
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
593
|
+
end
|
594
|
+
|
595
|
+
class GoogleCloudRetailV2alphaRuleBoostAction
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
601
|
+
class GoogleCloudRetailV2alphaRuleDoNotAssociateAction
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
|
+
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
605
|
+
end
|
606
|
+
|
607
|
+
class GoogleCloudRetailV2alphaRuleFilterAction
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
+
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
611
|
+
end
|
612
|
+
|
613
|
+
class GoogleCloudRetailV2alphaRuleIgnoreAction
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
619
|
+
class GoogleCloudRetailV2alphaRuleOnewaySynonymsAction
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
625
|
+
class GoogleCloudRetailV2alphaRuleRedirectAction
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
631
|
+
class GoogleCloudRetailV2alphaRuleReplacementAction
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
|
+
|
634
|
+
include Google::Apis::Core::JsonObjectSupport
|
635
|
+
end
|
636
|
+
|
637
|
+
class GoogleCloudRetailV2alphaRuleTwowaySynonymsAction
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
|
+
|
640
|
+
include Google::Apis::Core::JsonObjectSupport
|
641
|
+
end
|
642
|
+
|
541
643
|
class GoogleCloudRetailV2alphaSearchRequest
|
542
644
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
645
|
|
@@ -610,6 +712,12 @@ module Google
|
|
610
712
|
include Google::Apis::Core::JsonObjectSupport
|
611
713
|
end
|
612
714
|
|
715
|
+
class GoogleCloudRetailV2alphaServingConfig
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
|
+
|
718
|
+
include Google::Apis::Core::JsonObjectSupport
|
719
|
+
end
|
720
|
+
|
613
721
|
class GoogleCloudRetailV2alphaSetDefaultBranchRequest
|
614
722
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
723
|
|
@@ -1002,6 +1110,13 @@ module Google
|
|
1002
1110
|
end
|
1003
1111
|
end
|
1004
1112
|
|
1113
|
+
class GoogleCloudRetailV2alphaAddControlRequest
|
1114
|
+
# @private
|
1115
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1116
|
+
property :control_id, as: 'controlId'
|
1117
|
+
end
|
1118
|
+
end
|
1119
|
+
|
1005
1120
|
class GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata
|
1006
1121
|
# @private
|
1007
1122
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1132,6 +1247,46 @@ module Google
|
|
1132
1247
|
end
|
1133
1248
|
end
|
1134
1249
|
|
1250
|
+
class GoogleCloudRetailV2alphaCondition
|
1251
|
+
# @private
|
1252
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1253
|
+
collection :active_time_range, as: 'activeTimeRange', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionTimeRange, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionTimeRange::Representation
|
1254
|
+
|
1255
|
+
collection :query_terms, as: 'queryTerms', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionQueryTerm, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionQueryTerm::Representation
|
1256
|
+
|
1257
|
+
end
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
class GoogleCloudRetailV2alphaConditionQueryTerm
|
1261
|
+
# @private
|
1262
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1263
|
+
property :full_match, as: 'fullMatch'
|
1264
|
+
property :value, as: 'value'
|
1265
|
+
end
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
class GoogleCloudRetailV2alphaConditionTimeRange
|
1269
|
+
# @private
|
1270
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1271
|
+
property :end_time, as: 'endTime'
|
1272
|
+
property :start_time, as: 'startTime'
|
1273
|
+
end
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
class GoogleCloudRetailV2alphaControl
|
1277
|
+
# @private
|
1278
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1279
|
+
collection :associated_serving_config_ids, as: 'associatedServingConfigIds'
|
1280
|
+
property :display_name, as: 'displayName'
|
1281
|
+
property :facet_spec, as: 'facetSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestFacetSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestFacetSpec::Representation
|
1282
|
+
|
1283
|
+
property :name, as: 'name'
|
1284
|
+
property :rule, as: 'rule', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRule, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRule::Representation
|
1285
|
+
|
1286
|
+
collection :solution_types, as: 'solutionTypes'
|
1287
|
+
end
|
1288
|
+
end
|
1289
|
+
|
1135
1290
|
class GoogleCloudRetailV2alphaCustomAttribute
|
1136
1291
|
# @private
|
1137
1292
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1312,6 +1467,15 @@ module Google
|
|
1312
1467
|
end
|
1313
1468
|
end
|
1314
1469
|
|
1470
|
+
class GoogleCloudRetailV2alphaListControlsResponse
|
1471
|
+
# @private
|
1472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1473
|
+
collection :controls, as: 'controls', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaControl, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaControl::Representation
|
1474
|
+
|
1475
|
+
property :next_page_token, as: 'nextPageToken'
|
1476
|
+
end
|
1477
|
+
end
|
1478
|
+
|
1315
1479
|
class GoogleCloudRetailV2alphaListProductsResponse
|
1316
1480
|
# @private
|
1317
1481
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1322,6 +1486,15 @@ module Google
|
|
1322
1486
|
end
|
1323
1487
|
end
|
1324
1488
|
|
1489
|
+
class GoogleCloudRetailV2alphaListServingConfigsResponse
|
1490
|
+
# @private
|
1491
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1492
|
+
property :next_page_token, as: 'nextPageToken'
|
1493
|
+
collection :serving_configs, as: 'servingConfigs', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaServingConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaServingConfig::Representation
|
1494
|
+
|
1495
|
+
end
|
1496
|
+
end
|
1497
|
+
|
1325
1498
|
class GoogleCloudRetailV2alphaLocalInventory
|
1326
1499
|
# @private
|
1327
1500
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1562,6 +1735,13 @@ module Google
|
|
1562
1735
|
end
|
1563
1736
|
end
|
1564
1737
|
|
1738
|
+
class GoogleCloudRetailV2alphaRemoveControlRequest
|
1739
|
+
# @private
|
1740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1741
|
+
property :control_id, as: 'controlId'
|
1742
|
+
end
|
1743
|
+
end
|
1744
|
+
|
1565
1745
|
class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata
|
1566
1746
|
# @private
|
1567
1747
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1605,6 +1785,93 @@ module Google
|
|
1605
1785
|
end
|
1606
1786
|
end
|
1607
1787
|
|
1788
|
+
class GoogleCloudRetailV2alphaRule
|
1789
|
+
# @private
|
1790
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1791
|
+
property :boost_action, as: 'boostAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleBoostAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleBoostAction::Representation
|
1792
|
+
|
1793
|
+
property :condition, as: 'condition', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCondition, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCondition::Representation
|
1794
|
+
|
1795
|
+
property :do_not_associate_action, as: 'doNotAssociateAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleDoNotAssociateAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleDoNotAssociateAction::Representation
|
1796
|
+
|
1797
|
+
property :filter_action, as: 'filterAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleFilterAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleFilterAction::Representation
|
1798
|
+
|
1799
|
+
property :ignore_action, as: 'ignoreAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleIgnoreAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleIgnoreAction::Representation
|
1800
|
+
|
1801
|
+
property :oneway_synonyms_action, as: 'onewaySynonymsAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleOnewaySynonymsAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleOnewaySynonymsAction::Representation
|
1802
|
+
|
1803
|
+
property :redirect_action, as: 'redirectAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRedirectAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRedirectAction::Representation
|
1804
|
+
|
1805
|
+
property :replacement_action, as: 'replacementAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleReplacementAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleReplacementAction::Representation
|
1806
|
+
|
1807
|
+
property :twoway_synonyms_action, as: 'twowaySynonymsAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleTwowaySynonymsAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleTwowaySynonymsAction::Representation
|
1808
|
+
|
1809
|
+
end
|
1810
|
+
end
|
1811
|
+
|
1812
|
+
class GoogleCloudRetailV2alphaRuleBoostAction
|
1813
|
+
# @private
|
1814
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1815
|
+
property :boost, as: 'boost'
|
1816
|
+
property :products_filter, as: 'productsFilter'
|
1817
|
+
end
|
1818
|
+
end
|
1819
|
+
|
1820
|
+
class GoogleCloudRetailV2alphaRuleDoNotAssociateAction
|
1821
|
+
# @private
|
1822
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1823
|
+
collection :do_not_associate_terms, as: 'doNotAssociateTerms'
|
1824
|
+
collection :query_terms, as: 'queryTerms'
|
1825
|
+
collection :terms, as: 'terms'
|
1826
|
+
end
|
1827
|
+
end
|
1828
|
+
|
1829
|
+
class GoogleCloudRetailV2alphaRuleFilterAction
|
1830
|
+
# @private
|
1831
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1832
|
+
property :filter, as: 'filter'
|
1833
|
+
end
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
class GoogleCloudRetailV2alphaRuleIgnoreAction
|
1837
|
+
# @private
|
1838
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1839
|
+
collection :ignore_terms, as: 'ignoreTerms'
|
1840
|
+
end
|
1841
|
+
end
|
1842
|
+
|
1843
|
+
class GoogleCloudRetailV2alphaRuleOnewaySynonymsAction
|
1844
|
+
# @private
|
1845
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1846
|
+
collection :oneway_terms, as: 'onewayTerms'
|
1847
|
+
collection :query_terms, as: 'queryTerms'
|
1848
|
+
collection :synonyms, as: 'synonyms'
|
1849
|
+
end
|
1850
|
+
end
|
1851
|
+
|
1852
|
+
class GoogleCloudRetailV2alphaRuleRedirectAction
|
1853
|
+
# @private
|
1854
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1855
|
+
property :redirect_uri, as: 'redirectUri'
|
1856
|
+
end
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
class GoogleCloudRetailV2alphaRuleReplacementAction
|
1860
|
+
# @private
|
1861
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1862
|
+
collection :query_terms, as: 'queryTerms'
|
1863
|
+
property :replacement_term, as: 'replacementTerm'
|
1864
|
+
property :term, as: 'term'
|
1865
|
+
end
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
class GoogleCloudRetailV2alphaRuleTwowaySynonymsAction
|
1869
|
+
# @private
|
1870
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1871
|
+
collection :synonyms, as: 'synonyms'
|
1872
|
+
end
|
1873
|
+
end
|
1874
|
+
|
1608
1875
|
class GoogleCloudRetailV2alphaSearchRequest
|
1609
1876
|
# @private
|
1610
1877
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1748,6 +2015,30 @@ module Google
|
|
1748
2015
|
end
|
1749
2016
|
end
|
1750
2017
|
|
2018
|
+
class GoogleCloudRetailV2alphaServingConfig
|
2019
|
+
# @private
|
2020
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2021
|
+
collection :boost_control_ids, as: 'boostControlIds'
|
2022
|
+
property :display_name, as: 'displayName'
|
2023
|
+
property :diversity_level, as: 'diversityLevel'
|
2024
|
+
collection :do_not_associate_control_ids, as: 'doNotAssociateControlIds'
|
2025
|
+
property :dynamic_facet_spec, as: 'dynamicFacetSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec::Representation
|
2026
|
+
|
2027
|
+
property :enable_category_filter_level, as: 'enableCategoryFilterLevel'
|
2028
|
+
collection :facet_control_ids, as: 'facetControlIds'
|
2029
|
+
collection :filter_control_ids, as: 'filterControlIds'
|
2030
|
+
collection :ignore_control_ids, as: 'ignoreControlIds'
|
2031
|
+
property :model_id, as: 'modelId'
|
2032
|
+
property :name, as: 'name'
|
2033
|
+
collection :oneway_synonyms_control_ids, as: 'onewaySynonymsControlIds'
|
2034
|
+
property :price_reranking_level, as: 'priceRerankingLevel'
|
2035
|
+
collection :redirect_control_ids, as: 'redirectControlIds'
|
2036
|
+
collection :replacement_control_ids, as: 'replacementControlIds'
|
2037
|
+
collection :solution_types, as: 'solutionTypes'
|
2038
|
+
collection :twoway_synonyms_control_ids, as: 'twowaySynonymsControlIds'
|
2039
|
+
end
|
2040
|
+
end
|
2041
|
+
|
1751
2042
|
class GoogleCloudRetailV2alphaSetDefaultBranchRequest
|
1752
2043
|
# @private
|
1753
2044
|
class Representation < Google::Apis::Core::JsonRepresentation
|