google-apis-retail_v2 0.119.0 → 0.121.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ff27519658615f885efe69517e09471dca0c76a76039a726a009be3c7cc6175
|
4
|
+
data.tar.gz: 18eff14a3b2ec2a2e27498475f67797142c93e06c96799705a7d378327d7c658
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 257c9220dbf6317ad967fe1b37afdb8ae93bab018ad97fe2305842d40b62a86ce84dedbf5d2de18f1120ca136b633f272ca9a0473bfb37fe0ae6b26d6a30910a
|
7
|
+
data.tar.gz: 9a7d7c51b02eb8b9d4a465685d958c06e5a7bc16a2cb48fbefe8d6f1eaa49317b2ae8a502b2921ea4710fe769678f57dc9de6ee8a7966d760929de0d210f4500
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.121.0 (2025-07-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250717
|
6
|
+
|
7
|
+
### v0.120.0 (2025-07-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250703
|
10
|
+
|
3
11
|
### v0.119.0 (2025-07-06)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250626
|
@@ -3078,6 +3078,57 @@ module Google
|
|
3078
3078
|
end
|
3079
3079
|
end
|
3080
3080
|
|
3081
|
+
# Detailed panel information associated with a user event.
|
3082
|
+
class GoogleCloudRetailV2PanelInfo
|
3083
|
+
include Google::Apis::Core::Hashable
|
3084
|
+
|
3085
|
+
# Optional. The attribution token of the panel.
|
3086
|
+
# Corresponds to the JSON property `attributionToken`
|
3087
|
+
# @return [String]
|
3088
|
+
attr_accessor :attribution_token
|
3089
|
+
|
3090
|
+
# Optional. The display name of the panel.
|
3091
|
+
# Corresponds to the JSON property `displayName`
|
3092
|
+
# @return [String]
|
3093
|
+
attr_accessor :display_name
|
3094
|
+
|
3095
|
+
# Required. The panel ID.
|
3096
|
+
# Corresponds to the JSON property `panelId`
|
3097
|
+
# @return [String]
|
3098
|
+
attr_accessor :panel_id
|
3099
|
+
|
3100
|
+
# Optional. The ordered position of the panel, if shown to the user with other
|
3101
|
+
# panels. If set, then total_panels must also be set.
|
3102
|
+
# Corresponds to the JSON property `panelPosition`
|
3103
|
+
# @return [Fixnum]
|
3104
|
+
attr_accessor :panel_position
|
3105
|
+
|
3106
|
+
# Optional. The product details associated with the panel.
|
3107
|
+
# Corresponds to the JSON property `productDetails`
|
3108
|
+
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2ProductDetail>]
|
3109
|
+
attr_accessor :product_details
|
3110
|
+
|
3111
|
+
# Optional. The total number of panels, including this one, shown to the user.
|
3112
|
+
# Must be set if panel_position is set.
|
3113
|
+
# Corresponds to the JSON property `totalPanels`
|
3114
|
+
# @return [Fixnum]
|
3115
|
+
attr_accessor :total_panels
|
3116
|
+
|
3117
|
+
def initialize(**args)
|
3118
|
+
update!(**args)
|
3119
|
+
end
|
3120
|
+
|
3121
|
+
# Update properties of this object
|
3122
|
+
def update!(**args)
|
3123
|
+
@attribution_token = args[:attribution_token] if args.key?(:attribution_token)
|
3124
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3125
|
+
@panel_id = args[:panel_id] if args.key?(:panel_id)
|
3126
|
+
@panel_position = args[:panel_position] if args.key?(:panel_position)
|
3127
|
+
@product_details = args[:product_details] if args.key?(:product_details)
|
3128
|
+
@total_panels = args[:total_panels] if args.key?(:total_panels)
|
3129
|
+
end
|
3130
|
+
end
|
3131
|
+
|
3081
3132
|
# Request for pausing training of a model.
|
3082
3133
|
class GoogleCloudRetailV2PauseModelRequest
|
3083
3134
|
include Google::Apis::Core::Hashable
|
@@ -5243,9 +5294,9 @@ module Google
|
|
5243
5294
|
|
5244
5295
|
# Optional. The user attributes that could be used for personalization of search
|
5245
5296
|
# results. * Populate at most 100 key-value pairs per query. * Only supports
|
5246
|
-
# string keys and repeated string values. *
|
5247
|
-
# a single query. Example: user_attributes: [ ` key: "pets" value `
|
5248
|
-
# values: "cat" ` `, ` key: "state" value ` values: "CA" ` ` ]
|
5297
|
+
# string keys and repeated string values. * Duplicate keys are not allowed
|
5298
|
+
# within a single query. Example: user_attributes: [ ` key: "pets" value `
|
5299
|
+
# values: "dog" values: "cat" ` `, ` key: "state" value ` values: "CA" ` ` ]
|
5249
5300
|
# Corresponds to the JSON property `userAttributes`
|
5250
5301
|
# @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2StringList>]
|
5251
5302
|
attr_accessor :user_attributes
|
@@ -6798,6 +6849,12 @@ module Google
|
|
6798
6849
|
# @return [String]
|
6799
6850
|
attr_accessor :page_view_id
|
6800
6851
|
|
6852
|
+
# Optional. List of panels associated with this event. Used for panel-level
|
6853
|
+
# impression data.
|
6854
|
+
# Corresponds to the JSON property `panels`
|
6855
|
+
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2PanelInfo>]
|
6856
|
+
attr_accessor :panels
|
6857
|
+
|
6801
6858
|
# The main product details related to the event. This field is optional except
|
6802
6859
|
# for the following event types: * `add-to-cart` * `detail-page-view` * `
|
6803
6860
|
# purchase-complete` In a `search` event, this field represents the products
|
@@ -6885,6 +6942,7 @@ module Google
|
|
6885
6942
|
@order_by = args[:order_by] if args.key?(:order_by)
|
6886
6943
|
@page_categories = args[:page_categories] if args.key?(:page_categories)
|
6887
6944
|
@page_view_id = args[:page_view_id] if args.key?(:page_view_id)
|
6945
|
+
@panels = args[:panels] if args.key?(:panels)
|
6888
6946
|
@product_details = args[:product_details] if args.key?(:product_details)
|
6889
6947
|
@purchase_transaction = args[:purchase_transaction] if args.key?(:purchase_transaction)
|
6890
6948
|
@referrer_uri = args[:referrer_uri] if args.key?(:referrer_uri)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.121.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 = "
|
25
|
+
REVISION = "20250717"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -538,6 +538,12 @@ module Google
|
|
538
538
|
include Google::Apis::Core::JsonObjectSupport
|
539
539
|
end
|
540
540
|
|
541
|
+
class GoogleCloudRetailV2PanelInfo
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
|
+
|
544
|
+
include Google::Apis::Core::JsonObjectSupport
|
545
|
+
end
|
546
|
+
|
541
547
|
class GoogleCloudRetailV2PauseModelRequest
|
542
548
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
549
|
|
@@ -2412,6 +2418,19 @@ module Google
|
|
2412
2418
|
end
|
2413
2419
|
end
|
2414
2420
|
|
2421
|
+
class GoogleCloudRetailV2PanelInfo
|
2422
|
+
# @private
|
2423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2424
|
+
property :attribution_token, as: 'attributionToken'
|
2425
|
+
property :display_name, as: 'displayName'
|
2426
|
+
property :panel_id, as: 'panelId'
|
2427
|
+
property :panel_position, as: 'panelPosition'
|
2428
|
+
collection :product_details, as: 'productDetails', class: Google::Apis::RetailV2::GoogleCloudRetailV2ProductDetail, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ProductDetail::Representation
|
2429
|
+
|
2430
|
+
property :total_panels, as: 'totalPanels'
|
2431
|
+
end
|
2432
|
+
end
|
2433
|
+
|
2415
2434
|
class GoogleCloudRetailV2PauseModelRequest
|
2416
2435
|
# @private
|
2417
2436
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3275,6 +3294,8 @@ module Google
|
|
3275
3294
|
property :order_by, as: 'orderBy'
|
3276
3295
|
collection :page_categories, as: 'pageCategories'
|
3277
3296
|
property :page_view_id, as: 'pageViewId'
|
3297
|
+
collection :panels, as: 'panels', class: Google::Apis::RetailV2::GoogleCloudRetailV2PanelInfo, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PanelInfo::Representation
|
3298
|
+
|
3278
3299
|
collection :product_details, as: 'productDetails', class: Google::Apis::RetailV2::GoogleCloudRetailV2ProductDetail, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ProductDetail::Representation
|
3279
3300
|
|
3280
3301
|
property :purchase_transaction, as: 'purchaseTransaction', class: Google::Apis::RetailV2::GoogleCloudRetailV2PurchaseTransaction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PurchaseTransaction::Representation
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.121.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_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.121.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:
|