google-apis-retail_v2beta 0.116.0 → 0.118.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: 6e65e82de4fb36050efc05f386a63e095dc9fb9b432f9b9b19b129ab5cc63ca8
4
+ data.tar.gz: 3f740c6d3be8f578319306a3d9a040622e36fa1b60f73749a2ef404b39041d36
5
5
  SHA512:
6
- metadata.gz: 16caad462498961bf095730a50bd9d3ecd9180b04d63fc4a1fdddb9d31a21e875716b8e26d935989485a5f12e263bc1fc70047c3bca74a45c88ad255e79e8a89
7
- data.tar.gz: c2480dae4b47f5f6b3d1817232ad450557c645e661adc5c041d60e1e89184ad142ee5872503941f10f32a9b900d1f9b80ff6769c452e0e4354d548031021fa6e
6
+ metadata.gz: 4d6a70ec396e5de4bfa2632e38b5a9e136c256dc13c79de88ef4bfb650a0389d3c64b18e294c31129d80ec2e2c8221dc1907bac8c6c82738d24148d5d11264e6
7
+ data.tar.gz: 7f29ccfd8562abd0bda07535a560c492e02d7ff9ae43556517e3a9eda6fd351d9d2201b0079f8d4d12e1386b5b7aca9c228826ad3e447df20cf4ecf5bff0bd22
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.118.0 (2025-08-17)
4
+
5
+ * Regenerated from discovery document revision 20250807
6
+
7
+ ### v0.117.0 (2025-07-27)
8
+
9
+ * Regenerated from discovery document revision 20250717
10
+
3
11
  ### v0.116.0 (2025-07-20)
4
12
 
5
13
  * Regenerated from discovery document revision 20250710
@@ -3806,11 +3806,6 @@ module Google
3806
3806
  # @return [String]
3807
3807
  attr_accessor :display_name
3808
3808
 
3809
- # A facet specification to perform faceted search.
3810
- # Corresponds to the JSON property `facetSpec`
3811
- # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestFacetSpec]
3812
- attr_accessor :facet_spec
3813
-
3814
3809
  # Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/
3815
3810
  # controls/*`
3816
3811
  # Corresponds to the JSON property `name`
@@ -3848,7 +3843,6 @@ module Google
3848
3843
  def update!(**args)
3849
3844
  @associated_serving_config_ids = args[:associated_serving_config_ids] if args.key?(:associated_serving_config_ids)
3850
3845
  @display_name = args[:display_name] if args.key?(:display_name)
3851
- @facet_spec = args[:facet_spec] if args.key?(:facet_spec)
3852
3846
  @name = args[:name] if args.key?(:name)
3853
3847
  @rule = args[:rule] if args.key?(:rule)
3854
3848
  @search_solution_use_case = args[:search_solution_use_case] if args.key?(:search_solution_use_case)
@@ -5243,6 +5237,11 @@ module Google
5243
5237
  # @return [Fixnum]
5244
5238
  attr_accessor :data_source_id
5245
5239
 
5240
+ # Merchant Center primary feed ID. Deprecated: use data_source_id instead.
5241
+ # Corresponds to the JSON property `primaryFeedId`
5242
+ # @return [Fixnum]
5243
+ attr_accessor :primary_feed_id
5244
+
5246
5245
  # Merchant Center primary feed name. The name is used for the display purposes
5247
5246
  # only.
5248
5247
  # Corresponds to the JSON property `primaryFeedName`
@@ -5256,6 +5255,7 @@ module Google
5256
5255
  # Update properties of this object
5257
5256
  def update!(**args)
5258
5257
  @data_source_id = args[:data_source_id] if args.key?(:data_source_id)
5258
+ @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
5259
5259
  @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
5260
5260
  end
5261
5261
  end
@@ -5663,6 +5663,57 @@ module Google
5663
5663
  end
5664
5664
  end
5665
5665
 
5666
+ # Detailed panel information associated with a user event.
5667
+ class GoogleCloudRetailV2betaPanelInfo
5668
+ include Google::Apis::Core::Hashable
5669
+
5670
+ # Optional. The attribution token of the panel.
5671
+ # Corresponds to the JSON property `attributionToken`
5672
+ # @return [String]
5673
+ attr_accessor :attribution_token
5674
+
5675
+ # Optional. The display name of the panel.
5676
+ # Corresponds to the JSON property `displayName`
5677
+ # @return [String]
5678
+ attr_accessor :display_name
5679
+
5680
+ # Required. The panel ID.
5681
+ # Corresponds to the JSON property `panelId`
5682
+ # @return [String]
5683
+ attr_accessor :panel_id
5684
+
5685
+ # Optional. The ordered position of the panel, if shown to the user with other
5686
+ # panels. If set, then total_panels must also be set.
5687
+ # Corresponds to the JSON property `panelPosition`
5688
+ # @return [Fixnum]
5689
+ attr_accessor :panel_position
5690
+
5691
+ # Optional. The product details associated with the panel.
5692
+ # Corresponds to the JSON property `productDetails`
5693
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail>]
5694
+ attr_accessor :product_details
5695
+
5696
+ # Optional. The total number of panels, including this one, shown to the user.
5697
+ # Must be set if panel_position is set.
5698
+ # Corresponds to the JSON property `totalPanels`
5699
+ # @return [Fixnum]
5700
+ attr_accessor :total_panels
5701
+
5702
+ def initialize(**args)
5703
+ update!(**args)
5704
+ end
5705
+
5706
+ # Update properties of this object
5707
+ def update!(**args)
5708
+ @attribution_token = args[:attribution_token] if args.key?(:attribution_token)
5709
+ @display_name = args[:display_name] if args.key?(:display_name)
5710
+ @panel_id = args[:panel_id] if args.key?(:panel_id)
5711
+ @panel_position = args[:panel_position] if args.key?(:panel_position)
5712
+ @product_details = args[:product_details] if args.key?(:product_details)
5713
+ @total_panels = args[:total_panels] if args.key?(:total_panels)
5714
+ end
5715
+ end
5716
+
5666
5717
  # Request for pausing training of a model.
5667
5718
  class GoogleCloudRetailV2betaPauseModelRequest
5668
5719
  include Google::Apis::Core::Hashable
@@ -9383,6 +9434,12 @@ module Google
9383
9434
  # @return [String]
9384
9435
  attr_accessor :page_view_id
9385
9436
 
9437
+ # Optional. List of panels associated with this event. Used for panel-level
9438
+ # impression data.
9439
+ # Corresponds to the JSON property `panels`
9440
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPanelInfo>]
9441
+ attr_accessor :panels
9442
+
9386
9443
  # The main product details related to the event. This field is optional except
9387
9444
  # for the following event types: * `add-to-cart` * `detail-page-view` * `
9388
9445
  # purchase-complete` In a `search` event, this field represents the products
@@ -9470,6 +9527,7 @@ module Google
9470
9527
  @order_by = args[:order_by] if args.key?(:order_by)
9471
9528
  @page_categories = args[:page_categories] if args.key?(:page_categories)
9472
9529
  @page_view_id = args[:page_view_id] if args.key?(:page_view_id)
9530
+ @panels = args[:panels] if args.key?(:panels)
9473
9531
  @product_details = args[:product_details] if args.key?(:product_details)
9474
9532
  @purchase_transaction = args[:purchase_transaction] if args.key?(:purchase_transaction)
9475
9533
  @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.118.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 = "20250807"
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
 
@@ -2747,8 +2753,6 @@ module Google
2747
2753
  class Representation < Google::Apis::Core::JsonRepresentation
2748
2754
  collection :associated_serving_config_ids, as: 'associatedServingConfigIds'
2749
2755
  property :display_name, as: 'displayName'
2750
- property :facet_spec, as: 'facetSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestFacetSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestFacetSpec::Representation
2751
-
2752
2756
  property :name, as: 'name'
2753
2757
  property :rule, as: 'rule', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRule::Representation
2754
2758
 
@@ -3150,6 +3154,7 @@ module Google
3150
3154
  # @private
3151
3155
  class Representation < Google::Apis::Core::JsonRepresentation
3152
3156
  property :data_source_id, :numeric_string => true, as: 'dataSourceId'
3157
+ property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
3153
3158
  property :primary_feed_name, as: 'primaryFeedName'
3154
3159
  end
3155
3160
  end
@@ -3256,6 +3261,19 @@ module Google
3256
3261
  end
3257
3262
  end
3258
3263
 
3264
+ class GoogleCloudRetailV2betaPanelInfo
3265
+ # @private
3266
+ class Representation < Google::Apis::Core::JsonRepresentation
3267
+ property :attribution_token, as: 'attributionToken'
3268
+ property :display_name, as: 'displayName'
3269
+ property :panel_id, as: 'panelId'
3270
+ property :panel_position, as: 'panelPosition'
3271
+ collection :product_details, as: 'productDetails', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail::Representation
3272
+
3273
+ property :total_panels, as: 'totalPanels'
3274
+ end
3275
+ end
3276
+
3259
3277
  class GoogleCloudRetailV2betaPauseModelRequest
3260
3278
  # @private
3261
3279
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4119,6 +4137,8 @@ module Google
4119
4137
  property :order_by, as: 'orderBy'
4120
4138
  collection :page_categories, as: 'pageCategories'
4121
4139
  property :page_view_id, as: 'pageViewId'
4140
+ collection :panels, as: 'panels', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPanelInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPanelInfo::Representation
4141
+
4122
4142
  collection :product_details, as: 'productDetails', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail::Representation
4123
4143
 
4124
4144
  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.118.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.118.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: