Skip to content

Commit 283ddcf

Browse files
feat: Automated regeneration of retail v2 client (googleapis#22099)
Auto-created at 2025-03-16 10:07:46 +0000 using the toys pull request generator.
1 parent 58096ba commit 283ddcf

File tree

6 files changed

+21
-7
lines changed

6 files changed

+21
-7
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304057,6 +304057,7 @@
304057304057
"/retail:v2/GoogleCloudRetailV2SearchRequest/pageSize": page_size
304058304058
"/retail:v2/GoogleCloudRetailV2SearchRequest/pageToken": page_token
304059304059
"/retail:v2/GoogleCloudRetailV2SearchRequest/personalizationSpec": personalization_spec
304060+
"/retail:v2/GoogleCloudRetailV2SearchRequest/placeId": place_id
304060304061
"/retail:v2/GoogleCloudRetailV2SearchRequest/query": query
304061304062
"/retail:v2/GoogleCloudRetailV2SearchRequest/queryExpansionSpec": query_expansion_spec
304062304063
"/retail:v2/GoogleCloudRetailV2SearchRequest/regionCode": region_code

generated/google-apis-retail_v2/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_v2
22

3+
### v0.112.0 (2025-03-16)
4+
5+
* Regenerated from discovery document revision 20250314
6+
37
### v0.111.0 (2025-03-09)
48

59
* Regenerated from discovery document revision 20250227

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5015,6 +5015,13 @@ class GoogleCloudRetailV2SearchRequest
50155015
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestPersonalizationSpec]
50165016
attr_accessor :personalization_spec
50175017

5018+
# Optional. An id corresponding to a place, such as a store id or region id.
5019+
# When specified, we use the price from the local inventory with the matching
5020+
# product's LocalInventory.place_id for revenue optimization.
5021+
# Corresponds to the JSON property `placeId`
5022+
# @return [String]
5023+
attr_accessor :place_id
5024+
50185025
# Raw search query. If this field is empty, the request is considered a category
50195026
# browsing request and returned results are based on filter and page_categories.
50205027
# Corresponds to the JSON property `query`
@@ -5118,6 +5125,7 @@ def update!(**args)
51185125
@page_size = args[:page_size] if args.key?(:page_size)
51195126
@page_token = args[:page_token] if args.key?(:page_token)
51205127
@personalization_spec = args[:personalization_spec] if args.key?(:personalization_spec)
5128+
@place_id = args[:place_id] if args.key?(:place_id)
51215129
@query = args[:query] if args.key?(:query)
51225130
@query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
51235131
@region_code = args[:region_code] if args.key?(:region_code)

generated/google-apis-retail_v2/lib/google/apis/retail_v2/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 RetailV2
1818
# Version of the google-apis-retail_v2 gem
19-
GEM_VERSION = "0.111.0"
19+
GEM_VERSION = "0.112.0"
2020

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

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2811,6 +2811,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
28112811
property :page_token, as: 'pageToken'
28122812
property :personalization_spec, as: 'personalizationSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestPersonalizationSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestPersonalizationSpec::Representation
28132813

2814+
property :place_id, as: 'placeId'
28142815
property :query, as: 'query'
28152816
property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec::Representation
28162817

generated/google-apis-retail_v2/lib/google/apis/retail_v2/service.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ def initialize
101101
# Required. The query used to generate suggestions. The maximum number of
102102
# allowed characters is 255.
103103
# @param [String] visitor_id
104-
# Required field. A unique identifier for tracking visitors. For example, this
105-
# could be implemented with an HTTP cookie, which should be able to uniquely
106-
# identify a visitor on a single device. This unique identifier should not
107-
# change if the visitor logs in or out of the website. The field must be a UTF-8
108-
# encoded string with a length limit of 128 characters. Otherwise, an
104+
# Recommended field. A unique identifier for tracking visitors. For example,
105+
# this could be implemented with an HTTP cookie, which should be able to
106+
# uniquely identify a visitor on a single device. This unique identifier should
107+
# not change if the visitor logs in or out of the website. The field must be a
108+
# UTF-8 encoded string with a length limit of 128 characters. Otherwise, an
109109
# INVALID_ARGUMENT error is returned.
110110
# @param [String] fields
111111
# Selector specifying which fields to include in a partial response.

0 commit comments

Comments
 (0)