google-apis-retail_v2 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: 4cb1497d4d1f580cfe1a17681369fec09ba3c4c7f86403de7d3e98ea77b052c9
4
- data.tar.gz: 39ab1b7295ca1f0f03f8d83a08a232e57e8c2e5fbe4d7e4e7aa73dba82d5bad5
3
+ metadata.gz: c8a685e1686231b6d7202a929afa3f7c2d9957a8b03d442c3f1885e2a8b8cefb
4
+ data.tar.gz: 3f6480dfe5afbab8cf48bab290d6623b9da6093aa2873ecc4c55f7368d8b8411
5
5
  SHA512:
6
- metadata.gz: 4096ab6c11b5463b40a0c625d67a04625e24e2cace99913f7e0722bc0b73d51c1f005a76a72cecce15b6e7221e377738639c66e1903762ce33d1bda382ebe6bb
7
- data.tar.gz: 0cf2cbbe3b4b45cd184907e8e5162f8490880909db746c06703237d946822430fa5014885f456385f090b328d137bd470e2a769cfedca5027e89c564535a62ec
6
+ metadata.gz: 9be6e79650b54bcd5d420d229557d94ca049bdb7fca0f98694b4b0666058e5695a6903e1c1800914ae5be940a83f5a777229186a424a6e3ab57438e944868b6e
7
+ data.tar.gz: 8474d436643b8cf3d432b01eb1108a9c9259ce8d35c80b97a6c424b1a6e13be3719c68b9b8ba4ef2f384000acdc05e6bf09f261e14d3fb7b9a773230aab2ff81
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
7
+ ### v0.116.0 (2025-05-18)
8
+
9
+ * Regenerated from discovery document revision 20250508
10
+ * Regenerated using generator version 0.17.0
11
+
3
12
  ### v0.115.0 (2025-04-27)
4
13
 
5
14
  * Regenerated from discovery document revision 20250417
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/recommendations) may provid
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -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
@@ -2533,23 +2552,6 @@ module Google
2533
2552
  # @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute>]
2534
2553
  attr_accessor :attributes
2535
2554
 
2536
- # Optional. The availability of the Product at this place_id. Default to
2537
- # Availability.IN_STOCK. For primary products with variants set the availability
2538
- # of the primary as Availability.OUT_OF_STOCK and set the true availability at
2539
- # the variant level. This way the primary product will be considered "in stock"
2540
- # as long as it has at least one variant in stock. For primary products with no
2541
- # variants set the true availability at the primary level. Corresponding
2542
- # properties: Google Merchant Center property [availability](https://support.
2543
- # google.com/merchants/answer/6324448). Schema.org property [Offer.availability](
2544
- # https://schema.org/availability). This field is currently only used by the
2545
- # Recommendations API. For Search, please make use of fulfillment_types or
2546
- # custom attributes for similar behaviour. See [here]( https://cloud.google.com/
2547
- # retail/docs/local-inventory-updates#local-inventory-update-methods) for more
2548
- # details.
2549
- # Corresponds to the JSON property `availability`
2550
- # @return [String]
2551
- attr_accessor :availability
2552
-
2553
2555
  # Optional. Supported fulfillment types. Valid fulfillment type values include
2554
2556
  # commonly used types (such as pickup in store and same day delivery), and
2555
2557
  # custom types. Customers have to map custom types to their display names before
@@ -2579,7 +2581,6 @@ module Google
2579
2581
  # Update properties of this object
2580
2582
  def update!(**args)
2581
2583
  @attributes = args[:attributes] if args.key?(:attributes)
2582
- @availability = args[:availability] if args.key?(:availability)
2583
2584
  @fulfillment_types = args[:fulfillment_types] if args.key?(:fulfillment_types)
2584
2585
  @place_id = args[:place_id] if args.key?(:place_id)
2585
2586
  @price_info = args[:price_info] if args.key?(:price_info)
@@ -5960,6 +5961,11 @@ module Google
5960
5961
  # @return [Hash<String,String>]
5961
5962
  attr_accessor :matching_variant_fields
5962
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
+
5963
5969
  # Specifies previous events related to this product for this user based on
5964
5970
  # UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set
5965
5971
  # only when SearchRequest.PersonalizationSpec.mode is SearchRequest.
@@ -6001,6 +6007,7 @@ module Google
6001
6007
  @id = args[:id] if args.key?(:id)
6002
6008
  @matching_variant_count = args[:matching_variant_count] if args.key?(:matching_variant_count)
6003
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)
6004
6011
  @personal_labels = args[:personal_labels] if args.key?(:personal_labels)
6005
6012
  @product = args[:product] if args.key?(:product)
6006
6013
  @variant_rollup_values = args[:variant_rollup_values] if args.key?(:variant_rollup_values)
@@ -7412,7 +7419,12 @@ module Google
7412
7419
  class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
7413
7420
  include Google::Apis::Core::Hashable
7414
7421
 
7415
- # Merchant Center primary feed ID.
7422
+ # AFM data source ID.
7423
+ # Corresponds to the JSON property `dataSourceId`
7424
+ # @return [Fixnum]
7425
+ attr_accessor :data_source_id
7426
+
7427
+ # Merchant Center primary feed ID. Deprecated: use data_source_id instead.
7416
7428
  # Corresponds to the JSON property `primaryFeedId`
7417
7429
  # @return [Fixnum]
7418
7430
  attr_accessor :primary_feed_id
@@ -7429,6 +7441,7 @@ module Google
7429
7441
 
7430
7442
  # Update properties of this object
7431
7443
  def update!(**args)
7444
+ @data_source_id = args[:data_source_id] if args.key?(:data_source_id)
7432
7445
  @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
7433
7446
  @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
7434
7447
  end
@@ -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.115.0"
19
+ GEM_VERSION = "0.117.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250417"
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
@@ -2225,7 +2238,6 @@ module Google
2225
2238
  class Representation < Google::Apis::Core::JsonRepresentation
2226
2239
  hash :attributes, as: 'attributes', class: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute::Representation
2227
2240
 
2228
- property :availability, as: 'availability'
2229
2241
  collection :fulfillment_types, as: 'fulfillmentTypes'
2230
2242
  property :place_id, as: 'placeId'
2231
2243
  property :price_info, as: 'priceInfo', class: Google::Apis::RetailV2::GoogleCloudRetailV2PriceInfo, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PriceInfo::Representation
@@ -3034,6 +3046,8 @@ module Google
3034
3046
  property :id, as: 'id'
3035
3047
  property :matching_variant_count, as: 'matchingVariantCount'
3036
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
+
3037
3051
  collection :personal_labels, as: 'personalLabels'
3038
3052
  property :product, as: 'product', class: Google::Apis::RetailV2::GoogleCloudRetailV2Product, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Product::Representation
3039
3053
 
@@ -3407,6 +3421,7 @@ module Google
3407
3421
  class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
3408
3422
  # @private
3409
3423
  class Representation < Google::Apis::Core::JsonRepresentation
3424
+ property :data_source_id, :numeric_string => true, as: 'dataSourceId'
3410
3425
  property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
3411
3426
  property :primary_feed_name, as: 'primaryFeedName'
3412
3427
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2
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
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-27 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.115.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:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
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: []