Skip to content

Commit 8135a0c

Browse files
feat: Automated regeneration of retail v2alpha client (googleapis#23440)
Auto-created at 2025-06-15 10:33:45 +0000 using the toys pull request generator.
1 parent 147c13c commit 8135a0c

File tree

5 files changed

+33
-2
lines changed

5 files changed

+33
-2
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316102,6 +316102,8 @@
316102316102
"/retail:v2alpha/GoogleCloudRetailV2alphaConversationalSearchRequest/query": query
316103316103
"/retail:v2alpha/GoogleCloudRetailV2alphaConversationalSearchRequest/searchParams": search_params
316104316104
"/retail:v2alpha/GoogleCloudRetailV2alphaConversationalSearchRequest/userInfo": user_info
316105+
"/retail:v2alpha/GoogleCloudRetailV2alphaConversationalSearchRequest/userLabels": user_labels
316106+
"/retail:v2alpha/GoogleCloudRetailV2alphaConversationalSearchRequest/userLabels/user_label": user_label
316105316107
"/retail:v2alpha/GoogleCloudRetailV2alphaConversationalSearchRequest/visitorId": visitor_id
316106316108
"/retail:v2alpha/GoogleCloudRetailV2alphaConversationalSearchRequestConversationalFilteringSpec": google_cloud_retail_v2alpha_conversational_search_request_conversational_filtering_spec
316107316109
"/retail:v2alpha/GoogleCloudRetailV2alphaConversationalSearchRequestConversationalFilteringSpec/conversationalFilteringMode": conversational_filtering_mode
@@ -316641,6 +316643,7 @@
316641316643
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchRequest/conversationalSearchSpec": conversational_search_spec
316642316644
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchRequest/dynamicFacetSpec": dynamic_facet_spec
316643316645
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchRequest/entity": entity
316646+
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchRequest/experimentId": experiment_id
316644316647
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchRequest/facetSpecs": facet_specs
316645316648
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchRequest/facetSpecs/facet_spec": facet_spec
316646316649
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchRequest/filter": filter

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.119.0 (2025-06-15)
4+
5+
* Regenerated from discovery document revision 20250605
6+
37
### v0.118.0 (2025-06-01)
48

59
* Regenerated from discovery document revision 20250522

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2826,6 +2826,21 @@ class GoogleCloudRetailV2alphaConversationalSearchRequest
28262826
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo]
28272827
attr_accessor :user_info
28282828

2829+
# Optional. The user labels applied to a resource must meet the following
2830+
# requirements: * Each resource can have multiple labels, up to a maximum of 64.
2831+
# * Each label must be a key-value pair. * Keys have a minimum length of 1
2832+
# character and a maximum length of 63 characters and cannot be empty. Values
2833+
# can be empty and have a maximum length of 63 characters. * Keys and values can
2834+
# contain only lowercase letters, numeric characters, underscores, and dashes.
2835+
# All characters must use UTF-8 encoding, and international characters are
2836+
# allowed. * The key portion of a label must be unique. However, you can use the
2837+
# same key with multiple resources. * Keys must start with a lowercase letter or
2838+
# international character. See [Google Cloud Document](https://cloud.google.com/
2839+
# resource-manager/docs/creating-managing-labels#requirements) for more details.
2840+
# Corresponds to the JSON property `userLabels`
2841+
# @return [Hash<String,String>]
2842+
attr_accessor :user_labels
2843+
28292844
# Required. A unique identifier for tracking visitors. For example, this could
28302845
# be implemented with an HTTP cookie, which should be able to uniquely identify
28312846
# a visitor on a single device. This unique identifier should not change if the
@@ -2849,6 +2864,7 @@ def update!(**args)
28492864
@query = args[:query] if args.key?(:query)
28502865
@search_params = args[:search_params] if args.key?(:search_params)
28512866
@user_info = args[:user_info] if args.key?(:user_info)
2867+
@user_labels = args[:user_labels] if args.key?(:user_labels)
28522868
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
28532869
end
28542870
end
@@ -7328,6 +7344,11 @@ class GoogleCloudRetailV2alphaSearchRequest
73287344
# @return [String]
73297345
attr_accessor :entity
73307346

7347+
# Optional. An ID for the experiment group this search belongs to.
7348+
# Corresponds to the JSON property `experimentId`
7349+
# @return [String]
7350+
attr_accessor :experiment_id
7351+
73317352
# Facet specifications for faceted search. If empty, no facets are returned. A
73327353
# maximum of 200 values are allowed. Otherwise, an INVALID_ARGUMENT error is
73337354
# returned.
@@ -7535,6 +7556,7 @@ def update!(**args)
75357556
@conversational_search_spec = args[:conversational_search_spec] if args.key?(:conversational_search_spec)
75367557
@dynamic_facet_spec = args[:dynamic_facet_spec] if args.key?(:dynamic_facet_spec)
75377558
@entity = args[:entity] if args.key?(:entity)
7559+
@experiment_id = args[:experiment_id] if args.key?(:experiment_id)
75387560
@facet_specs = args[:facet_specs] if args.key?(:facet_specs)
75397561
@filter = args[:filter] if args.key?(:filter)
75407562
@labels = args[:labels] if args.key?(:labels)

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.118.0"
19+
GEM_VERSION = "0.119.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 = "20250522"
25+
REVISION = "20250605"
2626
end
2727
end
2828
end

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2532,6 +2532,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
25322532

25332533
property :user_info, as: 'userInfo', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo::Representation
25342534

2535+
hash :user_labels, as: 'userLabels'
25352536
property :visitor_id, as: 'visitorId'
25362537
end
25372538
end
@@ -3710,6 +3711,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
37103711
property :dynamic_facet_spec, as: 'dynamicFacetSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec::Representation
37113712

37123713
property :entity, as: 'entity'
3714+
property :experiment_id, as: 'experimentId'
37133715
collection :facet_specs, as: 'facetSpecs', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestFacetSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestFacetSpec::Representation
37143716

37153717
property :filter, as: 'filter'

0 commit comments

Comments
 (0)