google-apis-retail_v2alpha 0.63.0 → 0.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e5a8a2b94813bb2357742dc85178052296ac328bb94c47bad434601bdcd6c80
|
|
4
|
+
data.tar.gz: 1631070e7fcf4c4ad4a02f7bcddadd9a28f8cb5b0f3cf2b694491df768594812
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 891fc0fd43e676611f2c635bebf69becc134eefd5ea2ba2e9284c674fbe2d08ac74ecc7f653bcde1a02ab3abd9748eee563cd877a45e36dc93f3d5dd2968a880
|
|
7
|
+
data.tar.gz: 9f13ab7aacab920efc78b6c554a2a319ac0e1089a84d0c115558c20aff82f3408497ab6f521354b37e5dad430a57d39e4bb4bcd1d10ebf17ed9162c8e5eb28ea
|
data/CHANGELOG.md
CHANGED
|
@@ -1162,7 +1162,8 @@ module Google
|
|
|
1162
1162
|
|
|
1163
1163
|
# If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. This
|
|
1164
1164
|
# property only applies to textual custom attributes and requires indexable set
|
|
1165
|
-
# to enabled to enable exact-searchable.
|
|
1165
|
+
# to enabled to enable exact-searchable. If unset, the server behavior defaults
|
|
1166
|
+
# to EXACT_SEARCHABLE_DISABLED.
|
|
1166
1167
|
# Corresponds to the JSON property `exactSearchableOption`
|
|
1167
1168
|
# @return [String]
|
|
1168
1169
|
attr_accessor :exact_searchable_option
|
|
@@ -1195,7 +1196,9 @@ module Google
|
|
|
1195
1196
|
# custom_attribute`, such as `attributes.xyz`. To be indexable, the attribute
|
|
1196
1197
|
# name can contain only alpha-numeric characters and underscores. For example,
|
|
1197
1198
|
# an attribute named `attributes.abc_xyz` can be indexed, but an attribute named
|
|
1198
|
-
# `attributes.abc-xyz` cannot be indexed.
|
|
1199
|
+
# `attributes.abc-xyz` cannot be indexed. For attributes whoes key start with `
|
|
1200
|
+
# attributes.`, we refer them as custom attributes. Otherwise they are built-in
|
|
1201
|
+
# attributes such as `color` and `brands`.
|
|
1199
1202
|
# Corresponds to the JSON property `key`
|
|
1200
1203
|
# @return [String]
|
|
1201
1204
|
attr_accessor :key
|
|
@@ -1209,6 +1212,7 @@ module Google
|
|
|
1209
1212
|
attr_accessor :recommendations_filtering_option
|
|
1210
1213
|
|
|
1211
1214
|
# If RETRIEVABLE_ENABLED, attribute values are retrievable in the search results.
|
|
1215
|
+
# If unset, the server behavior defaults to RETRIEVABLE_DISABLED.
|
|
1212
1216
|
# Corresponds to the JSON property `retrievableOption`
|
|
1213
1217
|
# @return [String]
|
|
1214
1218
|
attr_accessor :retrievable_option
|
|
@@ -1646,9 +1650,9 @@ module Google
|
|
|
1646
1650
|
class GoogleCloudRetailV2alphaControl
|
|
1647
1651
|
include Google::Apis::Core::Hashable
|
|
1648
1652
|
|
|
1649
|
-
# Output only. List of serving
|
|
1650
|
-
#
|
|
1651
|
-
#
|
|
1653
|
+
# Output only. List of serving config ids that are associated with this control
|
|
1654
|
+
# in the same Catalog. Note the association is managed via the ServingConfig,
|
|
1655
|
+
# this is an output only denormalized view.
|
|
1652
1656
|
# Corresponds to the JSON property `associatedServingConfigIds`
|
|
1653
1657
|
# @return [Array<String>]
|
|
1654
1658
|
attr_accessor :associated_serving_config_ids
|
|
@@ -2758,8 +2762,8 @@ module Google
|
|
|
2758
2762
|
attr_accessor :optimization_objective
|
|
2759
2763
|
|
|
2760
2764
|
# The PageOptimizationConfig for model training. This determines how many panels
|
|
2761
|
-
# to optimize for, and which serving
|
|
2762
|
-
#
|
|
2765
|
+
# to optimize for, and which serving configs to consider for each panel. The
|
|
2766
|
+
# purpose of this model is to optimize which ServingConfig to show on which
|
|
2763
2767
|
# panels in way that optimizes the visitors shopping journey.
|
|
2764
2768
|
# Corresponds to the JSON property `pageOptimizationConfig`
|
|
2765
2769
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfig]
|
|
@@ -2845,8 +2849,8 @@ module Google
|
|
|
2845
2849
|
end
|
|
2846
2850
|
|
|
2847
2851
|
# The PageOptimizationConfig for model training. This determines how many panels
|
|
2848
|
-
# to optimize for, and which serving
|
|
2849
|
-
#
|
|
2852
|
+
# to optimize for, and which serving configs to consider for each panel. The
|
|
2853
|
+
# purpose of this model is to optimize which ServingConfig to show on which
|
|
2850
2854
|
# panels in way that optimizes the visitors shopping journey.
|
|
2851
2855
|
class GoogleCloudRetailV2alphaModelPageOptimizationConfig
|
|
2852
2856
|
include Google::Apis::Core::Hashable
|
|
@@ -5553,7 +5557,8 @@ module Google
|
|
|
5553
5557
|
# @return [String]
|
|
5554
5558
|
attr_accessor :diversity_level
|
|
5555
5559
|
|
|
5556
|
-
# What kind of diversity to use - data driven or rule based.
|
|
5560
|
+
# What kind of diversity to use - data driven or rule based. If unset, the
|
|
5561
|
+
# server behavior defaults to RULE_BASED_DIVERSITY.
|
|
5557
5562
|
# Corresponds to the JSON property `diversityType`
|
|
5558
5563
|
# @return [String]
|
|
5559
5564
|
attr_accessor :diversity_type
|
|
@@ -5641,7 +5646,7 @@ module Google
|
|
|
5641
5646
|
# product items with a similar recommendation probability to be ordered by price,
|
|
5642
5647
|
# with the highest-priced items first. This setting could result in a decrease
|
|
5643
5648
|
# in click-through and conversion rates. Allowed values are: * `no-price-
|
|
5644
|
-
# reranking` * `low-price-
|
|
5649
|
+
# reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-
|
|
5645
5650
|
# reranking` If not specified, we choose default based on model type. Default
|
|
5646
5651
|
# value: `no-price-reranking`. Can only be set if solution_types is
|
|
5647
5652
|
# SOLUTION_TYPE_RECOMMENDATION.
|
|
@@ -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.64.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20230102"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1771,10 +1771,10 @@ module Google
|
|
|
1771
1771
|
# the `servingConfigs` resource. `placements` is a legacy resource. The ID of
|
|
1772
1772
|
# the Recommendations AI serving config or placement. Before you can request
|
|
1773
1773
|
# predictions from your model, you must create at least one serving config or
|
|
1774
|
-
# placement for it. For more information, see [
|
|
1775
|
-
#
|
|
1776
|
-
#
|
|
1777
|
-
#
|
|
1774
|
+
# placement for it. For more information, see [Manage serving configs] (https://
|
|
1775
|
+
# cloud.google.com/retail/docs/manage-configs). The full list of available
|
|
1776
|
+
# serving configs can be seen at https://console.cloud.google.com/ai/retail/
|
|
1777
|
+
# catalogs/default_catalog/configs
|
|
1778
1778
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPredictRequest] google_cloud_retail_v2alpha_predict_request_object
|
|
1779
1779
|
# @param [String] fields
|
|
1780
1780
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1813,8 +1813,8 @@ module Google
|
|
|
1813
1813
|
# projects/*/locations/global/catalogs/default_catalog/servingConfigs/
|
|
1814
1814
|
# default_serving_config` or the name of the legacy placement resource, such as `
|
|
1815
1815
|
# projects/*/locations/global/catalogs/default_catalog/placements/default_search`
|
|
1816
|
-
# . This field is used to identify the serving
|
|
1817
|
-
#
|
|
1816
|
+
# . This field is used to identify the serving config name and the set of models
|
|
1817
|
+
# that will be used to make the search.
|
|
1818
1818
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequest] google_cloud_retail_v2alpha_search_request_object
|
|
1819
1819
|
# @param [String] fields
|
|
1820
1820
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2077,10 +2077,10 @@ module Google
|
|
|
2077
2077
|
# the `servingConfigs` resource. `placements` is a legacy resource. The ID of
|
|
2078
2078
|
# the Recommendations AI serving config or placement. Before you can request
|
|
2079
2079
|
# predictions from your model, you must create at least one serving config or
|
|
2080
|
-
# placement for it. For more information, see [
|
|
2081
|
-
#
|
|
2082
|
-
#
|
|
2083
|
-
#
|
|
2080
|
+
# placement for it. For more information, see [Manage serving configs] (https://
|
|
2081
|
+
# cloud.google.com/retail/docs/manage-configs). The full list of available
|
|
2082
|
+
# serving configs can be seen at https://console.cloud.google.com/ai/retail/
|
|
2083
|
+
# catalogs/default_catalog/configs
|
|
2084
2084
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPredictRequest] google_cloud_retail_v2alpha_predict_request_object
|
|
2085
2085
|
# @param [String] fields
|
|
2086
2086
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2156,8 +2156,8 @@ module Google
|
|
|
2156
2156
|
# projects/*/locations/global/catalogs/default_catalog/servingConfigs/
|
|
2157
2157
|
# default_serving_config` or the name of the legacy placement resource, such as `
|
|
2158
2158
|
# projects/*/locations/global/catalogs/default_catalog/placements/default_search`
|
|
2159
|
-
# . This field is used to identify the serving
|
|
2160
|
-
#
|
|
2159
|
+
# . This field is used to identify the serving config name and the set of models
|
|
2160
|
+
# that will be used to make the search.
|
|
2161
2161
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequest] google_cloud_retail_v2alpha_search_request_object
|
|
2162
2162
|
# @param [String] fields
|
|
2163
2163
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2201,7 +2201,7 @@ module Google
|
|
|
2201
2201
|
# payload bytes.
|
|
2202
2202
|
# @param [String] prebuilt_rule
|
|
2203
2203
|
# The prebuilt rule name that can convert a specific type of raw_json. For
|
|
2204
|
-
# example: "
|
|
2204
|
+
# example: "ga4_bq" rule for the GA4 user event schema.
|
|
2205
2205
|
# @param [String] raw_json
|
|
2206
2206
|
# An arbitrary serialized JSON string that contains necessary information that
|
|
2207
2207
|
# can comprise a user event. When this field is specified, the user_event field
|
|
@@ -2366,6 +2366,11 @@ module Google
|
|
|
2366
2366
|
# Required. The parent catalog resource name, such as `projects/1234/locations/
|
|
2367
2367
|
# global/catalogs/default_catalog`.
|
|
2368
2368
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEvent] google_cloud_retail_v2alpha_user_event_object
|
|
2369
|
+
# @param [Boolean] write_async
|
|
2370
|
+
# If set to true, the user event will be written asynchronously after validation,
|
|
2371
|
+
# and the API will respond without waiting for the write. Therefore, silent
|
|
2372
|
+
# failures can occur even if the API returns success. In case of silent failures,
|
|
2373
|
+
# error messages can be found in Stackdriver logs.
|
|
2369
2374
|
# @param [String] fields
|
|
2370
2375
|
# Selector specifying which fields to include in a partial response.
|
|
2371
2376
|
# @param [String] quota_user
|
|
@@ -2383,13 +2388,14 @@ module Google
|
|
|
2383
2388
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2384
2389
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2385
2390
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2386
|
-
def write_project_location_catalog_user_event(parent, google_cloud_retail_v2alpha_user_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2391
|
+
def write_project_location_catalog_user_event(parent, google_cloud_retail_v2alpha_user_event_object = nil, write_async: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2387
2392
|
command = make_simple_command(:post, 'v2alpha/{+parent}/userEvents:write', options)
|
|
2388
2393
|
command.request_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEvent::Representation
|
|
2389
2394
|
command.request_object = google_cloud_retail_v2alpha_user_event_object
|
|
2390
2395
|
command.response_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEvent::Representation
|
|
2391
2396
|
command.response_class = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEvent
|
|
2392
2397
|
command.params['parent'] = parent unless parent.nil?
|
|
2398
|
+
command.query['writeAsync'] = write_async unless write_async.nil?
|
|
2393
2399
|
command.query['fields'] = fields unless fields.nil?
|
|
2394
2400
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2395
2401
|
execute_or_queue_command(command, &block)
|
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.64.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:
|
|
11
|
+
date: 2023-01-04 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_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.64.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: []
|