google-apis-retail_v2beta 0.103.0 → 0.105.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: 0a783b3fbb3f22357c570a3d26baa34a157cde1b7eb06ee51a8c963f4fc9c9fc
4
- data.tar.gz: 3e7840994e851bdfdb8a3d4c057f1106d09cde76975cb868c03c789c3164ed4e
3
+ metadata.gz: d5e106c0c6615d5eeef60f158311e1f770c16d2fe0d0074dcabbba2bd4b8d816
4
+ data.tar.gz: 680d5fa2a19fe5ac006f46ebc095372d7c02a87ee8d9020a52141b6135d3bdb4
5
5
  SHA512:
6
- metadata.gz: dcad1557d18afc701777b3932d9b8b765a1d11d9c34386dbac38f6ba9e6c01947a3b7df54aae20cd74c42a13bd8f498bcdd0a03fa373a09a6d5d995c9e9c05ee
7
- data.tar.gz: 807376acdc92a9df8c2b3de9454afbd3948820ec6bafc4d2c19222f26e4101e5e5926bd8fad9bfbed4d4fdd81514c9f05f16729e097e2307c74153bd5c702110
6
+ metadata.gz: 1b899369e1ec44b70cb91a857892aaa68eca6f72024660f204c5ca2cc6e6d5ea2911beae4e61eb2533767d54a9e410149df7a59998eeedc35ed1c0580a096bf4
7
+ data.tar.gz: 90e62a76157c9dbfe836876373de24a392659a7a91bff506001f8be24b1a525e16f4edc44f02c79c660a490bd59d4dd050f98ed28bd23932e9a857e7b7d42f8d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.105.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250227
6
+
7
+ ### v0.104.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250221
10
+
3
11
  ### v0.103.0 (2025-01-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20250107
data/OVERVIEW.md CHANGED
@@ -1,6 +1,6 @@
1
- # Simple REST client for version V2beta of the Vertex AI Search for Retail API
1
+ # Simple REST client for version V2beta of the Vertex AI Search for commerce API
2
2
 
3
- This is a simple client library for version V2beta of the Vertex AI Search for Retail API. It provides:
3
+ This is a simple client library for version V2beta of the Vertex AI Search for commerce API. It provides:
4
4
 
5
5
  * A client object that connects to the HTTP/JSON REST endpoint for the service.
6
6
  * Ruby objects for data structures related to the service.
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Retail service in particular.)
67
67
 
68
- For reference information on specific calls in the Vertex AI Search for Retail API, see the {Google::Apis::RetailV2beta::CloudRetailService class reference docs}.
68
+ For reference information on specific calls in the Vertex AI Search for commerce API, see the {Google::Apis::RetailV2beta::CloudRetailService class reference docs}.
69
69
 
70
70
  ## Which client should I use?
71
71
 
@@ -3469,12 +3469,11 @@ module Google
3469
3469
  end
3470
3470
  end
3471
3471
 
3472
- # Resource that represents attribute results. The list of suggestions for the
3473
- # attribute.
3472
+ # Resource that represents attribute results.
3474
3473
  class GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult
3475
3474
  include Google::Apis::Core::Hashable
3476
3475
 
3477
- #
3476
+ # The list of suggestions for the attribute.
3478
3477
  # Corresponds to the JSON property `suggestions`
3479
3478
  # @return [Array<String>]
3480
3479
  attr_accessor :suggestions
@@ -7537,6 +7536,15 @@ module Google
7537
7536
  # @return [Hash<String,String>]
7538
7537
  attr_accessor :labels
7539
7538
 
7539
+ # Optional. The BCP-47 language code, such as "en-US" or "sr-Latn" [list](https:/
7540
+ # /www.unicode.org/cldr/charts/46/summary/root.html). For more information, see [
7541
+ # Standardized codes](https://google.aip.dev/143). This field helps to better
7542
+ # interpret the query. If a value isn't specified, the query language code is
7543
+ # automatically detected, which may not be accurate.
7544
+ # Corresponds to the JSON property `languageCode`
7545
+ # @return [String]
7546
+ attr_accessor :language_code
7547
+
7540
7548
  # A 0-indexed integer that specifies the current offset (that is, starting
7541
7549
  # result location, amongst the Products deemed by the API as relevant) in search
7542
7550
  # results. This field is only considered if page_token is unset. If this field
@@ -7597,6 +7605,15 @@ module Google
7597
7605
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec]
7598
7606
  attr_accessor :query_expansion_spec
7599
7607
 
7608
+ # Optional. The Unicode country/region code (CLDR) of a location, such as "US"
7609
+ # and "419" [list](https://www.unicode.org/cldr/charts/46/supplemental/
7610
+ # territory_information.html). For more information, see [Standardized codes](
7611
+ # https://google.aip.dev/143). If set, then results will be boosted based on the
7612
+ # region_code provided.
7613
+ # Corresponds to the JSON property `regionCode`
7614
+ # @return [String]
7615
+ attr_accessor :region_code
7616
+
7600
7617
  # The search mode of the search request. If not specified, a single search
7601
7618
  # request triggers both product search and faceted search.
7602
7619
  # Corresponds to the JSON property `searchMode`
@@ -7673,6 +7690,7 @@ module Google
7673
7690
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
7674
7691
  @filter = args[:filter] if args.key?(:filter)
7675
7692
  @labels = args[:labels] if args.key?(:labels)
7693
+ @language_code = args[:language_code] if args.key?(:language_code)
7676
7694
  @offset = args[:offset] if args.key?(:offset)
7677
7695
  @order_by = args[:order_by] if args.key?(:order_by)
7678
7696
  @page_categories = args[:page_categories] if args.key?(:page_categories)
@@ -7681,6 +7699,7 @@ module Google
7681
7699
  @personalization_spec = args[:personalization_spec] if args.key?(:personalization_spec)
7682
7700
  @query = args[:query] if args.key?(:query)
7683
7701
  @query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
7702
+ @region_code = args[:region_code] if args.key?(:region_code)
7684
7703
  @search_mode = args[:search_mode] if args.key?(:search_mode)
7685
7704
  @spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
7686
7705
  @tile_navigation_spec = args[:tile_navigation_spec] if args.key?(:tile_navigation_spec)
@@ -8137,9 +8156,12 @@ module Google
8137
8156
  class GoogleCloudRetailV2betaSearchRequestTileNavigationSpec
8138
8157
  include Google::Apis::Core::Hashable
8139
8158
 
8140
- # This field specifies the tiles which are already clicked in client side. NOTE:
8141
- # This field is not being used for filtering search products. Client side should
8142
- # also put all the applied tiles in SearchRequest.filter.
8159
+ # This optional field specifies the tiles which are already clicked in client
8160
+ # side. While the feature works without this field set, particularly for an
8161
+ # initial query, it is highly recommended to set this field because it can
8162
+ # improve the quality of the search response and removes possible duplicate
8163
+ # tiles. NOTE: This field is not being used for filtering search products.
8164
+ # Client side should also put all the applied tiles in SearchRequest.filter.
8143
8165
  # Corresponds to the JSON property `appliedTiles`
8144
8166
  # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaTile>]
8145
8167
  attr_accessor :applied_tiles
@@ -9063,10 +9085,8 @@ module Google
9063
9085
  # added to cart. * `remove-from-cart`: Products being removed from cart. * `
9064
9086
  # category-page-view`: Special pages such as sale or promotion pages viewed. * `
9065
9087
  # detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage
9066
- # viewed. * `promotion-offered`: Promotion is offered to a user. * `promotion-
9067
- # not-offered`: Promotion is not offered to a user. * `purchase-complete`: User
9068
- # finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`:
9069
- # User viewing a shopping cart.
9088
+ # viewed. * `purchase-complete`: User finishing a purchase. * `search`: Product
9089
+ # search. * `shopping-cart-page-view`: User viewing a shopping cart.
9070
9090
  # Corresponds to the JSON property `eventType`
9071
9091
  # @return [String]
9072
9092
  attr_accessor :event_type
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2beta
18
18
  # Version of the google-apis-retail_v2beta gem
19
- GEM_VERSION = "0.103.0"
19
+ GEM_VERSION = "0.105.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250107"
25
+ REVISION = "20250227"
26
26
  end
27
27
  end
28
28
  end
@@ -3646,6 +3646,7 @@ module Google
3646
3646
 
3647
3647
  property :filter, as: 'filter'
3648
3648
  hash :labels, as: 'labels'
3649
+ property :language_code, as: 'languageCode'
3649
3650
  property :offset, as: 'offset'
3650
3651
  property :order_by, as: 'orderBy'
3651
3652
  collection :page_categories, as: 'pageCategories'
@@ -3656,6 +3657,7 @@ module Google
3656
3657
  property :query, as: 'query'
3657
3658
  property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec::Representation
3658
3659
 
3660
+ property :region_code, as: 'regionCode'
3659
3661
  property :search_mode, as: 'searchMode'
3660
3662
  property :spell_correction_spec, as: 'spellCorrectionSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec::Representation
3661
3663
 
@@ -20,9 +20,9 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module RetailV2beta
23
- # Vertex AI Search for Retail API
23
+ # Vertex AI Search for commerce API
24
24
  #
25
- # Vertex AI Search for Retail API is made up of Retail Search, Browse and
25
+ # Vertex AI Search for commerce API is made up of Retail Search, Browse and
26
26
  # Recommendations. These discovery AI solutions help you implement personalized
27
27
  # search, browse and recommendations, based on machine learning models, across
28
28
  # your websites and mobile applications.
@@ -150,7 +150,10 @@ module Google
150
150
  # The entity for customers who run multiple entities, domains, sites, or regions,
151
151
  # for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`,
152
152
  # etc. If this is set, it must be an exact match with UserEvent.entity to get
153
- # per-entity autocomplete results.
153
+ # per-entity autocomplete results. Also, this entity should be limited to 256
154
+ # characters, if too long, it will be truncated to 256 characters in both
155
+ # generation and serving time, and may lead to mis-match. To ensure it works,
156
+ # please set the entity with string within 256 characters.
154
157
  # @param [Array<String>, String] language_codes
155
158
  # Note that this field applies for `user-data` dataset only. For requests with `
156
159
  # cloud-retail` dataset, setting this field has no effect. The language filters
@@ -19,16 +19,16 @@ require 'google/apis/retail_v2beta/gem_version.rb'
19
19
 
20
20
  module Google
21
21
  module Apis
22
- # Vertex AI Search for Retail API
22
+ # Vertex AI Search for commerce API
23
23
  #
24
- # Vertex AI Search for Retail API is made up of Retail Search, Browse and
24
+ # Vertex AI Search for commerce API is made up of Retail Search, Browse and
25
25
  # Recommendations. These discovery AI solutions help you implement personalized
26
26
  # search, browse and recommendations, based on machine learning models, across
27
27
  # your websites and mobile applications.
28
28
  #
29
29
  # @see https://cloud.google.com/recommendations
30
30
  module RetailV2beta
31
- # Version of the Vertex AI Search for Retail API this client connects to.
31
+ # Version of the Vertex AI Search for commerce API this client connects to.
32
32
  # This is NOT the gem version.
33
33
  VERSION = 'V2beta'
34
34
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.103.0
4
+ version: 0.105.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-12 00:00:00.000000000 Z
10
+ date: 2025-03-09 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -29,13 +29,13 @@ dependencies:
29
29
  - - "<"
30
30
  - !ruby/object:Gem::Version
31
31
  version: 2.a
32
- description: This is the simple REST client for Vertex AI Search for Retail API V2beta.
33
- Simple REST clients are Ruby client libraries that provide access to Google services
34
- via their HTTP REST API endpoints. These libraries are generated and updated automatically
35
- based on the discovery documents published by the service, and they handle most
36
- concerns such as authentication, pagination, retry, timeouts, and logging. You can
37
- use this client to access the Vertex AI Search for Retail API, but note that some
38
- services may provide a separate modern client that is easier to use.
32
+ description: This is the simple REST client for Vertex AI Search for commerce API
33
+ V2beta. Simple REST clients are Ruby client libraries that provide access to Google
34
+ services via their HTTP REST API endpoints. These libraries are generated and updated
35
+ automatically based on the discovery documents published by the service, and they
36
+ handle most concerns such as authentication, pagination, retry, timeouts, and logging.
37
+ You can use this client to access the Vertex AI Search for commerce API, but note
38
+ that some services may provide a separate modern client that is easier to use.
39
39
  email: googleapis-packages@google.com
40
40
  executables: []
41
41
  extensions: []
@@ -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_v2beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.103.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.105.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
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.2
76
+ rubygems_version: 3.6.5
77
77
  specification_version: 4
78
- summary: Simple REST client for Vertex AI Search for Retail API V2beta
78
+ summary: Simple REST client for Vertex AI Search for commerce API V2beta
79
79
  test_files: []