google-apis-retail_v2 0.109.0 → 0.110.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_v2/classes.rb +30 -10
- data/lib/google/apis/retail_v2/gem_version.rb +2 -2
- data/lib/google/apis/retail_v2/representations.rb +2 -0
- data/lib/google/apis/retail_v2/service.rb +2 -2
- data/lib/google/apis/retail_v2.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: f4181ef79f3d14f5a56d305f91b0a76e7467d7e9a3eeba8c4796f732c4f25f7c
|
4
|
+
data.tar.gz: 712e6cd366520b80d48298437fb6dff185f0cf4aa1ed7f3951cdc2222e339092
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b25dd876aeebbfb04a535d756cffbf874c7aa9054eb4bf6cc6b039bbc0820afbc37af818a331bb6ed0fb3744d12cb05e6ffc4b0ad9e4f5fa1c00190e406bb19
|
7
|
+
data.tar.gz: 7b02c4bb639a0f900abeea760e2d62ad825817835122144d997fc698cc884e3c9c3048448590c89d55c34afaa7d2e4ff32004257e22974f0601bbda939c0d7d5
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Simple REST client for version V2 of the Vertex AI Search for
|
1
|
+
# Simple REST client for version V2 of the Vertex AI Search for commerce API
|
2
2
|
|
3
|
-
This is a simple client library for version V2 of the Vertex AI Search for
|
3
|
+
This is a simple client library for version V2 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::RetailV2::CloudRetailService class reference docs}.
|
69
69
|
|
70
70
|
## Which client should I use?
|
71
71
|
|
@@ -1177,12 +1177,11 @@ module Google
|
|
1177
1177
|
end
|
1178
1178
|
end
|
1179
1179
|
|
1180
|
-
# Resource that represents attribute results.
|
1181
|
-
# attribute.
|
1180
|
+
# Resource that represents attribute results.
|
1182
1181
|
class GoogleCloudRetailV2CompleteQueryResponseAttributeResult
|
1183
1182
|
include Google::Apis::Core::Hashable
|
1184
1183
|
|
1185
|
-
#
|
1184
|
+
# The list of suggestions for the attribute.
|
1186
1185
|
# Corresponds to the JSON property `suggestions`
|
1187
1186
|
# @return [Array<String>]
|
1188
1187
|
attr_accessor :suggestions
|
@@ -4958,6 +4957,15 @@ module Google
|
|
4958
4957
|
# @return [Hash<String,String>]
|
4959
4958
|
attr_accessor :labels
|
4960
4959
|
|
4960
|
+
# Optional. The BCP-47 language code, such as "en-US" or "sr-Latn" [list](https:/
|
4961
|
+
# /www.unicode.org/cldr/charts/46/summary/root.html). For more information, see [
|
4962
|
+
# Standardized codes](https://google.aip.dev/143). This field helps to better
|
4963
|
+
# interpret the query. If a value isn't specified, the query language code is
|
4964
|
+
# automatically detected, which may not be accurate.
|
4965
|
+
# Corresponds to the JSON property `languageCode`
|
4966
|
+
# @return [String]
|
4967
|
+
attr_accessor :language_code
|
4968
|
+
|
4961
4969
|
# A 0-indexed integer that specifies the current offset (that is, starting
|
4962
4970
|
# result location, amongst the Products deemed by the API as relevant) in search
|
4963
4971
|
# results. This field is only considered if page_token is unset. If this field
|
@@ -5018,6 +5026,15 @@ module Google
|
|
5018
5026
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec]
|
5019
5027
|
attr_accessor :query_expansion_spec
|
5020
5028
|
|
5029
|
+
# Optional. The Unicode country/region code (CLDR) of a location, such as "US"
|
5030
|
+
# and "419" [list](https://www.unicode.org/cldr/charts/46/supplemental/
|
5031
|
+
# territory_information.html). For more information, see [Standardized codes](
|
5032
|
+
# https://google.aip.dev/143). If set, then results will be boosted based on the
|
5033
|
+
# region_code provided.
|
5034
|
+
# Corresponds to the JSON property `regionCode`
|
5035
|
+
# @return [String]
|
5036
|
+
attr_accessor :region_code
|
5037
|
+
|
5021
5038
|
# The search mode of the search request. If not specified, a single search
|
5022
5039
|
# request triggers both product search and faceted search.
|
5023
5040
|
# Corresponds to the JSON property `searchMode`
|
@@ -5094,6 +5111,7 @@ module Google
|
|
5094
5111
|
@facet_specs = args[:facet_specs] if args.key?(:facet_specs)
|
5095
5112
|
@filter = args[:filter] if args.key?(:filter)
|
5096
5113
|
@labels = args[:labels] if args.key?(:labels)
|
5114
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
5097
5115
|
@offset = args[:offset] if args.key?(:offset)
|
5098
5116
|
@order_by = args[:order_by] if args.key?(:order_by)
|
5099
5117
|
@page_categories = args[:page_categories] if args.key?(:page_categories)
|
@@ -5102,6 +5120,7 @@ module Google
|
|
5102
5120
|
@personalization_spec = args[:personalization_spec] if args.key?(:personalization_spec)
|
5103
5121
|
@query = args[:query] if args.key?(:query)
|
5104
5122
|
@query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
|
5123
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
5105
5124
|
@search_mode = args[:search_mode] if args.key?(:search_mode)
|
5106
5125
|
@spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
|
5107
5126
|
@tile_navigation_spec = args[:tile_navigation_spec] if args.key?(:tile_navigation_spec)
|
@@ -5558,9 +5577,12 @@ module Google
|
|
5558
5577
|
class GoogleCloudRetailV2SearchRequestTileNavigationSpec
|
5559
5578
|
include Google::Apis::Core::Hashable
|
5560
5579
|
|
5561
|
-
# This field specifies the tiles which are already clicked in client
|
5562
|
-
#
|
5563
|
-
#
|
5580
|
+
# This optional field specifies the tiles which are already clicked in client
|
5581
|
+
# side. While the feature works without this field set, particularly for an
|
5582
|
+
# initial query, it is highly recommended to set this field because it can
|
5583
|
+
# improve the quality of the search response and removes possible duplicate
|
5584
|
+
# tiles. NOTE: This field is not being used for filtering search products.
|
5585
|
+
# Client side should also put all the applied tiles in SearchRequest.filter.
|
5564
5586
|
# Corresponds to the JSON property `appliedTiles`
|
5565
5587
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2Tile>]
|
5566
5588
|
attr_accessor :applied_tiles
|
@@ -6484,10 +6506,8 @@ module Google
|
|
6484
6506
|
# added to cart. * `remove-from-cart`: Products being removed from cart. * `
|
6485
6507
|
# category-page-view`: Special pages such as sale or promotion pages viewed. * `
|
6486
6508
|
# detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage
|
6487
|
-
# viewed. * `
|
6488
|
-
#
|
6489
|
-
# finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`:
|
6490
|
-
# User viewing a shopping cart.
|
6509
|
+
# viewed. * `purchase-complete`: User finishing a purchase. * `search`: Product
|
6510
|
+
# search. * `shopping-cart-page-view`: User viewing a shopping cart.
|
6491
6511
|
# Corresponds to the JSON property `eventType`
|
6492
6512
|
# @return [String]
|
6493
6513
|
attr_accessor :event_type
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2
|
18
18
|
# Version of the google-apis-retail_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.110.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
|
@@ -2803,6 +2803,7 @@ module Google
|
|
2803
2803
|
|
2804
2804
|
property :filter, as: 'filter'
|
2805
2805
|
hash :labels, as: 'labels'
|
2806
|
+
property :language_code, as: 'languageCode'
|
2806
2807
|
property :offset, as: 'offset'
|
2807
2808
|
property :order_by, as: 'orderBy'
|
2808
2809
|
collection :page_categories, as: 'pageCategories'
|
@@ -2813,6 +2814,7 @@ module Google
|
|
2813
2814
|
property :query, as: 'query'
|
2814
2815
|
property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec::Representation
|
2815
2816
|
|
2817
|
+
property :region_code, as: 'regionCode'
|
2816
2818
|
property :search_mode, as: 'searchMode'
|
2817
2819
|
property :spell_correction_spec, as: 'spellCorrectionSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestSpellCorrectionSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestSpellCorrectionSpec::Representation
|
2818
2820
|
|
@@ -20,9 +20,9 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module RetailV2
|
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_v2/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 RetailV2
|
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 = 'V2'
|
34
34
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.110.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
|
+
V2. 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_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.110.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
|
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 V2
|
79
79
|
test_files: []
|