google-apis-retail_v2 0.97.0 → 0.99.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a27138edd092d39b390a9109e4149ecd8cbdffa83e9b9a3e7d14a87d8e7cb29b
|
4
|
+
data.tar.gz: bedf3ea5a61ba663e3f3022023a076eb9b5be0033459cc3791f2557952bafedd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f549f09ddea9f89c2b4d23766e70234fbb8bf2397510bb5457e3df32df440bbbdfcd68e30880bb5be932f53e4e9b7b171a8c4a57dea988b1a6f01ab986b5ce36
|
7
|
+
data.tar.gz: 5e57b3f3d48fdaf75319b5fbb1ce86955440bd136f24f2973cb090c35ffb0efeed45f959f8c87cb2daf4704024bd4a63a502c9a6cf94bc9efe5a8ec9e3eecfdc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.99.0 (2024-08-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240816
|
6
|
+
|
7
|
+
### v0.98.0 (2024-08-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240801
|
10
|
+
* Regenerated using generator version 0.15.1
|
11
|
+
|
3
12
|
### v0.97.0 (2024-07-25)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240702
|
@@ -1040,6 +1040,12 @@ module Google
|
|
1040
1040
|
class GoogleCloudRetailV2CompleteQueryResponse
|
1041
1041
|
include Google::Apis::Core::Hashable
|
1042
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
|
+
|
1043
1049
|
# A unique complete token. This should be included in the UserEvent.
|
1044
1050
|
# completion_detail for search events resulting from this completion, which
|
1045
1051
|
# enables accurate attribution of complete model performance.
|
@@ -1072,12 +1078,32 @@ module Google
|
|
1072
1078
|
|
1073
1079
|
# Update properties of this object
|
1074
1080
|
def update!(**args)
|
1081
|
+
@attribute_results = args[:attribute_results] if args.key?(:attribute_results)
|
1075
1082
|
@attribution_token = args[:attribution_token] if args.key?(:attribution_token)
|
1076
1083
|
@completion_results = args[:completion_results] if args.key?(:completion_results)
|
1077
1084
|
@recent_search_results = args[:recent_search_results] if args.key?(:recent_search_results)
|
1078
1085
|
end
|
1079
1086
|
end
|
1080
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
|
+
|
1081
1107
|
# Resource that represents completion results.
|
1082
1108
|
class GoogleCloudRetailV2CompleteQueryResponseCompletionResult
|
1083
1109
|
include Google::Apis::Core::Hashable
|
@@ -4274,7 +4300,7 @@ module Google
|
|
4274
4300
|
include Google::Apis::Core::Hashable
|
4275
4301
|
|
4276
4302
|
# Each instance corresponds to a force return attribute for the given condition.
|
4277
|
-
# There can't be more
|
4303
|
+
# There can't be more 15 instances here.
|
4278
4304
|
# Corresponds to the JSON property `facetPositionAdjustments`
|
4279
4305
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment>]
|
4280
4306
|
attr_accessor :facet_position_adjustments
|
@@ -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.99.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 = "20240816"
|
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
|
|
@@ -1673,6 +1679,8 @@ module Google
|
|
1673
1679
|
class GoogleCloudRetailV2CompleteQueryResponse
|
1674
1680
|
# @private
|
1675
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
|
+
|
1676
1684
|
property :attribution_token, as: 'attributionToken'
|
1677
1685
|
collection :completion_results, as: 'completionResults', class: Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponseCompletionResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponseCompletionResult::Representation
|
1678
1686
|
|
@@ -1681,6 +1689,13 @@ module Google
|
|
1681
1689
|
end
|
1682
1690
|
end
|
1683
1691
|
|
1692
|
+
class GoogleCloudRetailV2CompleteQueryResponseAttributeResult
|
1693
|
+
# @private
|
1694
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1695
|
+
collection :suggestions, as: 'suggestions'
|
1696
|
+
end
|
1697
|
+
end
|
1698
|
+
|
1684
1699
|
class GoogleCloudRetailV2CompleteQueryResponseCompletionResult
|
1685
1700
|
# @private
|
1686
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.99.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-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_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.99.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: []
|