google-apis-retail_v2 0.93.0 → 0.95.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ffaa1c990b1cbe9dc0e82c4d69bb96380bc6110143ac4929788874e080ab83a
4
- data.tar.gz: f36a023e146386992b37e6dfd55fd70430ccc29bcf40905b96354d5b8efe4c23
3
+ metadata.gz: 47d1e969ecf6040acf9dbe24d6df84de8a08df0ed4c4671f6381f35a4165a526
4
+ data.tar.gz: 5c08eaa7fe4ae2cdaba189a284a6d72b1efa15d1167113193cd08ff3b9d0f536
5
5
  SHA512:
6
- metadata.gz: f8166538eb2b14bbdefd460afd25472f751fda57324ea337a6da41d07b4529ced41b0c35e568ca642ebfdecc8b9d89784fd41c505017aa149d62f16906d6b728
7
- data.tar.gz: f2cdcdfc949ce94e898e0d4fb7d79395be767c497a15b16a965db38df51747625a4a3c270ad8b7060e3a6e4ce71896afd25f9b5e851d7cd58b2e6caf2cc80ed4
6
+ metadata.gz: 92b4abb4125c25a0ff232c94133f0ba27a34d4c501f4cfc3e262c807f85c9625a1d62f97971b8d8881bbb5225bba02983707e7a15d02deb792f15930bbf0e612
7
+ data.tar.gz: 911ce85f265fbe7e79519633607058f7c38e965375315b6c76e05aadca216ac556434e3ffb044aaa7cb2b1d205c8fed4311d2bcf4277e12824ef1cb588223d07
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.95.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240509
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.94.0 (2024-04-21)
9
+
10
+ * Regenerated from discovery document revision 20240411
11
+
3
12
  ### v0.93.0 (2024-04-07)
4
13
 
5
14
  * Regenerated from discovery document revision 20240401
@@ -3022,12 +3022,13 @@ module Google
3022
3022
  # categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic
3023
3023
  # Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an
3024
3024
  # INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product
3025
- # unless overridden via pantheon UI. Empty values are not allowed. Each value
3026
- # must be a UTF-8 encoded string with a length limit of 5,000 characters.
3027
- # Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties:
3028
- # Google Merchant Center property google_product_category. Schema.org property [
3029
- # Product.category] (https://schema.org/category). [mc_google_product_category]:
3030
- # https://support.google.com/merchants/answer/6324436
3025
+ # unless overridden through the Google Cloud console. Empty values are not
3026
+ # allowed. Each value must be a UTF-8 encoded string with a length limit of 5,
3027
+ # 000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
3028
+ # Corresponding properties: Google Merchant Center property
3029
+ # google_product_category. Schema.org property [Product.category] (https://
3030
+ # schema.org/category). [mc_google_product_category]: https://support.google.com/
3031
+ # merchants/answer/6324436
3031
3032
  # Corresponds to the JSON property `categories`
3032
3033
  # @return [Array<String>]
3033
3034
  attr_accessor :categories
@@ -5744,12 +5745,13 @@ module Google
5744
5745
  attr_accessor :event_time
5745
5746
 
5746
5747
  # Required. User event type. Allowed values are: * `add-to-cart`: Products being
5747
- # added to cart. * `category-page-view`: Special pages such as sale or promotion
5748
- # pages viewed. * `detail-page-view`: Products detail page viewed. * `home-page-
5749
- # view`: Homepage viewed. * `promotion-offered`: Promotion is offered to a user.
5750
- # * `promotion-not-offered`: Promotion is not offered to a user. * `purchase-
5751
- # complete`: User finishing a purchase. * `search`: Product search. * `shopping-
5752
- # cart-page-view`: User viewing a shopping cart.
5748
+ # added to cart. * `remove-from-cart`: Products being removed from cart. * `
5749
+ # category-page-view`: Special pages such as sale or promotion pages viewed. * `
5750
+ # detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage
5751
+ # viewed. * `promotion-offered`: Promotion is offered to a user. * `promotion-
5752
+ # not-offered`: Promotion is not offered to a user. * `purchase-complete`: User
5753
+ # finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`:
5754
+ # User viewing a shopping cart.
5753
5755
  # Corresponds to the JSON property `eventType`
5754
5756
  # @return [String]
5755
5757
  attr_accessor :event_type
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2
18
18
  # Version of the google-apis-retail_v2 gem
19
- GEM_VERSION = "0.93.0"
19
+ GEM_VERSION = "0.95.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240401"
25
+ REVISION = "20240509"
26
26
  end
27
27
  end
28
28
  end
@@ -74,6 +74,9 @@ module Google
74
74
  # types, e.g. `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across
75
75
  # all device types. Supported formats: * `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `
76
76
  # MOBILE` * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
77
+ # @param [Boolean] enable_attribute_suggestions
78
+ # If true, attribute suggestions are enabled and provided in response. This
79
+ # field is only available for "cloud-retail" dataset.
77
80
  # @param [String] entity
78
81
  # The entity for customers who run multiple entities, domains, sites, or regions,
79
82
  # for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`,
@@ -118,13 +121,14 @@ module Google
118
121
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
119
122
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
120
123
  # @raise [Google::Apis::AuthorizationError] Authorization is required
121
- def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, entity: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
124
+ def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, enable_attribute_suggestions: nil, entity: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
122
125
  command = make_simple_command(:get, 'v2/{+catalog}:completeQuery', options)
123
126
  command.response_representation = Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponse::Representation
124
127
  command.response_class = Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponse
125
128
  command.params['catalog'] = catalog unless catalog.nil?
126
129
  command.query['dataset'] = dataset unless dataset.nil?
127
130
  command.query['deviceType'] = device_type unless device_type.nil?
131
+ command.query['enableAttributeSuggestions'] = enable_attribute_suggestions unless enable_attribute_suggestions.nil?
128
132
  command.query['entity'] = entity unless entity.nil?
129
133
  command.query['languageCodes'] = language_codes unless language_codes.nil?
130
134
  command.query['maxSuggestions'] = max_suggestions unless max_suggestions.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.93.0
4
+ version: 0.95.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-07 00:00:00.000000000 Z
11
+ date: 2024-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.93.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.95.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
63
63
  post_install_message:
64
64
  rdoc_options: []