Skip to content

Commit 54b4c59

Browse files
feat: Automated regeneration of retail v2alpha client (#25960)
Auto-created at 2026-03-15 10:51:05 +0000 using the toys pull request generator.
1 parent 8909c8b commit 54b4c59

3 files changed

Lines changed: 43 additions & 37 deletions

File tree

generated/google-apis-retail_v2alpha/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_v2alpha
22

3+
### v0.134.0 (2026-03-15)
4+
5+
* Regenerated from discovery document revision 20260219
6+
37
### v0.133.0 (2026-02-08)
48

59
* Regenerated from discovery document revision 20260129

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

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2832,11 +2832,12 @@ class GoogleCloudRetailV2alphaConversationalSearchRequest
28322832

28332833
# Optional. The categories associated with a category page. Must be set for
28342834
# category navigation queries to achieve good search quality. The format should
2835-
# be the same as UserEvent.page_categories; To represent full path of category,
2836-
# use '>' sign to separate different hierarchies. If '>' is part of the category
2837-
# name, replace it with other character(s). Category pages include special pages
2838-
# such as sales or promotions. For instance, a special sale page may have the
2839-
# category hierarchy: "pageCategories" : ["Sales > 2017 Black Friday Deals"].
2835+
# be the same as UserEvent.page_categories; To represent the full path of
2836+
# category, use the '>' sign, with one space on each side, to separate different
2837+
# hierarchies. If '>' is part of the category name, replace it with other
2838+
# character(s). Category pages include special pages such as sales or promotions.
2839+
# For instance, a special sale page may have the category hierarchy: "
2840+
# pageCategories" : ["Sales > 2017 Black Friday Deals"].
28402841
# Corresponds to the JSON property `pageCategories`
28412842
# @return [Array<String>]
28422843
attr_accessor :page_categories
@@ -5905,20 +5906,20 @@ class GoogleCloudRetailV2alphaProduct
59055906
# @return [Array<String>]
59065907
attr_accessor :brands
59075908

5908-
# Product categories. This field is repeated for supporting one product
5909-
# belonging to several parallel categories. Strongly recommended using the full
5910-
# path for better search / recommendation quality. To represent full path of
5911-
# category, use '>' sign to separate different hierarchies. If '>' is part of
5912-
# the category name, replace it with other character(s). For example, if a shoes
5913-
# product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports &
5914-
# Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "
5915-
# categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic
5916-
# Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an
5917-
# INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product
5918-
# unless overridden through the Google Cloud console. Empty values are not
5919-
# allowed. Each value must be a UTF-8 encoded string with a length limit of 5,
5920-
# 000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
5921-
# Corresponding properties: Google Merchant Center property
5909+
# Optional. Product categories. This field is repeated for supporting one
5910+
# product belonging to several parallel categories. Strongly recommended using
5911+
# the full path for better search / recommendation quality. To represent the
5912+
# full path of category, use the '>' sign, with one space on each side, to
5913+
# separate different hierarchies. If '>' is part of the category name, replace
5914+
# it with other character(s). For example, if a shoes product belongs to both ["
5915+
# Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing"
5916+
# -> "Shoes"], it could be represented as: "categories": [ "Shoes & Accessories
5917+
# > Shoes", "Sports & Fitness > Athletic Clothing > Shoes" ] Must be set for
5918+
# Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most
5919+
# 250 values are allowed per Product unless overridden through the Google Cloud
5920+
# console. Empty values are not allowed. Each value must be a UTF-8 encoded
5921+
# string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT
5922+
# error is returned. Corresponding properties: Google Merchant Center property
59225923
# google_product_category. Schema.org property [Product.category] (https://
59235924
# schema.org/category). [mc_google_product_category]: https://support.google.com/
59245925
# merchants/answer/6324436
@@ -7651,13 +7652,14 @@ class GoogleCloudRetailV2alphaSearchRequest
76517652
# @return [String]
76527653
attr_accessor :order_by
76537654

7654-
# The categories associated with a category page. Must be set for category
7655-
# navigation queries to achieve good search quality. The format should be the
7656-
# same as UserEvent.page_categories; To represent full path of category, use '>'
7657-
# sign to separate different hierarchies. If '>' is part of the category name,
7658-
# replace it with other character(s). Category pages include special pages such
7659-
# as sales or promotions. For instance, a special sale page may have the
7660-
# category hierarchy: "pageCategories" : ["Sales > 2017 Black Friday Deals"].
7655+
# Optional. The categories associated with a category page. Must be set for
7656+
# category navigation queries to achieve good search quality. The format should
7657+
# be the same as UserEvent.page_categories; To represent the full path of
7658+
# category, use '>' sign, with one space on each side, to separate different
7659+
# hierarchies. If '>' is part of the category name, replace it with other
7660+
# character(s). Category pages include special pages such as sales or promotions.
7661+
# For instance, a special sale page may have the category hierarchy: "
7662+
# pageCategories" : ["Sales > 2017 Black Friday Deals"].
76617663
# Corresponds to the JSON property `pageCategories`
76627664
# @return [Array<String>]
76637665
attr_accessor :page_categories
@@ -9296,15 +9298,15 @@ class GoogleCloudRetailV2alphaUserEvent
92969298
# @return [String]
92979299
attr_accessor :order_by
92989300

9299-
# The categories associated with a category page. To represent full path of
9300-
# category, use '>' sign to separate different hierarchies. If '>' is part of
9301-
# the category name, replace it with other character(s). Category pages include
9302-
# special pages such as sales or promotions. For instance, a special sale page
9303-
# may have the category hierarchy: "pageCategories" : ["Sales > 2017 Black
9304-
# Friday Deals"]. Required for `category-page-view` events. At least one of
9305-
# search_query or page_categories is required for `search` events. Other event
9306-
# types should not set this field. Otherwise, an INVALID_ARGUMENT error is
9307-
# returned.
9301+
# Optional. The categories associated with a category page. To represent the
9302+
# full path of category, use the '>' sign, with one space on each side, to
9303+
# separate different hierarchies. If '>' is part of the category name, replace
9304+
# it with other character(s). Category pages include special pages such as sales
9305+
# or promotions. For instance, a special sale page may have the category
9306+
# hierarchy: "pageCategories" : ["Sales > 2017 Black Friday Deals"]. Required
9307+
# for `category-page-view` events. At least one of search_query or
9308+
# page_categories is required for `search` events. Other event types should not
9309+
# set this field. Otherwise, an INVALID_ARGUMENT error is returned.
93089310
# Corresponds to the JSON property `pageCategories`
93099311
# @return [Array<String>]
93109312
attr_accessor :page_categories

generated/google-apis-retail_v2alpha/lib/google/apis/retail_v2alpha/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 RetailV2alpha
1818
# Version of the google-apis-retail_v2alpha gem
19-
GEM_VERSION = "0.133.0"
19+
GEM_VERSION = "0.134.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 = "20260129"
25+
REVISION = "20260219"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)