google-apis-retail_v2 0.96.0 → 0.98.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: 94af3325c1c62a4c12a2990f364191365c2a7dfec598c63c0488141efbf55700
|
4
|
+
data.tar.gz: b0ccc19c4e1c24871c87e3e20e2817b3e0217864cc3506cfd5099b2d57132c3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98041f6305c718291c275048227fa04d3dde882916a382f9a5c289694bcfea15f923bf8b4f1087b3b3e5e84295c1ebdaad1d53f05b6557a14c4e9e347f24017c
|
7
|
+
data.tar.gz: 5457d61e83274477587c3ad05bef60b76c8b289292b4a3030f88472a0a065a2a43aaa902b2b44d5961b7207831779eed92e91b34fb0ca60623d89853c6e0ef82
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.98.0 (2024-08-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240801
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.97.0 (2024-07-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240702
|
11
|
+
|
3
12
|
### v0.96.0 (2024-06-16)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240610
|
@@ -921,13 +921,6 @@ module Google
|
|
921
921
|
# @return [String]
|
922
922
|
attr_accessor :merged_facet_key
|
923
923
|
|
924
|
-
# Each instance is a list of facet values that map into the same (possibly
|
925
|
-
# different) merged facet value. For the current attribute config, each facet
|
926
|
-
# value should map to at most one merged facet value.
|
927
|
-
# Corresponds to the JSON property `mergedFacetValues`
|
928
|
-
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue>]
|
929
|
-
attr_accessor :merged_facet_values
|
930
|
-
|
931
924
|
def initialize(**args)
|
932
925
|
update!(**args)
|
933
926
|
end
|
@@ -935,7 +928,6 @@ module Google
|
|
935
928
|
# Update properties of this object
|
936
929
|
def update!(**args)
|
937
930
|
@merged_facet_key = args[:merged_facet_key] if args.key?(:merged_facet_key)
|
938
|
-
@merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
|
939
931
|
end
|
940
932
|
end
|
941
933
|
|
@@ -1048,6 +1040,12 @@ module Google
|
|
1048
1040
|
class GoogleCloudRetailV2CompleteQueryResponse
|
1049
1041
|
include Google::Apis::Core::Hashable
|
1050
1042
|
|
1043
|
+
# A map of matched attribute suggestions. This field is only available for "
|
1044
|
+
# cloud-retail" dataset. Current supported keys: * `brands` * `categories`
|
1045
|
+
# Corresponds to the JSON property `attributeResults`
|
1046
|
+
# @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponseAttributeResult>]
|
1047
|
+
attr_accessor :attribute_results
|
1048
|
+
|
1051
1049
|
# A unique complete token. This should be included in the UserEvent.
|
1052
1050
|
# completion_detail for search events resulting from this completion, which
|
1053
1051
|
# enables accurate attribution of complete model performance.
|
@@ -1080,12 +1078,32 @@ module Google
|
|
1080
1078
|
|
1081
1079
|
# Update properties of this object
|
1082
1080
|
def update!(**args)
|
1081
|
+
@attribute_results = args[:attribute_results] if args.key?(:attribute_results)
|
1083
1082
|
@attribution_token = args[:attribution_token] if args.key?(:attribution_token)
|
1084
1083
|
@completion_results = args[:completion_results] if args.key?(:completion_results)
|
1085
1084
|
@recent_search_results = args[:recent_search_results] if args.key?(:recent_search_results)
|
1086
1085
|
end
|
1087
1086
|
end
|
1088
1087
|
|
1088
|
+
# Resource that represents attribute results.
|
1089
|
+
class GoogleCloudRetailV2CompleteQueryResponseAttributeResult
|
1090
|
+
include Google::Apis::Core::Hashable
|
1091
|
+
|
1092
|
+
#
|
1093
|
+
# Corresponds to the JSON property `suggestions`
|
1094
|
+
# @return [Array<String>]
|
1095
|
+
attr_accessor :suggestions
|
1096
|
+
|
1097
|
+
def initialize(**args)
|
1098
|
+
update!(**args)
|
1099
|
+
end
|
1100
|
+
|
1101
|
+
# Update properties of this object
|
1102
|
+
def update!(**args)
|
1103
|
+
@suggestions = args[:suggestions] if args.key?(:suggestions)
|
1104
|
+
end
|
1105
|
+
end
|
1106
|
+
|
1089
1107
|
# Resource that represents completion results.
|
1090
1108
|
class GoogleCloudRetailV2CompleteQueryResponseCompletionResult
|
1091
1109
|
include Google::Apis::Core::Hashable
|
@@ -1114,7 +1132,7 @@ module Google
|
|
1114
1132
|
end
|
1115
1133
|
end
|
1116
1134
|
|
1117
|
-
# Recent search of this user.
|
1135
|
+
# Deprecated: Recent search of this user.
|
1118
1136
|
class GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult
|
1119
1137
|
include Google::Apis::Core::Hashable
|
1120
1138
|
|
@@ -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.98.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240801"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -190,6 +190,12 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
+
class GoogleCloudRetailV2CompleteQueryResponseAttributeResult
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
193
199
|
class GoogleCloudRetailV2CompleteQueryResponseCompletionResult
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
201
|
|
@@ -1643,8 +1649,6 @@ module Google
|
|
1643
1649
|
# @private
|
1644
1650
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1645
1651
|
property :merged_facet_key, as: 'mergedFacetKey'
|
1646
|
-
collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue::Representation
|
1647
|
-
|
1648
1652
|
end
|
1649
1653
|
end
|
1650
1654
|
|
@@ -1675,6 +1679,8 @@ module Google
|
|
1675
1679
|
class GoogleCloudRetailV2CompleteQueryResponse
|
1676
1680
|
# @private
|
1677
1681
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1682
|
+
hash :attribute_results, as: 'attributeResults', class: Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponseAttributeResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponseAttributeResult::Representation
|
1683
|
+
|
1678
1684
|
property :attribution_token, as: 'attributionToken'
|
1679
1685
|
collection :completion_results, as: 'completionResults', class: Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponseCompletionResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponseCompletionResult::Representation
|
1680
1686
|
|
@@ -1683,6 +1689,13 @@ module Google
|
|
1683
1689
|
end
|
1684
1690
|
end
|
1685
1691
|
|
1692
|
+
class GoogleCloudRetailV2CompleteQueryResponseAttributeResult
|
1693
|
+
# @private
|
1694
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1695
|
+
collection :suggestions, as: 'suggestions'
|
1696
|
+
end
|
1697
|
+
end
|
1698
|
+
|
1686
1699
|
class GoogleCloudRetailV2CompleteQueryResponseCompletionResult
|
1687
1700
|
# @private
|
1688
1701
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.98.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: 2024-
|
11
|
+
date: 2024-08-11 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_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.98.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|