google-apis-retail_v2alpha 0.115.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: a9e45291c907cac13815a9f4f82e97cf36bc80e5dbd5ea6d6232f87267c09d84
4
- data.tar.gz: 7d09bc37862b528f7bef86122f49c4e7231785c5bb7b26daee28b82e78418267
3
+ metadata.gz: 42e1a6775c9f3c2c5279d8f68d21f3f6dd68d92efbdaadbea11cb1033f64b978
4
+ data.tar.gz: 04f08e3e8bd02d8e841cfc96b1c5dbfb4470b4b83fc136b9bfde3f4a3923fec5
5
5
  SHA512:
6
- metadata.gz: cea4f1ab654c3cb05f9a2caa749ae6e9df9c94c9d760b3a0f2be8514b5ea2a0b7231864916bd1196f1b9f407767b89c33c0fef96994a77587f2b93467452c81b
7
- data.tar.gz: 1bdf81d46999dec03ab5638d7f8382a76c3868c617bd79ab6729e65247abba0759ec0c87325b180c1656d8e3285a57f71721ccaca3c8a6bf9ccd565c4513481f
6
+ metadata.gz: 6e964f94f816c2887d70f2e6fd9ffc22b9962a1db64c63e507e223fda8b4fa476ad9a6aa0de76c9b9b25b720655e60a3d375ec96beebccec781d2c35e3acdab3
7
+ data.tar.gz: cf389802aef7aea6e29cff8d2393f87703fd0086da250088d30b1eaabea8c82730dc7b6d651b6776b485bf9ab2605a0bf2e15ee10c2f8ac5f19f3401bf5fc584
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.117.0 (2025-05-21)
4
+
5
+ * Regenerated from discovery document revision 20250515
6
+
7
+ ### v0.116.0 (2025-05-18)
8
+
9
+ * Regenerated from discovery document revision 20250508
10
+
3
11
  ### v0.115.0 (2025-05-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20250501
@@ -3234,6 +3234,25 @@ module Google
3234
3234
  end
3235
3235
  end
3236
3236
 
3237
+ # A message with a list of double values.
3238
+ class GoogleCloudRetailV2alphaDoubleList
3239
+ include Google::Apis::Core::Hashable
3240
+
3241
+ # The list of double values.
3242
+ # Corresponds to the JSON property `values`
3243
+ # @return [Array<Float>]
3244
+ attr_accessor :values
3245
+
3246
+ def initialize(**args)
3247
+ update!(**args)
3248
+ end
3249
+
3250
+ # Update properties of this object
3251
+ def update!(**args)
3252
+ @values = args[:values] if args.key?(:values)
3253
+ end
3254
+ end
3255
+
3237
3256
  # Metadata related to the EnrollSolution method. This will be returned by the
3238
3257
  # google.longrunning.Operation.metadata field.
3239
3258
  class GoogleCloudRetailV2alphaEnrollSolutionMetadata
@@ -4681,7 +4700,12 @@ module Google
4681
4700
  class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
4682
4701
  include Google::Apis::Core::Hashable
4683
4702
 
4684
- # Merchant Center primary feed ID.
4703
+ # AFM data source ID.
4704
+ # Corresponds to the JSON property `dataSourceId`
4705
+ # @return [Fixnum]
4706
+ attr_accessor :data_source_id
4707
+
4708
+ # Merchant Center primary feed ID. Deprecated: use data_source_id instead.
4685
4709
  # Corresponds to the JSON property `primaryFeedId`
4686
4710
  # @return [Fixnum]
4687
4711
  attr_accessor :primary_feed_id
@@ -4698,6 +4722,7 @@ module Google
4698
4722
 
4699
4723
  # Update properties of this object
4700
4724
  def update!(**args)
4725
+ @data_source_id = args[:data_source_id] if args.key?(:data_source_id)
4701
4726
  @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
4702
4727
  @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
4703
4728
  end
@@ -4707,7 +4732,12 @@ module Google
4707
4732
  class GoogleCloudRetailV2alphaMerchantCenterFeedFilter
4708
4733
  include Google::Apis::Core::Hashable
4709
4734
 
4710
- # Merchant Center primary feed ID.
4735
+ # AFM data source ID.
4736
+ # Corresponds to the JSON property `dataSourceId`
4737
+ # @return [Fixnum]
4738
+ attr_accessor :data_source_id
4739
+
4740
+ # Merchant Center primary feed ID. Deprecated: use data_source_id instead.
4711
4741
  # Corresponds to the JSON property `primaryFeedId`
4712
4742
  # @return [Fixnum]
4713
4743
  attr_accessor :primary_feed_id
@@ -4724,6 +4754,7 @@ module Google
4724
4754
 
4725
4755
  # Update properties of this object
4726
4756
  def update!(**args)
4757
+ @data_source_id = args[:data_source_id] if args.key?(:data_source_id)
4727
4758
  @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
4728
4759
  @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
4729
4760
  end
@@ -8335,6 +8366,11 @@ module Google
8335
8366
  # @return [Hash<String,String>]
8336
8367
  attr_accessor :matching_variant_fields
8337
8368
 
8369
+ # Google provided available scores.
8370
+ # Corresponds to the JSON property `modelScores`
8371
+ # @return [Hash<String,Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaDoubleList>]
8372
+ attr_accessor :model_scores
8373
+
8338
8374
  # Specifies previous events related to this product for this user based on
8339
8375
  # UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set
8340
8376
  # only when SearchRequest.PersonalizationSpec.mode is SearchRequest.
@@ -8376,6 +8412,7 @@ module Google
8376
8412
  @id = args[:id] if args.key?(:id)
8377
8413
  @matching_variant_count = args[:matching_variant_count] if args.key?(:matching_variant_count)
8378
8414
  @matching_variant_fields = args[:matching_variant_fields] if args.key?(:matching_variant_fields)
8415
+ @model_scores = args[:model_scores] if args.key?(:model_scores)
8379
8416
  @personal_labels = args[:personal_labels] if args.key?(:personal_labels)
8380
8417
  @product = args[:product] if args.key?(:product)
8381
8418
  @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 RetailV2alpha
18
18
  # Version of the google-apis-retail_v2alpha gem
19
- GEM_VERSION = "0.115.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 = "20250501"
25
+ REVISION = "20250515"
26
26
  end
27
27
  end
28
28
  end
@@ -616,6 +616,12 @@ module Google
616
616
  include Google::Apis::Core::JsonObjectSupport
617
617
  end
618
618
 
619
+ class GoogleCloudRetailV2alphaDoubleList
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
619
625
  class GoogleCloudRetailV2alphaEnrollSolutionMetadata
620
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
621
627
 
@@ -2640,6 +2646,13 @@ module Google
2640
2646
  end
2641
2647
  end
2642
2648
 
2649
+ class GoogleCloudRetailV2alphaDoubleList
2650
+ # @private
2651
+ class Representation < Google::Apis::Core::JsonRepresentation
2652
+ collection :values, as: 'values'
2653
+ end
2654
+ end
2655
+
2643
2656
  class GoogleCloudRetailV2alphaEnrollSolutionMetadata
2644
2657
  # @private
2645
2658
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3051,6 +3064,7 @@ module Google
3051
3064
  class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
3052
3065
  # @private
3053
3066
  class Representation < Google::Apis::Core::JsonRepresentation
3067
+ property :data_source_id, :numeric_string => true, as: 'dataSourceId'
3054
3068
  property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
3055
3069
  property :primary_feed_name, as: 'primaryFeedName'
3056
3070
  end
@@ -3059,6 +3073,7 @@ module Google
3059
3073
  class GoogleCloudRetailV2alphaMerchantCenterFeedFilter
3060
3074
  # @private
3061
3075
  class Representation < Google::Apis::Core::JsonRepresentation
3076
+ property :data_source_id, :numeric_string => true, as: 'dataSourceId'
3062
3077
  property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
3063
3078
  property :primary_feed_name, as: 'primaryFeedName'
3064
3079
  end
@@ -3925,6 +3940,8 @@ module Google
3925
3940
  property :id, as: 'id'
3926
3941
  property :matching_variant_count, as: 'matchingVariantCount'
3927
3942
  hash :matching_variant_fields, as: 'matchingVariantFields'
3943
+ hash :model_scores, as: 'modelScores', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaDoubleList, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaDoubleList::Representation
3944
+
3928
3945
  collection :personal_labels, as: 'personalLabels'
3929
3946
  property :product, as: 'product', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct::Representation
3930
3947
 
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.115.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_v2alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.115.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.117.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:
@@ -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 V2alpha
79
79
  test_files: []