google-apis-retail_v2 0.116.0 → 0.117.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: 2b58c649b3457527ddf1fb6baf1e1b2a71738cc861f23b8b4dbd1332ef7c6a01
4
- data.tar.gz: f21325e508547ae256ff96f2064d5a6b1cb950eb7fed4b8ae0dd8d447b1e9e14
3
+ metadata.gz: c8a685e1686231b6d7202a929afa3f7c2d9957a8b03d442c3f1885e2a8b8cefb
4
+ data.tar.gz: 3f6480dfe5afbab8cf48bab290d6623b9da6093aa2873ecc4c55f7368d8b8411
5
5
  SHA512:
6
- metadata.gz: a88c35ca22fe5aee466559809b7f33484a15fe6b4fbbe8a96fab4864093d045320745d9ae70b874a90ea544cf993a4238f7c8335ea72999137c0c579bb608b70
7
- data.tar.gz: ec2648899088369bfb72495e732e85ce98e233d24677a7a77e6b3d556f392f8002a3bdccc0990eb1211f393606349d26fe1191f2ffb92613c56a142c325ab793
6
+ metadata.gz: 9be6e79650b54bcd5d420d229557d94ca049bdb7fca0f98694b4b0666058e5695a6903e1c1800914ae5be940a83f5a777229186a424a6e3ab57438e944868b6e
7
+ data.tar.gz: 8474d436643b8cf3d432b01eb1108a9c9259ce8d35c80b97a6c424b1a6e13be3719c68b9b8ba4ef2f384000acdc05e6bf09f261e14d3fb7b9a773230aab2ff81
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.117.0 (2025-05-21)
4
+
5
+ * Regenerated from discovery document revision 20250515
6
+
3
7
  ### v0.116.0 (2025-05-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20250508
@@ -1630,6 +1630,25 @@ module Google
1630
1630
  end
1631
1631
  end
1632
1632
 
1633
+ # A message with a list of double values.
1634
+ class GoogleCloudRetailV2DoubleList
1635
+ include Google::Apis::Core::Hashable
1636
+
1637
+ # The list of double values.
1638
+ # Corresponds to the JSON property `values`
1639
+ # @return [Array<Float>]
1640
+ attr_accessor :values
1641
+
1642
+ def initialize(**args)
1643
+ update!(**args)
1644
+ end
1645
+
1646
+ # Update properties of this object
1647
+ def update!(**args)
1648
+ @values = args[:values] if args.key?(:values)
1649
+ end
1650
+ end
1651
+
1633
1652
  # Metadata for active A/B testing experiment.
1634
1653
  class GoogleCloudRetailV2ExperimentInfo
1635
1654
  include Google::Apis::Core::Hashable
@@ -5942,6 +5961,11 @@ module Google
5942
5961
  # @return [Hash<String,String>]
5943
5962
  attr_accessor :matching_variant_fields
5944
5963
 
5964
+ # Google provided available scores.
5965
+ # Corresponds to the JSON property `modelScores`
5966
+ # @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2DoubleList>]
5967
+ attr_accessor :model_scores
5968
+
5945
5969
  # Specifies previous events related to this product for this user based on
5946
5970
  # UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set
5947
5971
  # only when SearchRequest.PersonalizationSpec.mode is SearchRequest.
@@ -5983,6 +6007,7 @@ module Google
5983
6007
  @id = args[:id] if args.key?(:id)
5984
6008
  @matching_variant_count = args[:matching_variant_count] if args.key?(:matching_variant_count)
5985
6009
  @matching_variant_fields = args[:matching_variant_fields] if args.key?(:matching_variant_fields)
6010
+ @model_scores = args[:model_scores] if args.key?(:model_scores)
5986
6011
  @personal_labels = args[:personal_labels] if args.key?(:personal_labels)
5987
6012
  @product = args[:product] if args.key?(:product)
5988
6013
  @variant_rollup_values = args[:variant_rollup_values] if args.key?(:variant_rollup_values)
@@ -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.116.0"
19
+ GEM_VERSION = "0.117.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250508"
25
+ REVISION = "20250515"
26
26
  end
27
27
  end
28
28
  end
@@ -280,6 +280,12 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
+ class GoogleCloudRetailV2DoubleList
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
283
289
  class GoogleCloudRetailV2ExperimentInfo
284
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
291
 
@@ -1959,6 +1965,13 @@ module Google
1959
1965
  end
1960
1966
  end
1961
1967
 
1968
+ class GoogleCloudRetailV2DoubleList
1969
+ # @private
1970
+ class Representation < Google::Apis::Core::JsonRepresentation
1971
+ collection :values, as: 'values'
1972
+ end
1973
+ end
1974
+
1962
1975
  class GoogleCloudRetailV2ExperimentInfo
1963
1976
  # @private
1964
1977
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3033,6 +3046,8 @@ module Google
3033
3046
  property :id, as: 'id'
3034
3047
  property :matching_variant_count, as: 'matchingVariantCount'
3035
3048
  hash :matching_variant_fields, as: 'matchingVariantFields'
3049
+ hash :model_scores, as: 'modelScores', class: Google::Apis::RetailV2::GoogleCloudRetailV2DoubleList, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2DoubleList::Representation
3050
+
3036
3051
  collection :personal_labels, as: 'personalLabels'
3037
3052
  property :product, as: 'product', class: Google::Apis::RetailV2::GoogleCloudRetailV2Product, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Product::Representation
3038
3053
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.116.0
4
+ version: 0.117.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_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.116.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.117.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.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Vertex AI Search for commerce API V2
79
79
  test_files: []