google-apis-retail_v2alpha 0.57.0 → 0.59.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d13efa57b4942140eec7c9494e6b925d305d3acd5e29faac250437235e90f8a
|
4
|
+
data.tar.gz: 340a40068cf6bab9e66e40586e39bbe5ff315ccbb9a1f917b83eabc089cecd61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2717a5174a0544d0016f308faa923ef6d33b6c35e8ea65cd68aa83667a0f055bc70f040b2fef864b7cdb4de6c388aa511e3e0a2b697a9b9386116c6ebe29170d
|
7
|
+
data.tar.gz: fc91284377e775dfa7eb7a5fda6d688826a2e73e4b9b22df7f909fbbcc4088ea408d00056823d7f7b10d516c61fd80de0cdf9ed7509df826c85af02825ed6606
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.59.0 (2022-10-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220922
|
6
|
+
|
7
|
+
### v0.58.0 (2022-09-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220917
|
10
|
+
* Regenerated using generator version 0.10.0
|
11
|
+
|
3
12
|
### v0.57.0 (2022-09-17)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20220909
|
@@ -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
|
@@ -1154,7 +1197,8 @@ module Google
|
|
1154
1197
|
|
1155
1198
|
# If DYNAMIC_FACETABLE_ENABLED, attribute values are available for dynamic facet.
|
1156
1199
|
# Could only be DYNAMIC_FACETABLE_DISABLED if CatalogAttribute.indexable_option
|
1157
|
-
# is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENT error is returned.
|
1200
|
+
# is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENT error is returned. Must
|
1201
|
+
# be specified, otherwise throws INVALID_FORMAT error.
|
1158
1202
|
# Corresponds to the JSON property `dynamicFacetableOption`
|
1159
1203
|
# @return [String]
|
1160
1204
|
attr_accessor :dynamic_facetable_option
|
@@ -1184,7 +1228,8 @@ module Google
|
|
1184
1228
|
|
1185
1229
|
# When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG,
|
1186
1230
|
# if INDEXABLE_ENABLED attribute values are indexed so that it can be filtered,
|
1187
|
-
# faceted, or boosted in SearchService.Search.
|
1231
|
+
# faceted, or boosted in SearchService.Search. Must be specified, otherwise
|
1232
|
+
# throws INVALID_FORMAT error.
|
1188
1233
|
# Corresponds to the JSON property `indexableOption`
|
1189
1234
|
# @return [String]
|
1190
1235
|
attr_accessor :indexable_option
|
@@ -1210,7 +1255,8 @@ module Google
|
|
1210
1255
|
# if SEARCHABLE_ENABLED, attribute values are searchable by text queries in
|
1211
1256
|
# SearchService.Search. If SEARCHABLE_ENABLED but attribute type is numerical,
|
1212
1257
|
# attribute values will not be searchable by text queries in SearchService.
|
1213
|
-
# Search, as there are no text values associated to numerical attributes.
|
1258
|
+
# Search, as there are no text values associated to numerical attributes. Must
|
1259
|
+
# be specified, otherwise throws INVALID_FORMAT error.
|
1214
1260
|
# Corresponds to the JSON property `searchableOption`
|
1215
1261
|
# @return [String]
|
1216
1262
|
attr_accessor :searchable_option
|
@@ -2524,17 +2570,43 @@ module Google
|
|
2524
2570
|
end
|
2525
2571
|
end
|
2526
2572
|
|
2573
|
+
# Merchant Center Feed filter criterion.
|
2574
|
+
class GoogleCloudRetailV2alphaMerchantCenterFeedFilter
|
2575
|
+
include Google::Apis::Core::Hashable
|
2576
|
+
|
2577
|
+
# Merchant Center primary feed ID.
|
2578
|
+
# Corresponds to the JSON property `primaryFeedId`
|
2579
|
+
# @return [Fixnum]
|
2580
|
+
attr_accessor :primary_feed_id
|
2581
|
+
|
2582
|
+
# Merchant Center primary feed name. The name is used for the display purposes
|
2583
|
+
# only.
|
2584
|
+
# Corresponds to the JSON property `primaryFeedName`
|
2585
|
+
# @return [String]
|
2586
|
+
attr_accessor :primary_feed_name
|
2587
|
+
|
2588
|
+
def initialize(**args)
|
2589
|
+
update!(**args)
|
2590
|
+
end
|
2591
|
+
|
2592
|
+
# Update properties of this object
|
2593
|
+
def update!(**args)
|
2594
|
+
@primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
|
2595
|
+
@primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
|
2596
|
+
end
|
2597
|
+
end
|
2598
|
+
|
2527
2599
|
# Represents a link between a Merchant Center account and a branch. Once a link
|
2528
2600
|
# is established, products from the linked merchant center account will be
|
2529
2601
|
# streamed to the linked branch.
|
2530
2602
|
class GoogleCloudRetailV2alphaMerchantCenterLink
|
2531
2603
|
include Google::Apis::Core::Hashable
|
2532
2604
|
|
2533
|
-
# The branch
|
2605
|
+
# The branch ID (e.g. 0/1/2) within this catalog that products from
|
2534
2606
|
# merchant_center_account_id are streamed to. When updating this field, an empty
|
2535
2607
|
# value will use the currently configured default branch. However, changing the
|
2536
2608
|
# default branch later on won't change the linked branch here. A single branch
|
2537
|
-
#
|
2609
|
+
# ID can only have one linked merchant center account ID.
|
2538
2610
|
# Corresponds to the JSON property `branchId`
|
2539
2611
|
# @return [String]
|
2540
2612
|
attr_accessor :branch_id
|
@@ -2548,6 +2620,13 @@ module Google
|
|
2548
2620
|
# @return [Array<String>]
|
2549
2621
|
attr_accessor :destinations
|
2550
2622
|
|
2623
|
+
# Criteria for the Merchant Center feeds to be ingested via the link. All offers
|
2624
|
+
# will be ingested if the list is empty. Otherwise the offers will be ingested
|
2625
|
+
# from selected feeds.
|
2626
|
+
# Corresponds to the JSON property `feeds`
|
2627
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterFeedFilter>]
|
2628
|
+
attr_accessor :feeds
|
2629
|
+
|
2551
2630
|
# Language of the title/description and other string attributes. Use language
|
2552
2631
|
# tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
|
2553
2632
|
# 639-1. This specifies the language of offers in Merchant Center that will be
|
@@ -2557,7 +2636,7 @@ module Google
|
|
2557
2636
|
# @return [String]
|
2558
2637
|
attr_accessor :language_code
|
2559
2638
|
|
2560
|
-
# Required. The linked [Merchant center account
|
2639
|
+
# Required. The linked [Merchant center account ID](https://developers.google.
|
2561
2640
|
# com/shopping-content/guides/accountstatuses). The account must be a standalone
|
2562
2641
|
# account or a sub-account of a MCA.
|
2563
2642
|
# Corresponds to the JSON property `merchantCenterAccountId`
|
@@ -2580,6 +2659,7 @@ module Google
|
|
2580
2659
|
def update!(**args)
|
2581
2660
|
@branch_id = args[:branch_id] if args.key?(:branch_id)
|
2582
2661
|
@destinations = args[:destinations] if args.key?(:destinations)
|
2662
|
+
@feeds = args[:feeds] if args.key?(:feeds)
|
2583
2663
|
@language_code = args[:language_code] if args.key?(:language_code)
|
2584
2664
|
@merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
|
2585
2665
|
@region_code = args[:region_code] if args.key?(:region_code)
|
@@ -2824,7 +2904,7 @@ module Google
|
|
2824
2904
|
class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
|
2825
2905
|
include Google::Apis::Core::Hashable
|
2826
2906
|
|
2827
|
-
# Required. The candidates to consider on the panel.
|
2907
|
+
# Required. The candidates to consider on the panel.
|
2828
2908
|
# Corresponds to the JSON property `candidates`
|
2829
2909
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate>]
|
2830
2910
|
attr_accessor :candidates
|
@@ -2921,15 +3001,15 @@ module Google
|
|
2921
3001
|
# do not have a stockState value of OUT_OF_STOCK. Examples: * tag=("Red" OR "
|
2922
3002
|
# Blue") tag="New-Arrival" tag=(NOT "promotional") * filterOutOfStockItems tag=(-
|
2923
3003
|
# "promotional") * filterOutOfStockItems If your filter blocks all prediction
|
2924
|
-
# results, the API will return
|
2925
|
-
#
|
2926
|
-
# in `PredictRequest.params
|
2927
|
-
#
|
2928
|
-
#
|
2929
|
-
#
|
2930
|
-
#
|
2931
|
-
#
|
2932
|
-
#
|
3004
|
+
# results, the API will return *no* results. If instead you want empty result
|
3005
|
+
# sets to return generic (unfiltered) popular products, set `strictFiltering` to
|
3006
|
+
# False in `PredictRequest.params`. Note that the API will never return items
|
3007
|
+
# with storageStatus of "EXPIRED" or "DELETED" regardless of filter choices. If `
|
3008
|
+
# filterSyntaxV2` is set to true under the `params` field, then attribute-based
|
3009
|
+
# expressions are expected instead of the above described tag-based syntax.
|
3010
|
+
# Examples: * (colors: ANY("Red", "Blue")) AND NOT (categories: ANY("Phones")) *
|
3011
|
+
# (availability: ANY("IN_STOCK")) AND (colors: ANY("Red") OR categories: ANY("
|
3012
|
+
# Phones"))
|
2933
3013
|
# Corresponds to the JSON property `filter`
|
2934
3014
|
# @return [String]
|
2935
3015
|
attr_accessor :filter
|
@@ -6243,6 +6323,27 @@ module Google
|
|
6243
6323
|
end
|
6244
6324
|
end
|
6245
6325
|
|
6326
|
+
# Metadata associated with a create operation.
|
6327
|
+
class GoogleCloudRetailV2betaCreateModelMetadata
|
6328
|
+
include Google::Apis::Core::Hashable
|
6329
|
+
|
6330
|
+
# The resource name of the model that this create applies to. Format: `projects/`
|
6331
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
6332
|
+
# `
|
6333
|
+
# Corresponds to the JSON property `model`
|
6334
|
+
# @return [String]
|
6335
|
+
attr_accessor :model
|
6336
|
+
|
6337
|
+
def initialize(**args)
|
6338
|
+
update!(**args)
|
6339
|
+
end
|
6340
|
+
|
6341
|
+
# Update properties of this object
|
6342
|
+
def update!(**args)
|
6343
|
+
@model = args[:model] if args.key?(:model)
|
6344
|
+
end
|
6345
|
+
end
|
6346
|
+
|
6246
6347
|
# Configuration of destination for Export related errors.
|
6247
6348
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
6248
6349
|
include Google::Apis::Core::Hashable
|
@@ -6514,6 +6615,166 @@ module Google
|
|
6514
6615
|
end
|
6515
6616
|
end
|
6516
6617
|
|
6618
|
+
# Metadata that describes the training and serving parameters of a Model. A
|
6619
|
+
# Model can be associated with a ServingConfig and then queried through the
|
6620
|
+
# Predict API.
|
6621
|
+
class GoogleCloudRetailV2betaModel
|
6622
|
+
include Google::Apis::Core::Hashable
|
6623
|
+
|
6624
|
+
# Output only. Timestamp the Recommendation Model was created at.
|
6625
|
+
# Corresponds to the JSON property `createTime`
|
6626
|
+
# @return [String]
|
6627
|
+
attr_accessor :create_time
|
6628
|
+
|
6629
|
+
# Output only. The state of data requirements for this model: `DATA_OK` and `
|
6630
|
+
# DATA_ERROR`. Recommendation model cannot be trained if the data is in `
|
6631
|
+
# DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if
|
6632
|
+
# serving state is `ACTIVE`: models were trained successfully before, but cannot
|
6633
|
+
# be refreshed because model no longer has sufficient data for training.
|
6634
|
+
# Corresponds to the JSON property `dataState`
|
6635
|
+
# @return [String]
|
6636
|
+
attr_accessor :data_state
|
6637
|
+
|
6638
|
+
# Required. The display name of the model. Should be human readable, used to
|
6639
|
+
# display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8
|
6640
|
+
# encoded string with limit of 1024 characters.
|
6641
|
+
# Corresponds to the JSON property `displayName`
|
6642
|
+
# @return [String]
|
6643
|
+
attr_accessor :display_name
|
6644
|
+
|
6645
|
+
# Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by
|
6646
|
+
# attributes is enabled for the model.
|
6647
|
+
# Corresponds to the JSON property `filteringOption`
|
6648
|
+
# @return [String]
|
6649
|
+
attr_accessor :filtering_option
|
6650
|
+
|
6651
|
+
# Output only. The timestamp when the latest successful tune finished.
|
6652
|
+
# Corresponds to the JSON property `lastTuneTime`
|
6653
|
+
# @return [String]
|
6654
|
+
attr_accessor :last_tune_time
|
6655
|
+
|
6656
|
+
# Required. The fully qualified resource name of the model. Format: `projects/`
|
6657
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
6658
|
+
# ` catalog_id has char limit of 50. recommendation_model_id has char limit of
|
6659
|
+
# 40.
|
6660
|
+
# Corresponds to the JSON property `name`
|
6661
|
+
# @return [String]
|
6662
|
+
attr_accessor :name
|
6663
|
+
|
6664
|
+
# Optional. The optimization objective e.g. `cvr`. Currently supported values: `
|
6665
|
+
# ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on
|
6666
|
+
# model type. Default depends on type of recommendation: `recommended-for-you` =>
|
6667
|
+
# `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `
|
6668
|
+
# revenue_per_order` This field together with optimization_objective describe
|
6669
|
+
# model metadata to use to control model training and serving. See https://cloud.
|
6670
|
+
# google.com/retail/docs/models for more details on what the model metadata
|
6671
|
+
# control and which combination of parameters are valid. For invalid
|
6672
|
+
# combinations of parameters (e.g. type = `frequently-bought-together` and
|
6673
|
+
# optimization_objective = `ctr`), you receive an error 400 if you try to create/
|
6674
|
+
# update a recommendation with this set of knobs.
|
6675
|
+
# Corresponds to the JSON property `optimizationObjective`
|
6676
|
+
# @return [String]
|
6677
|
+
attr_accessor :optimization_objective
|
6678
|
+
|
6679
|
+
# Optional. The state of periodic tuning. The period we use is 3 months - to do
|
6680
|
+
# a one-off tune earlier use the `TuneModel` method. Default value is `
|
6681
|
+
# PERIODIC_TUNING_ENABLED`.
|
6682
|
+
# Corresponds to the JSON property `periodicTuningState`
|
6683
|
+
# @return [String]
|
6684
|
+
attr_accessor :periodic_tuning_state
|
6685
|
+
|
6686
|
+
# Output only. The list of valid serving configs associated with the
|
6687
|
+
# PageOptimizationConfig.
|
6688
|
+
# Corresponds to the JSON property `servingConfigLists`
|
6689
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelServingConfigList>]
|
6690
|
+
attr_accessor :serving_config_lists
|
6691
|
+
|
6692
|
+
# Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.
|
6693
|
+
# Corresponds to the JSON property `servingState`
|
6694
|
+
# @return [String]
|
6695
|
+
attr_accessor :serving_state
|
6696
|
+
|
6697
|
+
# Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`)
|
6698
|
+
# . Since part of the cost of running the service is frequency of training -
|
6699
|
+
# this can be used to determine when to train model in order to control cost. If
|
6700
|
+
# not specified: the default value for `CreateModel` method is `TRAINING`. The
|
6701
|
+
# default value for `UpdateModel` method is to keep the state the same as before.
|
6702
|
+
# Corresponds to the JSON property `trainingState`
|
6703
|
+
# @return [String]
|
6704
|
+
attr_accessor :training_state
|
6705
|
+
|
6706
|
+
# Output only. The tune operation associated with the model. Can be used to
|
6707
|
+
# determine if there is an ongoing tune for this recommendation. Empty field
|
6708
|
+
# implies no tune is goig on.
|
6709
|
+
# Corresponds to the JSON property `tuningOperation`
|
6710
|
+
# @return [String]
|
6711
|
+
attr_accessor :tuning_operation
|
6712
|
+
|
6713
|
+
# Required. The type of model e.g. `home-page`. Currently supported values: `
|
6714
|
+
# recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
|
6715
|
+
# page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(
|
6716
|
+
# readonly value). This field together with optimization_objective describe
|
6717
|
+
# model metadata to use to control model training and serving. See https://cloud.
|
6718
|
+
# google.com/retail/docs/models for more details on what the model metadata
|
6719
|
+
# control and which combination of parameters are valid. For invalid
|
6720
|
+
# combinations of parameters (e.g. type = `frequently-bought-together` and
|
6721
|
+
# optimization_objective = `ctr`), you receive an error 400 if you try to create/
|
6722
|
+
# update a recommendation with this set of knobs.
|
6723
|
+
# Corresponds to the JSON property `type`
|
6724
|
+
# @return [String]
|
6725
|
+
attr_accessor :type
|
6726
|
+
|
6727
|
+
# Output only. Timestamp the Recommendation Model was last updated. E.g. if a
|
6728
|
+
# Recommendation Model was paused - this would be the time the pause was
|
6729
|
+
# initiated.
|
6730
|
+
# Corresponds to the JSON property `updateTime`
|
6731
|
+
# @return [String]
|
6732
|
+
attr_accessor :update_time
|
6733
|
+
|
6734
|
+
def initialize(**args)
|
6735
|
+
update!(**args)
|
6736
|
+
end
|
6737
|
+
|
6738
|
+
# Update properties of this object
|
6739
|
+
def update!(**args)
|
6740
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6741
|
+
@data_state = args[:data_state] if args.key?(:data_state)
|
6742
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
6743
|
+
@filtering_option = args[:filtering_option] if args.key?(:filtering_option)
|
6744
|
+
@last_tune_time = args[:last_tune_time] if args.key?(:last_tune_time)
|
6745
|
+
@name = args[:name] if args.key?(:name)
|
6746
|
+
@optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
|
6747
|
+
@periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
|
6748
|
+
@serving_config_lists = args[:serving_config_lists] if args.key?(:serving_config_lists)
|
6749
|
+
@serving_state = args[:serving_state] if args.key?(:serving_state)
|
6750
|
+
@training_state = args[:training_state] if args.key?(:training_state)
|
6751
|
+
@tuning_operation = args[:tuning_operation] if args.key?(:tuning_operation)
|
6752
|
+
@type = args[:type] if args.key?(:type)
|
6753
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
6754
|
+
end
|
6755
|
+
end
|
6756
|
+
|
6757
|
+
# Represents an ordered combination of valid serving configs, which can be used
|
6758
|
+
# for `PAGE_OPTIMIZATION` recommendations.
|
6759
|
+
class GoogleCloudRetailV2betaModelServingConfigList
|
6760
|
+
include Google::Apis::Core::Hashable
|
6761
|
+
|
6762
|
+
# Optional. A set of valid serving configs that may be used for `
|
6763
|
+
# PAGE_OPTIMIZATION`.
|
6764
|
+
# Corresponds to the JSON property `servingConfigIds`
|
6765
|
+
# @return [Array<String>]
|
6766
|
+
attr_accessor :serving_config_ids
|
6767
|
+
|
6768
|
+
def initialize(**args)
|
6769
|
+
update!(**args)
|
6770
|
+
end
|
6771
|
+
|
6772
|
+
# Update properties of this object
|
6773
|
+
def update!(**args)
|
6774
|
+
@serving_config_ids = args[:serving_config_ids] if args.key?(:serving_config_ids)
|
6775
|
+
end
|
6776
|
+
end
|
6777
|
+
|
6517
6778
|
# Output result.
|
6518
6779
|
class GoogleCloudRetailV2betaOutputResult
|
6519
6780
|
include Google::Apis::Core::Hashable
|
@@ -6689,6 +6950,40 @@ module Google
|
|
6689
6950
|
end
|
6690
6951
|
end
|
6691
6952
|
|
6953
|
+
# Metadata associated with a tune operation.
|
6954
|
+
class GoogleCloudRetailV2betaTuneModelMetadata
|
6955
|
+
include Google::Apis::Core::Hashable
|
6956
|
+
|
6957
|
+
# The resource name of the model that this tune applies to. Format: `projects/`
|
6958
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
6959
|
+
# `
|
6960
|
+
# Corresponds to the JSON property `model`
|
6961
|
+
# @return [String]
|
6962
|
+
attr_accessor :model
|
6963
|
+
|
6964
|
+
def initialize(**args)
|
6965
|
+
update!(**args)
|
6966
|
+
end
|
6967
|
+
|
6968
|
+
# Update properties of this object
|
6969
|
+
def update!(**args)
|
6970
|
+
@model = args[:model] if args.key?(:model)
|
6971
|
+
end
|
6972
|
+
end
|
6973
|
+
|
6974
|
+
# Response associated with a tune operation.
|
6975
|
+
class GoogleCloudRetailV2betaTuneModelResponse
|
6976
|
+
include Google::Apis::Core::Hashable
|
6977
|
+
|
6978
|
+
def initialize(**args)
|
6979
|
+
update!(**args)
|
6980
|
+
end
|
6981
|
+
|
6982
|
+
# Update properties of this object
|
6983
|
+
def update!(**args)
|
6984
|
+
end
|
6985
|
+
end
|
6986
|
+
|
6692
6987
|
# A summary of import result. The UserEventImportSummary summarizes the import
|
6693
6988
|
# status for user events.
|
6694
6989
|
class GoogleCloudRetailV2betaUserEventImportSummary
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2alpha
|
18
18
|
# Version of the google-apis-retail_v2alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.59.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
|
@@ -496,6 +496,12 @@ module Google
|
|
496
496
|
include Google::Apis::Core::JsonObjectSupport
|
497
497
|
end
|
498
498
|
|
499
|
+
class GoogleCloudRetailV2alphaMerchantCenterFeedFilter
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
499
505
|
class GoogleCloudRetailV2alphaMerchantCenterLink
|
500
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
507
|
|
@@ -994,6 +1000,12 @@ module Google
|
|
994
1000
|
include Google::Apis::Core::JsonObjectSupport
|
995
1001
|
end
|
996
1002
|
|
1003
|
+
class GoogleCloudRetailV2betaCreateModelMetadata
|
1004
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1005
|
+
|
1006
|
+
include Google::Apis::Core::JsonObjectSupport
|
1007
|
+
end
|
1008
|
+
|
997
1009
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
998
1010
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
999
1011
|
|
@@ -1048,6 +1060,18 @@ module Google
|
|
1048
1060
|
include Google::Apis::Core::JsonObjectSupport
|
1049
1061
|
end
|
1050
1062
|
|
1063
|
+
class GoogleCloudRetailV2betaModel
|
1064
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1065
|
+
|
1066
|
+
include Google::Apis::Core::JsonObjectSupport
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
class GoogleCloudRetailV2betaModelServingConfigList
|
1070
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1071
|
+
|
1072
|
+
include Google::Apis::Core::JsonObjectSupport
|
1073
|
+
end
|
1074
|
+
|
1051
1075
|
class GoogleCloudRetailV2betaOutputResult
|
1052
1076
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1053
1077
|
|
@@ -1114,6 +1138,18 @@ module Google
|
|
1114
1138
|
include Google::Apis::Core::JsonObjectSupport
|
1115
1139
|
end
|
1116
1140
|
|
1141
|
+
class GoogleCloudRetailV2betaTuneModelMetadata
|
1142
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1143
|
+
|
1144
|
+
include Google::Apis::Core::JsonObjectSupport
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
class GoogleCloudRetailV2betaTuneModelResponse
|
1148
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1149
|
+
|
1150
|
+
include Google::Apis::Core::JsonObjectSupport
|
1151
|
+
end
|
1152
|
+
|
1117
1153
|
class GoogleCloudRetailV2betaUserEventImportSummary
|
1118
1154
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1119
1155
|
|
@@ -1198,8 +1234,14 @@ module Google
|
|
1198
1234
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1199
1235
|
property :catalog_item, as: 'catalogItem'
|
1200
1236
|
property :gcs_path, as: 'gcsPath'
|
1237
|
+
property :inventory_activity, as: 'inventoryActivity'
|
1201
1238
|
property :line_number, as: 'lineNumber'
|
1202
1239
|
property :operation_name, as: 'operationName'
|
1240
|
+
property :order, as: 'order'
|
1241
|
+
property :place, as: 'place'
|
1242
|
+
property :place_asset, as: 'placeAsset'
|
1243
|
+
property :place_product_price, as: 'placeProductPrice'
|
1244
|
+
property :place_product_settings, as: 'placeProductSettings'
|
1203
1245
|
property :product, as: 'product'
|
1204
1246
|
property :user_event, as: 'userEvent'
|
1205
1247
|
end
|
@@ -1858,11 +1900,21 @@ module Google
|
|
1858
1900
|
end
|
1859
1901
|
end
|
1860
1902
|
|
1903
|
+
class GoogleCloudRetailV2alphaMerchantCenterFeedFilter
|
1904
|
+
# @private
|
1905
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1906
|
+
property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
|
1907
|
+
property :primary_feed_name, as: 'primaryFeedName'
|
1908
|
+
end
|
1909
|
+
end
|
1910
|
+
|
1861
1911
|
class GoogleCloudRetailV2alphaMerchantCenterLink
|
1862
1912
|
# @private
|
1863
1913
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1864
1914
|
property :branch_id, as: 'branchId'
|
1865
1915
|
collection :destinations, as: 'destinations'
|
1916
|
+
collection :feeds, as: 'feeds', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterFeedFilter::Representation
|
1917
|
+
|
1866
1918
|
property :language_code, as: 'languageCode'
|
1867
1919
|
property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
|
1868
1920
|
property :region_code, as: 'regionCode'
|
@@ -2703,6 +2755,13 @@ module Google
|
|
2703
2755
|
end
|
2704
2756
|
end
|
2705
2757
|
|
2758
|
+
class GoogleCloudRetailV2betaCreateModelMetadata
|
2759
|
+
# @private
|
2760
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2761
|
+
property :model, as: 'model'
|
2762
|
+
end
|
2763
|
+
end
|
2764
|
+
|
2706
2765
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
2707
2766
|
# @private
|
2708
2767
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2791,6 +2850,34 @@ module Google
|
|
2791
2850
|
end
|
2792
2851
|
end
|
2793
2852
|
|
2853
|
+
class GoogleCloudRetailV2betaModel
|
2854
|
+
# @private
|
2855
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2856
|
+
property :create_time, as: 'createTime'
|
2857
|
+
property :data_state, as: 'dataState'
|
2858
|
+
property :display_name, as: 'displayName'
|
2859
|
+
property :filtering_option, as: 'filteringOption'
|
2860
|
+
property :last_tune_time, as: 'lastTuneTime'
|
2861
|
+
property :name, as: 'name'
|
2862
|
+
property :optimization_objective, as: 'optimizationObjective'
|
2863
|
+
property :periodic_tuning_state, as: 'periodicTuningState'
|
2864
|
+
collection :serving_config_lists, as: 'servingConfigLists', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelServingConfigList, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelServingConfigList::Representation
|
2865
|
+
|
2866
|
+
property :serving_state, as: 'servingState'
|
2867
|
+
property :training_state, as: 'trainingState'
|
2868
|
+
property :tuning_operation, as: 'tuningOperation'
|
2869
|
+
property :type, as: 'type'
|
2870
|
+
property :update_time, as: 'updateTime'
|
2871
|
+
end
|
2872
|
+
end
|
2873
|
+
|
2874
|
+
class GoogleCloudRetailV2betaModelServingConfigList
|
2875
|
+
# @private
|
2876
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2877
|
+
collection :serving_config_ids, as: 'servingConfigIds'
|
2878
|
+
end
|
2879
|
+
end
|
2880
|
+
|
2794
2881
|
class GoogleCloudRetailV2betaOutputResult
|
2795
2882
|
# @private
|
2796
2883
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2861,6 +2948,19 @@ module Google
|
|
2861
2948
|
end
|
2862
2949
|
end
|
2863
2950
|
|
2951
|
+
class GoogleCloudRetailV2betaTuneModelMetadata
|
2952
|
+
# @private
|
2953
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2954
|
+
property :model, as: 'model'
|
2955
|
+
end
|
2956
|
+
end
|
2957
|
+
|
2958
|
+
class GoogleCloudRetailV2betaTuneModelResponse
|
2959
|
+
# @private
|
2960
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2961
|
+
end
|
2962
|
+
end
|
2963
|
+
|
2864
2964
|
class GoogleCloudRetailV2betaUserEventImportSummary
|
2865
2965
|
# @private
|
2866
2966
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.59.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-03 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: 0.
|
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: 0.
|
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_v2alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.59.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|