google-apis-retail_v2beta 0.47.0 → 0.48.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: db793e92a01d652adbcc15c48098a430659fc3b12e192b93d2469410f6950c46
|
4
|
+
data.tar.gz: 5e2ec82bdff8cee71cc4e7d04f797be372d66127d71cce2876fe0daa96c46980
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57c3e8c7c580660a79bf8bbcf6ac487273c0a4ffbf209ced0f6b34022cee4fefc04fa8bbe6a8f9c07adefc7c302f50ada420f07ab7cff67217084dcdc2fa23fd
|
7
|
+
data.tar.gz: e46335c5a6eafd152f006ee6804ecc040541eb0c36711d19f196d9f9fb1570e484d237a6141fd3b8af753db0a990b56ae1e5d8bbf8a028bd95b52a1a3f87a06e
|
data/CHANGELOG.md
CHANGED
@@ -739,6 +739,26 @@ module Google
|
|
739
739
|
end
|
740
740
|
end
|
741
741
|
|
742
|
+
# Metadata associated with a create operation.
|
743
|
+
class GoogleCloudRetailV2alphaCreateModelMetadata
|
744
|
+
include Google::Apis::Core::Hashable
|
745
|
+
|
746
|
+
# The resource name of the model that this create applies to. Format: projects/`
|
747
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
748
|
+
# Corresponds to the JSON property `model`
|
749
|
+
# @return [String]
|
750
|
+
attr_accessor :model
|
751
|
+
|
752
|
+
def initialize(**args)
|
753
|
+
update!(**args)
|
754
|
+
end
|
755
|
+
|
756
|
+
# Update properties of this object
|
757
|
+
def update!(**args)
|
758
|
+
@model = args[:model] if args.key?(:model)
|
759
|
+
end
|
760
|
+
end
|
761
|
+
|
742
762
|
# Configuration of destination for Export related errors.
|
743
763
|
class GoogleCloudRetailV2alphaExportErrorsConfig
|
744
764
|
include Google::Apis::Core::Hashable
|
@@ -998,6 +1018,231 @@ module Google
|
|
998
1018
|
end
|
999
1019
|
end
|
1000
1020
|
|
1021
|
+
# Metadata that describes the training and serving parameters of a Model. A
|
1022
|
+
# Model can be associated with a ServingConfig and then queried through the
|
1023
|
+
# Predict api.
|
1024
|
+
class GoogleCloudRetailV2alphaModel
|
1025
|
+
include Google::Apis::Core::Hashable
|
1026
|
+
|
1027
|
+
# Output only. Timestamp the Recommendation Model was created at.
|
1028
|
+
# Corresponds to the JSON property `createTime`
|
1029
|
+
# @return [String]
|
1030
|
+
attr_accessor :create_time
|
1031
|
+
|
1032
|
+
# Output only. The state of data requirements for this model: DATA_OK and
|
1033
|
+
# DATA_ERROR. Recommendation model cannot be trained if the data is in
|
1034
|
+
# DATA_ERROR state. Recommendation model can have DATA_ERROR state even if
|
1035
|
+
# serving state is ACTIVE: models were trained successfully before, but cannot
|
1036
|
+
# be refreshed because model no longer has sufficient data for training.
|
1037
|
+
# Corresponds to the JSON property `dataState`
|
1038
|
+
# @return [String]
|
1039
|
+
attr_accessor :data_state
|
1040
|
+
|
1041
|
+
# Required. The display name of the model. Should be human readable, used to
|
1042
|
+
# display Recommendation Models in the Retail Pantheon Dashboard. UTF-8 encoded
|
1043
|
+
# string with limit of 1024 characters.
|
1044
|
+
# Corresponds to the JSON property `displayName`
|
1045
|
+
# @return [String]
|
1046
|
+
attr_accessor :display_name
|
1047
|
+
|
1048
|
+
# Optional. If RECOMMENDATIONS_FILTERING_ENABLED, recommendation filtering by
|
1049
|
+
# attributes is enabled for the model.
|
1050
|
+
# Corresponds to the JSON property `filteringOption`
|
1051
|
+
# @return [String]
|
1052
|
+
attr_accessor :filtering_option
|
1053
|
+
|
1054
|
+
# Output only. The timestamp when the latest successful tune finished.
|
1055
|
+
# Corresponds to the JSON property `lastTuneTime`
|
1056
|
+
# @return [String]
|
1057
|
+
attr_accessor :last_tune_time
|
1058
|
+
|
1059
|
+
# Required. The fully qualified resource name of the model. Format: projects/`
|
1060
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
1061
|
+
# catalog_id has char limit of 50. recommendation_model_id has char limit of 40.
|
1062
|
+
# Corresponds to the JSON property `name`
|
1063
|
+
# @return [String]
|
1064
|
+
attr_accessor :name
|
1065
|
+
|
1066
|
+
# Optional. The optimization objective e.g. `cvr`. Currently supported values: `
|
1067
|
+
# ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on
|
1068
|
+
# model type. Default depends on type of recommendation: `recommended-for-you` =>
|
1069
|
+
# `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `
|
1070
|
+
# revenue_per_order`
|
1071
|
+
# Corresponds to the JSON property `optimizationObjective`
|
1072
|
+
# @return [String]
|
1073
|
+
attr_accessor :optimization_objective
|
1074
|
+
|
1075
|
+
# The PageOptimizationConfig for model training. This determines how many panels
|
1076
|
+
# to optimize for, and which serving configurations to consider for each panel.
|
1077
|
+
# The purpose of this model is to optimize which ServingConfig to show on which
|
1078
|
+
# panels in way that optimizes the visitors shopping journey.
|
1079
|
+
# Corresponds to the JSON property `pageOptimizationConfig`
|
1080
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfig]
|
1081
|
+
attr_accessor :page_optimization_config
|
1082
|
+
|
1083
|
+
# Optional. The state of periodic tuning. The period we use is 3 months - to do
|
1084
|
+
# a one-off tune earlier use the TuneModel method. Default value is
|
1085
|
+
# PERIODIC_TUNING_ENABLED.
|
1086
|
+
# Corresponds to the JSON property `periodicTuningState`
|
1087
|
+
# @return [String]
|
1088
|
+
attr_accessor :periodic_tuning_state
|
1089
|
+
|
1090
|
+
# Output only. The serving state of the model: ACTIVE, NOT_ACTIVE.
|
1091
|
+
# Corresponds to the JSON property `servingState`
|
1092
|
+
# @return [String]
|
1093
|
+
attr_accessor :serving_state
|
1094
|
+
|
1095
|
+
# Optional. The training state that the model is in (e.g. TRAINING or PAUSED).
|
1096
|
+
# Since part of the cost of running the service is frequency of training - this
|
1097
|
+
# can be used to determine when to train model in order to control cost. If not
|
1098
|
+
# specified: the default value for CreateModel method is TRAINING. the default
|
1099
|
+
# value for UpdateModel method is to keep the state the same as before.
|
1100
|
+
# Corresponds to the JSON property `trainingState`
|
1101
|
+
# @return [String]
|
1102
|
+
attr_accessor :training_state
|
1103
|
+
|
1104
|
+
# Output only. The tune operation associated with the model. Can be used to
|
1105
|
+
# determine if there is an ongoing tune for this recommendation. Empty field
|
1106
|
+
# implies no tune is goig on.
|
1107
|
+
# Corresponds to the JSON property `tuningOperation`
|
1108
|
+
# @return [String]
|
1109
|
+
attr_accessor :tuning_operation
|
1110
|
+
|
1111
|
+
# Required. The type of model e.g. `home-page`. Currently supported values: `
|
1112
|
+
# recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
|
1113
|
+
# page-optimization`, 'similar-items', 'buy-it-again', `recently-viewed`(
|
1114
|
+
# readonly value).
|
1115
|
+
# Corresponds to the JSON property `type`
|
1116
|
+
# @return [String]
|
1117
|
+
attr_accessor :type
|
1118
|
+
|
1119
|
+
# Output only. Timestamp the Recommendation Model was last updated. E.g. if a
|
1120
|
+
# Recommendation Model was paused - this would be the time the pause was
|
1121
|
+
# initiated.
|
1122
|
+
# Corresponds to the JSON property `updateTime`
|
1123
|
+
# @return [String]
|
1124
|
+
attr_accessor :update_time
|
1125
|
+
|
1126
|
+
def initialize(**args)
|
1127
|
+
update!(**args)
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
# Update properties of this object
|
1131
|
+
def update!(**args)
|
1132
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1133
|
+
@data_state = args[:data_state] if args.key?(:data_state)
|
1134
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1135
|
+
@filtering_option = args[:filtering_option] if args.key?(:filtering_option)
|
1136
|
+
@last_tune_time = args[:last_tune_time] if args.key?(:last_tune_time)
|
1137
|
+
@name = args[:name] if args.key?(:name)
|
1138
|
+
@optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
|
1139
|
+
@page_optimization_config = args[:page_optimization_config] if args.key?(:page_optimization_config)
|
1140
|
+
@periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
|
1141
|
+
@serving_state = args[:serving_state] if args.key?(:serving_state)
|
1142
|
+
@training_state = args[:training_state] if args.key?(:training_state)
|
1143
|
+
@tuning_operation = args[:tuning_operation] if args.key?(:tuning_operation)
|
1144
|
+
@type = args[:type] if args.key?(:type)
|
1145
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1146
|
+
end
|
1147
|
+
end
|
1148
|
+
|
1149
|
+
# The PageOptimizationConfig for model training. This determines how many panels
|
1150
|
+
# to optimize for, and which serving configurations to consider for each panel.
|
1151
|
+
# The purpose of this model is to optimize which ServingConfig to show on which
|
1152
|
+
# panels in way that optimizes the visitors shopping journey.
|
1153
|
+
class GoogleCloudRetailV2alphaModelPageOptimizationConfig
|
1154
|
+
include Google::Apis::Core::Hashable
|
1155
|
+
|
1156
|
+
# Required. The type of UserEvent this page optimization is shown for. Each page
|
1157
|
+
# has an associated event type - this will be the corresponding event type for
|
1158
|
+
# the page that the page optimization model is used on. Supported types: * `add-
|
1159
|
+
# to-cart`: Products being added to cart. * `detail-page-view`: Products detail
|
1160
|
+
# page viewed. * `home-page-view`: Homepage viewed * `category-page-view`:
|
1161
|
+
# Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `
|
1162
|
+
# home-page-view` only allows models with type `recommended-for-you`. All other
|
1163
|
+
# page_optimization_event_type allow all Model.types.
|
1164
|
+
# Corresponds to the JSON property `pageOptimizationEventType`
|
1165
|
+
# @return [String]
|
1166
|
+
attr_accessor :page_optimization_event_type
|
1167
|
+
|
1168
|
+
# Required. A list of panel configurations. Limit = 5.
|
1169
|
+
# Corresponds to the JSON property `panels`
|
1170
|
+
# @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel>]
|
1171
|
+
attr_accessor :panels
|
1172
|
+
|
1173
|
+
# Optional. How to restrict results across panels e.g. can the same
|
1174
|
+
# ServingConfig be shown on multiple panels at once. If unspecified, default to `
|
1175
|
+
# UNIQUE_MODEL_RESTRICTION`.
|
1176
|
+
# Corresponds to the JSON property `restriction`
|
1177
|
+
# @return [String]
|
1178
|
+
attr_accessor :restriction
|
1179
|
+
|
1180
|
+
def initialize(**args)
|
1181
|
+
update!(**args)
|
1182
|
+
end
|
1183
|
+
|
1184
|
+
# Update properties of this object
|
1185
|
+
def update!(**args)
|
1186
|
+
@page_optimization_event_type = args[:page_optimization_event_type] if args.key?(:page_optimization_event_type)
|
1187
|
+
@panels = args[:panels] if args.key?(:panels)
|
1188
|
+
@restriction = args[:restriction] if args.key?(:restriction)
|
1189
|
+
end
|
1190
|
+
end
|
1191
|
+
|
1192
|
+
# A candidate to consider for a given panel. Currently only ServingConfig are
|
1193
|
+
# valid candidates.
|
1194
|
+
class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
|
1195
|
+
include Google::Apis::Core::Hashable
|
1196
|
+
|
1197
|
+
# This has to be a valid ServingConfig identifier. e.g. for a ServingConfig with
|
1198
|
+
# full name: `projects/*/locations/global/catalogs/default_catalog/
|
1199
|
+
# servingConfigs/my_candidate_config` this would be 'my_candidate_config'
|
1200
|
+
# Corresponds to the JSON property `servingConfigId`
|
1201
|
+
# @return [String]
|
1202
|
+
attr_accessor :serving_config_id
|
1203
|
+
|
1204
|
+
def initialize(**args)
|
1205
|
+
update!(**args)
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
# Update properties of this object
|
1209
|
+
def update!(**args)
|
1210
|
+
@serving_config_id = args[:serving_config_id] if args.key?(:serving_config_id)
|
1211
|
+
end
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
# An individual panel with a list of ServingConfigs to consider for it.
|
1215
|
+
class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
|
1216
|
+
include Google::Apis::Core::Hashable
|
1217
|
+
|
1218
|
+
# Required. The candidates to consider on the panel. Limit = 10.
|
1219
|
+
# Corresponds to the JSON property `candidates`
|
1220
|
+
# @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate>]
|
1221
|
+
attr_accessor :candidates
|
1222
|
+
|
1223
|
+
# A candidate to consider for a given panel. Currently only ServingConfig are
|
1224
|
+
# valid candidates.
|
1225
|
+
# Corresponds to the JSON property `defaultCandidate`
|
1226
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate]
|
1227
|
+
attr_accessor :default_candidate
|
1228
|
+
|
1229
|
+
# Optional. The name to display for the panel.
|
1230
|
+
# Corresponds to the JSON property `displayName`
|
1231
|
+
# @return [String]
|
1232
|
+
attr_accessor :display_name
|
1233
|
+
|
1234
|
+
def initialize(**args)
|
1235
|
+
update!(**args)
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# Update properties of this object
|
1239
|
+
def update!(**args)
|
1240
|
+
@candidates = args[:candidates] if args.key?(:candidates)
|
1241
|
+
@default_candidate = args[:default_candidate] if args.key?(:default_candidate)
|
1242
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1243
|
+
end
|
1244
|
+
end
|
1245
|
+
|
1001
1246
|
# Metadata related to the progress of the Purge operation. This will be returned
|
1002
1247
|
# by the google.longrunning.Operation.metadata field.
|
1003
1248
|
class GoogleCloudRetailV2alphaPurgeMetadata
|
@@ -1222,6 +1467,39 @@ module Google
|
|
1222
1467
|
end
|
1223
1468
|
end
|
1224
1469
|
|
1470
|
+
# Metadata associated with a tune operation.
|
1471
|
+
class GoogleCloudRetailV2alphaTuneModelMetadata
|
1472
|
+
include Google::Apis::Core::Hashable
|
1473
|
+
|
1474
|
+
# The resource name of the model that this tune applies to. Format: projects/`
|
1475
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
1476
|
+
# Corresponds to the JSON property `model`
|
1477
|
+
# @return [String]
|
1478
|
+
attr_accessor :model
|
1479
|
+
|
1480
|
+
def initialize(**args)
|
1481
|
+
update!(**args)
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
# Update properties of this object
|
1485
|
+
def update!(**args)
|
1486
|
+
@model = args[:model] if args.key?(:model)
|
1487
|
+
end
|
1488
|
+
end
|
1489
|
+
|
1490
|
+
# Response associated with a tune operation.
|
1491
|
+
class GoogleCloudRetailV2alphaTuneModelResponse
|
1492
|
+
include Google::Apis::Core::Hashable
|
1493
|
+
|
1494
|
+
def initialize(**args)
|
1495
|
+
update!(**args)
|
1496
|
+
end
|
1497
|
+
|
1498
|
+
# Update properties of this object
|
1499
|
+
def update!(**args)
|
1500
|
+
end
|
1501
|
+
end
|
1502
|
+
|
1225
1503
|
# A summary of import result. The UserEventImportSummary summarizes the import
|
1226
1504
|
# status for user events.
|
1227
1505
|
class GoogleCloudRetailV2alphaUserEventImportSummary
|
@@ -1815,9 +2093,8 @@ module Google
|
|
1815
2093
|
|
1816
2094
|
# Custom attributes for the suggestion term. * For "user-data", the attributes
|
1817
2095
|
# are additional custom attributes ingested through BigQuery. * For "cloud-
|
1818
|
-
# retail", the attributes are product attributes generated by Cloud Retail.
|
1819
|
-
#
|
1820
|
-
# interested in enabling it.
|
2096
|
+
# retail", the attributes are product attributes generated by Cloud Retail. It
|
2097
|
+
# requires UserEvent.product_details is imported properly.
|
1821
2098
|
# Corresponds to the JSON property `attributes`
|
1822
2099
|
# @return [Hash<String,Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute>]
|
1823
2100
|
attr_accessor :attributes
|
@@ -3027,7 +3304,7 @@ module Google
|
|
3027
3304
|
# in `PredictRequest.params` to receive empty results instead. Note that the API
|
3028
3305
|
# will never return items with storageStatus of "EXPIRED" or "DELETED"
|
3029
3306
|
# regardless of filter choices. If `filterSyntaxV2` is set to true under the `
|
3030
|
-
# params` field, then attribute
|
3307
|
+
# params` field, then attribute-based expressions are expected instead of the
|
3031
3308
|
# above described tag-based syntax. Examples: * (colors: ANY("Red", "Blue")) AND
|
3032
3309
|
# NOT (categories: ANY("Phones")) * (availability: ANY("IN_STOCK")) AND (colors:
|
3033
3310
|
# ANY("Red") OR categories: ANY("Phones"))
|
@@ -3058,7 +3335,7 @@ module Google
|
|
3058
3335
|
# @return [Fixnum]
|
3059
3336
|
attr_accessor :page_size
|
3060
3337
|
|
3061
|
-
# This field is not used for now,
|
3338
|
+
# This field is not used for now, leave it unset.
|
3062
3339
|
# Corresponds to the JSON property `pageToken`
|
3063
3340
|
# @return [String]
|
3064
3341
|
attr_accessor :page_token
|
@@ -3080,8 +3357,8 @@ module Google
|
|
3080
3357
|
# it needs to be one of `'no-diversity', 'low-diversity', 'medium-diversity', '
|
3081
3358
|
# high-diversity', 'auto-diversity'`. This gives request-level control and
|
3082
3359
|
# adjusts prediction results based on product category. * `filterSyntaxV2`:
|
3083
|
-
# Boolean. False by default. If set to true, the `filter` field
|
3084
|
-
#
|
3360
|
+
# Boolean. False by default. If set to true, the `filter` field is interpreteted
|
3361
|
+
# according to the new, attribute-based syntax.
|
3085
3362
|
# Corresponds to the JSON property `params`
|
3086
3363
|
# @return [Hash<String,Object>]
|
3087
3364
|
attr_accessor :params
|
@@ -4263,13 +4540,13 @@ module Google
|
|
4263
4540
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleDoNotAssociateAction]
|
4264
4541
|
attr_accessor :do_not_associate_action
|
4265
4542
|
|
4266
|
-
# * Rule Condition: - No Condition provided is a global match. - 1
|
4267
|
-
# Condition provided is combined with OR operator. * Action
|
4268
|
-
# query and filter that
|
4269
|
-
# to any filters already provided with the SearchRequest. The AND
|
4270
|
-
# used to combine the query's existing filters with the filter rule(
|
4271
|
-
# May result in 0 results when filters conflict. * Action Result:
|
4272
|
-
# returned objects to be ONLY those that passed the filter.
|
4543
|
+
# * Rule Condition: - No Condition.query_terms provided is a global match. - 1
|
4544
|
+
# or more Condition.query_terms provided is combined with OR operator. * Action
|
4545
|
+
# Input: The request query and filter that are applied to the retrieved products,
|
4546
|
+
# in addition to any filters already provided with the SearchRequest. The AND
|
4547
|
+
# operator is used to combine the query's existing filters with the filter rule(
|
4548
|
+
# s). NOTE: May result in 0 results when filters conflict. * Action Result:
|
4549
|
+
# Filters the returned objects to be ONLY those that passed the filter.
|
4273
4550
|
# Corresponds to the JSON property `filterAction`
|
4274
4551
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleFilterAction]
|
4275
4552
|
attr_accessor :filter_action
|
@@ -4289,8 +4566,8 @@ module Google
|
|
4289
4566
|
attr_accessor :oneway_synonyms_action
|
4290
4567
|
|
4291
4568
|
# Redirects a shopper to a specific page. * Rule Condition: - Must specify
|
4292
|
-
# Condition. * Action Input: Request Query * Action Result:
|
4293
|
-
# provided uri.
|
4569
|
+
# Condition.query_terms. * Action Input: Request Query * Action Result:
|
4570
|
+
# Redirects shopper to provided uri.
|
4294
4571
|
# Corresponds to the JSON property `redirectAction`
|
4295
4572
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleRedirectAction]
|
4296
4573
|
attr_accessor :redirect_action
|
@@ -4400,13 +4677,13 @@ module Google
|
|
4400
4677
|
end
|
4401
4678
|
end
|
4402
4679
|
|
4403
|
-
# * Rule Condition: - No Condition provided is a global match. - 1
|
4404
|
-
# Condition provided is combined with OR operator. * Action
|
4405
|
-
# query and filter that
|
4406
|
-
# to any filters already provided with the SearchRequest. The AND
|
4407
|
-
# used to combine the query's existing filters with the filter rule(
|
4408
|
-
# May result in 0 results when filters conflict. * Action Result:
|
4409
|
-
# returned objects to be ONLY those that passed the filter.
|
4680
|
+
# * Rule Condition: - No Condition.query_terms provided is a global match. - 1
|
4681
|
+
# or more Condition.query_terms provided is combined with OR operator. * Action
|
4682
|
+
# Input: The request query and filter that are applied to the retrieved products,
|
4683
|
+
# in addition to any filters already provided with the SearchRequest. The AND
|
4684
|
+
# operator is used to combine the query's existing filters with the filter rule(
|
4685
|
+
# s). NOTE: May result in 0 results when filters conflict. * Action Result:
|
4686
|
+
# Filters the returned objects to be ONLY those that passed the filter.
|
4410
4687
|
class GoogleCloudRetailV2betaRuleFilterAction
|
4411
4688
|
include Google::Apis::Core::Hashable
|
4412
4689
|
|
@@ -4487,8 +4764,8 @@ module Google
|
|
4487
4764
|
end
|
4488
4765
|
|
4489
4766
|
# Redirects a shopper to a specific page. * Rule Condition: - Must specify
|
4490
|
-
# Condition. * Action Input: Request Query * Action Result:
|
4491
|
-
# provided uri.
|
4767
|
+
# Condition.query_terms. * Action Input: Request Query * Action Result:
|
4768
|
+
# Redirects shopper to provided uri.
|
4492
4769
|
class GoogleCloudRetailV2betaRuleRedirectAction
|
4493
4770
|
include Google::Apis::Core::Hashable
|
4494
4771
|
|
@@ -5125,7 +5402,7 @@ module Google
|
|
5125
5402
|
|
5126
5403
|
# Contains the spell corrected query, if found. If the spell correction type is
|
5127
5404
|
# AUTOMATIC, then the search results are based on corrected_query. Otherwise the
|
5128
|
-
# original query
|
5405
|
+
# original query is used for search.
|
5129
5406
|
# Corresponds to the JSON property `correctedQuery`
|
5130
5407
|
# @return [String]
|
5131
5408
|
attr_accessor :corrected_query
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2beta
|
18
18
|
# Version of the google-apis-retail_v2beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.48.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220716"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -208,6 +208,12 @@ module Google
|
|
208
208
|
include Google::Apis::Core::JsonObjectSupport
|
209
209
|
end
|
210
210
|
|
211
|
+
class GoogleCloudRetailV2alphaCreateModelMetadata
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
211
217
|
class GoogleCloudRetailV2alphaExportErrorsConfig
|
212
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
219
|
|
@@ -262,6 +268,30 @@ module Google
|
|
262
268
|
include Google::Apis::Core::JsonObjectSupport
|
263
269
|
end
|
264
270
|
|
271
|
+
class GoogleCloudRetailV2alphaModel
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class GoogleCloudRetailV2alphaModelPageOptimizationConfig
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
265
295
|
class GoogleCloudRetailV2alphaPurgeMetadata
|
266
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
297
|
|
@@ -334,6 +364,18 @@ module Google
|
|
334
364
|
include Google::Apis::Core::JsonObjectSupport
|
335
365
|
end
|
336
366
|
|
367
|
+
class GoogleCloudRetailV2alphaTuneModelMetadata
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
373
|
+
class GoogleCloudRetailV2alphaTuneModelResponse
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
337
379
|
class GoogleCloudRetailV2alphaUserEventImportSummary
|
338
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
381
|
|
@@ -1266,6 +1308,13 @@ module Google
|
|
1266
1308
|
end
|
1267
1309
|
end
|
1268
1310
|
|
1311
|
+
class GoogleCloudRetailV2alphaCreateModelMetadata
|
1312
|
+
# @private
|
1313
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1314
|
+
property :model, as: 'model'
|
1315
|
+
end
|
1316
|
+
end
|
1317
|
+
|
1269
1318
|
class GoogleCloudRetailV2alphaExportErrorsConfig
|
1270
1319
|
# @private
|
1271
1320
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1350,6 +1399,55 @@ module Google
|
|
1350
1399
|
end
|
1351
1400
|
end
|
1352
1401
|
|
1402
|
+
class GoogleCloudRetailV2alphaModel
|
1403
|
+
# @private
|
1404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1405
|
+
property :create_time, as: 'createTime'
|
1406
|
+
property :data_state, as: 'dataState'
|
1407
|
+
property :display_name, as: 'displayName'
|
1408
|
+
property :filtering_option, as: 'filteringOption'
|
1409
|
+
property :last_tune_time, as: 'lastTuneTime'
|
1410
|
+
property :name, as: 'name'
|
1411
|
+
property :optimization_objective, as: 'optimizationObjective'
|
1412
|
+
property :page_optimization_config, as: 'pageOptimizationConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfig::Representation
|
1413
|
+
|
1414
|
+
property :periodic_tuning_state, as: 'periodicTuningState'
|
1415
|
+
property :serving_state, as: 'servingState'
|
1416
|
+
property :training_state, as: 'trainingState'
|
1417
|
+
property :tuning_operation, as: 'tuningOperation'
|
1418
|
+
property :type, as: 'type'
|
1419
|
+
property :update_time, as: 'updateTime'
|
1420
|
+
end
|
1421
|
+
end
|
1422
|
+
|
1423
|
+
class GoogleCloudRetailV2alphaModelPageOptimizationConfig
|
1424
|
+
# @private
|
1425
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1426
|
+
property :page_optimization_event_type, as: 'pageOptimizationEventType'
|
1427
|
+
collection :panels, as: 'panels', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel::Representation
|
1428
|
+
|
1429
|
+
property :restriction, as: 'restriction'
|
1430
|
+
end
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
|
1434
|
+
# @private
|
1435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1436
|
+
property :serving_config_id, as: 'servingConfigId'
|
1437
|
+
end
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
class GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel
|
1441
|
+
# @private
|
1442
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1443
|
+
collection :candidates, as: 'candidates', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate::Representation
|
1444
|
+
|
1445
|
+
property :default_candidate, as: 'defaultCandidate', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate::Representation
|
1446
|
+
|
1447
|
+
property :display_name, as: 'displayName'
|
1448
|
+
end
|
1449
|
+
end
|
1450
|
+
|
1353
1451
|
class GoogleCloudRetailV2alphaPurgeMetadata
|
1354
1452
|
# @private
|
1355
1453
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1430,6 +1528,19 @@ module Google
|
|
1430
1528
|
end
|
1431
1529
|
end
|
1432
1530
|
|
1531
|
+
class GoogleCloudRetailV2alphaTuneModelMetadata
|
1532
|
+
# @private
|
1533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1534
|
+
property :model, as: 'model'
|
1535
|
+
end
|
1536
|
+
end
|
1537
|
+
|
1538
|
+
class GoogleCloudRetailV2alphaTuneModelResponse
|
1539
|
+
# @private
|
1540
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1541
|
+
end
|
1542
|
+
end
|
1543
|
+
|
1433
1544
|
class GoogleCloudRetailV2alphaUserEventImportSummary
|
1434
1545
|
# @private
|
1435
1546
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1379,9 +1379,9 @@ module Google
|
|
1379
1379
|
|
1380
1380
|
# Makes a recommendation prediction.
|
1381
1381
|
# @param [String] placement
|
1382
|
-
# Required. Full resource name of the format:
|
1383
|
-
# global/catalogs/default_catalog/servingConfigs
|
1384
|
-
# locations/global/catalogs/default_catalog/placements
|
1382
|
+
# Required. Full resource name of the format: ``placement=projects/*/locations/
|
1383
|
+
# global/catalogs/default_catalog/servingConfigs/*`` or ``placement=projects/*/
|
1384
|
+
# locations/global/catalogs/default_catalog/placements/*``. We recommend using
|
1385
1385
|
# the `servingConfigs` resource. `placements` is a legacy resource. The ID of
|
1386
1386
|
# the Recommendations AI serving config or placement. Before you can request
|
1387
1387
|
# predictions from your model, you must create at least one serving config or
|
@@ -1685,9 +1685,9 @@ module Google
|
|
1685
1685
|
|
1686
1686
|
# Makes a recommendation prediction.
|
1687
1687
|
# @param [String] placement
|
1688
|
-
# Required. Full resource name of the format:
|
1689
|
-
# global/catalogs/default_catalog/servingConfigs
|
1690
|
-
# locations/global/catalogs/default_catalog/placements
|
1688
|
+
# Required. Full resource name of the format: ``placement=projects/*/locations/
|
1689
|
+
# global/catalogs/default_catalog/servingConfigs/*`` or ``placement=projects/*/
|
1690
|
+
# locations/global/catalogs/default_catalog/placements/*``. We recommend using
|
1691
1691
|
# the `servingConfigs` resource. `placements` is a legacy resource. The ID of
|
1692
1692
|
# the Recommendations AI serving config or placement. Before you can request
|
1693
1693
|
# predictions from your model, you must create at least one serving config or
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
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_v2beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.48.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|