google-apis-retail_v2alpha 0.46.0 → 0.49.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.46.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220623"
25
+ REVISION = "20220716"
26
26
  end
27
27
  end
28
28
  end
@@ -328,6 +328,12 @@ module Google
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
+ class GoogleCloudRetailV2alphaCreateModelMetadata
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
331
337
  class GoogleCloudRetailV2alphaCustomAttribute
332
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
339
 
@@ -448,6 +454,12 @@ module Google
448
454
  include Google::Apis::Core::JsonObjectSupport
449
455
  end
450
456
 
457
+ class GoogleCloudRetailV2alphaListModelsResponse
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
451
463
  class GoogleCloudRetailV2alphaListProductsResponse
452
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
465
 
@@ -478,6 +490,36 @@ module Google
478
490
  include Google::Apis::Core::JsonObjectSupport
479
491
  end
480
492
 
493
+ class GoogleCloudRetailV2alphaModel
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfig
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class GoogleCloudRetailV2alphaPauseModelRequest
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
481
523
  class GoogleCloudRetailV2alphaPredictRequest
482
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
525
 
@@ -664,6 +706,12 @@ module Google
664
706
  include Google::Apis::Core::JsonObjectSupport
665
707
  end
666
708
 
709
+ class GoogleCloudRetailV2alphaResumeModelRequest
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
667
715
  class GoogleCloudRetailV2alphaRule
668
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
717
 
@@ -832,6 +880,24 @@ module Google
832
880
  include Google::Apis::Core::JsonObjectSupport
833
881
  end
834
882
 
883
+ class GoogleCloudRetailV2alphaTuneModelMetadata
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
889
+ class GoogleCloudRetailV2alphaTuneModelRequest
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
895
+ class GoogleCloudRetailV2alphaTuneModelResponse
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
835
901
  class GoogleCloudRetailV2alphaUserEvent
836
902
  class Representation < Google::Apis::Core::JsonRepresentation; end
837
903
 
@@ -1476,6 +1542,13 @@ module Google
1476
1542
  end
1477
1543
  end
1478
1544
 
1545
+ class GoogleCloudRetailV2alphaCreateModelMetadata
1546
+ # @private
1547
+ class Representation < Google::Apis::Core::JsonRepresentation
1548
+ property :model, as: 'model'
1549
+ end
1550
+ end
1551
+
1479
1552
  class GoogleCloudRetailV2alphaCustomAttribute
1480
1553
  # @private
1481
1554
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1666,6 +1739,15 @@ module Google
1666
1739
  end
1667
1740
  end
1668
1741
 
1742
+ class GoogleCloudRetailV2alphaListModelsResponse
1743
+ # @private
1744
+ class Representation < Google::Apis::Core::JsonRepresentation
1745
+ collection :models, as: 'models', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModel, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModel::Representation
1746
+
1747
+ property :next_page_token, as: 'nextPageToken'
1748
+ end
1749
+ end
1750
+
1669
1751
  class GoogleCloudRetailV2alphaListProductsResponse
1670
1752
  # @private
1671
1753
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1716,6 +1798,61 @@ module Google
1716
1798
  end
1717
1799
  end
1718
1800
 
1801
+ class GoogleCloudRetailV2alphaModel
1802
+ # @private
1803
+ class Representation < Google::Apis::Core::JsonRepresentation
1804
+ property :create_time, as: 'createTime'
1805
+ property :data_state, as: 'dataState'
1806
+ property :display_name, as: 'displayName'
1807
+ property :filtering_option, as: 'filteringOption'
1808
+ property :last_tune_time, as: 'lastTuneTime'
1809
+ property :name, as: 'name'
1810
+ property :optimization_objective, as: 'optimizationObjective'
1811
+ property :page_optimization_config, as: 'pageOptimizationConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfig::Representation
1812
+
1813
+ property :periodic_tuning_state, as: 'periodicTuningState'
1814
+ property :serving_state, as: 'servingState'
1815
+ property :training_state, as: 'trainingState'
1816
+ property :tuning_operation, as: 'tuningOperation'
1817
+ property :type, as: 'type'
1818
+ property :update_time, as: 'updateTime'
1819
+ end
1820
+ end
1821
+
1822
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfig
1823
+ # @private
1824
+ class Representation < Google::Apis::Core::JsonRepresentation
1825
+ property :page_optimization_event_type, as: 'pageOptimizationEventType'
1826
+ collection :panels, as: 'panels', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel::Representation
1827
+
1828
+ property :restriction, as: 'restriction'
1829
+ end
1830
+ end
1831
+
1832
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
1833
+ # @private
1834
+ class Representation < Google::Apis::Core::JsonRepresentation
1835
+ property :serving_config_id, as: 'servingConfigId'
1836
+ end
1837
+ end
1838
+
1839
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
1840
+ # @private
1841
+ class Representation < Google::Apis::Core::JsonRepresentation
1842
+ collection :candidates, as: 'candidates', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate::Representation
1843
+
1844
+ property :default_candidate, as: 'defaultCandidate', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate::Representation
1845
+
1846
+ property :display_name, as: 'displayName'
1847
+ end
1848
+ end
1849
+
1850
+ class GoogleCloudRetailV2alphaPauseModelRequest
1851
+ # @private
1852
+ class Representation < Google::Apis::Core::JsonRepresentation
1853
+ end
1854
+ end
1855
+
1719
1856
  class GoogleCloudRetailV2alphaPredictRequest
1720
1857
  # @private
1721
1858
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2018,6 +2155,12 @@ module Google
2018
2155
  end
2019
2156
  end
2020
2157
 
2158
+ class GoogleCloudRetailV2alphaResumeModelRequest
2159
+ # @private
2160
+ class Representation < Google::Apis::Core::JsonRepresentation
2161
+ end
2162
+ end
2163
+
2021
2164
  class GoogleCloudRetailV2alphaRule
2022
2165
  # @private
2023
2166
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2327,6 +2470,25 @@ module Google
2327
2470
  end
2328
2471
  end
2329
2472
 
2473
+ class GoogleCloudRetailV2alphaTuneModelMetadata
2474
+ # @private
2475
+ class Representation < Google::Apis::Core::JsonRepresentation
2476
+ property :model, as: 'model'
2477
+ end
2478
+ end
2479
+
2480
+ class GoogleCloudRetailV2alphaTuneModelRequest
2481
+ # @private
2482
+ class Representation < Google::Apis::Core::JsonRepresentation
2483
+ end
2484
+ end
2485
+
2486
+ class GoogleCloudRetailV2alphaTuneModelResponse
2487
+ # @private
2488
+ class Representation < Google::Apis::Core::JsonRepresentation
2489
+ end
2490
+ end
2491
+
2330
2492
  class GoogleCloudRetailV2alphaUserEvent
2331
2493
  # @private
2332
2494
  class Representation < Google::Apis::Core::JsonRepresentation