Skip to content

Commit 958d27a

Browse files
feat: Automated regeneration of retail v2beta client (googleapis#23206)
Auto-created at 2025-05-21 21:10:08 +0000 using the toys pull request generator.
1 parent 1cc4cc1 commit 958d27a

File tree

5 files changed

+51
-2
lines changed

5 files changed

+51
-2
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315835,6 +315835,9 @@
315835315835
"/retail:v2beta/GoogleCloudRetailV2betaCustomAttribute/searchable": searchable
315836315836
"/retail:v2beta/GoogleCloudRetailV2betaCustomAttribute/text": text
315837315837
"/retail:v2beta/GoogleCloudRetailV2betaCustomAttribute/text/text": text
315838+
"/retail:v2beta/GoogleCloudRetailV2betaDoubleList": google_cloud_retail_v2beta_double_list
315839+
"/retail:v2beta/GoogleCloudRetailV2betaDoubleList/values": values
315840+
"/retail:v2beta/GoogleCloudRetailV2betaDoubleList/values/value": value
315838315841
"/retail:v2beta/GoogleCloudRetailV2betaExperimentInfo": google_cloud_retail_v2beta_experiment_info
315839315842
"/retail:v2beta/GoogleCloudRetailV2betaExperimentInfo/experiment": experiment
315840315843
"/retail:v2beta/GoogleCloudRetailV2betaExperimentInfo/experimentName": experiment_name
@@ -316402,6 +316405,8 @@
316402316405
"/retail:v2beta/GoogleCloudRetailV2betaSearchResponseSearchResult/matchingVariantCount": matching_variant_count
316403316406
"/retail:v2beta/GoogleCloudRetailV2betaSearchResponseSearchResult/matchingVariantFields": matching_variant_fields
316404316407
"/retail:v2beta/GoogleCloudRetailV2betaSearchResponseSearchResult/matchingVariantFields/matching_variant_field": matching_variant_field
316408+
"/retail:v2beta/GoogleCloudRetailV2betaSearchResponseSearchResult/modelScores": model_scores
316409+
"/retail:v2beta/GoogleCloudRetailV2betaSearchResponseSearchResult/modelScores/model_score": model_score
316405316410
"/retail:v2beta/GoogleCloudRetailV2betaSearchResponseSearchResult/personalLabels": personal_labels
316406316411
"/retail:v2beta/GoogleCloudRetailV2betaSearchResponseSearchResult/personalLabels/personal_label": personal_label
316407316412
"/retail:v2beta/GoogleCloudRetailV2betaSearchResponseSearchResult/product": product

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.112.0 (2025-05-21)
4+
5+
* Regenerated from discovery document revision 20250515
6+
37
### v0.111.0 (2025-05-18)
48

59
* Regenerated from discovery document revision 20250508

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3934,6 +3934,25 @@ def update!(**args)
39343934
end
39353935
end
39363936

3937+
# A message with a list of double values.
3938+
class GoogleCloudRetailV2betaDoubleList
3939+
include Google::Apis::Core::Hashable
3940+
3941+
# The list of double values.
3942+
# Corresponds to the JSON property `values`
3943+
# @return [Array<Float>]
3944+
attr_accessor :values
3945+
3946+
def initialize(**args)
3947+
update!(**args)
3948+
end
3949+
3950+
# Update properties of this object
3951+
def update!(**args)
3952+
@values = args[:values] if args.key?(:values)
3953+
end
3954+
end
3955+
39373956
# Metadata for active A/B testing experiment.
39383957
class GoogleCloudRetailV2betaExperimentInfo
39393958
include Google::Apis::Core::Hashable
@@ -8533,6 +8552,11 @@ class GoogleCloudRetailV2betaSearchResponseSearchResult
85338552
# @return [Hash<String,String>]
85348553
attr_accessor :matching_variant_fields
85358554

8555+
# Google provided available scores.
8556+
# Corresponds to the JSON property `modelScores`
8557+
# @return [Hash<String,Google::Apis::RetailV2beta::GoogleCloudRetailV2betaDoubleList>]
8558+
attr_accessor :model_scores
8559+
85368560
# Specifies previous events related to this product for this user based on
85378561
# UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set
85388562
# only when SearchRequest.PersonalizationSpec.mode is SearchRequest.
@@ -8574,6 +8598,7 @@ def update!(**args)
85748598
@id = args[:id] if args.key?(:id)
85758599
@matching_variant_count = args[:matching_variant_count] if args.key?(:matching_variant_count)
85768600
@matching_variant_fields = args[:matching_variant_fields] if args.key?(:matching_variant_fields)
8601+
@model_scores = args[:model_scores] if args.key?(:model_scores)
85778602
@personal_labels = args[:personal_labels] if args.key?(:personal_labels)
85788603
@product = args[:product] if args.key?(:product)
85798604
@variant_rollup_values = args[:variant_rollup_values] if args.key?(:variant_rollup_values)

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.111.0"
19+
GEM_VERSION = "0.112.0"
2020

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

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

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
796796
include Google::Apis::Core::JsonObjectSupport
797797
end
798798

799+
class GoogleCloudRetailV2betaDoubleList
800+
class Representation < Google::Apis::Core::JsonRepresentation; end
801+
802+
include Google::Apis::Core::JsonObjectSupport
803+
end
804+
799805
class GoogleCloudRetailV2betaExperimentInfo
800806
class Representation < Google::Apis::Core::JsonRepresentation; end
801807

@@ -2732,6 +2738,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
27322738
end
27332739
end
27342740

2741+
class GoogleCloudRetailV2betaDoubleList
2742+
# @private
2743+
class Representation < Google::Apis::Core::JsonRepresentation
2744+
collection :values, as: 'values'
2745+
end
2746+
end
2747+
27352748
class GoogleCloudRetailV2betaExperimentInfo
27362749
# @private
27372750
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3878,6 +3891,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
38783891
property :id, as: 'id'
38793892
property :matching_variant_count, as: 'matchingVariantCount'
38803893
hash :matching_variant_fields, as: 'matchingVariantFields'
3894+
hash :model_scores, as: 'modelScores', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaDoubleList, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaDoubleList::Representation
3895+
38813896
collection :personal_labels, as: 'personalLabels'
38823897
property :product, as: 'product', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct::Representation
38833898

0 commit comments

Comments
 (0)