google-apis-retail_v2alpha 0.116.0 → 0.118.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ad341cc0f35a3fb458e671c06f56aeb36823c620f5f7ddb51dbfff6d61d855b
4
- data.tar.gz: b0fca19b6b251fa1bdea9566607f330cf2c29a8a87012aafeffe66688de84f40
3
+ metadata.gz: 68e4cf8bd484f0f653b961bd0c43bfad5d0704c2b659443502bd43466e530e0f
4
+ data.tar.gz: 2cb2f4607a498f741c994fc4c0aabf019ab87e66d52387e173d301004e2bc16f
5
5
  SHA512:
6
- metadata.gz: effce8b2c4000347168483bbebd0f7b3d8f2008214248ad684de027c13da6fe426d91de7dd508ab2c777bb26ae9fe3eb948163261f840668ca2dc08e843e01b2
7
- data.tar.gz: 302de305ff627fe4efdafd4ed127191dd0e5acaf57056d882f2bbad31ebe47684ac5ac773c3083e42171946ba8c321e672d97067ac00e3f4e0b928e512e26ee5
6
+ metadata.gz: 7c0288013ebc4e93f395cc7a6cfae9751b31b0dc7e9c6879cef4ed4734c18bf525be2d2985ff4078a53d0effd0a6c7f7aba088d31fff4d18d03aba65e517e369
7
+ data.tar.gz: 7ec174fa06010c778b54a52ae9d21971613660025a844667a47c0639c3d393eeb8b8fa95ccedc1265d394529d1cf1932ee8cd4479d4ccc6819fe76cbab04d105
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.118.0 (2025-06-01)
4
+
5
+ * Regenerated from discovery document revision 20250522
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.117.0 (2025-05-21)
9
+
10
+ * Regenerated from discovery document revision 20250515
11
+
3
12
  ### v0.116.0 (2025-05-18)
4
13
 
5
14
  * Regenerated from discovery document revision 20250508
@@ -3088,7 +3088,9 @@ module Google
3088
3088
  end
3089
3089
  end
3090
3090
 
3091
- # Suggested answers to the follow-up question.
3091
+ # Suggested answers to the follow-up question. If it's numerical attribute, only
3092
+ # ProductAttributeInterval will be set. If it's textual attribute, only
3093
+ # productAttributeValue will be set.
3092
3094
  class GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestionSuggestedAnswer
3093
3095
  include Google::Apis::Core::Hashable
3094
3096
 
@@ -3234,6 +3236,25 @@ module Google
3234
3236
  end
3235
3237
  end
3236
3238
 
3239
+ # A message with a list of double values.
3240
+ class GoogleCloudRetailV2alphaDoubleList
3241
+ include Google::Apis::Core::Hashable
3242
+
3243
+ # The list of double values.
3244
+ # Corresponds to the JSON property `values`
3245
+ # @return [Array<Float>]
3246
+ attr_accessor :values
3247
+
3248
+ def initialize(**args)
3249
+ update!(**args)
3250
+ end
3251
+
3252
+ # Update properties of this object
3253
+ def update!(**args)
3254
+ @values = args[:values] if args.key?(:values)
3255
+ end
3256
+ end
3257
+
3237
3258
  # Metadata related to the EnrollSolution method. This will be returned by the
3238
3259
  # google.longrunning.Operation.metadata field.
3239
3260
  class GoogleCloudRetailV2alphaEnrollSolutionMetadata
@@ -7448,6 +7469,15 @@ module Google
7448
7469
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec]
7449
7470
  attr_accessor :tile_navigation_spec
7450
7471
 
7472
+ # Optional. The user attributes that could be used for personalization of search
7473
+ # results. * Populate at most 100 key-value pairs per query. * Only supports
7474
+ # string keys and repeated string values. * Duplcate keys are not allowed within
7475
+ # a single query. Example: user_attributes: [ ` key: "pets" value ` values: "dog"
7476
+ # values: "cat" ` `, ` key: "state" value ` values: "CA" ` ` ]
7477
+ # Corresponds to the JSON property `userAttributes`
7478
+ # @return [Hash<String,Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaStringList>]
7479
+ attr_accessor :user_attributes
7480
+
7451
7481
  # Information of an end user.
7452
7482
  # Corresponds to the JSON property `userInfo`
7453
7483
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo]
@@ -7523,6 +7553,7 @@ module Google
7523
7553
  @search_mode = args[:search_mode] if args.key?(:search_mode)
7524
7554
  @spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
7525
7555
  @tile_navigation_spec = args[:tile_navigation_spec] if args.key?(:tile_navigation_spec)
7556
+ @user_attributes = args[:user_attributes] if args.key?(:user_attributes)
7526
7557
  @user_info = args[:user_info] if args.key?(:user_info)
7527
7558
  @variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
7528
7559
  @visitor_id = args[:visitor_id] if args.key?(:visitor_id)
@@ -8347,6 +8378,11 @@ module Google
8347
8378
  # @return [Hash<String,String>]
8348
8379
  attr_accessor :matching_variant_fields
8349
8380
 
8381
+ # Google provided available scores.
8382
+ # Corresponds to the JSON property `modelScores`
8383
+ # @return [Hash<String,Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaDoubleList>]
8384
+ attr_accessor :model_scores
8385
+
8350
8386
  # Specifies previous events related to this product for this user based on
8351
8387
  # UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set
8352
8388
  # only when SearchRequest.PersonalizationSpec.mode is SearchRequest.
@@ -8388,6 +8424,7 @@ module Google
8388
8424
  @id = args[:id] if args.key?(:id)
8389
8425
  @matching_variant_count = args[:matching_variant_count] if args.key?(:matching_variant_count)
8390
8426
  @matching_variant_fields = args[:matching_variant_fields] if args.key?(:matching_variant_fields)
8427
+ @model_scores = args[:model_scores] if args.key?(:model_scores)
8391
8428
  @personal_labels = args[:personal_labels] if args.key?(:personal_labels)
8392
8429
  @product = args[:product] if args.key?(:product)
8393
8430
  @variant_rollup_values = args[:variant_rollup_values] if args.key?(:variant_rollup_values)
@@ -8724,6 +8761,25 @@ module Google
8724
8761
  end
8725
8762
  end
8726
8763
 
8764
+ # A list of string values.
8765
+ class GoogleCloudRetailV2alphaStringList
8766
+ include Google::Apis::Core::Hashable
8767
+
8768
+ # String values.
8769
+ # Corresponds to the JSON property `values`
8770
+ # @return [Array<String>]
8771
+ attr_accessor :values
8772
+
8773
+ def initialize(**args)
8774
+ update!(**args)
8775
+ end
8776
+
8777
+ # Update properties of this object
8778
+ def update!(**args)
8779
+ @values = args[:values] if args.key?(:values)
8780
+ end
8781
+ end
8782
+
8727
8783
  # This field specifies the tile information including an attribute key,
8728
8784
  # attribute value. More fields will be added in the future, eg: product id or
8729
8785
  # product counts, etc.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2alpha
18
18
  # Version of the google-apis-retail_v2alpha gem
19
- GEM_VERSION = "0.116.0"
19
+ GEM_VERSION = "0.118.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250508"
25
+ REVISION = "20250522"
26
26
  end
27
27
  end
28
28
  end
@@ -616,6 +616,12 @@ module Google
616
616
  include Google::Apis::Core::JsonObjectSupport
617
617
  end
618
618
 
619
+ class GoogleCloudRetailV2alphaDoubleList
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
619
625
  class GoogleCloudRetailV2alphaEnrollSolutionMetadata
620
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
621
627
 
@@ -1432,6 +1438,12 @@ module Google
1432
1438
  include Google::Apis::Core::JsonObjectSupport
1433
1439
  end
1434
1440
 
1441
+ class GoogleCloudRetailV2alphaStringList
1442
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1443
+
1444
+ include Google::Apis::Core::JsonObjectSupport
1445
+ end
1446
+
1435
1447
  class GoogleCloudRetailV2alphaTile
1436
1448
  class Representation < Google::Apis::Core::JsonRepresentation; end
1437
1449
 
@@ -2640,6 +2652,13 @@ module Google
2640
2652
  end
2641
2653
  end
2642
2654
 
2655
+ class GoogleCloudRetailV2alphaDoubleList
2656
+ # @private
2657
+ class Representation < Google::Apis::Core::JsonRepresentation
2658
+ collection :values, as: 'values'
2659
+ end
2660
+ end
2661
+
2643
2662
  class GoogleCloudRetailV2alphaEnrollSolutionMetadata
2644
2663
  # @private
2645
2664
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3714,6 +3733,8 @@ module Google
3714
3733
 
3715
3734
  property :tile_navigation_spec, as: 'tileNavigationSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec::Representation
3716
3735
 
3736
+ hash :user_attributes, as: 'userAttributes', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaStringList, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaStringList::Representation
3737
+
3717
3738
  property :user_info, as: 'userInfo', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo::Representation
3718
3739
 
3719
3740
  collection :variant_rollup_keys, as: 'variantRollupKeys'
@@ -3927,6 +3948,8 @@ module Google
3927
3948
  property :id, as: 'id'
3928
3949
  property :matching_variant_count, as: 'matchingVariantCount'
3929
3950
  hash :matching_variant_fields, as: 'matchingVariantFields'
3951
+ hash :model_scores, as: 'modelScores', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaDoubleList, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaDoubleList::Representation
3952
+
3930
3953
  collection :personal_labels, as: 'personalLabels'
3931
3954
  property :product, as: 'product', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct::Representation
3932
3955
 
@@ -4002,6 +4025,13 @@ module Google
4002
4025
  end
4003
4026
  end
4004
4027
 
4028
+ class GoogleCloudRetailV2alphaStringList
4029
+ # @private
4030
+ class Representation < Google::Apis::Core::JsonRepresentation
4031
+ collection :values, as: 'values'
4032
+ end
4033
+ end
4034
+
4005
4035
  class GoogleCloudRetailV2alphaTile
4006
4036
  # @private
4007
4037
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.116.0
4
+ version: 0.118.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.116.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.118.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Vertex AI Search for commerce API V2alpha
79
79
  test_files: []