Skip to content

Commit 5f433ae

Browse files
feat: Automated regeneration of retail v2alpha client (googleapis#23196)
Auto-created at 2025-05-21 20:42:21 +0000 using the toys pull request generator.
1 parent 9c1758d commit 5f433ae

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
@@ -314159,6 +314159,9 @@
314159314159
"/retail:v2alpha/GoogleCloudRetailV2alphaCustomAttribute/searchable": searchable
314160314160
"/retail:v2alpha/GoogleCloudRetailV2alphaCustomAttribute/text": text
314161314161
"/retail:v2alpha/GoogleCloudRetailV2alphaCustomAttribute/text/text": text
314162+
"/retail:v2alpha/GoogleCloudRetailV2alphaDoubleList": google_cloud_retail_v2alpha_double_list
314163+
"/retail:v2alpha/GoogleCloudRetailV2alphaDoubleList/values": values
314164+
"/retail:v2alpha/GoogleCloudRetailV2alphaDoubleList/values/value": value
314162314165
"/retail:v2alpha/GoogleCloudRetailV2alphaEnrollSolutionMetadata": google_cloud_retail_v2alpha_enroll_solution_metadata
314163314166
"/retail:v2alpha/GoogleCloudRetailV2alphaEnrollSolutionRequest": google_cloud_retail_v2alpha_enroll_solution_request
314164314167
"/retail:v2alpha/GoogleCloudRetailV2alphaEnrollSolutionRequest/searchSolutionUseCase": search_solution_use_case
@@ -314777,6 +314780,8 @@
314777314780
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchResponseSearchResult/matchingVariantCount": matching_variant_count
314778314781
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchResponseSearchResult/matchingVariantFields": matching_variant_fields
314779314782
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchResponseSearchResult/matchingVariantFields/matching_variant_field": matching_variant_field
314783+
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchResponseSearchResult/modelScores": model_scores
314784+
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchResponseSearchResult/modelScores/model_score": model_score
314780314785
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchResponseSearchResult/personalLabels": personal_labels
314781314786
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchResponseSearchResult/personalLabels/personal_label": personal_label
314782314787
"/retail:v2alpha/GoogleCloudRetailV2alphaSearchResponseSearchResult/product": product

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

59
* Regenerated from discovery document revision 20250508

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3234,6 +3234,25 @@ def update!(**args)
32343234
end
32353235
end
32363236

3237+
# A message with a list of double values.
3238+
class GoogleCloudRetailV2alphaDoubleList
3239+
include Google::Apis::Core::Hashable
3240+
3241+
# The list of double values.
3242+
# Corresponds to the JSON property `values`
3243+
# @return [Array<Float>]
3244+
attr_accessor :values
3245+
3246+
def initialize(**args)
3247+
update!(**args)
3248+
end
3249+
3250+
# Update properties of this object
3251+
def update!(**args)
3252+
@values = args[:values] if args.key?(:values)
3253+
end
3254+
end
3255+
32373256
# Metadata related to the EnrollSolution method. This will be returned by the
32383257
# google.longrunning.Operation.metadata field.
32393258
class GoogleCloudRetailV2alphaEnrollSolutionMetadata
@@ -8347,6 +8366,11 @@ class GoogleCloudRetailV2alphaSearchResponseSearchResult
83478366
# @return [Hash<String,String>]
83488367
attr_accessor :matching_variant_fields
83498368

8369+
# Google provided available scores.
8370+
# Corresponds to the JSON property `modelScores`
8371+
# @return [Hash<String,Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaDoubleList>]
8372+
attr_accessor :model_scores
8373+
83508374
# Specifies previous events related to this product for this user based on
83518375
# UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set
83528376
# only when SearchRequest.PersonalizationSpec.mode is SearchRequest.
@@ -8388,6 +8412,7 @@ def update!(**args)
83888412
@id = args[:id] if args.key?(:id)
83898413
@matching_variant_count = args[:matching_variant_count] if args.key?(:matching_variant_count)
83908414
@matching_variant_fields = args[:matching_variant_fields] if args.key?(:matching_variant_fields)
8415+
@model_scores = args[:model_scores] if args.key?(:model_scores)
83918416
@personal_labels = args[:personal_labels] if args.key?(:personal_labels)
83928417
@product = args[:product] if args.key?(:product)
83938418
@variant_rollup_values = args[:variant_rollup_values] if args.key?(:variant_rollup_values)

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.116.0"
19+
GEM_VERSION = "0.117.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_v2alpha/lib/google/apis/retail_v2alpha/representations.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
616616
include Google::Apis::Core::JsonObjectSupport
617617
end
618618

619+
class GoogleCloudRetailV2alphaDoubleList
620+
class Representation < Google::Apis::Core::JsonRepresentation; end
621+
622+
include Google::Apis::Core::JsonObjectSupport
623+
end
624+
619625
class GoogleCloudRetailV2alphaEnrollSolutionMetadata
620626
class Representation < Google::Apis::Core::JsonRepresentation; end
621627

@@ -2640,6 +2646,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
26402646
end
26412647
end
26422648

2649+
class GoogleCloudRetailV2alphaDoubleList
2650+
# @private
2651+
class Representation < Google::Apis::Core::JsonRepresentation
2652+
collection :values, as: 'values'
2653+
end
2654+
end
2655+
26432656
class GoogleCloudRetailV2alphaEnrollSolutionMetadata
26442657
# @private
26452658
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3927,6 +3940,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
39273940
property :id, as: 'id'
39283941
property :matching_variant_count, as: 'matchingVariantCount'
39293942
hash :matching_variant_fields, as: 'matchingVariantFields'
3943+
hash :model_scores, as: 'modelScores', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaDoubleList, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaDoubleList::Representation
3944+
39303945
collection :personal_labels, as: 'personalLabels'
39313946
property :product, as: 'product', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct::Representation
39323947

0 commit comments

Comments
 (0)