google-apis-retail_v2 0.44.0 → 0.47.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40c595a903184358447bd18333a927509eda97807e8aca38da03dbb199fadf83
4
- data.tar.gz: '0079da13b0d5abcb882624214653ad500d6c051bb0c5c3c5b1fc80e17ce38a89'
3
+ metadata.gz: c09cea59f0e218ebdd11c839834e82295d3a45fd248a8babc8f75714cb705ac4
4
+ data.tar.gz: a2a2fcaee18b8271e0f47474168a1992cc3056006f93cd7519614c14e23346d1
5
5
  SHA512:
6
- metadata.gz: d103b204abbeb3fa2c8b83d460640e8eef92c9e58a33e871c0afd2f5d332a6318cc66b71b0b6d6633f7cc9933564a3d9737d7d49798c70b26240497326f36c95
7
- data.tar.gz: 20a46356ae6939c333d3d3318dc575c421e77029df6dc04127988eb289fd4d8ea15c3d04134e3d217631f5d8bdadce1b6eadfdca0f72c740fb5f1fe915c2a70c
6
+ metadata.gz: 7ed356c9d8a968f2c609dd836d0540b2cca6dc1817a0a2394b138cde4ab3edece4b7fce3766fdb228a4e297b8c17143b47cebd73bc45a2b23e264140c928bd1c
7
+ data.tar.gz: 05412fac6d26e5cff7450480c54d1b99e1e298de1e02f78d43e2cee1854678708746c292d00191a190cb17a93c9981806f8604447a87735a78f0b0416f73e2e9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.47.0 (2022-07-19)
4
+
5
+ * Regenerated from discovery document revision 20220716
6
+
7
+ ### v0.46.0 (2022-07-12)
8
+
9
+ * Regenerated from discovery document revision 20220707
10
+
11
+ ### v0.45.0 (2022-07-08)
12
+
13
+ * Regenerated from discovery document revision 20220630
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.44.0 (2022-06-30)
4
17
 
5
18
  * Regenerated using generator version 0.8.0
@@ -680,9 +680,8 @@ module Google
680
680
 
681
681
  # Custom attributes for the suggestion term. * For "user-data", the attributes
682
682
  # are additional custom attributes ingested through BigQuery. * For "cloud-
683
- # retail", the attributes are product attributes generated by Cloud Retail. This
684
- # is an experimental feature. Contact Retail Search support team if you are
685
- # interested in enabling it.
683
+ # retail", the attributes are product attributes generated by Cloud Retail. It
684
+ # requires UserEvent.product_details is imported properly.
686
685
  # Corresponds to the JSON property `attributes`
687
686
  # @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute>]
688
687
  attr_accessor :attributes
@@ -1411,7 +1410,7 @@ module Google
1411
1410
  # in `PredictRequest.params` to receive empty results instead. Note that the API
1412
1411
  # will never return items with storageStatus of "EXPIRED" or "DELETED"
1413
1412
  # regardless of filter choices. If `filterSyntaxV2` is set to true under the `
1414
- # params` field, then attribute based expressions are expected instead of the
1413
+ # params` field, then attribute-based expressions are expected instead of the
1415
1414
  # above described tag-based syntax. Examples: * (colors: ANY("Red", "Blue")) AND
1416
1415
  # NOT (categories: ANY("Phones")) * (availability: ANY("IN_STOCK")) AND (colors:
1417
1416
  # ANY("Red") OR categories: ANY("Phones"))
@@ -1442,7 +1441,7 @@ module Google
1442
1441
  # @return [Fixnum]
1443
1442
  attr_accessor :page_size
1444
1443
 
1445
- # The previous PredictResponse.next_page_token.
1444
+ # This field is not used for now, leave it unset.
1446
1445
  # Corresponds to the JSON property `pageToken`
1447
1446
  # @return [String]
1448
1447
  attr_accessor :page_token
@@ -1464,8 +1463,8 @@ module Google
1464
1463
  # it needs to be one of `'no-diversity', 'low-diversity', 'medium-diversity', '
1465
1464
  # high-diversity', 'auto-diversity'`. This gives request-level control and
1466
1465
  # adjusts prediction results based on product category. * `filterSyntaxV2`:
1467
- # Boolean. False by default. If set to true, the `filter` field will be
1468
- # interpreteted according to the new, attribute-based syntax.
1466
+ # Boolean. False by default. If set to true, the `filter` field is interpreteted
1467
+ # according to the new, attribute-based syntax.
1469
1468
  # Corresponds to the JSON property `params`
1470
1469
  # @return [Hash<String,Object>]
1471
1470
  attr_accessor :params
@@ -2403,7 +2402,7 @@ module Google
2403
2402
 
2404
2403
  # Metadata related to the progress of the RemoveFulfillmentPlaces operation.
2405
2404
  # Currently empty because there is no meaningful metadata populated from the
2406
- # RemoveFulfillmentPlaces method.
2405
+ # ProductService.RemoveFulfillmentPlaces method.
2407
2406
  class GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata
2408
2407
  include Google::Apis::Core::Hashable
2409
2408
 
@@ -2416,7 +2415,7 @@ module Google
2416
2415
  end
2417
2416
  end
2418
2417
 
2419
- # Request message for RemoveFulfillmentPlaces method.
2418
+ # Request message for ProductService.RemoveFulfillmentPlaces method.
2420
2419
  class GoogleCloudRetailV2RemoveFulfillmentPlacesRequest
2421
2420
  include Google::Apis::Core::Hashable
2422
2421
 
@@ -2471,7 +2470,8 @@ module Google
2471
2470
  end
2472
2471
 
2473
2472
  # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
2474
- # is no meaningful response populated from the RemoveFulfillmentPlaces method.
2473
+ # is no meaningful response populated from the ProductService.
2474
+ # RemoveFulfillmentPlaces method.
2475
2475
  class GoogleCloudRetailV2RemoveFulfillmentPlacesResponse
2476
2476
  include Google::Apis::Core::Hashable
2477
2477
 
@@ -2486,7 +2486,7 @@ module Google
2486
2486
 
2487
2487
  # Metadata related to the progress of the RemoveLocalInventories operation.
2488
2488
  # Currently empty because there is no meaningful metadata populated from the
2489
- # RemoveLocalInventories method.
2489
+ # ProductService.RemoveLocalInventories method.
2490
2490
  class GoogleCloudRetailV2RemoveLocalInventoriesMetadata
2491
2491
  include Google::Apis::Core::Hashable
2492
2492
 
@@ -2499,7 +2499,7 @@ module Google
2499
2499
  end
2500
2500
  end
2501
2501
 
2502
- # Request message for RemoveLocalInventories method.
2502
+ # Request message for ProductService.RemoveLocalInventories method.
2503
2503
  class GoogleCloudRetailV2RemoveLocalInventoriesRequest
2504
2504
  include Google::Apis::Core::Hashable
2505
2505
 
@@ -2537,8 +2537,9 @@ module Google
2537
2537
  end
2538
2538
  end
2539
2539
 
2540
- # Response of the RemoveLocalInventories API. Currently empty because there is
2541
- # no meaningful response populated from the RemoveLocalInventories method.
2540
+ # Response of the ProductService.RemoveLocalInventories API. Currently empty
2541
+ # because there is no meaningful response populated from the ProductService.
2542
+ # RemoveLocalInventories method.
2542
2543
  class GoogleCloudRetailV2RemoveLocalInventoriesResponse
2543
2544
  include Google::Apis::Core::Hashable
2544
2545
 
@@ -2961,13 +2962,14 @@ module Google
2961
2962
  # @return [String]
2962
2963
  attr_accessor :key
2963
2964
 
2964
- # The order in which Facet.values are returned. Allowed values are: * "count
2965
- # desc", which means order by Facet.FacetValue.count descending. * "value desc",
2966
- # which means order by Facet.FacetValue.value descending. Only applies to
2967
- # textual facets. If not set, textual values are sorted in [natural order](https:
2968
- # //en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in
2969
- # the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are
2970
- # sorted in the order given by FacetSpec.FacetKey.restricted_values.
2965
+ # The order in which SearchResponse.Facet.values are returned. Allowed values
2966
+ # are: * "count desc", which means order by SearchResponse.Facet.values.count
2967
+ # descending. * "value desc", which means order by SearchResponse.Facet.values.
2968
+ # value descending. Only applies to textual facets. If not set, textual values
2969
+ # are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order)
2970
+ # ; numerical intervals are sorted in the order given by FacetSpec.FacetKey.
2971
+ # intervals; FulfillmentInfo.place_ids are sorted in the order given by
2972
+ # FacetSpec.FacetKey.restricted_values.
2971
2973
  # Corresponds to the JSON property `orderBy`
2972
2974
  # @return [String]
2973
2975
  attr_accessor :order_by
@@ -2985,12 +2987,13 @@ module Google
2985
2987
  # it will override the default behavior of facet computation. The query syntax
2986
2988
  # is the same as a filter expression. See SearchRequest.filter for detail syntax
2987
2989
  # and limitations. Notice that there is no limitation on FacetKey.key when query
2988
- # is specified. In the response, FacetValue.value will be always "1" and
2989
- # FacetValue.count will be the number of results that matches the query. For
2990
- # example, you can set a customized facet for "shipToStore", where FacetKey.key
2991
- # is "customizedShipToStore", and FacetKey.query is "availability: ANY(\"
2992
- # IN_STOCK\") AND shipToStore: ANY(\"123\")". Then the facet will count the
2993
- # products that are both in stock and ship to store "123".
2990
+ # is specified. In the response, SearchResponse.Facet.values.value will be
2991
+ # always "1" and SearchResponse.Facet.values.count will be the number of results
2992
+ # that match the query. For example, you can set a customized facet for "
2993
+ # shipToStore", where FacetKey.key is "customizedShipToStore", and FacetKey.
2994
+ # query is "availability: ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")". Then
2995
+ # the facet will count the products that are both in stock and ship to store "
2996
+ # 123".
2994
2997
  # Corresponds to the JSON property `query`
2995
2998
  # @return [String]
2996
2999
  attr_accessor :query
@@ -3111,7 +3114,7 @@ module Google
3111
3114
 
3112
3115
  # Contains the spell corrected query, if found. If the spell correction type is
3113
3116
  # AUTOMATIC, then the search results are based on corrected_query. Otherwise the
3114
- # original query will be used for search.
3117
+ # original query is used for search.
3115
3118
  # Corresponds to the JSON property `correctedQuery`
3116
3119
  # @return [String]
3117
3120
  attr_accessor :corrected_query
@@ -3368,8 +3371,8 @@ module Google
3368
3371
  end
3369
3372
 
3370
3373
  # Metadata related to the progress of the SetInventory operation. Currently
3371
- # empty because there is no meaningful metadata populated from the SetInventory
3372
- # method.
3374
+ # empty because there is no meaningful metadata populated from the
3375
+ # ProductService.SetInventory method.
3373
3376
  class GoogleCloudRetailV2SetInventoryMetadata
3374
3377
  include Google::Apis::Core::Hashable
3375
3378
 
@@ -3382,7 +3385,7 @@ module Google
3382
3385
  end
3383
3386
  end
3384
3387
 
3385
- # Request message for SetInventory method.
3388
+ # Request message for ProductService.SetInventory method.
3386
3389
  class GoogleCloudRetailV2SetInventoryRequest
3387
3390
  include Google::Apis::Core::Hashable
3388
3391
 
@@ -3429,7 +3432,7 @@ module Google
3429
3432
  end
3430
3433
 
3431
3434
  # Response of the SetInventoryRequest. Currently empty because there is no
3432
- # meaningful response populated from the SetInventory method.
3435
+ # meaningful response populated from the ProductService.SetInventory method.
3433
3436
  class GoogleCloudRetailV2SetInventoryResponse
3434
3437
  include Google::Apis::Core::Hashable
3435
3438
 
@@ -3864,6 +3867,26 @@ module Google
3864
3867
  end
3865
3868
  end
3866
3869
 
3870
+ # Metadata associated with a create operation.
3871
+ class GoogleCloudRetailV2alphaCreateModelMetadata
3872
+ include Google::Apis::Core::Hashable
3873
+
3874
+ # The resource name of the model that this create applies to. Format: projects/`
3875
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
3876
+ # Corresponds to the JSON property `model`
3877
+ # @return [String]
3878
+ attr_accessor :model
3879
+
3880
+ def initialize(**args)
3881
+ update!(**args)
3882
+ end
3883
+
3884
+ # Update properties of this object
3885
+ def update!(**args)
3886
+ @model = args[:model] if args.key?(:model)
3887
+ end
3888
+ end
3889
+
3867
3890
  # Configuration of destination for Export related errors.
3868
3891
  class GoogleCloudRetailV2alphaExportErrorsConfig
3869
3892
  include Google::Apis::Core::Hashable
@@ -4123,6 +4146,231 @@ module Google
4123
4146
  end
4124
4147
  end
4125
4148
 
4149
+ # Metadata that describes the training and serving parameters of a Model. A
4150
+ # Model can be associated with a ServingConfig and then queried through the
4151
+ # Predict api.
4152
+ class GoogleCloudRetailV2alphaModel
4153
+ include Google::Apis::Core::Hashable
4154
+
4155
+ # Output only. Timestamp the Recommendation Model was created at.
4156
+ # Corresponds to the JSON property `createTime`
4157
+ # @return [String]
4158
+ attr_accessor :create_time
4159
+
4160
+ # Output only. The state of data requirements for this model: DATA_OK and
4161
+ # DATA_ERROR. Recommendation model cannot be trained if the data is in
4162
+ # DATA_ERROR state. Recommendation model can have DATA_ERROR state even if
4163
+ # serving state is ACTIVE: models were trained successfully before, but cannot
4164
+ # be refreshed because model no longer has sufficient data for training.
4165
+ # Corresponds to the JSON property `dataState`
4166
+ # @return [String]
4167
+ attr_accessor :data_state
4168
+
4169
+ # Required. The display name of the model. Should be human readable, used to
4170
+ # display Recommendation Models in the Retail Pantheon Dashboard. UTF-8 encoded
4171
+ # string with limit of 1024 characters.
4172
+ # Corresponds to the JSON property `displayName`
4173
+ # @return [String]
4174
+ attr_accessor :display_name
4175
+
4176
+ # Optional. If RECOMMENDATIONS_FILTERING_ENABLED, recommendation filtering by
4177
+ # attributes is enabled for the model.
4178
+ # Corresponds to the JSON property `filteringOption`
4179
+ # @return [String]
4180
+ attr_accessor :filtering_option
4181
+
4182
+ # Output only. The timestamp when the latest successful tune finished.
4183
+ # Corresponds to the JSON property `lastTuneTime`
4184
+ # @return [String]
4185
+ attr_accessor :last_tune_time
4186
+
4187
+ # Required. The fully qualified resource name of the model. Format: projects/`
4188
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
4189
+ # catalog_id has char limit of 50. recommendation_model_id has char limit of 40.
4190
+ # Corresponds to the JSON property `name`
4191
+ # @return [String]
4192
+ attr_accessor :name
4193
+
4194
+ # Optional. The optimization objective e.g. `cvr`. Currently supported values: `
4195
+ # ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on
4196
+ # model type. Default depends on type of recommendation: `recommended-for-you` =>
4197
+ # `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `
4198
+ # revenue_per_order`
4199
+ # Corresponds to the JSON property `optimizationObjective`
4200
+ # @return [String]
4201
+ attr_accessor :optimization_objective
4202
+
4203
+ # The PageOptimizationConfig for model training. This determines how many panels
4204
+ # to optimize for, and which serving configurations to consider for each panel.
4205
+ # The purpose of this model is to optimize which ServingConfig to show on which
4206
+ # panels in way that optimizes the visitors shopping journey.
4207
+ # Corresponds to the JSON property `pageOptimizationConfig`
4208
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfig]
4209
+ attr_accessor :page_optimization_config
4210
+
4211
+ # Optional. The state of periodic tuning. The period we use is 3 months - to do
4212
+ # a one-off tune earlier use the TuneModel method. Default value is
4213
+ # PERIODIC_TUNING_ENABLED.
4214
+ # Corresponds to the JSON property `periodicTuningState`
4215
+ # @return [String]
4216
+ attr_accessor :periodic_tuning_state
4217
+
4218
+ # Output only. The serving state of the model: ACTIVE, NOT_ACTIVE.
4219
+ # Corresponds to the JSON property `servingState`
4220
+ # @return [String]
4221
+ attr_accessor :serving_state
4222
+
4223
+ # Optional. The training state that the model is in (e.g. TRAINING or PAUSED).
4224
+ # Since part of the cost of running the service is frequency of training - this
4225
+ # can be used to determine when to train model in order to control cost. If not
4226
+ # specified: the default value for CreateModel method is TRAINING. the default
4227
+ # value for UpdateModel method is to keep the state the same as before.
4228
+ # Corresponds to the JSON property `trainingState`
4229
+ # @return [String]
4230
+ attr_accessor :training_state
4231
+
4232
+ # Output only. The tune operation associated with the model. Can be used to
4233
+ # determine if there is an ongoing tune for this recommendation. Empty field
4234
+ # implies no tune is goig on.
4235
+ # Corresponds to the JSON property `tuningOperation`
4236
+ # @return [String]
4237
+ attr_accessor :tuning_operation
4238
+
4239
+ # Required. The type of model e.g. `home-page`. Currently supported values: `
4240
+ # recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
4241
+ # page-optimization`, 'similar-items', 'buy-it-again', `recently-viewed`(
4242
+ # readonly value).
4243
+ # Corresponds to the JSON property `type`
4244
+ # @return [String]
4245
+ attr_accessor :type
4246
+
4247
+ # Output only. Timestamp the Recommendation Model was last updated. E.g. if a
4248
+ # Recommendation Model was paused - this would be the time the pause was
4249
+ # initiated.
4250
+ # Corresponds to the JSON property `updateTime`
4251
+ # @return [String]
4252
+ attr_accessor :update_time
4253
+
4254
+ def initialize(**args)
4255
+ update!(**args)
4256
+ end
4257
+
4258
+ # Update properties of this object
4259
+ def update!(**args)
4260
+ @create_time = args[:create_time] if args.key?(:create_time)
4261
+ @data_state = args[:data_state] if args.key?(:data_state)
4262
+ @display_name = args[:display_name] if args.key?(:display_name)
4263
+ @filtering_option = args[:filtering_option] if args.key?(:filtering_option)
4264
+ @last_tune_time = args[:last_tune_time] if args.key?(:last_tune_time)
4265
+ @name = args[:name] if args.key?(:name)
4266
+ @optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
4267
+ @page_optimization_config = args[:page_optimization_config] if args.key?(:page_optimization_config)
4268
+ @periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
4269
+ @serving_state = args[:serving_state] if args.key?(:serving_state)
4270
+ @training_state = args[:training_state] if args.key?(:training_state)
4271
+ @tuning_operation = args[:tuning_operation] if args.key?(:tuning_operation)
4272
+ @type = args[:type] if args.key?(:type)
4273
+ @update_time = args[:update_time] if args.key?(:update_time)
4274
+ end
4275
+ end
4276
+
4277
+ # The PageOptimizationConfig for model training. This determines how many panels
4278
+ # to optimize for, and which serving configurations to consider for each panel.
4279
+ # The purpose of this model is to optimize which ServingConfig to show on which
4280
+ # panels in way that optimizes the visitors shopping journey.
4281
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfig
4282
+ include Google::Apis::Core::Hashable
4283
+
4284
+ # Required. The type of UserEvent this page optimization is shown for. Each page
4285
+ # has an associated event type - this will be the corresponding event type for
4286
+ # the page that the page optimization model is used on. Supported types: * `add-
4287
+ # to-cart`: Products being added to cart. * `detail-page-view`: Products detail
4288
+ # page viewed. * `home-page-view`: Homepage viewed * `category-page-view`:
4289
+ # Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `
4290
+ # home-page-view` only allows models with type `recommended-for-you`. All other
4291
+ # page_optimization_event_type allow all Model.types.
4292
+ # Corresponds to the JSON property `pageOptimizationEventType`
4293
+ # @return [String]
4294
+ attr_accessor :page_optimization_event_type
4295
+
4296
+ # Required. A list of panel configurations. Limit = 5.
4297
+ # Corresponds to the JSON property `panels`
4298
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel>]
4299
+ attr_accessor :panels
4300
+
4301
+ # Optional. How to restrict results across panels e.g. can the same
4302
+ # ServingConfig be shown on multiple panels at once. If unspecified, default to `
4303
+ # UNIQUE_MODEL_RESTRICTION`.
4304
+ # Corresponds to the JSON property `restriction`
4305
+ # @return [String]
4306
+ attr_accessor :restriction
4307
+
4308
+ def initialize(**args)
4309
+ update!(**args)
4310
+ end
4311
+
4312
+ # Update properties of this object
4313
+ def update!(**args)
4314
+ @page_optimization_event_type = args[:page_optimization_event_type] if args.key?(:page_optimization_event_type)
4315
+ @panels = args[:panels] if args.key?(:panels)
4316
+ @restriction = args[:restriction] if args.key?(:restriction)
4317
+ end
4318
+ end
4319
+
4320
+ # A candidate to consider for a given panel. Currently only ServingConfig are
4321
+ # valid candidates.
4322
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
4323
+ include Google::Apis::Core::Hashable
4324
+
4325
+ # This has to be a valid ServingConfig identifier. e.g. for a ServingConfig with
4326
+ # full name: `projects/*/locations/global/catalogs/default_catalog/
4327
+ # servingConfigs/my_candidate_config` this would be 'my_candidate_config'
4328
+ # Corresponds to the JSON property `servingConfigId`
4329
+ # @return [String]
4330
+ attr_accessor :serving_config_id
4331
+
4332
+ def initialize(**args)
4333
+ update!(**args)
4334
+ end
4335
+
4336
+ # Update properties of this object
4337
+ def update!(**args)
4338
+ @serving_config_id = args[:serving_config_id] if args.key?(:serving_config_id)
4339
+ end
4340
+ end
4341
+
4342
+ # An individual panel with a list of ServingConfigs to consider for it.
4343
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
4344
+ include Google::Apis::Core::Hashable
4345
+
4346
+ # Required. The candidates to consider on the panel. Limit = 10.
4347
+ # Corresponds to the JSON property `candidates`
4348
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate>]
4349
+ attr_accessor :candidates
4350
+
4351
+ # A candidate to consider for a given panel. Currently only ServingConfig are
4352
+ # valid candidates.
4353
+ # Corresponds to the JSON property `defaultCandidate`
4354
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate]
4355
+ attr_accessor :default_candidate
4356
+
4357
+ # Optional. The name to display for the panel.
4358
+ # Corresponds to the JSON property `displayName`
4359
+ # @return [String]
4360
+ attr_accessor :display_name
4361
+
4362
+ def initialize(**args)
4363
+ update!(**args)
4364
+ end
4365
+
4366
+ # Update properties of this object
4367
+ def update!(**args)
4368
+ @candidates = args[:candidates] if args.key?(:candidates)
4369
+ @default_candidate = args[:default_candidate] if args.key?(:default_candidate)
4370
+ @display_name = args[:display_name] if args.key?(:display_name)
4371
+ end
4372
+ end
4373
+
4126
4374
  # Metadata related to the progress of the Purge operation. This will be returned
4127
4375
  # by the google.longrunning.Operation.metadata field.
4128
4376
  class GoogleCloudRetailV2alphaPurgeMetadata
@@ -4260,7 +4508,7 @@ module Google
4260
4508
 
4261
4509
  # Metadata related to the progress of the RemoveFulfillmentPlaces operation.
4262
4510
  # Currently empty because there is no meaningful metadata populated from the
4263
- # RemoveFulfillmentPlaces method.
4511
+ # ProductService.RemoveFulfillmentPlaces method.
4264
4512
  class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata
4265
4513
  include Google::Apis::Core::Hashable
4266
4514
 
@@ -4274,7 +4522,8 @@ module Google
4274
4522
  end
4275
4523
 
4276
4524
  # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
4277
- # is no meaningful response populated from the RemoveFulfillmentPlaces method.
4525
+ # is no meaningful response populated from the ProductService.
4526
+ # RemoveFulfillmentPlaces method.
4278
4527
  class GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse
4279
4528
  include Google::Apis::Core::Hashable
4280
4529
 
@@ -4289,7 +4538,7 @@ module Google
4289
4538
 
4290
4539
  # Metadata related to the progress of the RemoveLocalInventories operation.
4291
4540
  # Currently empty because there is no meaningful metadata populated from the
4292
- # RemoveLocalInventories method.
4541
+ # ProductService.RemoveLocalInventories method.
4293
4542
  class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
4294
4543
  include Google::Apis::Core::Hashable
4295
4544
 
@@ -4302,8 +4551,9 @@ module Google
4302
4551
  end
4303
4552
  end
4304
4553
 
4305
- # Response of the RemoveLocalInventories API. Currently empty because there is
4306
- # no meaningful response populated from the RemoveLocalInventories method.
4554
+ # Response of the ProductService.RemoveLocalInventories API. Currently empty
4555
+ # because there is no meaningful response populated from the ProductService.
4556
+ # RemoveLocalInventories method.
4307
4557
  class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
4308
4558
  include Google::Apis::Core::Hashable
4309
4559
 
@@ -4317,8 +4567,8 @@ module Google
4317
4567
  end
4318
4568
 
4319
4569
  # Metadata related to the progress of the SetInventory operation. Currently
4320
- # empty because there is no meaningful metadata populated from the SetInventory
4321
- # method.
4570
+ # empty because there is no meaningful metadata populated from the
4571
+ # ProductService.SetInventory method.
4322
4572
  class GoogleCloudRetailV2alphaSetInventoryMetadata
4323
4573
  include Google::Apis::Core::Hashable
4324
4574
 
@@ -4332,7 +4582,7 @@ module Google
4332
4582
  end
4333
4583
 
4334
4584
  # Response of the SetInventoryRequest. Currently empty because there is no
4335
- # meaningful response populated from the SetInventory method.
4585
+ # meaningful response populated from the ProductService.SetInventory method.
4336
4586
  class GoogleCloudRetailV2alphaSetInventoryResponse
4337
4587
  include Google::Apis::Core::Hashable
4338
4588
 
@@ -4345,6 +4595,39 @@ module Google
4345
4595
  end
4346
4596
  end
4347
4597
 
4598
+ # Metadata associated with a tune operation.
4599
+ class GoogleCloudRetailV2alphaTuneModelMetadata
4600
+ include Google::Apis::Core::Hashable
4601
+
4602
+ # The resource name of the model that this tune applies to. Format: projects/`
4603
+ # project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
4604
+ # Corresponds to the JSON property `model`
4605
+ # @return [String]
4606
+ attr_accessor :model
4607
+
4608
+ def initialize(**args)
4609
+ update!(**args)
4610
+ end
4611
+
4612
+ # Update properties of this object
4613
+ def update!(**args)
4614
+ @model = args[:model] if args.key?(:model)
4615
+ end
4616
+ end
4617
+
4618
+ # Response associated with a tune operation.
4619
+ class GoogleCloudRetailV2alphaTuneModelResponse
4620
+ include Google::Apis::Core::Hashable
4621
+
4622
+ def initialize(**args)
4623
+ update!(**args)
4624
+ end
4625
+
4626
+ # Update properties of this object
4627
+ def update!(**args)
4628
+ end
4629
+ end
4630
+
4348
4631
  # A summary of import result. The UserEventImportSummary summarizes the import
4349
4632
  # status for user events.
4350
4633
  class GoogleCloudRetailV2alphaUserEventImportSummary
@@ -4760,7 +5043,7 @@ module Google
4760
5043
 
4761
5044
  # Metadata related to the progress of the RemoveFulfillmentPlaces operation.
4762
5045
  # Currently empty because there is no meaningful metadata populated from the
4763
- # RemoveFulfillmentPlaces method.
5046
+ # ProductService.RemoveFulfillmentPlaces method.
4764
5047
  class GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata
4765
5048
  include Google::Apis::Core::Hashable
4766
5049
 
@@ -4774,7 +5057,8 @@ module Google
4774
5057
  end
4775
5058
 
4776
5059
  # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
4777
- # is no meaningful response populated from the RemoveFulfillmentPlaces method.
5060
+ # is no meaningful response populated from the ProductService.
5061
+ # RemoveFulfillmentPlaces method.
4778
5062
  class GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse
4779
5063
  include Google::Apis::Core::Hashable
4780
5064
 
@@ -4789,7 +5073,7 @@ module Google
4789
5073
 
4790
5074
  # Metadata related to the progress of the RemoveLocalInventories operation.
4791
5075
  # Currently empty because there is no meaningful metadata populated from the
4792
- # RemoveLocalInventories method.
5076
+ # ProductService.RemoveLocalInventories method.
4793
5077
  class GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata
4794
5078
  include Google::Apis::Core::Hashable
4795
5079
 
@@ -4802,8 +5086,9 @@ module Google
4802
5086
  end
4803
5087
  end
4804
5088
 
4805
- # Response of the RemoveLocalInventories API. Currently empty because there is
4806
- # no meaningful response populated from the RemoveLocalInventories method.
5089
+ # Response of the ProductService.RemoveLocalInventories API. Currently empty
5090
+ # because there is no meaningful response populated from the ProductService.
5091
+ # RemoveLocalInventories method.
4807
5092
  class GoogleCloudRetailV2betaRemoveLocalInventoriesResponse
4808
5093
  include Google::Apis::Core::Hashable
4809
5094
 
@@ -4817,8 +5102,8 @@ module Google
4817
5102
  end
4818
5103
 
4819
5104
  # Metadata related to the progress of the SetInventory operation. Currently
4820
- # empty because there is no meaningful metadata populated from the SetInventory
4821
- # method.
5105
+ # empty because there is no meaningful metadata populated from the
5106
+ # ProductService.SetInventory method.
4822
5107
  class GoogleCloudRetailV2betaSetInventoryMetadata
4823
5108
  include Google::Apis::Core::Hashable
4824
5109
 
@@ -4832,7 +5117,7 @@ module Google
4832
5117
  end
4833
5118
 
4834
5119
  # Response of the SetInventoryRequest. Currently empty because there is no
4835
- # meaningful response populated from the SetInventory method.
5120
+ # meaningful response populated from the ProductService.SetInventory method.
4836
5121
  class GoogleCloudRetailV2betaSetInventoryResponse
4837
5122
  include Google::Apis::Core::Hashable
4838
5123
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2
18
18
  # Version of the google-apis-retail_v2 gem
19
- GEM_VERSION = "0.44.0"
19
+ GEM_VERSION = "0.47.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 = "20220617"
25
+ REVISION = "20220716"
26
26
  end
27
27
  end
28
28
  end
@@ -568,6 +568,12 @@ module Google
568
568
  include Google::Apis::Core::JsonObjectSupport
569
569
  end
570
570
 
571
+ class GoogleCloudRetailV2alphaCreateModelMetadata
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
571
577
  class GoogleCloudRetailV2alphaExportErrorsConfig
572
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
579
 
@@ -622,6 +628,30 @@ module Google
622
628
  include Google::Apis::Core::JsonObjectSupport
623
629
  end
624
630
 
631
+ class GoogleCloudRetailV2alphaModel
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
637
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfig
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
643
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
625
655
  class GoogleCloudRetailV2alphaPurgeMetadata
626
656
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
657
 
@@ -694,6 +724,18 @@ module Google
694
724
  include Google::Apis::Core::JsonObjectSupport
695
725
  end
696
726
 
727
+ class GoogleCloudRetailV2alphaTuneModelMetadata
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
733
+ class GoogleCloudRetailV2alphaTuneModelResponse
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
697
739
  class GoogleCloudRetailV2alphaUserEventImportSummary
698
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
741
 
@@ -1780,6 +1822,13 @@ module Google
1780
1822
  end
1781
1823
  end
1782
1824
 
1825
+ class GoogleCloudRetailV2alphaCreateModelMetadata
1826
+ # @private
1827
+ class Representation < Google::Apis::Core::JsonRepresentation
1828
+ property :model, as: 'model'
1829
+ end
1830
+ end
1831
+
1783
1832
  class GoogleCloudRetailV2alphaExportErrorsConfig
1784
1833
  # @private
1785
1834
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1864,6 +1913,55 @@ module Google
1864
1913
  end
1865
1914
  end
1866
1915
 
1916
+ class GoogleCloudRetailV2alphaModel
1917
+ # @private
1918
+ class Representation < Google::Apis::Core::JsonRepresentation
1919
+ property :create_time, as: 'createTime'
1920
+ property :data_state, as: 'dataState'
1921
+ property :display_name, as: 'displayName'
1922
+ property :filtering_option, as: 'filteringOption'
1923
+ property :last_tune_time, as: 'lastTuneTime'
1924
+ property :name, as: 'name'
1925
+ property :optimization_objective, as: 'optimizationObjective'
1926
+ property :page_optimization_config, as: 'pageOptimizationConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfig::Representation
1927
+
1928
+ property :periodic_tuning_state, as: 'periodicTuningState'
1929
+ property :serving_state, as: 'servingState'
1930
+ property :training_state, as: 'trainingState'
1931
+ property :tuning_operation, as: 'tuningOperation'
1932
+ property :type, as: 'type'
1933
+ property :update_time, as: 'updateTime'
1934
+ end
1935
+ end
1936
+
1937
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfig
1938
+ # @private
1939
+ class Representation < Google::Apis::Core::JsonRepresentation
1940
+ property :page_optimization_event_type, as: 'pageOptimizationEventType'
1941
+ collection :panels, as: 'panels', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel::Representation
1942
+
1943
+ property :restriction, as: 'restriction'
1944
+ end
1945
+ end
1946
+
1947
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
1948
+ # @private
1949
+ class Representation < Google::Apis::Core::JsonRepresentation
1950
+ property :serving_config_id, as: 'servingConfigId'
1951
+ end
1952
+ end
1953
+
1954
+ class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
1955
+ # @private
1956
+ class Representation < Google::Apis::Core::JsonRepresentation
1957
+ collection :candidates, as: 'candidates', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate::Representation
1958
+
1959
+ property :default_candidate, as: 'defaultCandidate', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate::Representation
1960
+
1961
+ property :display_name, as: 'displayName'
1962
+ end
1963
+ end
1964
+
1867
1965
  class GoogleCloudRetailV2alphaPurgeMetadata
1868
1966
  # @private
1869
1967
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1944,6 +2042,19 @@ module Google
1944
2042
  end
1945
2043
  end
1946
2044
 
2045
+ class GoogleCloudRetailV2alphaTuneModelMetadata
2046
+ # @private
2047
+ class Representation < Google::Apis::Core::JsonRepresentation
2048
+ property :model, as: 'model'
2049
+ end
2050
+ end
2051
+
2052
+ class GoogleCloudRetailV2alphaTuneModelResponse
2053
+ # @private
2054
+ class Representation < Google::Apis::Core::JsonRepresentation
2055
+ end
2056
+ end
2057
+
1947
2058
  class GoogleCloudRetailV2alphaUserEventImportSummary
1948
2059
  # @private
1949
2060
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -72,12 +72,13 @@ module Google
72
72
  # `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `MOBILE` * A customized string starts with
73
73
  # `OTHER_`, e.g. `OTHER_IPHONE`.
74
74
  # @param [Array<String>, String] language_codes
75
- # The language filters applied to the output suggestions. If set, it should
76
- # contain the language of the query. If not set, suggestions are returned
77
- # without considering language restrictions. This is the BCP-47 language code,
78
- # such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying
79
- # Languages](https://tools.ietf.org/html/bcp47). The maximum number of language
80
- # codes is 3.
75
+ # Note that this field applies for `user-data` dataset only. For requests with `
76
+ # cloud-retail` dataset, setting this field has no effect. The language filters
77
+ # applied to the output suggestions. If set, it should contain the language of
78
+ # the query. If not set, suggestions are returned without considering language
79
+ # restrictions. This is the BCP-47 language code, such as "en-US" or "sr-Latn".
80
+ # For more information, see [Tags for Identifying Languages](https://tools.ietf.
81
+ # org/html/bcp47). The maximum number of language codes is 3.
81
82
  # @param [Fixnum] max_suggestions
82
83
  # Completion max suggestions. If left unset or set to 0, then will fallback to
83
84
  # the configured value CompletionConfig.max_suggestions. The maximum allowed max
@@ -325,9 +326,9 @@ module Google
325
326
  # updating fulfillment information. If the request is valid, the update will be
326
327
  # enqueued and processed downstream. As a consequence, when a response is
327
328
  # returned, the added place IDs are not immediately manifested in the Product
328
- # queried by GetProduct or ListProducts. This feature is only available for
329
- # users who have Retail Search enabled. Please enable Retail Search on Cloud
330
- # Console before using this feature.
329
+ # queried by ProductService.GetProduct or ProductService.ListProducts. This
330
+ # feature is only available for users who have Retail Search enabled. Please
331
+ # enable Retail Search on Cloud Console before using this feature.
331
332
  # @param [String] product
332
333
  # Required. Full resource name of Product, such as `projects/*/locations/global/
333
334
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -368,11 +369,13 @@ module Google
368
369
  # asynchronous and does not require the Product to exist before updating
369
370
  # inventory information. If the request is valid, the update will be enqueued
370
371
  # and processed downstream. As a consequence, when a response is returned,
371
- # updates are not immediately manifested in the Product queried by GetProduct or
372
- # ListProducts. Local inventory information can only be modified using this
373
- # method. CreateProduct and UpdateProduct has no effect on local inventories.
374
- # This feature is only available for users who have Retail Search enabled.
375
- # Please enable Retail Search on Cloud Console before using this feature.
372
+ # updates are not immediately manifested in the Product queried by
373
+ # ProductService.GetProduct or ProductService.ListProducts. Local inventory
374
+ # information can only be modified using this method. ProductService.
375
+ # CreateProduct and ProductService.UpdateProduct has no effect on local
376
+ # inventories. This feature is only available for users who have Retail Search
377
+ # enabled. Please enable Retail Search on Cloud Console before using this
378
+ # feature.
376
379
  # @param [String] product
377
380
  # Required. Full resource name of Product, such as `projects/*/locations/global/
378
381
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -678,9 +681,9 @@ module Google
678
681
  # updating fulfillment information. If the request is valid, the update will be
679
682
  # enqueued and processed downstream. As a consequence, when a response is
680
683
  # returned, the removed place IDs are not immediately manifested in the Product
681
- # queried by GetProduct or ListProducts. This feature is only available for
682
- # users who have Retail Search enabled. Please enable Retail Search on Cloud
683
- # Console before using this feature.
684
+ # queried by ProductService.GetProduct or ProductService.ListProducts. This
685
+ # feature is only available for users who have Retail Search enabled. Please
686
+ # enable Retail Search on Cloud Console before using this feature.
684
687
  # @param [String] product
685
688
  # Required. Full resource name of Product, such as `projects/*/locations/global/
686
689
  # catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
@@ -720,10 +723,11 @@ module Google
720
723
  # removal timestamp. This process is asynchronous. If the request is valid, the
721
724
  # removal will be enqueued and processed downstream. As a consequence, when a
722
725
  # response is returned, removals are not immediately manifested in the Product
723
- # queried by GetProduct or ListProducts. Local inventory information can only be
724
- # removed using this method. CreateProduct and UpdateProduct has no effect on
725
- # local inventories. This feature is only available for users who have Retail
726
- # Search enabled. Please enable Retail Search on Cloud Console before using this
726
+ # queried by ProductService.GetProduct or ProductService.ListProducts. Local
727
+ # inventory information can only be removed using this method. ProductService.
728
+ # CreateProduct and ProductService.UpdateProduct has no effect on local
729
+ # inventories. This feature is only available for users who have Retail Search
730
+ # enabled. Please enable Retail Search on Cloud Console before using this
727
731
  # feature.
728
732
  # @param [String] product
729
733
  # Required. Full resource name of Product, such as `projects/*/locations/global/
@@ -765,19 +769,21 @@ module Google
765
769
  # require the Product to exist before updating fulfillment information. If the
766
770
  # request is valid, the update will be enqueued and processed downstream. As a
767
771
  # consequence, when a response is returned, updates are not immediately
768
- # manifested in the Product queried by GetProduct or ListProducts. When
769
- # inventory is updated with CreateProduct and UpdateProduct, the specified
770
- # inventory field value(s) will overwrite any existing value(s) while ignoring
771
- # the last update time for this field. Furthermore, the last update time for the
772
- # specified inventory fields will be overwritten to the time of the
773
- # CreateProduct or UpdateProduct request. If no inventory fields are set in
774
- # CreateProductRequest.product, then any pre-existing inventory information for
775
- # this product will be used. If no inventory fields are set in
772
+ # manifested in the Product queried by ProductService.GetProduct or
773
+ # ProductService.ListProducts. When inventory is updated with ProductService.
774
+ # CreateProduct and ProductService.UpdateProduct, the specified inventory field
775
+ # value(s) will overwrite any existing value(s) while ignoring the last update
776
+ # time for this field. Furthermore, the last update time for the specified
777
+ # inventory fields will be overwritten to the time of the ProductService.
778
+ # CreateProduct or ProductService.UpdateProduct request. If no inventory fields
779
+ # are set in CreateProductRequest.product, then any pre-existing inventory
780
+ # information for this product will be used. If no inventory fields are set in
776
781
  # SetInventoryRequest.set_mask, then any existing inventory information will be
777
782
  # preserved. Pre-existing inventory information can only be updated with
778
- # SetInventory, ProductService.AddFulfillmentPlaces, and RemoveFulfillmentPlaces.
779
- # This feature is only available for users who have Retail Search enabled.
780
- # Please enable Retail Search on Cloud Console before using this feature.
783
+ # ProductService.SetInventory, ProductService.AddFulfillmentPlaces, and
784
+ # ProductService.RemoveFulfillmentPlaces. This feature is only available for
785
+ # users who have Retail Search enabled. Please enable Retail Search on Cloud
786
+ # Console before using this feature.
781
787
  # @param [String] name
782
788
  # Immutable. Full resource name of the product, such as `projects/*/locations/
783
789
  # global/catalogs/default_catalog/branches/default_branch/products/product_id`.
@@ -929,9 +935,9 @@ module Google
929
935
 
930
936
  # Makes a recommendation prediction.
931
937
  # @param [String] placement
932
- # Required. Full resource name of the format: `placement=projects/*/locations/
933
- # global/catalogs/default_catalog/servingConfigs/*` or `placement=projects/*/
934
- # locations/global/catalogs/default_catalog/placements/*`. We recommend using
938
+ # Required. Full resource name of the format: ``placement=projects/*/locations/
939
+ # global/catalogs/default_catalog/servingConfigs/*`` or ``placement=projects/*/
940
+ # locations/global/catalogs/default_catalog/placements/*``. We recommend using
935
941
  # the `servingConfigs` resource. `placements` is a legacy resource. The ID of
936
942
  # the Recommendations AI serving config or placement. Before you can request
937
943
  # predictions from your model, you must create at least one serving config or
@@ -1011,9 +1017,9 @@ module Google
1011
1017
 
1012
1018
  # Makes a recommendation prediction.
1013
1019
  # @param [String] placement
1014
- # Required. Full resource name of the format: `placement=projects/*/locations/
1015
- # global/catalogs/default_catalog/servingConfigs/*` or `placement=projects/*/
1016
- # locations/global/catalogs/default_catalog/placements/*`. We recommend using
1020
+ # Required. Full resource name of the format: ``placement=projects/*/locations/
1021
+ # global/catalogs/default_catalog/servingConfigs/*`` or ``placement=projects/*/
1022
+ # locations/global/catalogs/default_catalog/placements/*``. We recommend using
1017
1023
  # the `servingConfigs` resource. `placements` is a legacy resource. The ID of
1018
1024
  # the Recommendations AI serving config or placement. Before you can request
1019
1025
  # 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_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.47.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-04 00:00:00.000000000 Z
11
+ date: 2022-07-25 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.47.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
63
63
  post_install_message:
64
64
  rdoc_options: []