google-apis-retail_v2beta 0.51.0 → 0.54.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.51.0"
19
+ GEM_VERSION = "0.54.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 = "20220811"
25
+ REVISION = "20220825"
26
26
  end
27
27
  end
28
28
  end
@@ -688,6 +688,12 @@ module Google
688
688
  include Google::Apis::Core::JsonObjectSupport
689
689
  end
690
690
 
691
+ class GoogleCloudRetailV2betaListModelsResponse
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
691
697
  class GoogleCloudRetailV2betaListProductsResponse
692
698
  class Representation < Google::Apis::Core::JsonRepresentation; end
693
699
 
@@ -718,12 +724,30 @@ module Google
718
724
  include Google::Apis::Core::JsonObjectSupport
719
725
  end
720
726
 
727
+ class GoogleCloudRetailV2betaModel
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
733
+ class GoogleCloudRetailV2betaModelServingConfigList
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
721
739
  class GoogleCloudRetailV2betaOutputResult
722
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
741
 
724
742
  include Google::Apis::Core::JsonObjectSupport
725
743
  end
726
744
 
745
+ class GoogleCloudRetailV2betaPauseModelRequest
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
727
751
  class GoogleCloudRetailV2betaPredictRequest
728
752
  class Representation < Google::Apis::Core::JsonRepresentation; end
729
753
 
@@ -892,6 +916,12 @@ module Google
892
916
  include Google::Apis::Core::JsonObjectSupport
893
917
  end
894
918
 
919
+ class GoogleCloudRetailV2betaResumeModelRequest
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
895
925
  class GoogleCloudRetailV2betaRule
896
926
  class Representation < Google::Apis::Core::JsonRepresentation; end
897
927
 
@@ -1060,6 +1090,12 @@ module Google
1060
1090
  include Google::Apis::Core::JsonObjectSupport
1061
1091
  end
1062
1092
 
1093
+ class GoogleCloudRetailV2betaTuneModelRequest
1094
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1095
+
1096
+ include Google::Apis::Core::JsonObjectSupport
1097
+ end
1098
+
1063
1099
  class GoogleCloudRetailV2betaUserEvent
1064
1100
  class Representation < Google::Apis::Core::JsonRepresentation; end
1065
1101
 
@@ -1884,6 +1920,7 @@ module Google
1884
1920
  property :name, as: 'name'
1885
1921
  property :rule, as: 'rule', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule::Representation
1886
1922
 
1923
+ collection :search_solution_use_case, as: 'searchSolutionUseCase'
1887
1924
  collection :solution_types, as: 'solutionTypes'
1888
1925
  end
1889
1926
  end
@@ -2081,6 +2118,15 @@ module Google
2081
2118
  end
2082
2119
  end
2083
2120
 
2121
+ class GoogleCloudRetailV2betaListModelsResponse
2122
+ # @private
2123
+ class Representation < Google::Apis::Core::JsonRepresentation
2124
+ collection :models, as: 'models', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaModel, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaModel::Representation
2125
+
2126
+ property :next_page_token, as: 'nextPageToken'
2127
+ end
2128
+ end
2129
+
2084
2130
  class GoogleCloudRetailV2betaListProductsResponse
2085
2131
  # @private
2086
2132
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2130,6 +2176,34 @@ module Google
2130
2176
  end
2131
2177
  end
2132
2178
 
2179
+ class GoogleCloudRetailV2betaModel
2180
+ # @private
2181
+ class Representation < Google::Apis::Core::JsonRepresentation
2182
+ property :create_time, as: 'createTime'
2183
+ property :data_state, as: 'dataState'
2184
+ property :display_name, as: 'displayName'
2185
+ property :filtering_option, as: 'filteringOption'
2186
+ property :last_tune_time, as: 'lastTuneTime'
2187
+ property :name, as: 'name'
2188
+ property :optimization_objective, as: 'optimizationObjective'
2189
+ property :periodic_tuning_state, as: 'periodicTuningState'
2190
+ collection :serving_config_lists, as: 'servingConfigLists', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaModelServingConfigList, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaModelServingConfigList::Representation
2191
+
2192
+ property :serving_state, as: 'servingState'
2193
+ property :training_state, as: 'trainingState'
2194
+ property :tuning_operation, as: 'tuningOperation'
2195
+ property :type, as: 'type'
2196
+ property :update_time, as: 'updateTime'
2197
+ end
2198
+ end
2199
+
2200
+ class GoogleCloudRetailV2betaModelServingConfigList
2201
+ # @private
2202
+ class Representation < Google::Apis::Core::JsonRepresentation
2203
+ collection :serving_config_ids, as: 'servingConfigIds'
2204
+ end
2205
+ end
2206
+
2133
2207
  class GoogleCloudRetailV2betaOutputResult
2134
2208
  # @private
2135
2209
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2138,6 +2212,12 @@ module Google
2138
2212
  end
2139
2213
  end
2140
2214
 
2215
+ class GoogleCloudRetailV2betaPauseModelRequest
2216
+ # @private
2217
+ class Representation < Google::Apis::Core::JsonRepresentation
2218
+ end
2219
+ end
2220
+
2141
2221
  class GoogleCloudRetailV2betaPredictRequest
2142
2222
  # @private
2143
2223
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2220,6 +2300,8 @@ module Google
2220
2300
  collection :images, as: 'images', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImage, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImage::Representation
2221
2301
 
2222
2302
  property :language_code, as: 'languageCode'
2303
+ collection :local_inventories, as: 'localInventories', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaLocalInventory, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaLocalInventory::Representation
2304
+
2223
2305
  collection :materials, as: 'materials'
2224
2306
  property :name, as: 'name'
2225
2307
  collection :patterns, as: 'patterns'
@@ -2414,6 +2496,12 @@ module Google
2414
2496
  end
2415
2497
  end
2416
2498
 
2499
+ class GoogleCloudRetailV2betaResumeModelRequest
2500
+ # @private
2501
+ class Representation < Google::Apis::Core::JsonRepresentation
2502
+ end
2503
+ end
2504
+
2417
2505
  class GoogleCloudRetailV2betaRule
2418
2506
  # @private
2419
2507
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2676,6 +2764,7 @@ module Google
2676
2764
  collection :boost_control_ids, as: 'boostControlIds'
2677
2765
  property :display_name, as: 'displayName'
2678
2766
  property :diversity_level, as: 'diversityLevel'
2767
+ property :diversity_type, as: 'diversityType'
2679
2768
  collection :do_not_associate_control_ids, as: 'doNotAssociateControlIds'
2680
2769
  property :dynamic_facet_spec, as: 'dynamicFacetSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec::Representation
2681
2770
 
@@ -2686,6 +2775,8 @@ module Google
2686
2775
  property :model_id, as: 'modelId'
2687
2776
  property :name, as: 'name'
2688
2777
  collection :oneway_synonyms_control_ids, as: 'onewaySynonymsControlIds'
2778
+ property :personalization_spec, as: 'personalizationSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestPersonalizationSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestPersonalizationSpec::Representation
2779
+
2689
2780
  property :price_reranking_level, as: 'priceRerankingLevel'
2690
2781
  collection :redirect_control_ids, as: 'redirectControlIds'
2691
2782
  collection :replacement_control_ids, as: 'replacementControlIds'
@@ -2726,6 +2817,12 @@ module Google
2726
2817
  end
2727
2818
  end
2728
2819
 
2820
+ class GoogleCloudRetailV2betaTuneModelRequest
2821
+ # @private
2822
+ class Representation < Google::Apis::Core::JsonRepresentation
2823
+ end
2824
+ end
2825
+
2729
2826
  class GoogleCloudRetailV2betaUserEvent
2730
2827
  # @private
2731
2828
  class Representation < Google::Apis::Core::JsonRepresentation