google-apis-retail_v2alpha 0.108.0 → 0.109.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/retail_v2alpha/classes.rb +30 -10
- data/lib/google/apis/retail_v2alpha/gem_version.rb +2 -2
- data/lib/google/apis/retail_v2alpha/representations.rb +2 -0
- data/lib/google/apis/retail_v2alpha/service.rb +2 -2
- data/lib/google/apis/retail_v2alpha.rb +3 -3
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a91bfce9cdf26560c957342a6c0e4d4e56aa9f9c921a6663f923cec0cfe2ef40
|
4
|
+
data.tar.gz: 786a77aa5f8359e960d2accfc1b724c97125bf731a530c1a9175ab22f49849be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f971d6a5ac40dd9f22c3922b9af1b6ddd122cc602d0ecfedbd2ee7df3df96fc020cbeb3b56bb2fe603af4c8adda7c2dcf80b2a756f6c27d03ef4ea6bc3bdec8
|
7
|
+
data.tar.gz: 5fd5f0426c8e1cfe7794ca498240127c5da31b8f2888a1232b63336336790ebc26610fd397f387d1672d8b1c49ced392360f56a3c886095d3c9338bd9ad16c75
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Simple REST client for version V2alpha of the Vertex AI Search for
|
1
|
+
# Simple REST client for version V2alpha of the Vertex AI Search for commerce API
|
2
2
|
|
3
|
-
This is a simple client library for version V2alpha of the Vertex AI Search for
|
3
|
+
This is a simple client library for version V2alpha of the Vertex AI Search for commerce API. It provides:
|
4
4
|
|
5
5
|
* A client object that connects to the HTTP/JSON REST endpoint for the service.
|
6
6
|
* Ruby objects for data structures related to the service.
|
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
|
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Retail service in particular.)
|
67
67
|
|
68
|
-
For reference information on specific calls in the Vertex AI Search for
|
68
|
+
For reference information on specific calls in the Vertex AI Search for commerce API, see the {Google::Apis::RetailV2alpha::CloudRetailService class reference docs}.
|
69
69
|
|
70
70
|
## Which client should I use?
|
71
71
|
|
@@ -2376,12 +2376,11 @@ module Google
|
|
2376
2376
|
end
|
2377
2377
|
end
|
2378
2378
|
|
2379
|
-
# Resource that represents attribute results.
|
2380
|
-
# attribute.
|
2379
|
+
# Resource that represents attribute results.
|
2381
2380
|
class GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult
|
2382
2381
|
include Google::Apis::Core::Hashable
|
2383
2382
|
|
2384
|
-
#
|
2383
|
+
# The list of suggestions for the attribute.
|
2385
2384
|
# Corresponds to the JSON property `suggestions`
|
2386
2385
|
# @return [Array<String>]
|
2387
2386
|
attr_accessor :suggestions
|
@@ -6968,6 +6967,15 @@ module Google
|
|
6968
6967
|
# @return [Hash<String,String>]
|
6969
6968
|
attr_accessor :labels
|
6970
6969
|
|
6970
|
+
# Optional. The BCP-47 language code, such as "en-US" or "sr-Latn" [list](https:/
|
6971
|
+
# /www.unicode.org/cldr/charts/46/summary/root.html). For more information, see [
|
6972
|
+
# Standardized codes](https://google.aip.dev/143). This field helps to better
|
6973
|
+
# interpret the query. If a value isn't specified, the query language code is
|
6974
|
+
# automatically detected, which may not be accurate.
|
6975
|
+
# Corresponds to the JSON property `languageCode`
|
6976
|
+
# @return [String]
|
6977
|
+
attr_accessor :language_code
|
6978
|
+
|
6971
6979
|
# A 0-indexed integer that specifies the current offset (that is, starting
|
6972
6980
|
# result location, amongst the Products deemed by the API as relevant) in search
|
6973
6981
|
# results. This field is only considered if page_token is unset. If this field
|
@@ -7028,6 +7036,15 @@ module Google
|
|
7028
7036
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec]
|
7029
7037
|
attr_accessor :query_expansion_spec
|
7030
7038
|
|
7039
|
+
# Optional. The Unicode country/region code (CLDR) of a location, such as "US"
|
7040
|
+
# and "419" [list](https://www.unicode.org/cldr/charts/46/supplemental/
|
7041
|
+
# territory_information.html). For more information, see [Standardized codes](
|
7042
|
+
# https://google.aip.dev/143). If set, then results will be boosted based on the
|
7043
|
+
# region_code provided.
|
7044
|
+
# Corresponds to the JSON property `regionCode`
|
7045
|
+
# @return [String]
|
7046
|
+
attr_accessor :region_code
|
7047
|
+
|
7031
7048
|
# The relevance threshold of the search results. Defaults to RelevanceThreshold.
|
7032
7049
|
# HIGH, which means only the most relevant results are shown, and the least
|
7033
7050
|
# number of results are returned. For more information, see [Adjust result size](
|
@@ -7112,6 +7129,7 @@ module Google
|
|
7112
7129
|
@facet_specs = args[:facet_specs] if args.key?(:facet_specs)
|
7113
7130
|
@filter = args[:filter] if args.key?(:filter)
|
7114
7131
|
@labels = args[:labels] if args.key?(:labels)
|
7132
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
7115
7133
|
@offset = args[:offset] if args.key?(:offset)
|
7116
7134
|
@order_by = args[:order_by] if args.key?(:order_by)
|
7117
7135
|
@page_categories = args[:page_categories] if args.key?(:page_categories)
|
@@ -7120,6 +7138,7 @@ module Google
|
|
7120
7138
|
@personalization_spec = args[:personalization_spec] if args.key?(:personalization_spec)
|
7121
7139
|
@query = args[:query] if args.key?(:query)
|
7122
7140
|
@query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
|
7141
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
7123
7142
|
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
7124
7143
|
@search_mode = args[:search_mode] if args.key?(:search_mode)
|
7125
7144
|
@spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
|
@@ -7577,9 +7596,12 @@ module Google
|
|
7577
7596
|
class GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec
|
7578
7597
|
include Google::Apis::Core::Hashable
|
7579
7598
|
|
7580
|
-
# This field specifies the tiles which are already clicked in client
|
7581
|
-
#
|
7582
|
-
#
|
7599
|
+
# This optional field specifies the tiles which are already clicked in client
|
7600
|
+
# side. While the feature works without this field set, particularly for an
|
7601
|
+
# initial query, it is highly recommended to set this field because it can
|
7602
|
+
# improve the quality of the search response and removes possible duplicate
|
7603
|
+
# tiles. NOTE: This field is not being used for filtering search products.
|
7604
|
+
# Client side should also put all the applied tiles in SearchRequest.filter.
|
7583
7605
|
# Corresponds to the JSON property `appliedTiles`
|
7584
7606
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTile>]
|
7585
7607
|
attr_accessor :applied_tiles
|
@@ -8529,10 +8551,8 @@ module Google
|
|
8529
8551
|
# added to cart. * `remove-from-cart`: Products being removed from cart. * `
|
8530
8552
|
# category-page-view`: Special pages such as sale or promotion pages viewed. * `
|
8531
8553
|
# detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage
|
8532
|
-
# viewed. * `
|
8533
|
-
#
|
8534
|
-
# finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`:
|
8535
|
-
# User viewing a shopping cart.
|
8554
|
+
# viewed. * `purchase-complete`: User finishing a purchase. * `search`: Product
|
8555
|
+
# search. * `shopping-cart-page-view`: User viewing a shopping cart.
|
8536
8556
|
# Corresponds to the JSON property `eventType`
|
8537
8557
|
# @return [String]
|
8538
8558
|
attr_accessor :event_type
|
@@ -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.109.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250221"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -3519,6 +3519,7 @@ module Google
|
|
3519
3519
|
|
3520
3520
|
property :filter, as: 'filter'
|
3521
3521
|
hash :labels, as: 'labels'
|
3522
|
+
property :language_code, as: 'languageCode'
|
3522
3523
|
property :offset, as: 'offset'
|
3523
3524
|
property :order_by, as: 'orderBy'
|
3524
3525
|
collection :page_categories, as: 'pageCategories'
|
@@ -3529,6 +3530,7 @@ module Google
|
|
3529
3530
|
property :query, as: 'query'
|
3530
3531
|
property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec::Representation
|
3531
3532
|
|
3533
|
+
property :region_code, as: 'regionCode'
|
3532
3534
|
property :relevance_threshold, as: 'relevanceThreshold'
|
3533
3535
|
property :search_mode, as: 'searchMode'
|
3534
3536
|
property :spell_correction_spec, as: 'spellCorrectionSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec::Representation
|
@@ -20,9 +20,9 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module RetailV2alpha
|
23
|
-
# Vertex AI Search for
|
23
|
+
# Vertex AI Search for commerce API
|
24
24
|
#
|
25
|
-
# Vertex AI Search for
|
25
|
+
# Vertex AI Search for commerce API is made up of Retail Search, Browse and
|
26
26
|
# Recommendations. These discovery AI solutions help you implement personalized
|
27
27
|
# search, browse and recommendations, based on machine learning models, across
|
28
28
|
# your websites and mobile applications.
|
@@ -19,16 +19,16 @@ require 'google/apis/retail_v2alpha/gem_version.rb'
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
|
-
# Vertex AI Search for
|
22
|
+
# Vertex AI Search for commerce API
|
23
23
|
#
|
24
|
-
# Vertex AI Search for
|
24
|
+
# Vertex AI Search for commerce API is made up of Retail Search, Browse and
|
25
25
|
# Recommendations. These discovery AI solutions help you implement personalized
|
26
26
|
# search, browse and recommendations, based on machine learning models, across
|
27
27
|
# your websites and mobile applications.
|
28
28
|
#
|
29
29
|
# @see https://cloud.google.com/recommendations
|
30
30
|
module RetailV2alpha
|
31
|
-
# Version of the Vertex AI Search for
|
31
|
+
# Version of the Vertex AI Search for commerce API this client connects to.
|
32
32
|
# This is NOT the gem version.
|
33
33
|
VERSION = 'V2alpha'
|
34
34
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.109.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -29,13 +29,13 @@ dependencies:
|
|
29
29
|
- - "<"
|
30
30
|
- !ruby/object:Gem::Version
|
31
31
|
version: 2.a
|
32
|
-
description: This is the simple REST client for Vertex AI Search for
|
33
|
-
Simple REST clients are Ruby client libraries that provide access to Google
|
34
|
-
via their HTTP REST API endpoints. These libraries are generated and updated
|
35
|
-
based on the discovery documents published by the service, and they
|
36
|
-
concerns such as authentication, pagination, retry, timeouts, and logging.
|
37
|
-
use this client to access the Vertex AI Search for
|
38
|
-
services may provide a separate modern client that is easier to use.
|
32
|
+
description: This is the simple REST client for Vertex AI Search for commerce API
|
33
|
+
V2alpha. Simple REST clients are Ruby client libraries that provide access to Google
|
34
|
+
services via their HTTP REST API endpoints. These libraries are generated and updated
|
35
|
+
automatically based on the discovery documents published by the service, and they
|
36
|
+
handle most concerns such as authentication, pagination, retry, timeouts, and logging.
|
37
|
+
You can use this client to access the Vertex AI Search for commerce API, but note
|
38
|
+
that some services may provide a separate modern client that is easier to use.
|
39
39
|
email: googleapis-packages@google.com
|
40
40
|
executables: []
|
41
41
|
extensions: []
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.109.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.5
|
77
77
|
specification_version: 4
|
78
|
-
summary: Simple REST client for Vertex AI Search for
|
78
|
+
summary: Simple REST client for Vertex AI Search for commerce API V2alpha
|
79
79
|
test_files: []
|