google-apis-retail_v2 0.97.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: e373f1c39746dd6611f0bc79cc7483de82b713cde09430d859316a1dda51cf46
4
- data.tar.gz: 77192ba419882773b2bd1cce05d6074ecdd23c5ff07f136d50799321506c03cc
3
+ metadata.gz: 94af3325c1c62a4c12a2990f364191365c2a7dfec598c63c0488141efbf55700
4
+ data.tar.gz: b0ccc19c4e1c24871c87e3e20e2817b3e0217864cc3506cfd5099b2d57132c3a
5
5
  SHA512:
6
- metadata.gz: 9b5b0f49ba182b8f211476824458af3b2554d895ac3ae0f34f2b947154b516b720e3b3eaf6b85e78fa388a1b185607b778f52ef19510edce25b414498d6c8b54
7
- data.tar.gz: d63b50fe3b00cf56a73be894dc27f9b9caea61c2a3246fcc62deb17dbd86947cb2d4944d2fabbc55ba3b8bdedeafc296e0b28ad5fbcd6a077d90227575c4efe7
6
+ metadata.gz: 98041f6305c718291c275048227fa04d3dde882916a382f9a5c289694bcfea15f923bf8b4f1087b3b3e5e84295c1ebdaad1d53f05b6557a14c4e9e347f24017c
7
+ data.tar.gz: 5457d61e83274477587c3ad05bef60b76c8b289292b4a3030f88472a0a065a2a43aaa902b2b44d5961b7207831779eed92e91b34fb0ca60623d89853c6e0ef82
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.97.0 (2024-07-25)
4
9
 
5
10
  * 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
@@ -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.97.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.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240702"
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
 
@@ -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.97.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-07-25 00:00:00.000000000 Z
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.97.0
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: []