google-apis-retail_v2beta 0.46.0 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f74e93aa1c35a39b2d4d65ad73114159f7e626b1017e849cdeb2feb13966f57f
4
- data.tar.gz: be1d9052554782a6fbf2093c2ffcd61d22da91814bf15e987bff4a305320dbd1
3
+ metadata.gz: 5265670b3734d1129a54f2dbf21193ecbe1066ae8dcecf2c887d01d2b8910817
4
+ data.tar.gz: 41d5d92c45012e20c7b0d8a6da3232fc5eb32432f81e1c2b6f471d90888c9510
5
5
  SHA512:
6
- metadata.gz: 66b33e182063173797ea4b357372e6689ee35fbdaba19db18b9b8a71499ce41a5041bbfdaf046d66a2cc0e4283585ccc33eb8a6609e3429c589f86b9f11e1000
7
- data.tar.gz: c4261fd7a0018b1a44b709b3115bfbe400e9eb53736bdc4abf526b6b827a9c044f6728bef4d9c3f6792051da8b77c9464d594a421e84d4dcaee3ef767be68d5a
6
+ metadata.gz: 44cb9c41e347cc9841f3e66914fc2b1d1fd2faaa65e880e92bea54f215b815eeaab8330a97c200cae70abd80759c7ae62ed416c255c13e3b9ec07c0874097b6a
7
+ data.tar.gz: 933f2fc5231ec1bd62af1c5c96713b2f73a670ea962984fc1de585a2fb42bba85cde6889984e2878e1a4353e06dce2048793a55e74ceee81ea7f32a357719a02
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.49.0 (2022-07-26)
4
+
5
+ * Regenerated from discovery document revision 20220722
6
+
7
+ ### v0.48.0 (2022-07-19)
8
+
9
+ * Regenerated from discovery document revision 20220716
10
+
11
+ ### v0.47.0 (2022-07-12)
12
+
13
+ * Regenerated from discovery document revision 20220707
14
+
3
15
  ### v0.46.0 (2022-07-08)
4
16
 
5
17
  * Regenerated from discovery document revision 20220630
@@ -739,6 +739,51 @@ module Google
739
739
  end
740
740
  end
741
741
 
742
+ # A BigQuery output result.
743
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
744
+ include Google::Apis::Core::Hashable
745
+
746
+ # The ID of a BigQuery Dataset.
747
+ # Corresponds to the JSON property `datasetId`
748
+ # @return [String]
749
+ attr_accessor :dataset_id
750
+
751
+ # The ID of a BigQuery Table.
752
+ # Corresponds to the JSON property `tableId`
753
+ # @return [String]
754
+ attr_accessor :table_id
755
+
756
+ def initialize(**args)
757
+ update!(**args)
758
+ end
759
+
760
+ # Update properties of this object
761
+ def update!(**args)
762
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
763
+ @table_id = args[:table_id] if args.key?(:table_id)
764
+ end
765
+ end
766
+
767
+ # Metadata associated with a create operation.
768
+ class GoogleCloudRetailV2alphaCreateModelMetadata
769
+ include Google::Apis::Core::Hashable
770
+
771
+ # The resource name of the model that this create applies to. Format: projects/`
772
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
773
+ # Corresponds to the JSON property `model`
774
+ # @return [String]
775
+ attr_accessor :model
776
+
777
+ def initialize(**args)
778
+ update!(**args)
779
+ end
780
+
781
+ # Update properties of this object
782
+ def update!(**args)
783
+ @model = args[:model] if args.key?(:model)
784
+ end
785
+ end
786
+
742
787
  # Configuration of destination for Export related errors.
743
788
  class GoogleCloudRetailV2alphaExportErrorsConfig
744
789
  include Google::Apis::Core::Hashable
@@ -803,6 +848,11 @@ module Google
803
848
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig]
804
849
  attr_accessor :errors_config
805
850
 
851
+ # Output result.
852
+ # Corresponds to the JSON property `outputResult`
853
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult]
854
+ attr_accessor :output_result
855
+
806
856
  def initialize(**args)
807
857
  update!(**args)
808
858
  end
@@ -811,6 +861,7 @@ module Google
811
861
  def update!(**args)
812
862
  @error_samples = args[:error_samples] if args.key?(:error_samples)
813
863
  @errors_config = args[:errors_config] if args.key?(:errors_config)
864
+ @output_result = args[:output_result] if args.key?(:output_result)
814
865
  end
815
866
  end
816
867
 
@@ -830,6 +881,11 @@ module Google
830
881
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig]
831
882
  attr_accessor :errors_config
832
883
 
884
+ # Output result.
885
+ # Corresponds to the JSON property `outputResult`
886
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult]
887
+ attr_accessor :output_result
888
+
833
889
  def initialize(**args)
834
890
  update!(**args)
835
891
  end
@@ -838,6 +894,7 @@ module Google
838
894
  def update!(**args)
839
895
  @error_samples = args[:error_samples] if args.key?(:error_samples)
840
896
  @errors_config = args[:errors_config] if args.key?(:errors_config)
897
+ @output_result = args[:output_result] if args.key?(:output_result)
841
898
  end
842
899
  end
843
900
 
@@ -998,6 +1055,278 @@ module Google
998
1055
  end
999
1056
  end
1000
1057
 
1058
+ # Metadata that describes the training and serving parameters of a Model. A
1059
+ # Model can be associated with a ServingConfig and then queried through the
1060
+ # Predict api.
1061
+ class GoogleCloudRetailV2alphaModel
1062
+ include Google::Apis::Core::Hashable
1063
+
1064
+ # Output only. Timestamp the Recommendation Model was created at.
1065
+ # Corresponds to the JSON property `createTime`
1066
+ # @return [String]
1067
+ attr_accessor :create_time
1068
+
1069
+ # Output only. The state of data requirements for this model: DATA_OK and
1070
+ # DATA_ERROR. Recommendation model cannot be trained if the data is in
1071
+ # DATA_ERROR state. Recommendation model can have DATA_ERROR state even if
1072
+ # serving state is ACTIVE: models were trained successfully before, but cannot
1073
+ # be refreshed because model no longer has sufficient data for training.
1074
+ # Corresponds to the JSON property `dataState`
1075
+ # @return [String]
1076
+ attr_accessor :data_state
1077
+
1078
+ # Required. The display name of the model. Should be human readable, used to
1079
+ # display Recommendation Models in the Retail Pantheon Dashboard. UTF-8 encoded
1080
+ # string with limit of 1024 characters.
1081
+ # Corresponds to the JSON property `displayName`
1082
+ # @return [String]
1083
+ attr_accessor :display_name
1084
+
1085
+ # Optional. If RECOMMENDATIONS_FILTERING_ENABLED, recommendation filtering by
1086
+ # attributes is enabled for the model.
1087
+ # Corresponds to the JSON property `filteringOption`
1088
+ # @return [String]
1089
+ attr_accessor :filtering_option
1090
+
1091
+ # Output only. The timestamp when the latest successful tune finished.
1092
+ # Corresponds to the JSON property `lastTuneTime`
1093
+ # @return [String]
1094
+ attr_accessor :last_tune_time
1095
+
1096
+ # Required. The fully qualified resource name of the model. Format: projects/`
1097
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
1098
+ # catalog_id has char limit of 50. recommendation_model_id has char limit of 40.
1099
+ # Corresponds to the JSON property `name`
1100
+ # @return [String]
1101
+ attr_accessor :name
1102
+
1103
+ # Optional. The optimization objective e.g. `cvr`. Currently supported values: `
1104
+ # ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on
1105
+ # model type. Default depends on type of recommendation: `recommended-for-you` =>
1106
+ # `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `
1107
+ # revenue_per_order`
1108
+ # Corresponds to the JSON property `optimizationObjective`
1109
+ # @return [String]
1110
+ attr_accessor :optimization_objective
1111
+
1112
+ # The PageOptimizationConfig for model training. This determines how many panels
1113
+ # to optimize for, and which serving configurations to consider for each panel.
1114
+ # The purpose of this model is to optimize which ServingConfig to show on which
1115
+ # panels in way that optimizes the visitors shopping journey.
1116
+ # Corresponds to the JSON property `pageOptimizationConfig`
1117
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfig]
1118
+ attr_accessor :page_optimization_config
1119
+
1120
+ # Optional. The state of periodic tuning. The period we use is 3 months - to do
1121
+ # a one-off tune earlier use the TuneModel method. Default value is
1122
+ # PERIODIC_TUNING_ENABLED.
1123
+ # Corresponds to the JSON property `periodicTuningState`
1124
+ # @return [String]
1125
+ attr_accessor :periodic_tuning_state
1126
+
1127
+ # Output only. The list of valid serving configs associated with the
1128
+ # PageOptimizationConfig.
1129
+ # Corresponds to the JSON property `servingConfigLists`
1130
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelServingConfigList>]
1131
+ attr_accessor :serving_config_lists
1132
+
1133
+ # Output only. The serving state of the model: ACTIVE, NOT_ACTIVE.
1134
+ # Corresponds to the JSON property `servingState`
1135
+ # @return [String]
1136
+ attr_accessor :serving_state
1137
+
1138
+ # Optional. The training state that the model is in (e.g. TRAINING or PAUSED).
1139
+ # Since part of the cost of running the service is frequency of training - this
1140
+ # can be used to determine when to train model in order to control cost. If not
1141
+ # specified: the default value for CreateModel method is TRAINING. the default
1142
+ # value for UpdateModel method is to keep the state the same as before.
1143
+ # Corresponds to the JSON property `trainingState`
1144
+ # @return [String]
1145
+ attr_accessor :training_state
1146
+
1147
+ # Output only. The tune operation associated with the model. Can be used to
1148
+ # determine if there is an ongoing tune for this recommendation. Empty field
1149
+ # implies no tune is goig on.
1150
+ # Corresponds to the JSON property `tuningOperation`
1151
+ # @return [String]
1152
+ attr_accessor :tuning_operation
1153
+
1154
+ # Required. The type of model e.g. `home-page`. Currently supported values: `
1155
+ # recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
1156
+ # page-optimization`, 'similar-items', 'buy-it-again', `recently-viewed`(
1157
+ # readonly value).
1158
+ # Corresponds to the JSON property `type`
1159
+ # @return [String]
1160
+ attr_accessor :type
1161
+
1162
+ # Output only. Timestamp the Recommendation Model was last updated. E.g. if a
1163
+ # Recommendation Model was paused - this would be the time the pause was
1164
+ # initiated.
1165
+ # Corresponds to the JSON property `updateTime`
1166
+ # @return [String]
1167
+ attr_accessor :update_time
1168
+
1169
+ def initialize(**args)
1170
+ update!(**args)
1171
+ end
1172
+
1173
+ # Update properties of this object
1174
+ def update!(**args)
1175
+ @create_time = args[:create_time] if args.key?(:create_time)
1176
+ @data_state = args[:data_state] if args.key?(:data_state)
1177
+ @display_name = args[:display_name] if args.key?(:display_name)
1178
+ @filtering_option = args[:filtering_option] if args.key?(:filtering_option)
1179
+ @last_tune_time = args[:last_tune_time] if args.key?(:last_tune_time)
1180
+ @name = args[:name] if args.key?(:name)
1181
+ @optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
1182
+ @page_optimization_config = args[:page_optimization_config] if args.key?(:page_optimization_config)
1183
+ @periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
1184
+ @serving_config_lists = args[:serving_config_lists] if args.key?(:serving_config_lists)
1185
+ @serving_state = args[:serving_state] if args.key?(:serving_state)
1186
+ @training_state = args[:training_state] if args.key?(:training_state)
1187
+ @tuning_operation = args[:tuning_operation] if args.key?(:tuning_operation)
1188
+ @type = args[:type] if args.key?(:type)
1189
+ @update_time = args[:update_time] if args.key?(:update_time)
1190
+ end
1191
+ end
1192
+
1193
+ # The PageOptimizationConfig for model training. This determines how many panels
1194
+ # to optimize for, and which serving configurations to consider for each panel.
1195
+ # The purpose of this model is to optimize which ServingConfig to show on which
1196
+ # panels in way that optimizes the visitors shopping journey.
1197
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfig
1198
+ include Google::Apis::Core::Hashable
1199
+
1200
+ # Required. The type of UserEvent this page optimization is shown for. Each page
1201
+ # has an associated event type - this will be the corresponding event type for
1202
+ # the page that the page optimization model is used on. Supported types: * `add-
1203
+ # to-cart`: Products being added to cart. * `detail-page-view`: Products detail
1204
+ # page viewed. * `home-page-view`: Homepage viewed * `category-page-view`:
1205
+ # Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `
1206
+ # home-page-view` only allows models with type `recommended-for-you`. All other
1207
+ # page_optimization_event_type allow all Model.types.
1208
+ # Corresponds to the JSON property `pageOptimizationEventType`
1209
+ # @return [String]
1210
+ attr_accessor :page_optimization_event_type
1211
+
1212
+ # Required. A list of panel configurations. Limit = 5.
1213
+ # Corresponds to the JSON property `panels`
1214
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel>]
1215
+ attr_accessor :panels
1216
+
1217
+ # Optional. How to restrict results across panels e.g. can the same
1218
+ # ServingConfig be shown on multiple panels at once. If unspecified, default to `
1219
+ # UNIQUE_MODEL_RESTRICTION`.
1220
+ # Corresponds to the JSON property `restriction`
1221
+ # @return [String]
1222
+ attr_accessor :restriction
1223
+
1224
+ def initialize(**args)
1225
+ update!(**args)
1226
+ end
1227
+
1228
+ # Update properties of this object
1229
+ def update!(**args)
1230
+ @page_optimization_event_type = args[:page_optimization_event_type] if args.key?(:page_optimization_event_type)
1231
+ @panels = args[:panels] if args.key?(:panels)
1232
+ @restriction = args[:restriction] if args.key?(:restriction)
1233
+ end
1234
+ end
1235
+
1236
+ # A candidate to consider for a given panel. Currently only ServingConfig are
1237
+ # valid candidates.
1238
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
1239
+ include Google::Apis::Core::Hashable
1240
+
1241
+ # This has to be a valid ServingConfig identifier. e.g. for a ServingConfig with
1242
+ # full name: `projects/*/locations/global/catalogs/default_catalog/
1243
+ # servingConfigs/my_candidate_config` this would be 'my_candidate_config'
1244
+ # Corresponds to the JSON property `servingConfigId`
1245
+ # @return [String]
1246
+ attr_accessor :serving_config_id
1247
+
1248
+ def initialize(**args)
1249
+ update!(**args)
1250
+ end
1251
+
1252
+ # Update properties of this object
1253
+ def update!(**args)
1254
+ @serving_config_id = args[:serving_config_id] if args.key?(:serving_config_id)
1255
+ end
1256
+ end
1257
+
1258
+ # An individual panel with a list of ServingConfigs to consider for it.
1259
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
1260
+ include Google::Apis::Core::Hashable
1261
+
1262
+ # Required. The candidates to consider on the panel. Limit = 10.
1263
+ # Corresponds to the JSON property `candidates`
1264
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate>]
1265
+ attr_accessor :candidates
1266
+
1267
+ # A candidate to consider for a given panel. Currently only ServingConfig are
1268
+ # valid candidates.
1269
+ # Corresponds to the JSON property `defaultCandidate`
1270
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate]
1271
+ attr_accessor :default_candidate
1272
+
1273
+ # Optional. The name to display for the panel.
1274
+ # Corresponds to the JSON property `displayName`
1275
+ # @return [String]
1276
+ attr_accessor :display_name
1277
+
1278
+ def initialize(**args)
1279
+ update!(**args)
1280
+ end
1281
+
1282
+ # Update properties of this object
1283
+ def update!(**args)
1284
+ @candidates = args[:candidates] if args.key?(:candidates)
1285
+ @default_candidate = args[:default_candidate] if args.key?(:default_candidate)
1286
+ @display_name = args[:display_name] if args.key?(:display_name)
1287
+ end
1288
+ end
1289
+
1290
+ # Represents an ordered combination of valid serving configs, which / may be
1291
+ # used for PAGE_OPTIMIZATION recommendations.
1292
+ class GoogleCloudRetailV2alphaModelServingConfigList
1293
+ include Google::Apis::Core::Hashable
1294
+
1295
+ # Optional. A set of valid serving configs that may be used for
1296
+ # PAGE_OPTIMIZATION.
1297
+ # Corresponds to the JSON property `servingConfigIds`
1298
+ # @return [Array<String>]
1299
+ attr_accessor :serving_config_ids
1300
+
1301
+ def initialize(**args)
1302
+ update!(**args)
1303
+ end
1304
+
1305
+ # Update properties of this object
1306
+ def update!(**args)
1307
+ @serving_config_ids = args[:serving_config_ids] if args.key?(:serving_config_ids)
1308
+ end
1309
+ end
1310
+
1311
+ # Output result.
1312
+ class GoogleCloudRetailV2alphaOutputResult
1313
+ include Google::Apis::Core::Hashable
1314
+
1315
+ # Export result in BigQuery.
1316
+ # Corresponds to the JSON property `bigqueryResult`
1317
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaBigQueryOutputResult>]
1318
+ attr_accessor :bigquery_result
1319
+
1320
+ def initialize(**args)
1321
+ update!(**args)
1322
+ end
1323
+
1324
+ # Update properties of this object
1325
+ def update!(**args)
1326
+ @bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
1327
+ end
1328
+ end
1329
+
1001
1330
  # Metadata related to the progress of the Purge operation. This will be returned
1002
1331
  # by the google.longrunning.Operation.metadata field.
1003
1332
  class GoogleCloudRetailV2alphaPurgeMetadata
@@ -1222,6 +1551,39 @@ module Google
1222
1551
  end
1223
1552
  end
1224
1553
 
1554
+ # Metadata associated with a tune operation.
1555
+ class GoogleCloudRetailV2alphaTuneModelMetadata
1556
+ include Google::Apis::Core::Hashable
1557
+
1558
+ # The resource name of the model that this tune applies to. Format: projects/`
1559
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
1560
+ # Corresponds to the JSON property `model`
1561
+ # @return [String]
1562
+ attr_accessor :model
1563
+
1564
+ def initialize(**args)
1565
+ update!(**args)
1566
+ end
1567
+
1568
+ # Update properties of this object
1569
+ def update!(**args)
1570
+ @model = args[:model] if args.key?(:model)
1571
+ end
1572
+ end
1573
+
1574
+ # Response associated with a tune operation.
1575
+ class GoogleCloudRetailV2alphaTuneModelResponse
1576
+ include Google::Apis::Core::Hashable
1577
+
1578
+ def initialize(**args)
1579
+ update!(**args)
1580
+ end
1581
+
1582
+ # Update properties of this object
1583
+ def update!(**args)
1584
+ end
1585
+ end
1586
+
1225
1587
  # A summary of import result. The UserEventImportSummary summarizes the import
1226
1588
  # status for user events.
1227
1589
  class GoogleCloudRetailV2alphaUserEventImportSummary
@@ -1530,6 +1892,31 @@ module Google
1530
1892
  end
1531
1893
  end
1532
1894
 
1895
+ # A BigQuery output result.
1896
+ class GoogleCloudRetailV2betaBigQueryOutputResult
1897
+ include Google::Apis::Core::Hashable
1898
+
1899
+ # The ID of a BigQuery Dataset.
1900
+ # Corresponds to the JSON property `datasetId`
1901
+ # @return [String]
1902
+ attr_accessor :dataset_id
1903
+
1904
+ # The ID of a BigQuery Table.
1905
+ # Corresponds to the JSON property `tableId`
1906
+ # @return [String]
1907
+ attr_accessor :table_id
1908
+
1909
+ def initialize(**args)
1910
+ update!(**args)
1911
+ end
1912
+
1913
+ # Update properties of this object
1914
+ def update!(**args)
1915
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
1916
+ @table_id = args[:table_id] if args.key?(:table_id)
1917
+ end
1918
+ end
1919
+
1533
1920
  # BigQuery source import data from.
1534
1921
  class GoogleCloudRetailV2betaBigQuerySource
1535
1922
  include Google::Apis::Core::Hashable
@@ -1662,11 +2049,11 @@ module Google
1662
2049
  # Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
1663
2050
  # CatalogService.AddCatalogAttribute, CatalogService.ImportCatalogAttributes, or
1664
2051
  # CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-
1665
- # loaded CatalogAttributes. Only CatalogAttributes that are not in use by
1666
- # products can be deleted. CatalogAttributes that are in use by products cannot
1667
- # be deleted; however, their configuration properties will reset to default
1668
- # values upon removal request. After catalog changes, it takes about 10 minutes
1669
- # for this field to update.
2052
+ # loaded CatalogAttributes. Only pre-loaded CatalogAttributes that are neither
2053
+ # in use by products nor predefined can be deleted. CatalogAttributes that are
2054
+ # either in use by products or are predefined cannot be deleted; however, their
2055
+ # configuration properties will reset to default values upon removal request.
2056
+ # After catalog changes, it takes about 10 minutes for this field to update.
1670
2057
  # Corresponds to the JSON property `inUse`
1671
2058
  # @return [Boolean]
1672
2059
  attr_accessor :in_use
@@ -1815,9 +2202,8 @@ module Google
1815
2202
 
1816
2203
  # Custom attributes for the suggestion term. * For "user-data", the attributes
1817
2204
  # are additional custom attributes ingested through BigQuery. * For "cloud-
1818
- # retail", the attributes are product attributes generated by Cloud Retail. This
1819
- # is an experimental feature. Contact Retail Search support team if you are
1820
- # interested in enabling it.
2205
+ # retail", the attributes are product attributes generated by Cloud Retail. It
2206
+ # requires UserEvent.product_details is imported properly.
1821
2207
  # Corresponds to the JSON property `attributes`
1822
2208
  # @return [Hash<String,Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute>]
1823
2209
  attr_accessor :attributes
@@ -2277,6 +2663,11 @@ module Google
2277
2663
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig]
2278
2664
  attr_accessor :errors_config
2279
2665
 
2666
+ # Output result.
2667
+ # Corresponds to the JSON property `outputResult`
2668
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult]
2669
+ attr_accessor :output_result
2670
+
2280
2671
  def initialize(**args)
2281
2672
  update!(**args)
2282
2673
  end
@@ -2285,6 +2676,7 @@ module Google
2285
2676
  def update!(**args)
2286
2677
  @error_samples = args[:error_samples] if args.key?(:error_samples)
2287
2678
  @errors_config = args[:errors_config] if args.key?(:errors_config)
2679
+ @output_result = args[:output_result] if args.key?(:output_result)
2288
2680
  end
2289
2681
  end
2290
2682
 
@@ -2304,6 +2696,11 @@ module Google
2304
2696
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig]
2305
2697
  attr_accessor :errors_config
2306
2698
 
2699
+ # Output result.
2700
+ # Corresponds to the JSON property `outputResult`
2701
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult]
2702
+ attr_accessor :output_result
2703
+
2307
2704
  def initialize(**args)
2308
2705
  update!(**args)
2309
2706
  end
@@ -2312,6 +2709,7 @@ module Google
2312
2709
  def update!(**args)
2313
2710
  @error_samples = args[:error_samples] if args.key?(:error_samples)
2314
2711
  @errors_config = args[:errors_config] if args.key?(:errors_config)
2712
+ @output_result = args[:output_result] if args.key?(:output_result)
2315
2713
  end
2316
2714
  end
2317
2715
 
@@ -3006,6 +3404,25 @@ module Google
3006
3404
  end
3007
3405
  end
3008
3406
 
3407
+ # Output result.
3408
+ class GoogleCloudRetailV2betaOutputResult
3409
+ include Google::Apis::Core::Hashable
3410
+
3411
+ # Export result in BigQuery.
3412
+ # Corresponds to the JSON property `bigqueryResult`
3413
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQueryOutputResult>]
3414
+ attr_accessor :bigquery_result
3415
+
3416
+ def initialize(**args)
3417
+ update!(**args)
3418
+ end
3419
+
3420
+ # Update properties of this object
3421
+ def update!(**args)
3422
+ @bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
3423
+ end
3424
+ end
3425
+
3009
3426
  # Request message for Predict method.
3010
3427
  class GoogleCloudRetailV2betaPredictRequest
3011
3428
  include Google::Apis::Core::Hashable
@@ -3027,7 +3444,7 @@ module Google
3027
3444
  # in `PredictRequest.params` to receive empty results instead. Note that the API
3028
3445
  # will never return items with storageStatus of "EXPIRED" or "DELETED"
3029
3446
  # regardless of filter choices. If `filterSyntaxV2` is set to true under the `
3030
- # params` field, then attribute based expressions are expected instead of the
3447
+ # params` field, then attribute-based expressions are expected instead of the
3031
3448
  # above described tag-based syntax. Examples: * (colors: ANY("Red", "Blue")) AND
3032
3449
  # NOT (categories: ANY("Phones")) * (availability: ANY("IN_STOCK")) AND (colors:
3033
3450
  # ANY("Red") OR categories: ANY("Phones"))
@@ -3058,7 +3475,7 @@ module Google
3058
3475
  # @return [Fixnum]
3059
3476
  attr_accessor :page_size
3060
3477
 
3061
- # The previous PredictResponse.next_page_token.
3478
+ # This field is not used for now, leave it unset.
3062
3479
  # Corresponds to the JSON property `pageToken`
3063
3480
  # @return [String]
3064
3481
  attr_accessor :page_token
@@ -3080,8 +3497,8 @@ module Google
3080
3497
  # it needs to be one of `'no-diversity', 'low-diversity', 'medium-diversity', '
3081
3498
  # high-diversity', 'auto-diversity'`. This gives request-level control and
3082
3499
  # adjusts prediction results based on product category. * `filterSyntaxV2`:
3083
- # Boolean. False by default. If set to true, the `filter` field will be
3084
- # interpreteted according to the new, attribute-based syntax.
3500
+ # Boolean. False by default. If set to true, the `filter` field is interpreteted
3501
+ # according to the new, attribute-based syntax.
3085
3502
  # Corresponds to the JSON property `params`
3086
3503
  # @return [Hash<String,Object>]
3087
3504
  attr_accessor :params
@@ -4263,13 +4680,13 @@ module Google
4263
4680
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleDoNotAssociateAction]
4264
4681
  attr_accessor :do_not_associate_action
4265
4682
 
4266
- # * Rule Condition: - No Condition provided is a global match. - 1 or more
4267
- # Condition provided is combined with OR operator. * Action Input: The request
4268
- # query and filter that will be applied to the retrieved products, in addition
4269
- # to any filters already provided with the SearchRequest. The AND operator is
4270
- # used to combine the query's existing filters with the filter rule(s). NOTE:
4271
- # May result in 0 results when filters conflict. * Action Result: Filters the
4272
- # returned objects to be ONLY those that passed the filter.
4683
+ # * Rule Condition: - No Condition.query_terms provided is a global match. - 1
4684
+ # or more Condition.query_terms provided is combined with OR operator. * Action
4685
+ # Input: The request query and filter that are applied to the retrieved products,
4686
+ # in addition to any filters already provided with the SearchRequest. The AND
4687
+ # operator is used to combine the query's existing filters with the filter rule(
4688
+ # s). NOTE: May result in 0 results when filters conflict. * Action Result:
4689
+ # Filters the returned objects to be ONLY those that passed the filter.
4273
4690
  # Corresponds to the JSON property `filterAction`
4274
4691
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleFilterAction]
4275
4692
  attr_accessor :filter_action
@@ -4289,8 +4706,8 @@ module Google
4289
4706
  attr_accessor :oneway_synonyms_action
4290
4707
 
4291
4708
  # Redirects a shopper to a specific page. * Rule Condition: - Must specify
4292
- # Condition. * Action Input: Request Query * Action Result: Redirects shopper to
4293
- # provided uri.
4709
+ # Condition.query_terms. * Action Input: Request Query * Action Result:
4710
+ # Redirects shopper to provided uri.
4294
4711
  # Corresponds to the JSON property `redirectAction`
4295
4712
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleRedirectAction]
4296
4713
  attr_accessor :redirect_action
@@ -4400,13 +4817,13 @@ module Google
4400
4817
  end
4401
4818
  end
4402
4819
 
4403
- # * Rule Condition: - No Condition provided is a global match. - 1 or more
4404
- # Condition provided is combined with OR operator. * Action Input: The request
4405
- # query and filter that will be applied to the retrieved products, in addition
4406
- # to any filters already provided with the SearchRequest. The AND operator is
4407
- # used to combine the query's existing filters with the filter rule(s). NOTE:
4408
- # May result in 0 results when filters conflict. * Action Result: Filters the
4409
- # returned objects to be ONLY those that passed the filter.
4820
+ # * Rule Condition: - No Condition.query_terms provided is a global match. - 1
4821
+ # or more Condition.query_terms provided is combined with OR operator. * Action
4822
+ # Input: The request query and filter that are applied to the retrieved products,
4823
+ # in addition to any filters already provided with the SearchRequest. The AND
4824
+ # operator is used to combine the query's existing filters with the filter rule(
4825
+ # s). NOTE: May result in 0 results when filters conflict. * Action Result:
4826
+ # Filters the returned objects to be ONLY those that passed the filter.
4410
4827
  class GoogleCloudRetailV2betaRuleFilterAction
4411
4828
  include Google::Apis::Core::Hashable
4412
4829
 
@@ -4487,8 +4904,8 @@ module Google
4487
4904
  end
4488
4905
 
4489
4906
  # Redirects a shopper to a specific page. * Rule Condition: - Must specify
4490
- # Condition. * Action Input: Request Query * Action Result: Redirects shopper to
4491
- # provided uri.
4907
+ # Condition.query_terms. * Action Input: Request Query * Action Result:
4908
+ # Redirects shopper to provided uri.
4492
4909
  class GoogleCloudRetailV2betaRuleRedirectAction
4493
4910
  include Google::Apis::Core::Hashable
4494
4911
 
@@ -5125,7 +5542,7 @@ module Google
5125
5542
 
5126
5543
  # Contains the spell corrected query, if found. If the spell correction type is
5127
5544
  # AUTOMATIC, then the search results are based on corrected_query. Otherwise the
5128
- # original query will be used for search.
5545
+ # original query is used for search.
5129
5546
  # Corresponds to the JSON property `correctedQuery`
5130
5547
  # @return [String]
5131
5548
  attr_accessor :corrected_query
@@ -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.46.0"
19
+ GEM_VERSION = "0.49.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 = "20220630"
25
+ REVISION = "20220722"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,18 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleCloudRetailV2alphaCreateModelMetadata
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
211
223
  class GoogleCloudRetailV2alphaExportErrorsConfig
212
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
225
 
@@ -262,6 +274,42 @@ module Google
262
274
  include Google::Apis::Core::JsonObjectSupport
263
275
  end
264
276
 
277
+ class GoogleCloudRetailV2alphaModel
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfig
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleCloudRetailV2alphaModelServingConfigList
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GoogleCloudRetailV2alphaOutputResult
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
265
313
  class GoogleCloudRetailV2alphaPurgeMetadata
266
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
315
 
@@ -334,6 +382,18 @@ module Google
334
382
  include Google::Apis::Core::JsonObjectSupport
335
383
  end
336
384
 
385
+ class GoogleCloudRetailV2alphaTuneModelMetadata
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class GoogleCloudRetailV2alphaTuneModelResponse
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
337
397
  class GoogleCloudRetailV2alphaUserEventImportSummary
338
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
399
 
@@ -400,6 +460,12 @@ module Google
400
460
  include Google::Apis::Core::JsonObjectSupport
401
461
  end
402
462
 
463
+ class GoogleCloudRetailV2betaBigQueryOutputResult
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
403
469
  class GoogleCloudRetailV2betaBigQuerySource
404
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
471
 
@@ -634,6 +700,12 @@ module Google
634
700
  include Google::Apis::Core::JsonObjectSupport
635
701
  end
636
702
 
703
+ class GoogleCloudRetailV2betaOutputResult
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
637
709
  class GoogleCloudRetailV2betaPredictRequest
638
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
639
711
 
@@ -1266,6 +1338,21 @@ module Google
1266
1338
  end
1267
1339
  end
1268
1340
 
1341
+ class GoogleCloudRetailV2alphaBigQueryOutputResult
1342
+ # @private
1343
+ class Representation < Google::Apis::Core::JsonRepresentation
1344
+ property :dataset_id, as: 'datasetId'
1345
+ property :table_id, as: 'tableId'
1346
+ end
1347
+ end
1348
+
1349
+ class GoogleCloudRetailV2alphaCreateModelMetadata
1350
+ # @private
1351
+ class Representation < Google::Apis::Core::JsonRepresentation
1352
+ property :model, as: 'model'
1353
+ end
1354
+ end
1355
+
1269
1356
  class GoogleCloudRetailV2alphaExportErrorsConfig
1270
1357
  # @private
1271
1358
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1288,6 +1375,8 @@ module Google
1288
1375
 
1289
1376
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
1290
1377
 
1378
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult::Representation
1379
+
1291
1380
  end
1292
1381
  end
1293
1382
 
@@ -1298,6 +1387,8 @@ module Google
1298
1387
 
1299
1388
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
1300
1389
 
1390
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult::Representation
1391
+
1301
1392
  end
1302
1393
  end
1303
1394
 
@@ -1350,6 +1441,72 @@ module Google
1350
1441
  end
1351
1442
  end
1352
1443
 
1444
+ class GoogleCloudRetailV2alphaModel
1445
+ # @private
1446
+ class Representation < Google::Apis::Core::JsonRepresentation
1447
+ property :create_time, as: 'createTime'
1448
+ property :data_state, as: 'dataState'
1449
+ property :display_name, as: 'displayName'
1450
+ property :filtering_option, as: 'filteringOption'
1451
+ property :last_tune_time, as: 'lastTuneTime'
1452
+ property :name, as: 'name'
1453
+ property :optimization_objective, as: 'optimizationObjective'
1454
+ property :page_optimization_config, as: 'pageOptimizationConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfig::Representation
1455
+
1456
+ property :periodic_tuning_state, as: 'periodicTuningState'
1457
+ collection :serving_config_lists, as: 'servingConfigLists', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelServingConfigList, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelServingConfigList::Representation
1458
+
1459
+ property :serving_state, as: 'servingState'
1460
+ property :training_state, as: 'trainingState'
1461
+ property :tuning_operation, as: 'tuningOperation'
1462
+ property :type, as: 'type'
1463
+ property :update_time, as: 'updateTime'
1464
+ end
1465
+ end
1466
+
1467
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfig
1468
+ # @private
1469
+ class Representation < Google::Apis::Core::JsonRepresentation
1470
+ property :page_optimization_event_type, as: 'pageOptimizationEventType'
1471
+ collection :panels, as: 'panels', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel::Representation
1472
+
1473
+ property :restriction, as: 'restriction'
1474
+ end
1475
+ end
1476
+
1477
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
1478
+ # @private
1479
+ class Representation < Google::Apis::Core::JsonRepresentation
1480
+ property :serving_config_id, as: 'servingConfigId'
1481
+ end
1482
+ end
1483
+
1484
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
1485
+ # @private
1486
+ class Representation < Google::Apis::Core::JsonRepresentation
1487
+ collection :candidates, as: 'candidates', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate::Representation
1488
+
1489
+ property :default_candidate, as: 'defaultCandidate', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate::Representation
1490
+
1491
+ property :display_name, as: 'displayName'
1492
+ end
1493
+ end
1494
+
1495
+ class GoogleCloudRetailV2alphaModelServingConfigList
1496
+ # @private
1497
+ class Representation < Google::Apis::Core::JsonRepresentation
1498
+ collection :serving_config_ids, as: 'servingConfigIds'
1499
+ end
1500
+ end
1501
+
1502
+ class GoogleCloudRetailV2alphaOutputResult
1503
+ # @private
1504
+ class Representation < Google::Apis::Core::JsonRepresentation
1505
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaBigQueryOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaBigQueryOutputResult::Representation
1506
+
1507
+ end
1508
+ end
1509
+
1353
1510
  class GoogleCloudRetailV2alphaPurgeMetadata
1354
1511
  # @private
1355
1512
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1430,6 +1587,19 @@ module Google
1430
1587
  end
1431
1588
  end
1432
1589
 
1590
+ class GoogleCloudRetailV2alphaTuneModelMetadata
1591
+ # @private
1592
+ class Representation < Google::Apis::Core::JsonRepresentation
1593
+ property :model, as: 'model'
1594
+ end
1595
+ end
1596
+
1597
+ class GoogleCloudRetailV2alphaTuneModelResponse
1598
+ # @private
1599
+ class Representation < Google::Apis::Core::JsonRepresentation
1600
+ end
1601
+ end
1602
+
1433
1603
  class GoogleCloudRetailV2alphaUserEventImportSummary
1434
1604
  # @private
1435
1605
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1516,6 +1686,14 @@ module Google
1516
1686
  end
1517
1687
  end
1518
1688
 
1689
+ class GoogleCloudRetailV2betaBigQueryOutputResult
1690
+ # @private
1691
+ class Representation < Google::Apis::Core::JsonRepresentation
1692
+ property :dataset_id, as: 'datasetId'
1693
+ property :table_id, as: 'tableId'
1694
+ end
1695
+ end
1696
+
1519
1697
  class GoogleCloudRetailV2betaBigQuerySource
1520
1698
  # @private
1521
1699
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1698,6 +1876,8 @@ module Google
1698
1876
 
1699
1877
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig::Representation
1700
1878
 
1879
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult::Representation
1880
+
1701
1881
  end
1702
1882
  end
1703
1883
 
@@ -1708,6 +1888,8 @@ module Google
1708
1888
 
1709
1889
  property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig::Representation
1710
1890
 
1891
+ property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult::Representation
1892
+
1711
1893
  end
1712
1894
  end
1713
1895
 
@@ -1904,6 +2086,14 @@ module Google
1904
2086
  end
1905
2087
  end
1906
2088
 
2089
+ class GoogleCloudRetailV2betaOutputResult
2090
+ # @private
2091
+ class Representation < Google::Apis::Core::JsonRepresentation
2092
+ collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQueryOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQueryOutputResult::Representation
2093
+
2094
+ end
2095
+ end
2096
+
1907
2097
  class GoogleCloudRetailV2betaPredictRequest
1908
2098
  # @private
1909
2099
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1379,9 +1379,9 @@ module Google
1379
1379
 
1380
1380
  # Makes a recommendation prediction.
1381
1381
  # @param [String] placement
1382
- # Required. Full resource name of the format: `placement=projects/*/locations/
1383
- # global/catalogs/default_catalog/servingConfigs/*` or `placement=projects/*/
1384
- # locations/global/catalogs/default_catalog/placements/*`. We recommend using
1382
+ # Required. Full resource name of the format: ``placement=projects/*/locations/
1383
+ # global/catalogs/default_catalog/servingConfigs/*`` or ``placement=projects/*/
1384
+ # locations/global/catalogs/default_catalog/placements/*``. We recommend using
1385
1385
  # the `servingConfigs` resource. `placements` is a legacy resource. The ID of
1386
1386
  # the Recommendations AI serving config or placement. Before you can request
1387
1387
  # predictions from your model, you must create at least one serving config or
@@ -1685,9 +1685,9 @@ module Google
1685
1685
 
1686
1686
  # Makes a recommendation prediction.
1687
1687
  # @param [String] placement
1688
- # Required. Full resource name of the format: `placement=projects/*/locations/
1689
- # global/catalogs/default_catalog/servingConfigs/*` or `placement=projects/*/
1690
- # locations/global/catalogs/default_catalog/placements/*`. We recommend using
1688
+ # Required. Full resource name of the format: ``placement=projects/*/locations/
1689
+ # global/catalogs/default_catalog/servingConfigs/*`` or ``placement=projects/*/
1690
+ # locations/global/catalogs/default_catalog/placements/*``. We recommend using
1691
1691
  # the `servingConfigs` resource. `placements` is a legacy resource. The ID of
1692
1692
  # the Recommendations AI serving config or placement. Before you can request
1693
1693
  # predictions from your model, you must create at least one serving config or
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-11 00:00:00.000000000 Z
11
+ date: 2022-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.49.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
63
63
  post_install_message:
64
64
  rdoc_options: []