google-apis-retail_v2beta 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: 52ec22acff98f4674e97c51f316b3c82c6adab6d9d1022c0837872d71322edc5
4
- data.tar.gz: 6177af6a935bb4725f405347de17a557825ede2fa927d4bf8392c7dfa2540555
3
+ metadata.gz: 5462bde07d57d1923b63dd3fe85d033cf1ae6de70694baddb03c5d06a55cabd9
4
+ data.tar.gz: 3ef9a3056f6e43a68410b7fa1af97bbfa212d88a8074c0f5a2d9be7652947fc8
5
5
  SHA512:
6
- metadata.gz: c6a103a35827110961808eb7fd136af562c00bc9fe1b37a98a50da47de4c649b3d6943ba206cc89b2d23a3f4cb41429b45b6ea98e601af7d32af7e089591767c
7
- data.tar.gz: 1f9306f061a9e5aa46c3749f6090c7c56d9eee9c82ac20c8367de5dc49a1e6ff916a63dce971852c2820e7a33f44bb29b0249057fcefa6a87dd7d131cc54d873
6
+ metadata.gz: 3d9475f6b8609fa6ef7bf97348cf1d6d2fd77c302afa9734fdf929587e25c5af98095ea616dcd3f6552d52af672c28e031e43199db386138d9ec150806209f42
7
+ data.tar.gz: 2cfe80ed4f2531634eae12f5f77d30f47d82db5ab1f522b7b587a882a090c6677b1c01be9ce6067b61ee5b46497a5b8ab00eb9d46be9ba1e441c110010dae843
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.116.0 (2025-07-20)
8
+
9
+ * Regenerated from discovery document revision 20250710
10
+
3
11
  ### v0.115.0 (2025-07-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20250703
@@ -5669,6 +5669,57 @@ module Google
5669
5669
  end
5670
5670
  end
5671
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
+
5672
5723
  # Request for pausing training of a model.
5673
5724
  class GoogleCloudRetailV2betaPauseModelRequest
5674
5725
  include Google::Apis::Core::Hashable
@@ -9389,6 +9440,12 @@ module Google
9389
9440
  # @return [String]
9390
9441
  attr_accessor :page_view_id
9391
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
+
9392
9449
  # The main product details related to the event. This field is optional except
9393
9450
  # for the following event types: * `add-to-cart` * `detail-page-view` * `
9394
9451
  # purchase-complete` In a `search` event, this field represents the products
@@ -9476,6 +9533,7 @@ module Google
9476
9533
  @order_by = args[:order_by] if args.key?(:order_by)
9477
9534
  @page_categories = args[:page_categories] if args.key?(:page_categories)
9478
9535
  @page_view_id = args[:page_view_id] if args.key?(:page_view_id)
9536
+ @panels = args[:panels] if args.key?(:panels)
9479
9537
  @product_details = args[:product_details] if args.key?(:product_details)
9480
9538
  @purchase_transaction = args[:purchase_transaction] if args.key?(:purchase_transaction)
9481
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.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.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250703"
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
 
@@ -3257,6 +3263,19 @@ module Google
3257
3263
  end
3258
3264
  end
3259
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
+
3260
3279
  class GoogleCloudRetailV2betaPauseModelRequest
3261
3280
  # @private
3262
3281
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4120,6 +4139,8 @@ module Google
4120
4139
  property :order_by, as: 'orderBy'
4121
4140
  collection :page_categories, as: 'pageCategories'
4122
4141
  property :page_view_id, as: 'pageViewId'
4142
+ collection :panels, as: 'panels', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPanelInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPanelInfo::Representation
4143
+
4123
4144
  collection :product_details, as: 'productDetails', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail::Representation
4124
4145
 
4125
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.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_v2beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.115.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: