google-apis-retail_v2alpha 0.117.0 → 0.119.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: 42e1a6775c9f3c2c5279d8f68d21f3f6dd68d92efbdaadbea11cb1033f64b978
4
- data.tar.gz: 04f08e3e8bd02d8e841cfc96b1c5dbfb4470b4b83fc136b9bfde3f4a3923fec5
3
+ metadata.gz: 59784873290ef5cc6552bc6fe4612dee9b8f125a067fddcc8ab7e9efd0dec6d5
4
+ data.tar.gz: 074a9bdcdc09b717a8a6277e209295f932d2f8c169f8128e7340b4295dd31d0d
5
5
  SHA512:
6
- metadata.gz: 6e964f94f816c2887d70f2e6fd9ffc22b9962a1db64c63e507e223fda8b4fa476ad9a6aa0de76c9b9b25b720655e60a3d375ec96beebccec781d2c35e3acdab3
7
- data.tar.gz: cf389802aef7aea6e29cff8d2393f87703fd0086da250088d30b1eaabea8c82730dc7b6d651b6776b485bf9ab2605a0bf2e15ee10c2f8ac5f19f3401bf5fc584
6
+ metadata.gz: 711fcb08d8e82b153b630ed736bc639250510ba115e026ccc7e94c09d4e1a1b18496cae78cc129235352819f4abd10699c76d3f5f18f6021b26928571f55ecc5
7
+ data.tar.gz: c8119fa84c754c2ba736f8cf1f200cfba452713579f94ebf09268747cf3b2e09a9cf428748881c4a4909d429653c8a36da304404e671c232aa005eba0e3d760a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.119.0 (2025-06-15)
4
+
5
+ * Regenerated from discovery document revision 20250605
6
+
7
+ ### v0.118.0 (2025-06-01)
8
+
9
+ * Regenerated from discovery document revision 20250522
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.117.0 (2025-05-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20250515
@@ -2826,6 +2826,21 @@ module Google
2826
2826
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo]
2827
2827
  attr_accessor :user_info
2828
2828
 
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
+
2829
2844
  # Required. A unique identifier for tracking visitors. For example, this could
2830
2845
  # be implemented with an HTTP cookie, which should be able to uniquely identify
2831
2846
  # a visitor on a single device. This unique identifier should not change if the
@@ -2849,6 +2864,7 @@ module Google
2849
2864
  @query = args[:query] if args.key?(:query)
2850
2865
  @search_params = args[:search_params] if args.key?(:search_params)
2851
2866
  @user_info = args[:user_info] if args.key?(:user_info)
2867
+ @user_labels = args[:user_labels] if args.key?(:user_labels)
2852
2868
  @visitor_id = args[:visitor_id] if args.key?(:visitor_id)
2853
2869
  end
2854
2870
  end
@@ -3088,7 +3104,9 @@ module Google
3088
3104
  end
3089
3105
  end
3090
3106
 
3091
- # Suggested answers to the follow-up question.
3107
+ # Suggested answers to the follow-up question. If it's numerical attribute, only
3108
+ # ProductAttributeInterval will be set. If it's textual attribute, only
3109
+ # productAttributeValue will be set.
3092
3110
  class GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestionSuggestedAnswer
3093
3111
  include Google::Apis::Core::Hashable
3094
3112
 
@@ -7326,6 +7344,11 @@ module Google
7326
7344
  # @return [String]
7327
7345
  attr_accessor :entity
7328
7346
 
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
+
7329
7352
  # Facet specifications for faceted search. If empty, no facets are returned. A
7330
7353
  # maximum of 200 values are allowed. Otherwise, an INVALID_ARGUMENT error is
7331
7354
  # returned.
@@ -7467,6 +7490,15 @@ module Google
7467
7490
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec]
7468
7491
  attr_accessor :tile_navigation_spec
7469
7492
 
7493
+ # Optional. The user attributes that could be used for personalization of search
7494
+ # results. * Populate at most 100 key-value pairs per query. * Only supports
7495
+ # string keys and repeated string values. * Duplcate keys are not allowed within
7496
+ # a single query. Example: user_attributes: [ ` key: "pets" value ` values: "dog"
7497
+ # values: "cat" ` `, ` key: "state" value ` values: "CA" ` ` ]
7498
+ # Corresponds to the JSON property `userAttributes`
7499
+ # @return [Hash<String,Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaStringList>]
7500
+ attr_accessor :user_attributes
7501
+
7470
7502
  # Information of an end user.
7471
7503
  # Corresponds to the JSON property `userInfo`
7472
7504
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo]
@@ -7524,6 +7556,7 @@ module Google
7524
7556
  @conversational_search_spec = args[:conversational_search_spec] if args.key?(:conversational_search_spec)
7525
7557
  @dynamic_facet_spec = args[:dynamic_facet_spec] if args.key?(:dynamic_facet_spec)
7526
7558
  @entity = args[:entity] if args.key?(:entity)
7559
+ @experiment_id = args[:experiment_id] if args.key?(:experiment_id)
7527
7560
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
7528
7561
  @filter = args[:filter] if args.key?(:filter)
7529
7562
  @labels = args[:labels] if args.key?(:labels)
@@ -7542,6 +7575,7 @@ module Google
7542
7575
  @search_mode = args[:search_mode] if args.key?(:search_mode)
7543
7576
  @spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
7544
7577
  @tile_navigation_spec = args[:tile_navigation_spec] if args.key?(:tile_navigation_spec)
7578
+ @user_attributes = args[:user_attributes] if args.key?(:user_attributes)
7545
7579
  @user_info = args[:user_info] if args.key?(:user_info)
7546
7580
  @variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
7547
7581
  @visitor_id = args[:visitor_id] if args.key?(:visitor_id)
@@ -8749,6 +8783,25 @@ module Google
8749
8783
  end
8750
8784
  end
8751
8785
 
8786
+ # A list of string values.
8787
+ class GoogleCloudRetailV2alphaStringList
8788
+ include Google::Apis::Core::Hashable
8789
+
8790
+ # String values.
8791
+ # Corresponds to the JSON property `values`
8792
+ # @return [Array<String>]
8793
+ attr_accessor :values
8794
+
8795
+ def initialize(**args)
8796
+ update!(**args)
8797
+ end
8798
+
8799
+ # Update properties of this object
8800
+ def update!(**args)
8801
+ @values = args[:values] if args.key?(:values)
8802
+ end
8803
+ end
8804
+
8752
8805
  # This field specifies the tile information including an attribute key,
8753
8806
  # attribute value. More fields will be added in the future, eg: product id or
8754
8807
  # 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.117.0"
19
+ GEM_VERSION = "0.119.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 = "20250515"
25
+ REVISION = "20250605"
26
26
  end
27
27
  end
28
28
  end
@@ -1438,6 +1438,12 @@ module Google
1438
1438
  include Google::Apis::Core::JsonObjectSupport
1439
1439
  end
1440
1440
 
1441
+ class GoogleCloudRetailV2alphaStringList
1442
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1443
+
1444
+ include Google::Apis::Core::JsonObjectSupport
1445
+ end
1446
+
1441
1447
  class GoogleCloudRetailV2alphaTile
1442
1448
  class Representation < Google::Apis::Core::JsonRepresentation; end
1443
1449
 
@@ -2526,6 +2532,7 @@ module Google
2526
2532
 
2527
2533
  property :user_info, as: 'userInfo', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo::Representation
2528
2534
 
2535
+ hash :user_labels, as: 'userLabels'
2529
2536
  property :visitor_id, as: 'visitorId'
2530
2537
  end
2531
2538
  end
@@ -3704,6 +3711,7 @@ module Google
3704
3711
  property :dynamic_facet_spec, as: 'dynamicFacetSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec::Representation
3705
3712
 
3706
3713
  property :entity, as: 'entity'
3714
+ property :experiment_id, as: 'experimentId'
3707
3715
  collection :facet_specs, as: 'facetSpecs', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestFacetSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestFacetSpec::Representation
3708
3716
 
3709
3717
  property :filter, as: 'filter'
@@ -3727,6 +3735,8 @@ module Google
3727
3735
 
3728
3736
  property :tile_navigation_spec, as: 'tileNavigationSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec::Representation
3729
3737
 
3738
+ hash :user_attributes, as: 'userAttributes', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaStringList, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaStringList::Representation
3739
+
3730
3740
  property :user_info, as: 'userInfo', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo::Representation
3731
3741
 
3732
3742
  collection :variant_rollup_keys, as: 'variantRollupKeys'
@@ -4017,6 +4027,13 @@ module Google
4017
4027
  end
4018
4028
  end
4019
4029
 
4030
+ class GoogleCloudRetailV2alphaStringList
4031
+ # @private
4032
+ class Representation < Google::Apis::Core::JsonRepresentation
4033
+ collection :values, as: 'values'
4034
+ end
4035
+ end
4036
+
4020
4037
  class GoogleCloudRetailV2alphaTile
4021
4038
  # @private
4022
4039
  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.117.0
4
+ version: 0.119.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.117.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.119.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: