google-apis-retail_v2beta 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 RetailV2beta
18
18
  # Version of the google-apis-retail_v2beta gem
19
- GEM_VERSION = "0.25.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 = "20220106"
25
+ REVISION = "20220121"
26
26
  end
27
27
  end
28
28
  end
@@ -304,6 +304,12 @@ module Google
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
+ class GoogleCloudRetailV2betaAddControlRequest
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
307
313
  class GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
@@ -376,6 +382,30 @@ module Google
376
382
  include Google::Apis::Core::JsonObjectSupport
377
383
  end
378
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
+
379
409
  class GoogleCloudRetailV2betaCustomAttribute
380
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
411
 
@@ -490,12 +520,24 @@ module Google
490
520
  include Google::Apis::Core::JsonObjectSupport
491
521
  end
492
522
 
523
+ class GoogleCloudRetailV2betaListControlsResponse
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
493
529
  class GoogleCloudRetailV2betaListProductsResponse
494
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
531
 
496
532
  include Google::Apis::Core::JsonObjectSupport
497
533
  end
498
534
 
535
+ class GoogleCloudRetailV2betaListServingConfigsResponse
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
499
541
  class GoogleCloudRetailV2betaPredictRequest
500
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
543
 
@@ -610,6 +652,12 @@ module Google
610
652
  include Google::Apis::Core::JsonObjectSupport
611
653
  end
612
654
 
655
+ class GoogleCloudRetailV2betaRemoveControlRequest
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
613
661
  class GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata
614
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
663
 
@@ -628,6 +676,60 @@ module Google
628
676
  include Google::Apis::Core::JsonObjectSupport
629
677
  end
630
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
+
631
733
  class GoogleCloudRetailV2betaSearchRequest
632
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
633
735
 
@@ -700,6 +802,12 @@ module Google
700
802
  include Google::Apis::Core::JsonObjectSupport
701
803
  end
702
804
 
805
+ class GoogleCloudRetailV2betaServingConfig
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
703
811
  class GoogleCloudRetailV2betaSetDefaultBranchRequest
704
812
  class Representation < Google::Apis::Core::JsonRepresentation; end
705
813
 
@@ -1150,6 +1258,13 @@ module Google
1150
1258
  end
1151
1259
  end
1152
1260
 
1261
+ class GoogleCloudRetailV2betaAddControlRequest
1262
+ # @private
1263
+ class Representation < Google::Apis::Core::JsonRepresentation
1264
+ property :control_id, as: 'controlId'
1265
+ end
1266
+ end
1267
+
1153
1268
  class GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata
1154
1269
  # @private
1155
1270
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1255,6 +1370,46 @@ module Google
1255
1370
  end
1256
1371
  end
1257
1372
 
1373
+ class GoogleCloudRetailV2betaCondition
1374
+ # @private
1375
+ class Representation < Google::Apis::Core::JsonRepresentation
1376
+ collection :active_time_range, as: 'activeTimeRange', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConditionTimeRange, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConditionTimeRange::Representation
1377
+
1378
+ collection :query_terms, as: 'queryTerms', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConditionQueryTerm, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConditionQueryTerm::Representation
1379
+
1380
+ end
1381
+ end
1382
+
1383
+ class GoogleCloudRetailV2betaConditionQueryTerm
1384
+ # @private
1385
+ class Representation < Google::Apis::Core::JsonRepresentation
1386
+ property :full_match, as: 'fullMatch'
1387
+ property :value, as: 'value'
1388
+ end
1389
+ end
1390
+
1391
+ class GoogleCloudRetailV2betaConditionTimeRange
1392
+ # @private
1393
+ class Representation < Google::Apis::Core::JsonRepresentation
1394
+ property :end_time, as: 'endTime'
1395
+ property :start_time, as: 'startTime'
1396
+ end
1397
+ end
1398
+
1399
+ class GoogleCloudRetailV2betaControl
1400
+ # @private
1401
+ class Representation < Google::Apis::Core::JsonRepresentation
1402
+ collection :associated_serving_config_ids, as: 'associatedServingConfigIds'
1403
+ property :display_name, as: 'displayName'
1404
+ property :facet_spec, as: 'facetSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestFacetSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestFacetSpec::Representation
1405
+
1406
+ property :name, as: 'name'
1407
+ property :rule, as: 'rule', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule::Representation
1408
+
1409
+ collection :solution_types, as: 'solutionTypes'
1410
+ end
1411
+ end
1412
+
1258
1413
  class GoogleCloudRetailV2betaCustomAttribute
1259
1414
  # @private
1260
1415
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1435,6 +1590,15 @@ module Google
1435
1590
  end
1436
1591
  end
1437
1592
 
1593
+ class GoogleCloudRetailV2betaListControlsResponse
1594
+ # @private
1595
+ class Representation < Google::Apis::Core::JsonRepresentation
1596
+ collection :controls, as: 'controls', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaControl, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaControl::Representation
1597
+
1598
+ property :next_page_token, as: 'nextPageToken'
1599
+ end
1600
+ end
1601
+
1438
1602
  class GoogleCloudRetailV2betaListProductsResponse
1439
1603
  # @private
1440
1604
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1444,6 +1608,15 @@ module Google
1444
1608
  end
1445
1609
  end
1446
1610
 
1611
+ class GoogleCloudRetailV2betaListServingConfigsResponse
1612
+ # @private
1613
+ class Representation < Google::Apis::Core::JsonRepresentation
1614
+ property :next_page_token, as: 'nextPageToken'
1615
+ collection :serving_configs, as: 'servingConfigs', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaServingConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaServingConfig::Representation
1616
+
1617
+ end
1618
+ end
1619
+
1447
1620
  class GoogleCloudRetailV2betaPredictRequest
1448
1621
  # @private
1449
1622
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1654,6 +1827,13 @@ module Google
1654
1827
  end
1655
1828
  end
1656
1829
 
1830
+ class GoogleCloudRetailV2betaRemoveControlRequest
1831
+ # @private
1832
+ class Representation < Google::Apis::Core::JsonRepresentation
1833
+ property :control_id, as: 'controlId'
1834
+ end
1835
+ end
1836
+
1657
1837
  class GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata
1658
1838
  # @private
1659
1839
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1676,6 +1856,93 @@ module Google
1676
1856
  end
1677
1857
  end
1678
1858
 
1859
+ class GoogleCloudRetailV2betaRule
1860
+ # @private
1861
+ class Representation < Google::Apis::Core::JsonRepresentation
1862
+ property :boost_action, as: 'boostAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleBoostAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleBoostAction::Representation
1863
+
1864
+ property :condition, as: 'condition', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCondition, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCondition::Representation
1865
+
1866
+ property :do_not_associate_action, as: 'doNotAssociateAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleDoNotAssociateAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleDoNotAssociateAction::Representation
1867
+
1868
+ property :filter_action, as: 'filterAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleFilterAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleFilterAction::Representation
1869
+
1870
+ property :ignore_action, as: 'ignoreAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleIgnoreAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleIgnoreAction::Representation
1871
+
1872
+ property :oneway_synonyms_action, as: 'onewaySynonymsAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleOnewaySynonymsAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleOnewaySynonymsAction::Representation
1873
+
1874
+ property :redirect_action, as: 'redirectAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleRedirectAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleRedirectAction::Representation
1875
+
1876
+ property :replacement_action, as: 'replacementAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleReplacementAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleReplacementAction::Representation
1877
+
1878
+ property :twoway_synonyms_action, as: 'twowaySynonymsAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleTwowaySynonymsAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleTwowaySynonymsAction::Representation
1879
+
1880
+ end
1881
+ end
1882
+
1883
+ class GoogleCloudRetailV2betaRuleBoostAction
1884
+ # @private
1885
+ class Representation < Google::Apis::Core::JsonRepresentation
1886
+ property :boost, as: 'boost'
1887
+ property :products_filter, as: 'productsFilter'
1888
+ end
1889
+ end
1890
+
1891
+ class GoogleCloudRetailV2betaRuleDoNotAssociateAction
1892
+ # @private
1893
+ class Representation < Google::Apis::Core::JsonRepresentation
1894
+ collection :do_not_associate_terms, as: 'doNotAssociateTerms'
1895
+ collection :query_terms, as: 'queryTerms'
1896
+ collection :terms, as: 'terms'
1897
+ end
1898
+ end
1899
+
1900
+ class GoogleCloudRetailV2betaRuleFilterAction
1901
+ # @private
1902
+ class Representation < Google::Apis::Core::JsonRepresentation
1903
+ property :filter, as: 'filter'
1904
+ end
1905
+ end
1906
+
1907
+ class GoogleCloudRetailV2betaRuleIgnoreAction
1908
+ # @private
1909
+ class Representation < Google::Apis::Core::JsonRepresentation
1910
+ collection :ignore_terms, as: 'ignoreTerms'
1911
+ end
1912
+ end
1913
+
1914
+ class GoogleCloudRetailV2betaRuleOnewaySynonymsAction
1915
+ # @private
1916
+ class Representation < Google::Apis::Core::JsonRepresentation
1917
+ collection :oneway_terms, as: 'onewayTerms'
1918
+ collection :query_terms, as: 'queryTerms'
1919
+ collection :synonyms, as: 'synonyms'
1920
+ end
1921
+ end
1922
+
1923
+ class GoogleCloudRetailV2betaRuleRedirectAction
1924
+ # @private
1925
+ class Representation < Google::Apis::Core::JsonRepresentation
1926
+ property :redirect_uri, as: 'redirectUri'
1927
+ end
1928
+ end
1929
+
1930
+ class GoogleCloudRetailV2betaRuleReplacementAction
1931
+ # @private
1932
+ class Representation < Google::Apis::Core::JsonRepresentation
1933
+ collection :query_terms, as: 'queryTerms'
1934
+ property :replacement_term, as: 'replacementTerm'
1935
+ property :term, as: 'term'
1936
+ end
1937
+ end
1938
+
1939
+ class GoogleCloudRetailV2betaRuleTwowaySynonymsAction
1940
+ # @private
1941
+ class Representation < Google::Apis::Core::JsonRepresentation
1942
+ collection :synonyms, as: 'synonyms'
1943
+ end
1944
+ end
1945
+
1679
1946
  class GoogleCloudRetailV2betaSearchRequest
1680
1947
  # @private
1681
1948
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1818,6 +2085,30 @@ module Google
1818
2085
  end
1819
2086
  end
1820
2087
 
2088
+ class GoogleCloudRetailV2betaServingConfig
2089
+ # @private
2090
+ class Representation < Google::Apis::Core::JsonRepresentation
2091
+ collection :boost_control_ids, as: 'boostControlIds'
2092
+ property :display_name, as: 'displayName'
2093
+ property :diversity_level, as: 'diversityLevel'
2094
+ collection :do_not_associate_control_ids, as: 'doNotAssociateControlIds'
2095
+ property :dynamic_facet_spec, as: 'dynamicFacetSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec::Representation
2096
+
2097
+ property :enable_category_filter_level, as: 'enableCategoryFilterLevel'
2098
+ collection :facet_control_ids, as: 'facetControlIds'
2099
+ collection :filter_control_ids, as: 'filterControlIds'
2100
+ collection :ignore_control_ids, as: 'ignoreControlIds'
2101
+ property :model_id, as: 'modelId'
2102
+ property :name, as: 'name'
2103
+ collection :oneway_synonyms_control_ids, as: 'onewaySynonymsControlIds'
2104
+ property :price_reranking_level, as: 'priceRerankingLevel'
2105
+ collection :redirect_control_ids, as: 'redirectControlIds'
2106
+ collection :replacement_control_ids, as: 'replacementControlIds'
2107
+ collection :solution_types, as: 'solutionTypes'
2108
+ collection :twoway_synonyms_control_ids, as: 'twowaySynonymsControlIds'
2109
+ end
2110
+ end
2111
+
1821
2112
  class GoogleCloudRetailV2betaSetDefaultBranchRequest
1822
2113
  # @private
1823
2114
  class Representation < Google::Apis::Core::JsonRepresentation