google-apis-retail_v2 0.54.0 → 0.56.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/retail_v2/classes.rb +274 -13
- data/lib/google/apis/retail_v2/gem_version.rb +3 -3
- data/lib/google/apis/retail_v2/representations.rb +84 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a226012ee841b70b7fe4888e8790122ba3603ce50ba5a4600e5832c2163b9d21
|
4
|
+
data.tar.gz: 17395b493ae164361e737dea8158c1f83bf58d4470062a43dd5f17b4b8fa8488
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2e6cbe0b8faf4102814786060347e77e75de405b661ab4bfc333f0c2a0342408b99a49a07613642847fba88ee9b369476489b89866bcd9856b314e934d7ebaa
|
7
|
+
data.tar.gz: 6077a649311c3f1608e5f45b3eee19264535daad4179d645524115f9389c5f40e42422767a08dd4ad0311cb81828d3cff2346e2bd6707435ec521607a789a6b6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.56.0 (2022-10-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220922
|
6
|
+
|
7
|
+
### v0.55.0 (2022-09-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220917
|
10
|
+
* Regenerated using generator version 0.10.0
|
11
|
+
|
3
12
|
### v0.54.0 (2022-09-10)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20220901
|
@@ -203,6 +203,12 @@ module Google
|
|
203
203
|
# @return [String]
|
204
204
|
attr_accessor :gcs_path
|
205
205
|
|
206
|
+
# The detailed content which caused the error on importing an inventory activity.
|
207
|
+
# http://cs/google3/google/cloud/retail/v2main/inventory_activity.proto
|
208
|
+
# Corresponds to the JSON property `inventoryActivity`
|
209
|
+
# @return [String]
|
210
|
+
attr_accessor :inventory_activity
|
211
|
+
|
206
212
|
# Line number of the content in file. Should be empty for permission or batch
|
207
213
|
# operation error.
|
208
214
|
# Corresponds to the JSON property `lineNumber`
|
@@ -214,6 +220,37 @@ module Google
|
|
214
220
|
# @return [String]
|
215
221
|
attr_accessor :operation_name
|
216
222
|
|
223
|
+
# The detailed content which caused the error on importing an order. http://cs/
|
224
|
+
# google3/google/cloud/retail/v2main/order.proto
|
225
|
+
# Corresponds to the JSON property `order`
|
226
|
+
# @return [String]
|
227
|
+
attr_accessor :order
|
228
|
+
|
229
|
+
# The detailed content which caused the error on importing a place. http://cs/
|
230
|
+
# google3/google/cloud/retail/v2main/place.proto
|
231
|
+
# Corresponds to the JSON property `place`
|
232
|
+
# @return [String]
|
233
|
+
attr_accessor :place
|
234
|
+
|
235
|
+
# The detailed content which caused the error on importing a place asset. http://
|
236
|
+
# cs/google3/google/cloud/retail/v2main/place_asset.proto
|
237
|
+
# Corresponds to the JSON property `placeAsset`
|
238
|
+
# @return [String]
|
239
|
+
attr_accessor :place_asset
|
240
|
+
|
241
|
+
# The detailed content which caused the error on importing a place product price.
|
242
|
+
# http://cs/google3/google/cloud/retail/v2main/place_product_price.proto
|
243
|
+
# Corresponds to the JSON property `placeProductPrice`
|
244
|
+
# @return [String]
|
245
|
+
attr_accessor :place_product_price
|
246
|
+
|
247
|
+
# The detailed content which caused the error on importing a place product
|
248
|
+
# settings. http://cs/google3/google/cloud/retail/v2main/place_product_settings.
|
249
|
+
# proto
|
250
|
+
# Corresponds to the JSON property `placeProductSettings`
|
251
|
+
# @return [String]
|
252
|
+
attr_accessor :place_product_settings
|
253
|
+
|
217
254
|
# The detailed content which caused the error on importing a product.
|
218
255
|
# Corresponds to the JSON property `product`
|
219
256
|
# @return [String]
|
@@ -232,8 +269,14 @@ module Google
|
|
232
269
|
def update!(**args)
|
233
270
|
@catalog_item = args[:catalog_item] if args.key?(:catalog_item)
|
234
271
|
@gcs_path = args[:gcs_path] if args.key?(:gcs_path)
|
272
|
+
@inventory_activity = args[:inventory_activity] if args.key?(:inventory_activity)
|
235
273
|
@line_number = args[:line_number] if args.key?(:line_number)
|
236
274
|
@operation_name = args[:operation_name] if args.key?(:operation_name)
|
275
|
+
@order = args[:order] if args.key?(:order)
|
276
|
+
@place = args[:place] if args.key?(:place)
|
277
|
+
@place_asset = args[:place_asset] if args.key?(:place_asset)
|
278
|
+
@place_product_price = args[:place_product_price] if args.key?(:place_product_price)
|
279
|
+
@place_product_settings = args[:place_product_settings] if args.key?(:place_product_settings)
|
237
280
|
@product = args[:product] if args.key?(:product)
|
238
281
|
@user_event = args[:user_event] if args.key?(:user_event)
|
239
282
|
end
|
@@ -674,7 +717,8 @@ module Google
|
|
674
717
|
|
675
718
|
# If DYNAMIC_FACETABLE_ENABLED, attribute values are available for dynamic facet.
|
676
719
|
# Could only be DYNAMIC_FACETABLE_DISABLED if CatalogAttribute.indexable_option
|
677
|
-
# is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENT error is returned.
|
720
|
+
# is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENT error is returned. Must
|
721
|
+
# be specified, otherwise throws INVALID_FORMAT error.
|
678
722
|
# Corresponds to the JSON property `dynamicFacetableOption`
|
679
723
|
# @return [String]
|
680
724
|
attr_accessor :dynamic_facetable_option
|
@@ -697,7 +741,8 @@ module Google
|
|
697
741
|
|
698
742
|
# When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG,
|
699
743
|
# if INDEXABLE_ENABLED attribute values are indexed so that it can be filtered,
|
700
|
-
# faceted, or boosted in SearchService.Search.
|
744
|
+
# faceted, or boosted in SearchService.Search. Must be specified, otherwise
|
745
|
+
# throws INVALID_FORMAT error.
|
701
746
|
# Corresponds to the JSON property `indexableOption`
|
702
747
|
# @return [String]
|
703
748
|
attr_accessor :indexable_option
|
@@ -715,7 +760,8 @@ module Google
|
|
715
760
|
# if SEARCHABLE_ENABLED, attribute values are searchable by text queries in
|
716
761
|
# SearchService.Search. If SEARCHABLE_ENABLED but attribute type is numerical,
|
717
762
|
# attribute values will not be searchable by text queries in SearchService.
|
718
|
-
# Search, as there are no text values associated to numerical attributes.
|
763
|
+
# Search, as there are no text values associated to numerical attributes. Must
|
764
|
+
# be specified, otherwise throws INVALID_FORMAT error.
|
719
765
|
# Corresponds to the JSON property `searchableOption`
|
720
766
|
# @return [String]
|
721
767
|
attr_accessor :searchable_option
|
@@ -1852,15 +1898,15 @@ module Google
|
|
1852
1898
|
# do not have a stockState value of OUT_OF_STOCK. Examples: * tag=("Red" OR "
|
1853
1899
|
# Blue") tag="New-Arrival" tag=(NOT "promotional") * filterOutOfStockItems tag=(-
|
1854
1900
|
# "promotional") * filterOutOfStockItems If your filter blocks all prediction
|
1855
|
-
# results, the API will return
|
1856
|
-
#
|
1857
|
-
# in `PredictRequest.params
|
1858
|
-
#
|
1859
|
-
#
|
1860
|
-
#
|
1861
|
-
#
|
1862
|
-
#
|
1863
|
-
#
|
1901
|
+
# results, the API will return *no* results. If instead you want empty result
|
1902
|
+
# sets to return generic (unfiltered) popular products, set `strictFiltering` to
|
1903
|
+
# False in `PredictRequest.params`. Note that the API will never return items
|
1904
|
+
# with storageStatus of "EXPIRED" or "DELETED" regardless of filter choices. If `
|
1905
|
+
# filterSyntaxV2` is set to true under the `params` field, then attribute-based
|
1906
|
+
# expressions are expected instead of the above described tag-based syntax.
|
1907
|
+
# Examples: * (colors: ANY("Red", "Blue")) AND NOT (categories: ANY("Phones")) *
|
1908
|
+
# (availability: ANY("IN_STOCK")) AND (colors: ANY("Red") OR categories: ANY("
|
1909
|
+
# Phones"))
|
1864
1910
|
# Corresponds to the JSON property `filter`
|
1865
1911
|
# @return [String]
|
1866
1912
|
attr_accessor :filter
|
@@ -5485,7 +5531,7 @@ module Google
|
|
5485
5531
|
class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
|
5486
5532
|
include Google::Apis::Core::Hashable
|
5487
5533
|
|
5488
|
-
# Required. The candidates to consider on the panel.
|
5534
|
+
# Required. The candidates to consider on the panel.
|
5489
5535
|
# Corresponds to the JSON property `candidates`
|
5490
5536
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate>]
|
5491
5537
|
attr_accessor :candidates
|
@@ -5949,6 +5995,27 @@ module Google
|
|
5949
5995
|
end
|
5950
5996
|
end
|
5951
5997
|
|
5998
|
+
# Metadata associated with a create operation.
|
5999
|
+
class GoogleCloudRetailV2betaCreateModelMetadata
|
6000
|
+
include Google::Apis::Core::Hashable
|
6001
|
+
|
6002
|
+
# The resource name of the model that this create applies to. Format: `projects/`
|
6003
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
6004
|
+
# `
|
6005
|
+
# Corresponds to the JSON property `model`
|
6006
|
+
# @return [String]
|
6007
|
+
attr_accessor :model
|
6008
|
+
|
6009
|
+
def initialize(**args)
|
6010
|
+
update!(**args)
|
6011
|
+
end
|
6012
|
+
|
6013
|
+
# Update properties of this object
|
6014
|
+
def update!(**args)
|
6015
|
+
@model = args[:model] if args.key?(:model)
|
6016
|
+
end
|
6017
|
+
end
|
6018
|
+
|
5952
6019
|
# Configuration of destination for Export related errors.
|
5953
6020
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
5954
6021
|
include Google::Apis::Core::Hashable
|
@@ -6220,6 +6287,166 @@ module Google
|
|
6220
6287
|
end
|
6221
6288
|
end
|
6222
6289
|
|
6290
|
+
# Metadata that describes the training and serving parameters of a Model. A
|
6291
|
+
# Model can be associated with a ServingConfig and then queried through the
|
6292
|
+
# Predict API.
|
6293
|
+
class GoogleCloudRetailV2betaModel
|
6294
|
+
include Google::Apis::Core::Hashable
|
6295
|
+
|
6296
|
+
# Output only. Timestamp the Recommendation Model was created at.
|
6297
|
+
# Corresponds to the JSON property `createTime`
|
6298
|
+
# @return [String]
|
6299
|
+
attr_accessor :create_time
|
6300
|
+
|
6301
|
+
# Output only. The state of data requirements for this model: `DATA_OK` and `
|
6302
|
+
# DATA_ERROR`. Recommendation model cannot be trained if the data is in `
|
6303
|
+
# DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if
|
6304
|
+
# serving state is `ACTIVE`: models were trained successfully before, but cannot
|
6305
|
+
# be refreshed because model no longer has sufficient data for training.
|
6306
|
+
# Corresponds to the JSON property `dataState`
|
6307
|
+
# @return [String]
|
6308
|
+
attr_accessor :data_state
|
6309
|
+
|
6310
|
+
# Required. The display name of the model. Should be human readable, used to
|
6311
|
+
# display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8
|
6312
|
+
# encoded string with limit of 1024 characters.
|
6313
|
+
# Corresponds to the JSON property `displayName`
|
6314
|
+
# @return [String]
|
6315
|
+
attr_accessor :display_name
|
6316
|
+
|
6317
|
+
# Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by
|
6318
|
+
# attributes is enabled for the model.
|
6319
|
+
# Corresponds to the JSON property `filteringOption`
|
6320
|
+
# @return [String]
|
6321
|
+
attr_accessor :filtering_option
|
6322
|
+
|
6323
|
+
# Output only. The timestamp when the latest successful tune finished.
|
6324
|
+
# Corresponds to the JSON property `lastTuneTime`
|
6325
|
+
# @return [String]
|
6326
|
+
attr_accessor :last_tune_time
|
6327
|
+
|
6328
|
+
# Required. The fully qualified resource name of the model. Format: `projects/`
|
6329
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
6330
|
+
# ` catalog_id has char limit of 50. recommendation_model_id has char limit of
|
6331
|
+
# 40.
|
6332
|
+
# Corresponds to the JSON property `name`
|
6333
|
+
# @return [String]
|
6334
|
+
attr_accessor :name
|
6335
|
+
|
6336
|
+
# Optional. The optimization objective e.g. `cvr`. Currently supported values: `
|
6337
|
+
# ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on
|
6338
|
+
# model type. Default depends on type of recommendation: `recommended-for-you` =>
|
6339
|
+
# `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `
|
6340
|
+
# revenue_per_order` This field together with optimization_objective describe
|
6341
|
+
# model metadata to use to control model training and serving. See https://cloud.
|
6342
|
+
# google.com/retail/docs/models for more details on what the model metadata
|
6343
|
+
# control and which combination of parameters are valid. For invalid
|
6344
|
+
# combinations of parameters (e.g. type = `frequently-bought-together` and
|
6345
|
+
# optimization_objective = `ctr`), you receive an error 400 if you try to create/
|
6346
|
+
# update a recommendation with this set of knobs.
|
6347
|
+
# Corresponds to the JSON property `optimizationObjective`
|
6348
|
+
# @return [String]
|
6349
|
+
attr_accessor :optimization_objective
|
6350
|
+
|
6351
|
+
# Optional. The state of periodic tuning. The period we use is 3 months - to do
|
6352
|
+
# a one-off tune earlier use the `TuneModel` method. Default value is `
|
6353
|
+
# PERIODIC_TUNING_ENABLED`.
|
6354
|
+
# Corresponds to the JSON property `periodicTuningState`
|
6355
|
+
# @return [String]
|
6356
|
+
attr_accessor :periodic_tuning_state
|
6357
|
+
|
6358
|
+
# Output only. The list of valid serving configs associated with the
|
6359
|
+
# PageOptimizationConfig.
|
6360
|
+
# Corresponds to the JSON property `servingConfigLists`
|
6361
|
+
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2betaModelServingConfigList>]
|
6362
|
+
attr_accessor :serving_config_lists
|
6363
|
+
|
6364
|
+
# Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.
|
6365
|
+
# Corresponds to the JSON property `servingState`
|
6366
|
+
# @return [String]
|
6367
|
+
attr_accessor :serving_state
|
6368
|
+
|
6369
|
+
# Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`)
|
6370
|
+
# . Since part of the cost of running the service is frequency of training -
|
6371
|
+
# this can be used to determine when to train model in order to control cost. If
|
6372
|
+
# not specified: the default value for `CreateModel` method is `TRAINING`. The
|
6373
|
+
# default value for `UpdateModel` method is to keep the state the same as before.
|
6374
|
+
# Corresponds to the JSON property `trainingState`
|
6375
|
+
# @return [String]
|
6376
|
+
attr_accessor :training_state
|
6377
|
+
|
6378
|
+
# Output only. The tune operation associated with the model. Can be used to
|
6379
|
+
# determine if there is an ongoing tune for this recommendation. Empty field
|
6380
|
+
# implies no tune is goig on.
|
6381
|
+
# Corresponds to the JSON property `tuningOperation`
|
6382
|
+
# @return [String]
|
6383
|
+
attr_accessor :tuning_operation
|
6384
|
+
|
6385
|
+
# Required. The type of model e.g. `home-page`. Currently supported values: `
|
6386
|
+
# recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
|
6387
|
+
# page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(
|
6388
|
+
# readonly value). This field together with optimization_objective describe
|
6389
|
+
# model metadata to use to control model training and serving. See https://cloud.
|
6390
|
+
# google.com/retail/docs/models for more details on what the model metadata
|
6391
|
+
# control and which combination of parameters are valid. For invalid
|
6392
|
+
# combinations of parameters (e.g. type = `frequently-bought-together` and
|
6393
|
+
# optimization_objective = `ctr`), you receive an error 400 if you try to create/
|
6394
|
+
# update a recommendation with this set of knobs.
|
6395
|
+
# Corresponds to the JSON property `type`
|
6396
|
+
# @return [String]
|
6397
|
+
attr_accessor :type
|
6398
|
+
|
6399
|
+
# Output only. Timestamp the Recommendation Model was last updated. E.g. if a
|
6400
|
+
# Recommendation Model was paused - this would be the time the pause was
|
6401
|
+
# initiated.
|
6402
|
+
# Corresponds to the JSON property `updateTime`
|
6403
|
+
# @return [String]
|
6404
|
+
attr_accessor :update_time
|
6405
|
+
|
6406
|
+
def initialize(**args)
|
6407
|
+
update!(**args)
|
6408
|
+
end
|
6409
|
+
|
6410
|
+
# Update properties of this object
|
6411
|
+
def update!(**args)
|
6412
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6413
|
+
@data_state = args[:data_state] if args.key?(:data_state)
|
6414
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
6415
|
+
@filtering_option = args[:filtering_option] if args.key?(:filtering_option)
|
6416
|
+
@last_tune_time = args[:last_tune_time] if args.key?(:last_tune_time)
|
6417
|
+
@name = args[:name] if args.key?(:name)
|
6418
|
+
@optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
|
6419
|
+
@periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
|
6420
|
+
@serving_config_lists = args[:serving_config_lists] if args.key?(:serving_config_lists)
|
6421
|
+
@serving_state = args[:serving_state] if args.key?(:serving_state)
|
6422
|
+
@training_state = args[:training_state] if args.key?(:training_state)
|
6423
|
+
@tuning_operation = args[:tuning_operation] if args.key?(:tuning_operation)
|
6424
|
+
@type = args[:type] if args.key?(:type)
|
6425
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
6426
|
+
end
|
6427
|
+
end
|
6428
|
+
|
6429
|
+
# Represents an ordered combination of valid serving configs, which can be used
|
6430
|
+
# for `PAGE_OPTIMIZATION` recommendations.
|
6431
|
+
class GoogleCloudRetailV2betaModelServingConfigList
|
6432
|
+
include Google::Apis::Core::Hashable
|
6433
|
+
|
6434
|
+
# Optional. A set of valid serving configs that may be used for `
|
6435
|
+
# PAGE_OPTIMIZATION`.
|
6436
|
+
# Corresponds to the JSON property `servingConfigIds`
|
6437
|
+
# @return [Array<String>]
|
6438
|
+
attr_accessor :serving_config_ids
|
6439
|
+
|
6440
|
+
def initialize(**args)
|
6441
|
+
update!(**args)
|
6442
|
+
end
|
6443
|
+
|
6444
|
+
# Update properties of this object
|
6445
|
+
def update!(**args)
|
6446
|
+
@serving_config_ids = args[:serving_config_ids] if args.key?(:serving_config_ids)
|
6447
|
+
end
|
6448
|
+
end
|
6449
|
+
|
6223
6450
|
# Output result.
|
6224
6451
|
class GoogleCloudRetailV2betaOutputResult
|
6225
6452
|
include Google::Apis::Core::Hashable
|
@@ -6395,6 +6622,40 @@ module Google
|
|
6395
6622
|
end
|
6396
6623
|
end
|
6397
6624
|
|
6625
|
+
# Metadata associated with a tune operation.
|
6626
|
+
class GoogleCloudRetailV2betaTuneModelMetadata
|
6627
|
+
include Google::Apis::Core::Hashable
|
6628
|
+
|
6629
|
+
# The resource name of the model that this tune applies to. Format: `projects/`
|
6630
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
6631
|
+
# `
|
6632
|
+
# Corresponds to the JSON property `model`
|
6633
|
+
# @return [String]
|
6634
|
+
attr_accessor :model
|
6635
|
+
|
6636
|
+
def initialize(**args)
|
6637
|
+
update!(**args)
|
6638
|
+
end
|
6639
|
+
|
6640
|
+
# Update properties of this object
|
6641
|
+
def update!(**args)
|
6642
|
+
@model = args[:model] if args.key?(:model)
|
6643
|
+
end
|
6644
|
+
end
|
6645
|
+
|
6646
|
+
# Response associated with a tune operation.
|
6647
|
+
class GoogleCloudRetailV2betaTuneModelResponse
|
6648
|
+
include Google::Apis::Core::Hashable
|
6649
|
+
|
6650
|
+
def initialize(**args)
|
6651
|
+
update!(**args)
|
6652
|
+
end
|
6653
|
+
|
6654
|
+
# Update properties of this object
|
6655
|
+
def update!(**args)
|
6656
|
+
end
|
6657
|
+
end
|
6658
|
+
|
6398
6659
|
# A summary of import result. The UserEventImportSummary summarizes the import
|
6399
6660
|
# status for user events.
|
6400
6661
|
class GoogleCloudRetailV2betaUserEventImportSummary
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.56.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220922"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -940,6 +940,12 @@ module Google
|
|
940
940
|
include Google::Apis::Core::JsonObjectSupport
|
941
941
|
end
|
942
942
|
|
943
|
+
class GoogleCloudRetailV2betaCreateModelMetadata
|
944
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
945
|
+
|
946
|
+
include Google::Apis::Core::JsonObjectSupport
|
947
|
+
end
|
948
|
+
|
943
949
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
944
950
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
945
951
|
|
@@ -994,6 +1000,18 @@ module Google
|
|
994
1000
|
include Google::Apis::Core::JsonObjectSupport
|
995
1001
|
end
|
996
1002
|
|
1003
|
+
class GoogleCloudRetailV2betaModel
|
1004
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1005
|
+
|
1006
|
+
include Google::Apis::Core::JsonObjectSupport
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
class GoogleCloudRetailV2betaModelServingConfigList
|
1010
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1011
|
+
|
1012
|
+
include Google::Apis::Core::JsonObjectSupport
|
1013
|
+
end
|
1014
|
+
|
997
1015
|
class GoogleCloudRetailV2betaOutputResult
|
998
1016
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
999
1017
|
|
@@ -1060,6 +1078,18 @@ module Google
|
|
1060
1078
|
include Google::Apis::Core::JsonObjectSupport
|
1061
1079
|
end
|
1062
1080
|
|
1081
|
+
class GoogleCloudRetailV2betaTuneModelMetadata
|
1082
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1083
|
+
|
1084
|
+
include Google::Apis::Core::JsonObjectSupport
|
1085
|
+
end
|
1086
|
+
|
1087
|
+
class GoogleCloudRetailV2betaTuneModelResponse
|
1088
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1089
|
+
|
1090
|
+
include Google::Apis::Core::JsonObjectSupport
|
1091
|
+
end
|
1092
|
+
|
1063
1093
|
class GoogleCloudRetailV2betaUserEventImportSummary
|
1064
1094
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1065
1095
|
|
@@ -1144,8 +1174,14 @@ module Google
|
|
1144
1174
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1145
1175
|
property :catalog_item, as: 'catalogItem'
|
1146
1176
|
property :gcs_path, as: 'gcsPath'
|
1177
|
+
property :inventory_activity, as: 'inventoryActivity'
|
1147
1178
|
property :line_number, as: 'lineNumber'
|
1148
1179
|
property :operation_name, as: 'operationName'
|
1180
|
+
property :order, as: 'order'
|
1181
|
+
property :place, as: 'place'
|
1182
|
+
property :place_asset, as: 'placeAsset'
|
1183
|
+
property :place_product_price, as: 'placeProductPrice'
|
1184
|
+
property :place_product_settings, as: 'placeProductSettings'
|
1149
1185
|
property :product, as: 'product'
|
1150
1186
|
property :user_event, as: 'userEvent'
|
1151
1187
|
end
|
@@ -2571,6 +2607,13 @@ module Google
|
|
2571
2607
|
end
|
2572
2608
|
end
|
2573
2609
|
|
2610
|
+
class GoogleCloudRetailV2betaCreateModelMetadata
|
2611
|
+
# @private
|
2612
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2613
|
+
property :model, as: 'model'
|
2614
|
+
end
|
2615
|
+
end
|
2616
|
+
|
2574
2617
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
2575
2618
|
# @private
|
2576
2619
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2659,6 +2702,34 @@ module Google
|
|
2659
2702
|
end
|
2660
2703
|
end
|
2661
2704
|
|
2705
|
+
class GoogleCloudRetailV2betaModel
|
2706
|
+
# @private
|
2707
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2708
|
+
property :create_time, as: 'createTime'
|
2709
|
+
property :data_state, as: 'dataState'
|
2710
|
+
property :display_name, as: 'displayName'
|
2711
|
+
property :filtering_option, as: 'filteringOption'
|
2712
|
+
property :last_tune_time, as: 'lastTuneTime'
|
2713
|
+
property :name, as: 'name'
|
2714
|
+
property :optimization_objective, as: 'optimizationObjective'
|
2715
|
+
property :periodic_tuning_state, as: 'periodicTuningState'
|
2716
|
+
collection :serving_config_lists, as: 'servingConfigLists', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaModelServingConfigList, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaModelServingConfigList::Representation
|
2717
|
+
|
2718
|
+
property :serving_state, as: 'servingState'
|
2719
|
+
property :training_state, as: 'trainingState'
|
2720
|
+
property :tuning_operation, as: 'tuningOperation'
|
2721
|
+
property :type, as: 'type'
|
2722
|
+
property :update_time, as: 'updateTime'
|
2723
|
+
end
|
2724
|
+
end
|
2725
|
+
|
2726
|
+
class GoogleCloudRetailV2betaModelServingConfigList
|
2727
|
+
# @private
|
2728
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2729
|
+
collection :serving_config_ids, as: 'servingConfigIds'
|
2730
|
+
end
|
2731
|
+
end
|
2732
|
+
|
2662
2733
|
class GoogleCloudRetailV2betaOutputResult
|
2663
2734
|
# @private
|
2664
2735
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2729,6 +2800,19 @@ module Google
|
|
2729
2800
|
end
|
2730
2801
|
end
|
2731
2802
|
|
2803
|
+
class GoogleCloudRetailV2betaTuneModelMetadata
|
2804
|
+
# @private
|
2805
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2806
|
+
property :model, as: 'model'
|
2807
|
+
end
|
2808
|
+
end
|
2809
|
+
|
2810
|
+
class GoogleCloudRetailV2betaTuneModelResponse
|
2811
|
+
# @private
|
2812
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2813
|
+
end
|
2814
|
+
end
|
2815
|
+
|
2732
2816
|
class GoogleCloudRetailV2betaUserEventImportSummary
|
2733
2817
|
# @private
|
2734
2818
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.
|
4
|
+
version: 0.56.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-
|
11
|
+
date: 2022-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.9.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.9.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.56.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: []
|