google-apis-retail_v2beta 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: b9c3497733d5b889b61a41bcbf73fdb78857c8afdbc4e43d272dcee53f25fe46
4
- data.tar.gz: 81866d5c6af0ad35bada896df5d563a82d68f79624d0dd41941281da8c645ac3
3
+ metadata.gz: 5462bde07d57d1923b63dd3fe85d033cf1ae6de70694baddb03c5d06a55cabd9
4
+ data.tar.gz: 3ef9a3056f6e43a68410b7fa1af97bbfa212d88a8074c0f5a2d9be7652947fc8
5
5
  SHA512:
6
- metadata.gz: 16caad462498961bf095730a50bd9d3ecd9180b04d63fc4a1fdddb9d31a21e875716b8e26d935989485a5f12e263bc1fc70047c3bca74a45c88ad255e79e8a89
7
- data.tar.gz: c2480dae4b47f5f6b3d1817232ad450557c645e661adc5c041d60e1e89184ad142ee5872503941f10f32a9b900d1f9b80ff6769c452e0e4354d548031021fa6e
6
+ metadata.gz: 3d9475f6b8609fa6ef7bf97348cf1d6d2fd77c302afa9734fdf929587e25c5af98095ea616dcd3f6552d52af672c28e031e43199db386138d9ec150806209f42
7
+ data.tar.gz: 2cfe80ed4f2531634eae12f5f77d30f47d82db5ab1f522b7b587a882a090c6677b1c01be9ce6067b61ee5b46497a5b8ab00eb9d46be9ba1e441c110010dae843
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.117.0 (2025-07-27)
4
+
5
+ * Regenerated from discovery document revision 20250717
6
+
3
7
  ### v0.116.0 (2025-07-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20250710
@@ -5243,6 +5243,11 @@ module Google
5243
5243
  # @return [Fixnum]
5244
5244
  attr_accessor :data_source_id
5245
5245
 
5246
+ # Merchant Center primary feed ID. Deprecated: use data_source_id instead.
5247
+ # Corresponds to the JSON property `primaryFeedId`
5248
+ # @return [Fixnum]
5249
+ attr_accessor :primary_feed_id
5250
+
5246
5251
  # Merchant Center primary feed name. The name is used for the display purposes
5247
5252
  # only.
5248
5253
  # Corresponds to the JSON property `primaryFeedName`
@@ -5256,6 +5261,7 @@ module Google
5256
5261
  # Update properties of this object
5257
5262
  def update!(**args)
5258
5263
  @data_source_id = args[:data_source_id] if args.key?(:data_source_id)
5264
+ @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
5259
5265
  @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
5260
5266
  end
5261
5267
  end
@@ -5663,6 +5669,57 @@ module Google
5663
5669
  end
5664
5670
  end
5665
5671
 
5672
+ # Detailed panel information associated with a user event.
5673
+ class GoogleCloudRetailV2betaPanelInfo
5674
+ include Google::Apis::Core::Hashable
5675
+
5676
+ # Optional. The attribution token of the panel.
5677
+ # Corresponds to the JSON property `attributionToken`
5678
+ # @return [String]
5679
+ attr_accessor :attribution_token
5680
+
5681
+ # Optional. The display name of the panel.
5682
+ # Corresponds to the JSON property `displayName`
5683
+ # @return [String]
5684
+ attr_accessor :display_name
5685
+
5686
+ # Required. The panel ID.
5687
+ # Corresponds to the JSON property `panelId`
5688
+ # @return [String]
5689
+ attr_accessor :panel_id
5690
+
5691
+ # Optional. The ordered position of the panel, if shown to the user with other
5692
+ # panels. If set, then total_panels must also be set.
5693
+ # Corresponds to the JSON property `panelPosition`
5694
+ # @return [Fixnum]
5695
+ attr_accessor :panel_position
5696
+
5697
+ # Optional. The product details associated with the panel.
5698
+ # Corresponds to the JSON property `productDetails`
5699
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail>]
5700
+ attr_accessor :product_details
5701
+
5702
+ # Optional. The total number of panels, including this one, shown to the user.
5703
+ # Must be set if panel_position is set.
5704
+ # Corresponds to the JSON property `totalPanels`
5705
+ # @return [Fixnum]
5706
+ attr_accessor :total_panels
5707
+
5708
+ def initialize(**args)
5709
+ update!(**args)
5710
+ end
5711
+
5712
+ # Update properties of this object
5713
+ def update!(**args)
5714
+ @attribution_token = args[:attribution_token] if args.key?(:attribution_token)
5715
+ @display_name = args[:display_name] if args.key?(:display_name)
5716
+ @panel_id = args[:panel_id] if args.key?(:panel_id)
5717
+ @panel_position = args[:panel_position] if args.key?(:panel_position)
5718
+ @product_details = args[:product_details] if args.key?(:product_details)
5719
+ @total_panels = args[:total_panels] if args.key?(:total_panels)
5720
+ end
5721
+ end
5722
+
5666
5723
  # Request for pausing training of a model.
5667
5724
  class GoogleCloudRetailV2betaPauseModelRequest
5668
5725
  include Google::Apis::Core::Hashable
@@ -9383,6 +9440,12 @@ module Google
9383
9440
  # @return [String]
9384
9441
  attr_accessor :page_view_id
9385
9442
 
9443
+ # Optional. List of panels associated with this event. Used for panel-level
9444
+ # impression data.
9445
+ # Corresponds to the JSON property `panels`
9446
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPanelInfo>]
9447
+ attr_accessor :panels
9448
+
9386
9449
  # The main product details related to the event. This field is optional except
9387
9450
  # for the following event types: * `add-to-cart` * `detail-page-view` * `
9388
9451
  # purchase-complete` In a `search` event, this field represents the products
@@ -9470,6 +9533,7 @@ module Google
9470
9533
  @order_by = args[:order_by] if args.key?(:order_by)
9471
9534
  @page_categories = args[:page_categories] if args.key?(:page_categories)
9472
9535
  @page_view_id = args[:page_view_id] if args.key?(:page_view_id)
9536
+ @panels = args[:panels] if args.key?(:panels)
9473
9537
  @product_details = args[:product_details] if args.key?(:product_details)
9474
9538
  @purchase_transaction = args[:purchase_transaction] if args.key?(:purchase_transaction)
9475
9539
  @referrer_uri = args[:referrer_uri] if args.key?(:referrer_uri)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2beta
18
18
  # Version of the google-apis-retail_v2beta 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.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250710"
25
+ REVISION = "20250717"
26
26
  end
27
27
  end
28
28
  end
@@ -1096,6 +1096,12 @@ module Google
1096
1096
  include Google::Apis::Core::JsonObjectSupport
1097
1097
  end
1098
1098
 
1099
+ class GoogleCloudRetailV2betaPanelInfo
1100
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1101
+
1102
+ include Google::Apis::Core::JsonObjectSupport
1103
+ end
1104
+
1099
1105
  class GoogleCloudRetailV2betaPauseModelRequest
1100
1106
  class Representation < Google::Apis::Core::JsonRepresentation; end
1101
1107
 
@@ -3150,6 +3156,7 @@ module Google
3150
3156
  # @private
3151
3157
  class Representation < Google::Apis::Core::JsonRepresentation
3152
3158
  property :data_source_id, :numeric_string => true, as: 'dataSourceId'
3159
+ property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
3153
3160
  property :primary_feed_name, as: 'primaryFeedName'
3154
3161
  end
3155
3162
  end
@@ -3256,6 +3263,19 @@ module Google
3256
3263
  end
3257
3264
  end
3258
3265
 
3266
+ class GoogleCloudRetailV2betaPanelInfo
3267
+ # @private
3268
+ class Representation < Google::Apis::Core::JsonRepresentation
3269
+ property :attribution_token, as: 'attributionToken'
3270
+ property :display_name, as: 'displayName'
3271
+ property :panel_id, as: 'panelId'
3272
+ property :panel_position, as: 'panelPosition'
3273
+ collection :product_details, as: 'productDetails', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail::Representation
3274
+
3275
+ property :total_panels, as: 'totalPanels'
3276
+ end
3277
+ end
3278
+
3259
3279
  class GoogleCloudRetailV2betaPauseModelRequest
3260
3280
  # @private
3261
3281
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4119,6 +4139,8 @@ module Google
4119
4139
  property :order_by, as: 'orderBy'
4120
4140
  collection :page_categories, as: 'pageCategories'
4121
4141
  property :page_view_id, as: 'pageViewId'
4142
+ collection :panels, as: 'panels', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPanelInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPanelInfo::Representation
4143
+
4122
4144
  collection :product_details, as: 'productDetails', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail::Representation
4123
4145
 
4124
4146
  property :purchase_transaction, as: 'purchaseTransaction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPurchaseTransaction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPurchaseTransaction::Representation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2beta
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_v2beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.116.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.117.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
62
62
  rdoc_options: []
63
63
  require_paths: