Skip to content

Commit af37e56

Browse files
feat: Automated regeneration of retail v2beta client (googleapis#23809)
Auto-created at 2025-07-27 10:44:17 +0000 using the toys pull request generator.
1 parent 8c84987 commit af37e56

File tree

5 files changed

+102
-2
lines changed

5 files changed

+102
-2
lines changed

api_names_out.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320838,6 +320838,14 @@
320838320838
"/retail:v2beta/GoogleCloudRetailV2betaOutputResult/bigqueryResult/bigquery_result": bigquery_result
320839320839
"/retail:v2beta/GoogleCloudRetailV2betaOutputResult/gcsResult": gcs_result
320840320840
"/retail:v2beta/GoogleCloudRetailV2betaOutputResult/gcsResult/gcs_result": gcs_result
320841+
"/retail:v2beta/GoogleCloudRetailV2betaPanelInfo": google_cloud_retail_v2beta_panel_info
320842+
"/retail:v2beta/GoogleCloudRetailV2betaPanelInfo/attributionToken": attribution_token
320843+
"/retail:v2beta/GoogleCloudRetailV2betaPanelInfo/displayName": display_name
320844+
"/retail:v2beta/GoogleCloudRetailV2betaPanelInfo/panelId": panel_id
320845+
"/retail:v2beta/GoogleCloudRetailV2betaPanelInfo/panelPosition": panel_position
320846+
"/retail:v2beta/GoogleCloudRetailV2betaPanelInfo/productDetails": product_details
320847+
"/retail:v2beta/GoogleCloudRetailV2betaPanelInfo/productDetails/product_detail": product_detail
320848+
"/retail:v2beta/GoogleCloudRetailV2betaPanelInfo/totalPanels": total_panels
320841320849
"/retail:v2beta/GoogleCloudRetailV2betaPauseModelRequest": google_cloud_retail_v2beta_pause_model_request
320842320850
"/retail:v2beta/GoogleCloudRetailV2betaPinControlMetadata": google_cloud_retail_v2beta_pin_control_metadata
320843320851
"/retail:v2beta/GoogleCloudRetailV2betaPinControlMetadata/allMatchedPins": all_matched_pins
@@ -321286,6 +321294,8 @@
321286321294
"/retail:v2beta/GoogleCloudRetailV2betaUserEvent/pageCategories": page_categories
321287321295
"/retail:v2beta/GoogleCloudRetailV2betaUserEvent/pageCategories/page_category": page_category
321288321296
"/retail:v2beta/GoogleCloudRetailV2betaUserEvent/pageViewId": page_view_id
321297+
"/retail:v2beta/GoogleCloudRetailV2betaUserEvent/panels": panels
321298+
"/retail:v2beta/GoogleCloudRetailV2betaUserEvent/panels/panel": panel
321289321299
"/retail:v2beta/GoogleCloudRetailV2betaUserEvent/productDetails": product_details
321290321300
"/retail:v2beta/GoogleCloudRetailV2betaUserEvent/productDetails/product_detail": product_detail
321291321301
"/retail:v2beta/GoogleCloudRetailV2betaUserEvent/purchaseTransaction": purchase_transaction

generated/google-apis-retail_v2beta/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-retail_v2beta
22

3+
### v0.117.0 (2025-07-27)
4+
5+
* Regenerated from discovery document revision 20250717
6+
37
### v0.116.0 (2025-07-20)
48

59
* Regenerated from discovery document revision 20250710

generated/google-apis-retail_v2beta/lib/google/apis/retail_v2beta/classes.rb

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5243,6 +5243,11 @@ class GoogleCloudRetailV2betaMerchantCenterFeedFilter
52435243
# @return [Fixnum]
52445244
attr_accessor :data_source_id
52455245

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+
52465251
# Merchant Center primary feed name. The name is used for the display purposes
52475252
# only.
52485253
# Corresponds to the JSON property `primaryFeedName`
@@ -5256,6 +5261,7 @@ def initialize(**args)
52565261
# Update properties of this object
52575262
def update!(**args)
52585263
@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)
52595265
@primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
52605266
end
52615267
end
@@ -5663,6 +5669,57 @@ def update!(**args)
56635669
end
56645670
end
56655671

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+
56665723
# Request for pausing training of a model.
56675724
class GoogleCloudRetailV2betaPauseModelRequest
56685725
include Google::Apis::Core::Hashable
@@ -9383,6 +9440,12 @@ class GoogleCloudRetailV2betaUserEvent
93839440
# @return [String]
93849441
attr_accessor :page_view_id
93859442

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+
93869449
# The main product details related to the event. This field is optional except
93879450
# for the following event types: * `add-to-cart` * `detail-page-view` * `
93889451
# purchase-complete` In a `search` event, this field represents the products
@@ -9470,6 +9533,7 @@ def update!(**args)
94709533
@order_by = args[:order_by] if args.key?(:order_by)
94719534
@page_categories = args[:page_categories] if args.key?(:page_categories)
94729535
@page_view_id = args[:page_view_id] if args.key?(:page_view_id)
9536+
@panels = args[:panels] if args.key?(:panels)
94739537
@product_details = args[:product_details] if args.key?(:product_details)
94749538
@purchase_transaction = args[:purchase_transaction] if args.key?(:purchase_transaction)
94759539
@referrer_uri = args[:referrer_uri] if args.key?(:referrer_uri)

generated/google-apis-retail_v2beta/lib/google/apis/retail_v2beta/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module RetailV2beta
1818
# Version of the google-apis-retail_v2beta gem
19-
GEM_VERSION = "0.116.0"
19+
GEM_VERSION = "0.117.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250710"
25+
REVISION = "20250717"
2626
end
2727
end
2828
end

generated/google-apis-retail_v2beta/lib/google/apis/retail_v2beta/representations.rb

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,6 +1096,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
10961096
include Google::Apis::Core::JsonObjectSupport
10971097
end
10981098

1099+
class GoogleCloudRetailV2betaPanelInfo
1100+
class Representation < Google::Apis::Core::JsonRepresentation; end
1101+
1102+
include Google::Apis::Core::JsonObjectSupport
1103+
end
1104+
10991105
class GoogleCloudRetailV2betaPauseModelRequest
11001106
class Representation < Google::Apis::Core::JsonRepresentation; end
11011107

@@ -3150,6 +3156,7 @@ class GoogleCloudRetailV2betaMerchantCenterFeedFilter
31503156
# @private
31513157
class Representation < Google::Apis::Core::JsonRepresentation
31523158
property :data_source_id, :numeric_string => true, as: 'dataSourceId'
3159+
property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
31533160
property :primary_feed_name, as: 'primaryFeedName'
31543161
end
31553162
end
@@ -3256,6 +3263,19 @@ class Representation < Google::Apis::Core::JsonRepresentation
32563263
end
32573264
end
32583265

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+
32593279
class GoogleCloudRetailV2betaPauseModelRequest
32603280
# @private
32613281
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4119,6 +4139,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
41194139
property :order_by, as: 'orderBy'
41204140
collection :page_categories, as: 'pageCategories'
41214141
property :page_view_id, as: 'pageViewId'
4142+
collection :panels, as: 'panels', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPanelInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPanelInfo::Representation
4143+
41224144
collection :product_details, as: 'productDetails', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail::Representation
41234145

41244146
property :purchase_transaction, as: 'purchaseTransaction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPurchaseTransaction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPurchaseTransaction::Representation

0 commit comments

Comments
 (0)