google-apis-retail_v2beta 0.23.0 → 0.27.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.23.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211203"
25
+ REVISION = "20220127"
26
26
  end
27
27
  end
28
28
  end
@@ -298,19 +298,13 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
- class GoogleCloudRetailV2alphaSetLocalInventoriesMetadata
302
- class Representation < Google::Apis::Core::JsonRepresentation; end
303
-
304
- include Google::Apis::Core::JsonObjectSupport
305
- end
306
-
307
- class GoogleCloudRetailV2alphaSetLocalInventoriesResponse
301
+ class GoogleCloudRetailV2alphaUserEventImportSummary
308
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
303
 
310
304
  include Google::Apis::Core::JsonObjectSupport
311
305
  end
312
306
 
313
- class GoogleCloudRetailV2alphaUserEventImportSummary
307
+ class GoogleCloudRetailV2betaAddControlRequest
314
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
309
 
316
310
  include Google::Apis::Core::JsonObjectSupport
@@ -388,6 +382,30 @@ module Google
388
382
  include Google::Apis::Core::JsonObjectSupport
389
383
  end
390
384
 
385
+ class GoogleCloudRetailV2betaCondition
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class GoogleCloudRetailV2betaConditionQueryTerm
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class GoogleCloudRetailV2betaConditionTimeRange
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class GoogleCloudRetailV2betaControl
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
391
409
  class GoogleCloudRetailV2betaCustomAttribute
392
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
411
 
@@ -502,12 +520,24 @@ module Google
502
520
  include Google::Apis::Core::JsonObjectSupport
503
521
  end
504
522
 
523
+ class GoogleCloudRetailV2betaListControlsResponse
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
505
529
  class GoogleCloudRetailV2betaListProductsResponse
506
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
531
 
508
532
  include Google::Apis::Core::JsonObjectSupport
509
533
  end
510
534
 
535
+ class GoogleCloudRetailV2betaListServingConfigsResponse
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
511
541
  class GoogleCloudRetailV2betaPredictRequest
512
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
543
 
@@ -622,6 +652,12 @@ module Google
622
652
  include Google::Apis::Core::JsonObjectSupport
623
653
  end
624
654
 
655
+ class GoogleCloudRetailV2betaRemoveControlRequest
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
625
661
  class GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata
626
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
663
 
@@ -640,6 +676,60 @@ module Google
640
676
  include Google::Apis::Core::JsonObjectSupport
641
677
  end
642
678
 
679
+ class GoogleCloudRetailV2betaRule
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
685
+ class GoogleCloudRetailV2betaRuleBoostAction
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
691
+ class GoogleCloudRetailV2betaRuleDoNotAssociateAction
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
697
+ class GoogleCloudRetailV2betaRuleFilterAction
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
703
+ class GoogleCloudRetailV2betaRuleIgnoreAction
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
709
+ class GoogleCloudRetailV2betaRuleOnewaySynonymsAction
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
715
+ class GoogleCloudRetailV2betaRuleRedirectAction
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
721
+ class GoogleCloudRetailV2betaRuleReplacementAction
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
727
+ class GoogleCloudRetailV2betaRuleTwowaySynonymsAction
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
643
733
  class GoogleCloudRetailV2betaSearchRequest
644
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
645
735
 
@@ -676,6 +766,12 @@ module Google
676
766
  include Google::Apis::Core::JsonObjectSupport
677
767
  end
678
768
 
769
+ class GoogleCloudRetailV2betaSearchRequestPersonalizationSpec
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
679
775
  class GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec
680
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
681
777
 
@@ -712,6 +808,12 @@ module Google
712
808
  include Google::Apis::Core::JsonObjectSupport
713
809
  end
714
810
 
811
+ class GoogleCloudRetailV2betaServingConfig
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
715
817
  class GoogleCloudRetailV2betaSetDefaultBranchRequest
716
818
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
819
 
@@ -1154,23 +1256,18 @@ module Google
1154
1256
  end
1155
1257
  end
1156
1258
 
1157
- class GoogleCloudRetailV2alphaSetLocalInventoriesMetadata
1158
- # @private
1159
- class Representation < Google::Apis::Core::JsonRepresentation
1160
- end
1161
- end
1162
-
1163
- class GoogleCloudRetailV2alphaSetLocalInventoriesResponse
1259
+ class GoogleCloudRetailV2alphaUserEventImportSummary
1164
1260
  # @private
1165
1261
  class Representation < Google::Apis::Core::JsonRepresentation
1262
+ property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
1263
+ property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
1166
1264
  end
1167
1265
  end
1168
1266
 
1169
- class GoogleCloudRetailV2alphaUserEventImportSummary
1267
+ class GoogleCloudRetailV2betaAddControlRequest
1170
1268
  # @private
1171
1269
  class Representation < Google::Apis::Core::JsonRepresentation
1172
- property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
1173
- property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
1270
+ property :control_id, as: 'controlId'
1174
1271
  end
1175
1272
  end
1176
1273
 
@@ -1279,6 +1376,46 @@ module Google
1279
1376
  end
1280
1377
  end
1281
1378
 
1379
+ class GoogleCloudRetailV2betaCondition
1380
+ # @private
1381
+ class Representation < Google::Apis::Core::JsonRepresentation
1382
+ collection :active_time_range, as: 'activeTimeRange', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConditionTimeRange, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConditionTimeRange::Representation
1383
+
1384
+ collection :query_terms, as: 'queryTerms', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConditionQueryTerm, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConditionQueryTerm::Representation
1385
+
1386
+ end
1387
+ end
1388
+
1389
+ class GoogleCloudRetailV2betaConditionQueryTerm
1390
+ # @private
1391
+ class Representation < Google::Apis::Core::JsonRepresentation
1392
+ property :full_match, as: 'fullMatch'
1393
+ property :value, as: 'value'
1394
+ end
1395
+ end
1396
+
1397
+ class GoogleCloudRetailV2betaConditionTimeRange
1398
+ # @private
1399
+ class Representation < Google::Apis::Core::JsonRepresentation
1400
+ property :end_time, as: 'endTime'
1401
+ property :start_time, as: 'startTime'
1402
+ end
1403
+ end
1404
+
1405
+ class GoogleCloudRetailV2betaControl
1406
+ # @private
1407
+ class Representation < Google::Apis::Core::JsonRepresentation
1408
+ collection :associated_serving_config_ids, as: 'associatedServingConfigIds'
1409
+ property :display_name, as: 'displayName'
1410
+ property :facet_spec, as: 'facetSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestFacetSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestFacetSpec::Representation
1411
+
1412
+ property :name, as: 'name'
1413
+ property :rule, as: 'rule', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule::Representation
1414
+
1415
+ collection :solution_types, as: 'solutionTypes'
1416
+ end
1417
+ end
1418
+
1282
1419
  class GoogleCloudRetailV2betaCustomAttribute
1283
1420
  # @private
1284
1421
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1459,6 +1596,15 @@ module Google
1459
1596
  end
1460
1597
  end
1461
1598
 
1599
+ class GoogleCloudRetailV2betaListControlsResponse
1600
+ # @private
1601
+ class Representation < Google::Apis::Core::JsonRepresentation
1602
+ collection :controls, as: 'controls', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaControl, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaControl::Representation
1603
+
1604
+ property :next_page_token, as: 'nextPageToken'
1605
+ end
1606
+ end
1607
+
1462
1608
  class GoogleCloudRetailV2betaListProductsResponse
1463
1609
  # @private
1464
1610
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1468,6 +1614,15 @@ module Google
1468
1614
  end
1469
1615
  end
1470
1616
 
1617
+ class GoogleCloudRetailV2betaListServingConfigsResponse
1618
+ # @private
1619
+ class Representation < Google::Apis::Core::JsonRepresentation
1620
+ property :next_page_token, as: 'nextPageToken'
1621
+ collection :serving_configs, as: 'servingConfigs', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaServingConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaServingConfig::Representation
1622
+
1623
+ end
1624
+ end
1625
+
1471
1626
  class GoogleCloudRetailV2betaPredictRequest
1472
1627
  # @private
1473
1628
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1678,6 +1833,13 @@ module Google
1678
1833
  end
1679
1834
  end
1680
1835
 
1836
+ class GoogleCloudRetailV2betaRemoveControlRequest
1837
+ # @private
1838
+ class Representation < Google::Apis::Core::JsonRepresentation
1839
+ property :control_id, as: 'controlId'
1840
+ end
1841
+ end
1842
+
1681
1843
  class GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata
1682
1844
  # @private
1683
1845
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1700,6 +1862,93 @@ module Google
1700
1862
  end
1701
1863
  end
1702
1864
 
1865
+ class GoogleCloudRetailV2betaRule
1866
+ # @private
1867
+ class Representation < Google::Apis::Core::JsonRepresentation
1868
+ property :boost_action, as: 'boostAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleBoostAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleBoostAction::Representation
1869
+
1870
+ property :condition, as: 'condition', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCondition, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCondition::Representation
1871
+
1872
+ property :do_not_associate_action, as: 'doNotAssociateAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleDoNotAssociateAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleDoNotAssociateAction::Representation
1873
+
1874
+ property :filter_action, as: 'filterAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleFilterAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleFilterAction::Representation
1875
+
1876
+ property :ignore_action, as: 'ignoreAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleIgnoreAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleIgnoreAction::Representation
1877
+
1878
+ property :oneway_synonyms_action, as: 'onewaySynonymsAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleOnewaySynonymsAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleOnewaySynonymsAction::Representation
1879
+
1880
+ property :redirect_action, as: 'redirectAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleRedirectAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleRedirectAction::Representation
1881
+
1882
+ property :replacement_action, as: 'replacementAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleReplacementAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleReplacementAction::Representation
1883
+
1884
+ property :twoway_synonyms_action, as: 'twowaySynonymsAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleTwowaySynonymsAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleTwowaySynonymsAction::Representation
1885
+
1886
+ end
1887
+ end
1888
+
1889
+ class GoogleCloudRetailV2betaRuleBoostAction
1890
+ # @private
1891
+ class Representation < Google::Apis::Core::JsonRepresentation
1892
+ property :boost, as: 'boost'
1893
+ property :products_filter, as: 'productsFilter'
1894
+ end
1895
+ end
1896
+
1897
+ class GoogleCloudRetailV2betaRuleDoNotAssociateAction
1898
+ # @private
1899
+ class Representation < Google::Apis::Core::JsonRepresentation
1900
+ collection :do_not_associate_terms, as: 'doNotAssociateTerms'
1901
+ collection :query_terms, as: 'queryTerms'
1902
+ collection :terms, as: 'terms'
1903
+ end
1904
+ end
1905
+
1906
+ class GoogleCloudRetailV2betaRuleFilterAction
1907
+ # @private
1908
+ class Representation < Google::Apis::Core::JsonRepresentation
1909
+ property :filter, as: 'filter'
1910
+ end
1911
+ end
1912
+
1913
+ class GoogleCloudRetailV2betaRuleIgnoreAction
1914
+ # @private
1915
+ class Representation < Google::Apis::Core::JsonRepresentation
1916
+ collection :ignore_terms, as: 'ignoreTerms'
1917
+ end
1918
+ end
1919
+
1920
+ class GoogleCloudRetailV2betaRuleOnewaySynonymsAction
1921
+ # @private
1922
+ class Representation < Google::Apis::Core::JsonRepresentation
1923
+ collection :oneway_terms, as: 'onewayTerms'
1924
+ collection :query_terms, as: 'queryTerms'
1925
+ collection :synonyms, as: 'synonyms'
1926
+ end
1927
+ end
1928
+
1929
+ class GoogleCloudRetailV2betaRuleRedirectAction
1930
+ # @private
1931
+ class Representation < Google::Apis::Core::JsonRepresentation
1932
+ property :redirect_uri, as: 'redirectUri'
1933
+ end
1934
+ end
1935
+
1936
+ class GoogleCloudRetailV2betaRuleReplacementAction
1937
+ # @private
1938
+ class Representation < Google::Apis::Core::JsonRepresentation
1939
+ collection :query_terms, as: 'queryTerms'
1940
+ property :replacement_term, as: 'replacementTerm'
1941
+ property :term, as: 'term'
1942
+ end
1943
+ end
1944
+
1945
+ class GoogleCloudRetailV2betaRuleTwowaySynonymsAction
1946
+ # @private
1947
+ class Representation < Google::Apis::Core::JsonRepresentation
1948
+ collection :synonyms, as: 'synonyms'
1949
+ end
1950
+ end
1951
+
1703
1952
  class GoogleCloudRetailV2betaSearchRequest
1704
1953
  # @private
1705
1954
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1717,6 +1966,8 @@ module Google
1717
1966
  collection :page_categories, as: 'pageCategories'
1718
1967
  property :page_size, as: 'pageSize'
1719
1968
  property :page_token, as: 'pageToken'
1969
+ property :personalization_spec, as: 'personalizationSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestPersonalizationSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestPersonalizationSpec::Representation
1970
+
1720
1971
  property :query, as: 'query'
1721
1972
  property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec::Representation
1722
1973
 
@@ -1776,6 +2027,13 @@ module Google
1776
2027
  end
1777
2028
  end
1778
2029
 
2030
+ class GoogleCloudRetailV2betaSearchRequestPersonalizationSpec
2031
+ # @private
2032
+ class Representation < Google::Apis::Core::JsonRepresentation
2033
+ property :mode, as: 'mode'
2034
+ end
2035
+ end
2036
+
1779
2037
  class GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec
1780
2038
  # @private
1781
2039
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1842,6 +2100,30 @@ module Google
1842
2100
  end
1843
2101
  end
1844
2102
 
2103
+ class GoogleCloudRetailV2betaServingConfig
2104
+ # @private
2105
+ class Representation < Google::Apis::Core::JsonRepresentation
2106
+ collection :boost_control_ids, as: 'boostControlIds'
2107
+ property :display_name, as: 'displayName'
2108
+ property :diversity_level, as: 'diversityLevel'
2109
+ collection :do_not_associate_control_ids, as: 'doNotAssociateControlIds'
2110
+ property :dynamic_facet_spec, as: 'dynamicFacetSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec::Representation
2111
+
2112
+ property :enable_category_filter_level, as: 'enableCategoryFilterLevel'
2113
+ collection :facet_control_ids, as: 'facetControlIds'
2114
+ collection :filter_control_ids, as: 'filterControlIds'
2115
+ collection :ignore_control_ids, as: 'ignoreControlIds'
2116
+ property :model_id, as: 'modelId'
2117
+ property :name, as: 'name'
2118
+ collection :oneway_synonyms_control_ids, as: 'onewaySynonymsControlIds'
2119
+ property :price_reranking_level, as: 'priceRerankingLevel'
2120
+ collection :redirect_control_ids, as: 'redirectControlIds'
2121
+ collection :replacement_control_ids, as: 'replacementControlIds'
2122
+ collection :solution_types, as: 'solutionTypes'
2123
+ collection :twoway_synonyms_control_ids, as: 'twowaySynonymsControlIds'
2124
+ end
2125
+ end
2126
+
1845
2127
  class GoogleCloudRetailV2betaSetDefaultBranchRequest
1846
2128
  # @private
1847
2129
  class Representation < Google::Apis::Core::JsonRepresentation