google-apis-retail_v2alpha 0.35.0 → 0.36.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: fded543728d24f668d94eab627257d7b2b4b35bfa5040463ebe7b947814cc445
|
|
4
|
+
data.tar.gz: 398dab6a6d9156d5744f23b56fc5b4f8df10f80e8ddb9e85b92936a9fb1c55d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b5d043eb964f4b1f4a420c0637f14a3e8e4c67f1fee378fc5789d5767ae440f86ce130c760a7df96635e26f6fd8064df8990a97d3dc8217f1bcf296e91a6b14
|
|
7
|
+
data.tar.gz: a2ccb8df5765151de59180404029c918fafb267dadadc647aa12a1344dee448a1fb966c9178a94a79285763e999177cbe614d9c70d48de78be6419d78541ebd3
|
data/CHANGELOG.md
CHANGED
|
@@ -1540,14 +1540,6 @@ module Google
|
|
|
1540
1540
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRule]
|
|
1541
1541
|
attr_accessor :rule
|
|
1542
1542
|
|
|
1543
|
-
# Required. Specifies the use case for the control. Affects what condition
|
|
1544
|
-
# fields can be set. Only settable by search controls. Will default to
|
|
1545
|
-
# SEARCH_SOLUTION_USE_CASE_SEARCH if not specified. Currently only allow one
|
|
1546
|
-
# search_solution_use_case per control.
|
|
1547
|
-
# Corresponds to the JSON property `searchSolutionUseCase`
|
|
1548
|
-
# @return [Array<String>]
|
|
1549
|
-
attr_accessor :search_solution_use_case
|
|
1550
|
-
|
|
1551
1543
|
# Required. Immutable. The solution types that the serving config is used for.
|
|
1552
1544
|
# Currently we support setting only one type of solution at creation time. Only `
|
|
1553
1545
|
# SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is
|
|
@@ -1567,7 +1559,6 @@ module Google
|
|
|
1567
1559
|
@facet_spec = args[:facet_spec] if args.key?(:facet_spec)
|
|
1568
1560
|
@name = args[:name] if args.key?(:name)
|
|
1569
1561
|
@rule = args[:rule] if args.key?(:rule)
|
|
1570
|
-
@search_solution_use_case = args[:search_solution_use_case] if args.key?(:search_solution_use_case)
|
|
1571
1562
|
@solution_types = args[:solution_types] if args.key?(:solution_types)
|
|
1572
1563
|
end
|
|
1573
1564
|
end
|
|
@@ -3154,13 +3145,13 @@ module Google
|
|
|
3154
3145
|
# The type of Products allowed to be ingested into the catalog. Acceptable
|
|
3155
3146
|
# values are: * `primary` (default): You can ingest Products of all types. When
|
|
3156
3147
|
# ingesting a Product, its type will default to Product.Type.PRIMARY if unset. *
|
|
3157
|
-
# `variant
|
|
3158
|
-
# Product.primary_product_id cannot be empty. If
|
|
3159
|
-
# value other than these, an INVALID_ARGUMENT
|
|
3160
|
-
# is
|
|
3161
|
-
#
|
|
3162
|
-
# google.com/retail/
|
|
3163
|
-
# details.
|
|
3148
|
+
# `variant` (incompatible with Retail Search): You can only ingest Product.Type.
|
|
3149
|
+
# VARIANT Products. This means Product.primary_product_id cannot be empty. If
|
|
3150
|
+
# this field is set to an invalid value other than these, an INVALID_ARGUMENT
|
|
3151
|
+
# error is returned. If this field is `variant` and
|
|
3152
|
+
# merchant_center_product_id_field is `itemGroupId`, an INVALID_ARGUMENT error
|
|
3153
|
+
# is returned. See [Product levels](https://cloud.google.com/retail/docs/catalog#
|
|
3154
|
+
# product-levels) for more details.
|
|
3164
3155
|
# Corresponds to the JSON property `ingestionProductType`
|
|
3165
3156
|
# @return [String]
|
|
3166
3157
|
attr_accessor :ingestion_product_type
|
|
@@ -3173,8 +3164,8 @@ module Google
|
|
|
3173
3164
|
# the item group. If this field is set to an invalid value other than these, an
|
|
3174
3165
|
# INVALID_ARGUMENT error is returned. If this field is `itemGroupId` and
|
|
3175
3166
|
# ingestion_product_type is `variant`, an INVALID_ARGUMENT error is returned.
|
|
3176
|
-
# See [
|
|
3177
|
-
#
|
|
3167
|
+
# See [Product levels](https://cloud.google.com/retail/docs/catalog#product-
|
|
3168
|
+
# levels) for more details.
|
|
3178
3169
|
# Corresponds to the JSON property `merchantCenterProductIdField`
|
|
3179
3170
|
# @return [String]
|
|
3180
3171
|
attr_accessor :merchant_center_product_id_field
|
|
@@ -3323,7 +3314,7 @@ module Google
|
|
|
3323
3314
|
# `availability`: Double quoted Product.availability string. * `create_time` :
|
|
3324
3315
|
# in ISO 8601 "zulu" format. Supported syntax: * Comparators (">", "<", ">=", "<=
|
|
3325
3316
|
# ", "="). Examples: * create_time <= "2015-02-13T17:05:46Z" * availability = "
|
|
3326
|
-
# IN_STOCK
|
|
3317
|
+
# IN_STOCK" * Conjunctions ("AND") Examples: * create_time <= "2015-02-13T17:05:
|
|
3327
3318
|
# 46Z" AND availability = "PREORDER" * Disjunctions ("OR") Examples: *
|
|
3328
3319
|
# create_time <= "2015-02-13T17:05:46Z" OR availability = "IN_STOCK" * Can
|
|
3329
3320
|
# support nested queries. Examples: * (create_time <= "2015-02-13T17:05:46Z" AND
|
|
@@ -3331,7 +3322,7 @@ module Google
|
|
|
3331
3322
|
# availability = "IN_STOCK") * Filter Limits: * Filter should not contain more
|
|
3332
3323
|
# than 6 conditions. * Max nesting depth should not exceed 2 levels. Examples
|
|
3333
3324
|
# queries: * Delete back order products created before a timestamp. create_time <
|
|
3334
|
-
# = "2015-02-13T17:05:46Z" OR availability = "BACKORDER
|
|
3325
|
+
# = "2015-02-13T17:05:46Z" OR availability = "BACKORDER"
|
|
3335
3326
|
# Corresponds to the JSON property `filter`
|
|
3336
3327
|
# @return [String]
|
|
3337
3328
|
attr_accessor :filter
|
|
@@ -4175,7 +4166,8 @@ module Google
|
|
|
4175
4166
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec]
|
|
4176
4167
|
attr_accessor :personalization_spec
|
|
4177
4168
|
|
|
4178
|
-
# Raw search query.
|
|
4169
|
+
# Raw search query. If this field is empty, the request is considered a category
|
|
4170
|
+
# browsing request and returned results are based on filter and page_categories.
|
|
4179
4171
|
# Corresponds to the JSON property `query`
|
|
4180
4172
|
# @return [String]
|
|
4181
4173
|
attr_accessor :query
|
|
@@ -5281,10 +5273,12 @@ module Google
|
|
|
5281
5273
|
# Required. A unique identifier for tracking visitors. For example, this could
|
|
5282
5274
|
# be implemented with an HTTP cookie, which should be able to uniquely identify
|
|
5283
5275
|
# a visitor on a single device. This unique identifier should not change if the
|
|
5284
|
-
# visitor log in/out of the website.
|
|
5285
|
-
#
|
|
5286
|
-
#
|
|
5287
|
-
#
|
|
5276
|
+
# visitor log in/out of the website. Don't set the field to the same fixed ID
|
|
5277
|
+
# for different users. This mixes the event history of those users together,
|
|
5278
|
+
# which results in degraded model quality. The field must be a UTF-8 encoded
|
|
5279
|
+
# string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT
|
|
5280
|
+
# error is returned. The field should not contain PII or user-data. We recommend
|
|
5281
|
+
# to use Google Analystics [Client ID](https://developers.google.com/analytics/
|
|
5288
5282
|
# devguides/collection/analyticsjs/field-reference#clientId) for this field.
|
|
5289
5283
|
# Corresponds to the JSON property `visitorId`
|
|
5290
5284
|
# @return [String]
|
|
@@ -5432,9 +5426,11 @@ module Google
|
|
|
5432
5426
|
attr_accessor :user_agent
|
|
5433
5427
|
|
|
5434
5428
|
# Highly recommended for logged-in users. Unique identifier for logged-in user,
|
|
5435
|
-
# such as a user name.
|
|
5436
|
-
#
|
|
5437
|
-
#
|
|
5429
|
+
# such as a user name. Don't set for anonymous users. Always use a hashed value
|
|
5430
|
+
# for this ID. Don't set the field to the same fixed ID for different users.
|
|
5431
|
+
# This mixes the event history of those users together, which results in
|
|
5432
|
+
# degraded model quality. The field must be a UTF-8 encoded string with a length
|
|
5433
|
+
# limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
5438
5434
|
# Corresponds to the JSON property `userId`
|
|
5439
5435
|
# @return [String]
|
|
5440
5436
|
attr_accessor :user_id
|
|
@@ -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.36.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20220408"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1465,7 +1465,6 @@ module Google
|
|
|
1465
1465
|
property :name, as: 'name'
|
|
1466
1466
|
property :rule, as: 'rule', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRule, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRule::Representation
|
|
1467
1467
|
|
|
1468
|
-
collection :search_solution_use_case, as: 'searchSolutionUseCase'
|
|
1469
1468
|
collection :solution_types, as: 'solutionTypes'
|
|
1470
1469
|
end
|
|
1471
1470
|
end
|
|
@@ -896,7 +896,9 @@ module Google
|
|
|
896
896
|
# output only fields are NOT supported. If not set, all supported fields (the
|
|
897
897
|
# fields that are neither immutable nor output only) are updated. If an
|
|
898
898
|
# unsupported or unknown field is provided, an INVALID_ARGUMENT error is
|
|
899
|
-
# returned.
|
|
899
|
+
# returned. The attribute key can be updated by setting the mask path as "
|
|
900
|
+
# attributes.$`key_name`". If a key name is present in the mask but not in the
|
|
901
|
+
# patching product from the request, this key will be deleted after the update.
|
|
900
902
|
# @param [String] fields
|
|
901
903
|
# Selector specifying which fields to include in a partial response.
|
|
902
904
|
# @param [String] quota_user
|
|
@@ -1417,13 +1419,15 @@ module Google
|
|
|
1417
1419
|
# Makes a recommendation prediction.
|
|
1418
1420
|
# @param [String] placement
|
|
1419
1421
|
# Required. Full resource name of the format: `name=projects/*/locations/global/
|
|
1420
|
-
# catalogs/default_catalog/
|
|
1421
|
-
# catalogs/default_catalog/
|
|
1422
|
-
#
|
|
1423
|
-
#
|
|
1424
|
-
#
|
|
1425
|
-
#
|
|
1426
|
-
# google.com/
|
|
1422
|
+
# catalogs/default_catalog/servingConfigs/*` or `name=projects/*/locations/
|
|
1423
|
+
# global/catalogs/default_catalog/placements/*`. We recommend using the `
|
|
1424
|
+
# servingConfigs` resource. `placements` is a legacy resource. The ID of the
|
|
1425
|
+
# Recommendations AI serving config or placement. Before you can request
|
|
1426
|
+
# predictions from your model, you must create at least one serving config or
|
|
1427
|
+
# placement for it. For more information, see [Managing serving configurations].
|
|
1428
|
+
# (https://cloud.google.com/retail/docs/manage-configs). The full list of
|
|
1429
|
+
# available serving configs can be seen at https://console.cloud.google.com/ai/
|
|
1430
|
+
# retail/catalogs/default_catalog/configs
|
|
1427
1431
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPredictRequest] google_cloud_retail_v2alpha_predict_request_object
|
|
1428
1432
|
# @param [String] fields
|
|
1429
1433
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1458,11 +1462,12 @@ module Google
|
|
|
1458
1462
|
# Search enabled. Please enable Retail Search on Cloud Console before using this
|
|
1459
1463
|
# feature.
|
|
1460
1464
|
# @param [String] placement
|
|
1461
|
-
# Required. The resource name of the
|
|
1462
|
-
# /locations/global/catalogs/default_catalog/placements/default_search` or `
|
|
1465
|
+
# Required. The resource name of the Retail Search serving config, such as `
|
|
1463
1466
|
# projects/*/locations/global/catalogs/default_catalog/servingConfigs/
|
|
1464
|
-
# default_serving_config`
|
|
1465
|
-
#
|
|
1467
|
+
# default_serving_config` or the name of the legacy placement resource, such as `
|
|
1468
|
+
# projects/*/locations/global/catalogs/default_catalog/placements/default_search`
|
|
1469
|
+
# . This field is used to identify the serving configuration name and the set of
|
|
1470
|
+
# models that will be used to make the search.
|
|
1466
1471
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequest] google_cloud_retail_v2alpha_search_request_object
|
|
1467
1472
|
# @param [String] fields
|
|
1468
1473
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1720,13 +1725,15 @@ module Google
|
|
|
1720
1725
|
# Makes a recommendation prediction.
|
|
1721
1726
|
# @param [String] placement
|
|
1722
1727
|
# Required. Full resource name of the format: `name=projects/*/locations/global/
|
|
1723
|
-
# catalogs/default_catalog/
|
|
1724
|
-
# catalogs/default_catalog/
|
|
1725
|
-
#
|
|
1726
|
-
#
|
|
1727
|
-
#
|
|
1728
|
-
#
|
|
1729
|
-
# google.com/
|
|
1728
|
+
# catalogs/default_catalog/servingConfigs/*` or `name=projects/*/locations/
|
|
1729
|
+
# global/catalogs/default_catalog/placements/*`. We recommend using the `
|
|
1730
|
+
# servingConfigs` resource. `placements` is a legacy resource. The ID of the
|
|
1731
|
+
# Recommendations AI serving config or placement. Before you can request
|
|
1732
|
+
# predictions from your model, you must create at least one serving config or
|
|
1733
|
+
# placement for it. For more information, see [Managing serving configurations].
|
|
1734
|
+
# (https://cloud.google.com/retail/docs/manage-configs). The full list of
|
|
1735
|
+
# available serving configs can be seen at https://console.cloud.google.com/ai/
|
|
1736
|
+
# retail/catalogs/default_catalog/configs
|
|
1730
1737
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPredictRequest] google_cloud_retail_v2alpha_predict_request_object
|
|
1731
1738
|
# @param [String] fields
|
|
1732
1739
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1798,11 +1805,12 @@ module Google
|
|
|
1798
1805
|
# Search enabled. Please enable Retail Search on Cloud Console before using this
|
|
1799
1806
|
# feature.
|
|
1800
1807
|
# @param [String] placement
|
|
1801
|
-
# Required. The resource name of the
|
|
1802
|
-
# /locations/global/catalogs/default_catalog/placements/default_search` or `
|
|
1808
|
+
# Required. The resource name of the Retail Search serving config, such as `
|
|
1803
1809
|
# projects/*/locations/global/catalogs/default_catalog/servingConfigs/
|
|
1804
|
-
# default_serving_config`
|
|
1805
|
-
#
|
|
1810
|
+
# default_serving_config` or the name of the legacy placement resource, such as `
|
|
1811
|
+
# projects/*/locations/global/catalogs/default_catalog/placements/default_search`
|
|
1812
|
+
# . This field is used to identify the serving configuration name and the set of
|
|
1813
|
+
# models that will be used to make the search.
|
|
1806
1814
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequest] google_cloud_retail_v2alpha_search_request_object
|
|
1807
1815
|
# @param [String] fields
|
|
1808
1816
|
# Selector specifying which fields to include in a partial response.
|
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.36.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-04-
|
|
11
|
+
date: 2022-04-18 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.36.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: []
|