google-apis-retail_v2alpha 0.117.0 → 0.118.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: 68e4cf8bd484f0f653b961bd0c43bfad5d0704c2b659443502bd43466e530e0f
|
4
|
+
data.tar.gz: 2cb2f4607a498f741c994fc4c0aabf019ab87e66d52387e173d301004e2bc16f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c0288013ebc4e93f395cc7a6cfae9751b31b0dc7e9c6879cef4ed4734c18bf525be2d2985ff4078a53d0effd0a6c7f7aba088d31fff4d18d03aba65e517e369
|
7
|
+
data.tar.gz: 7ec174fa06010c778b54a52ae9d21971613660025a844667a47c0639c3d393eeb8b8fa95ccedc1265d394529d1cf1932ee8cd4479d4ccc6819fe76cbab04d105
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.118.0 (2025-06-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250522
|
6
|
+
* Regenerated using generator version 0.18.0
|
7
|
+
|
3
8
|
### v0.117.0 (2025-05-21)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20250515
|
@@ -3088,7 +3088,9 @@ module Google
|
|
3088
3088
|
end
|
3089
3089
|
end
|
3090
3090
|
|
3091
|
-
# Suggested answers to the follow-up question.
|
3091
|
+
# Suggested answers to the follow-up question. If it's numerical attribute, only
|
3092
|
+
# ProductAttributeInterval will be set. If it's textual attribute, only
|
3093
|
+
# productAttributeValue will be set.
|
3092
3094
|
class GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestionSuggestedAnswer
|
3093
3095
|
include Google::Apis::Core::Hashable
|
3094
3096
|
|
@@ -7467,6 +7469,15 @@ module Google
|
|
7467
7469
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec]
|
7468
7470
|
attr_accessor :tile_navigation_spec
|
7469
7471
|
|
7472
|
+
# Optional. The user attributes that could be used for personalization of search
|
7473
|
+
# results. * Populate at most 100 key-value pairs per query. * Only supports
|
7474
|
+
# string keys and repeated string values. * Duplcate keys are not allowed within
|
7475
|
+
# a single query. Example: user_attributes: [ ` key: "pets" value ` values: "dog"
|
7476
|
+
# values: "cat" ` `, ` key: "state" value ` values: "CA" ` ` ]
|
7477
|
+
# Corresponds to the JSON property `userAttributes`
|
7478
|
+
# @return [Hash<String,Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaStringList>]
|
7479
|
+
attr_accessor :user_attributes
|
7480
|
+
|
7470
7481
|
# Information of an end user.
|
7471
7482
|
# Corresponds to the JSON property `userInfo`
|
7472
7483
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo]
|
@@ -7542,6 +7553,7 @@ module Google
|
|
7542
7553
|
@search_mode = args[:search_mode] if args.key?(:search_mode)
|
7543
7554
|
@spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
|
7544
7555
|
@tile_navigation_spec = args[:tile_navigation_spec] if args.key?(:tile_navigation_spec)
|
7556
|
+
@user_attributes = args[:user_attributes] if args.key?(:user_attributes)
|
7545
7557
|
@user_info = args[:user_info] if args.key?(:user_info)
|
7546
7558
|
@variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
|
7547
7559
|
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
@@ -8749,6 +8761,25 @@ module Google
|
|
8749
8761
|
end
|
8750
8762
|
end
|
8751
8763
|
|
8764
|
+
# A list of string values.
|
8765
|
+
class GoogleCloudRetailV2alphaStringList
|
8766
|
+
include Google::Apis::Core::Hashable
|
8767
|
+
|
8768
|
+
# String values.
|
8769
|
+
# Corresponds to the JSON property `values`
|
8770
|
+
# @return [Array<String>]
|
8771
|
+
attr_accessor :values
|
8772
|
+
|
8773
|
+
def initialize(**args)
|
8774
|
+
update!(**args)
|
8775
|
+
end
|
8776
|
+
|
8777
|
+
# Update properties of this object
|
8778
|
+
def update!(**args)
|
8779
|
+
@values = args[:values] if args.key?(:values)
|
8780
|
+
end
|
8781
|
+
end
|
8782
|
+
|
8752
8783
|
# This field specifies the tile information including an attribute key,
|
8753
8784
|
# attribute value. More fields will be added in the future, eg: product id or
|
8754
8785
|
# product counts, etc.
|
@@ -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.118.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250522"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1438,6 +1438,12 @@ module Google
|
|
1438
1438
|
include Google::Apis::Core::JsonObjectSupport
|
1439
1439
|
end
|
1440
1440
|
|
1441
|
+
class GoogleCloudRetailV2alphaStringList
|
1442
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1443
|
+
|
1444
|
+
include Google::Apis::Core::JsonObjectSupport
|
1445
|
+
end
|
1446
|
+
|
1441
1447
|
class GoogleCloudRetailV2alphaTile
|
1442
1448
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1443
1449
|
|
@@ -3727,6 +3733,8 @@ module Google
|
|
3727
3733
|
|
3728
3734
|
property :tile_navigation_spec, as: 'tileNavigationSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec::Representation
|
3729
3735
|
|
3736
|
+
hash :user_attributes, as: 'userAttributes', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaStringList, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaStringList::Representation
|
3737
|
+
|
3730
3738
|
property :user_info, as: 'userInfo', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo::Representation
|
3731
3739
|
|
3732
3740
|
collection :variant_rollup_keys, as: 'variantRollupKeys'
|
@@ -4017,6 +4025,13 @@ module Google
|
|
4017
4025
|
end
|
4018
4026
|
end
|
4019
4027
|
|
4028
|
+
class GoogleCloudRetailV2alphaStringList
|
4029
|
+
# @private
|
4030
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4031
|
+
collection :values, as: 'values'
|
4032
|
+
end
|
4033
|
+
end
|
4034
|
+
|
4020
4035
|
class GoogleCloudRetailV2alphaTile
|
4021
4036
|
# @private
|
4022
4037
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.118.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -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.118.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:
|