google-apis-retail_v2beta 0.121.0 → 0.122.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: a1a948c08b86a7bc77b94e3deb8a0769553b09ff79862e3d20af6ec53f78f436
4
- data.tar.gz: 79e0e97ce1c736f8af55698bbba6d421f1bca1a3589ad64c2bc4e9cb4e71e01b
3
+ metadata.gz: 900cc1b76287abdeacec28b37c6ab286ee786efaf43015cf993624543fb8aabe
4
+ data.tar.gz: d95a747fb1853169dbfb1d3587775d0e23d6faa2995b58feddcf5c1055bf7481
5
5
  SHA512:
6
- metadata.gz: 3d9483795c688406460df2d3f86b5a43a3b9728cf6cb685e2a0c8a621d358f3777d9b82f24d57cbbbb0be1a823feef765b31df273e4314c305c9e6fe6c8d3af0
7
- data.tar.gz: 86189a3862cfc96cb98b9914c3922129ee9bb632182b09abba79d561d771c7540ae0dccd0b35b7b74199edfb59d8cfcedc01dfa18292c4df9f5e162e8861ef64
6
+ metadata.gz: d7dfe4e436d92c4e9a97d8481b127fbf585b32a13556db38e9c8c2ba6f5626631bef4dce4c880343aef026cce9e66b627901de94a0a6be031ead876292268775
7
+ data.tar.gz: 1a1db18263307c129c637ce26769f1a0cf90061a9ae964ca1ec76db3264445d252b6362d395d3b9b1225ab8666877f47e88e3b7ca1304322058cfbc53c6b2f4d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.122.0 (2026-06-14)
4
+
5
+ * Regenerated from discovery document revision 20260507
6
+ * Regenerated using generator version 0.19.0
7
+
3
8
  ### v0.121.0 (2025-11-02)
4
9
 
5
10
  * Regenerated from discovery document revision 20251023
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/recommendations) may provid
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -3912,11 +3912,12 @@ module Google
3912
3912
 
3913
3913
  # Optional. The categories associated with a category page. Must be set for
3914
3914
  # category navigation queries to achieve good search quality. The format should
3915
- # be the same as UserEvent.page_categories; To represent full path of category,
3916
- # use '>' sign to separate different hierarchies. If '>' is part of the category
3917
- # name, replace it with other character(s). Category pages include special pages
3918
- # such as sales or promotions. For instance, a special sale page may have the
3919
- # category hierarchy: "pageCategories" : ["Sales > 2017 Black Friday Deals"].
3915
+ # be the same as UserEvent.page_categories; To represent the full path of
3916
+ # category, use the '>' sign, with one space on each side, to separate different
3917
+ # hierarchies. If '>' is part of the category name, replace it with other
3918
+ # character(s). Category pages include special pages such as sales or promotions.
3919
+ # For instance, a special sale page may have the category hierarchy: "
3920
+ # pageCategories" : ["Sales > 2017 Black Friday Deals"].
3920
3921
  # Corresponds to the JSON property `pageCategories`
3921
3922
  # @return [Array<String>]
3922
3923
  attr_accessor :page_categories
@@ -4045,7 +4046,7 @@ module Google
4045
4046
  attr_accessor :filter
4046
4047
 
4047
4048
  # Optional. The sort string to specify the sorting of search results. The syntax
4048
- # of the sort string is the same as SearchRequest.sort.
4049
+ # of the sort string is the same as SearchRequest.order_by.
4049
4050
  # Corresponds to the JSON property `sortBy`
4050
4051
  # @return [String]
4051
4052
  attr_accessor :sort_by
@@ -4565,7 +4566,7 @@ module Google
4565
4566
  class GoogleCloudRetailV2betaExportProductsRequest
4566
4567
  include Google::Apis::Core::Hashable
4567
4568
 
4568
- # This field is deprecated. Any filter provided will be ignored.
4569
+ # Deprecated: This field is deprecated. Any filter provided will be ignored.
4569
4570
  # Corresponds to the JSON property `filter`
4570
4571
  # @return [String]
4571
4572
  attr_accessor :filter
@@ -4624,27 +4625,7 @@ module Google
4624
4625
  class GoogleCloudRetailV2betaExportUserEventsRequest
4625
4626
  include Google::Apis::Core::Hashable
4626
4627
 
4627
- # A filtering expression to specify restrictions on returned events. The
4628
- # expression is a sequence of terms. Each term applies a restriction to the
4629
- # returned user events. Use this expression to restrict results to a specific
4630
- # time range or to filter events by eventType. For example, `eventTime > "2012-
4631
- # 04-23T18:25:43.511Z" eventsMissingCatalogItems eventTime<"2012-04-23T18:25:43.
4632
- # 511Z" eventType=search` We expect only three types of fields: * `eventTime`:
4633
- # This can be specified twice, once with a less than operator and once with a
4634
- # greater than operator. The `eventTime` restriction should result in one,
4635
- # contiguous, valid, `eventTime` range. * `eventType`: Boolean operators `OR`
4636
- # and `NOT` are supported if the expression is enclosed in parentheses and the
4637
- # operators are separated from the tag values by a space. * `
4638
- # eventsMissingCatalogItems`: This restricts results to events for which catalog
4639
- # items were not found in the catalog. The default behavior is to return only
4640
- # those events for which catalog items were found. Some examples of valid
4641
- # filters expressions: * Example 1: `eventTime > "2012-04-23T18:25:43.511Z"
4642
- # eventTime < "2012-04-23T18:30:43.511Z"` * Example 2: `eventTime > "2012-04-
4643
- # 23T18:25:43.511Z" eventType = detail-page-view` * Example 3: `
4644
- # eventsMissingCatalogItems eventType = (NOT search) eventTime < "2018-04-23T18:
4645
- # 30:43.511Z"` * Example 4: `eventTime > "2012-04-23T18:25:43.511Z"` * Example 5:
4646
- # `eventType = (detail-page-view OR search)` * Example 6: `
4647
- # eventsMissingCatalogItems`
4628
+ # Deprecated: This field is deprecated. Any filter provided will be ignored.
4648
4629
  # Corresponds to the JSON property `filter`
4649
4630
  # @return [String]
4650
4631
  attr_accessor :filter
@@ -6500,20 +6481,20 @@ module Google
6500
6481
  # @return [Array<String>]
6501
6482
  attr_accessor :brands
6502
6483
 
6503
- # Product categories. This field is repeated for supporting one product
6504
- # belonging to several parallel categories. Strongly recommended using the full
6505
- # path for better search / recommendation quality. To represent full path of
6506
- # category, use '>' sign to separate different hierarchies. If '>' is part of
6507
- # the category name, replace it with other character(s). For example, if a shoes
6508
- # product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports &
6509
- # Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "
6510
- # categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic
6511
- # Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an
6512
- # INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product
6513
- # unless overridden through the Google Cloud console. Empty values are not
6514
- # allowed. Each value must be a UTF-8 encoded string with a length limit of 5,
6515
- # 000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
6516
- # Corresponding properties: Google Merchant Center property
6484
+ # Optional. Product categories. This field is repeated for supporting one
6485
+ # product belonging to several parallel categories. Strongly recommended using
6486
+ # the full path for better search / recommendation quality. To represent the
6487
+ # full path of category, use the '>' sign, with one space on each side, to
6488
+ # separate different hierarchies. If '>' is part of the category name, replace
6489
+ # it with other character(s). For example, if a shoes product belongs to both ["
6490
+ # Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing"
6491
+ # -> "Shoes"], it could be represented as: "categories": [ "Shoes & Accessories
6492
+ # > Shoes", "Sports & Fitness > Athletic Clothing > Shoes" ] Must be set for
6493
+ # Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most
6494
+ # 250 values are allowed per Product unless overridden through the Google Cloud
6495
+ # console. Empty values are not allowed. Each value must be a UTF-8 encoded
6496
+ # string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT
6497
+ # error is returned. Corresponding properties: Google Merchant Center property
6517
6498
  # google_product_category. Schema.org property [Product.category] (https://
6518
6499
  # schema.org/category). [mc_google_product_category]: https://support.google.com/
6519
6500
  # merchants/answer/6324436
@@ -7551,9 +7532,9 @@ module Google
7551
7532
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttribute]
7552
7533
  attr_accessor :catalog_attribute
7553
7534
 
7554
- # Indicates which fields in the provided CatalogAttribute to update. The
7555
- # following are NOT supported: * CatalogAttribute.key If not set, all supported
7556
- # fields are updated.
7535
+ # Optional. Indicates which fields in the provided CatalogAttribute to update.
7536
+ # The following are NOT supported: * CatalogAttribute.key If not set, all
7537
+ # supported fields are updated.
7557
7538
  # Corresponds to the JSON property `updateMask`
7558
7539
  # @return [String]
7559
7540
  attr_accessor :update_mask
@@ -8215,13 +8196,14 @@ module Google
8215
8196
  # @return [String]
8216
8197
  attr_accessor :order_by
8217
8198
 
8218
- # The categories associated with a category page. Must be set for category
8219
- # navigation queries to achieve good search quality. The format should be the
8220
- # same as UserEvent.page_categories; To represent full path of category, use '>'
8221
- # sign to separate different hierarchies. If '>' is part of the category name,
8222
- # replace it with other character(s). Category pages include special pages such
8223
- # as sales or promotions. For instance, a special sale page may have the
8224
- # category hierarchy: "pageCategories" : ["Sales > 2017 Black Friday Deals"].
8199
+ # Optional. The categories associated with a category page. Must be set for
8200
+ # category navigation queries to achieve good search quality. The format should
8201
+ # be the same as UserEvent.page_categories; To represent the full path of
8202
+ # category, use '>' sign, with one space on each side, to separate different
8203
+ # hierarchies. If '>' is part of the category name, replace it with other
8204
+ # character(s). Category pages include special pages such as sales or promotions.
8205
+ # For instance, a special sale page may have the category hierarchy: "
8206
+ # pageCategories" : ["Sales > 2017 Black Friday Deals"].
8225
8207
  # Corresponds to the JSON property `pageCategories`
8226
8208
  # @return [Array<String>]
8227
8209
  attr_accessor :page_categories
@@ -8249,7 +8231,8 @@ module Google
8249
8231
 
8250
8232
  # Optional. An id corresponding to a place, such as a store id or region id.
8251
8233
  # When specified, we use the price from the local inventory with the matching
8252
- # product's LocalInventory.place_id for revenue optimization.
8234
+ # product's LocalInventory.place_id for revenue optimization. Note, the currency
8235
+ # of the local inventory's price must match the currency of the product's price.
8253
8236
  # Corresponds to the JSON property `placeId`
8254
8237
  # @return [String]
8255
8238
  attr_accessor :place_id
@@ -8456,8 +8439,8 @@ module Google
8456
8439
 
8457
8440
  # This field specifies the conversation id, which maintains the state of the
8458
8441
  # conversation between client side and server side. Use the value from the
8459
- # previous ConversationalSearchResult.conversation_id. For the initial request,
8460
- # this should be empty.
8442
+ # previous SearchResponse.ConversationalSearchResult.conversation_id. For the
8443
+ # initial request, this should be empty.
8461
8444
  # Corresponds to the JSON property `conversationId`
8462
8445
  # @return [String]
8463
8446
  attr_accessor :conversation_id
@@ -8878,9 +8861,10 @@ module Google
8878
8861
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchResponseConversationalSearchResult]
8879
8862
  attr_accessor :conversational_search_result
8880
8863
 
8881
- # Contains the spell corrected query, if found. If the spell correction type is
8882
- # AUTOMATIC, then the search results are based on corrected_query. Otherwise the
8883
- # original query is used for search.
8864
+ # Contains the spell corrected query, if found. The search results are based on
8865
+ # corrected_query by default. However, if SearchRequest.SpellCorrectionSpec.mode
8866
+ # is set to SearchRequest.SpellCorrectionSpec.Mode.SUGGESTION_ONLY, the original
8867
+ # query is used for search.
8884
8868
  # Corresponds to the JSON property `correctedQuery`
8885
8869
  # @return [String]
8886
8870
  attr_accessor :corrected_query
@@ -9823,15 +9807,15 @@ module Google
9823
9807
  # @return [String]
9824
9808
  attr_accessor :order_by
9825
9809
 
9826
- # The categories associated with a category page. To represent full path of
9827
- # category, use '>' sign to separate different hierarchies. If '>' is part of
9828
- # the category name, replace it with other character(s). Category pages include
9829
- # special pages such as sales or promotions. For instance, a special sale page
9830
- # may have the category hierarchy: "pageCategories" : ["Sales > 2017 Black
9831
- # Friday Deals"]. Required for `category-page-view` events. At least one of
9832
- # search_query or page_categories is required for `search` events. Other event
9833
- # types should not set this field. Otherwise, an INVALID_ARGUMENT error is
9834
- # returned.
9810
+ # Optional. The categories associated with a category page. To represent the
9811
+ # full path of category, use the '>' sign, with one space on each side, to
9812
+ # separate different hierarchies. If '>' is part of the category name, replace
9813
+ # it with other character(s). Category pages include special pages such as sales
9814
+ # or promotions. For instance, a special sale page may have the category
9815
+ # hierarchy: "pageCategories" : ["Sales > 2017 Black Friday Deals"]. Required
9816
+ # for `category-page-view` events. At least one of search_query or
9817
+ # page_categories is required for `search` events. Other event types should not
9818
+ # set this field. Otherwise, an INVALID_ARGUMENT error is returned.
9835
9819
  # Corresponds to the JSON property `pageCategories`
9836
9820
  # @return [Array<String>]
9837
9821
  attr_accessor :page_categories
@@ -10101,8 +10085,9 @@ module Google
10101
10085
  attr_accessor :operations
10102
10086
 
10103
10087
  # Unordered list. Unreachable resources. Populated when the request sets `
10104
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
10105
- # when attempting to list all resources across all supported locations.
10088
+ # ListOperationsRequest.return_partial_success` and reads across collections.
10089
+ # For example, when attempting to list all resources across all supported
10090
+ # locations.
10106
10091
  # Corresponds to the JSON property `unreachable`
10107
10092
  # @return [Array<String>]
10108
10093
  attr_accessor :unreachable
@@ -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.121.0"
19
+ GEM_VERSION = "0.122.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251023"
25
+ REVISION = "20260507"
26
26
  end
27
27
  end
28
28
  end
@@ -455,8 +455,9 @@ module Google
455
455
  # Required. Immutable. The fully qualified resource name of the catalog.
456
456
  # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalog] google_cloud_retail_v2beta_catalog_object
457
457
  # @param [String] update_mask
458
- # Indicates which fields in the provided Catalog to update. If an unsupported or
459
- # unknown field is provided, an INVALID_ARGUMENT error is returned.
458
+ # Optional. Indicates which fields in the provided Catalog to update. If an
459
+ # unsupported or unknown field is provided, an INVALID_ARGUMENT error is
460
+ # returned.
460
461
  # @param [String] fields
461
462
  # Selector specifying which fields to include in a partial response.
462
463
  # @param [String] quota_user
@@ -550,9 +551,9 @@ module Google
550
551
  # Format: `projects/*/locations/*/catalogs/*/attributesConfig`
551
552
  # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAttributesConfig] google_cloud_retail_v2beta_attributes_config_object
552
553
  # @param [String] update_mask
553
- # Indicates which fields in the provided AttributesConfig to update. The
554
- # following is the only supported field: * AttributesConfig.catalog_attributes
555
- # If not set, all supported fields are updated.
554
+ # Optional. Indicates which fields in the provided AttributesConfig to update.
555
+ # The following is the only supported field: * AttributesConfig.
556
+ # catalog_attributes If not set, all supported fields are updated.
556
557
  # @param [String] fields
557
558
  # Selector specifying which fields to include in a partial response.
558
559
  # @param [String] quota_user
@@ -589,9 +590,9 @@ module Google
589
590
  # completionConfig`
590
591
  # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionConfig] google_cloud_retail_v2beta_completion_config_object
591
592
  # @param [String] update_mask
592
- # Indicates which fields in the provided CompletionConfig to update. The
593
- # following are the only supported fields: * CompletionConfig.matching_order *
594
- # CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length *
593
+ # Optional. Indicates which fields in the provided CompletionConfig to update.
594
+ # The following are the only supported fields: * CompletionConfig.matching_order
595
+ # * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length *
595
596
  # CompletionConfig.auto_learning If not set, all supported fields are updated.
596
597
  # @param [String] fields
597
598
  # Selector specifying which fields to include in a partial response.
@@ -2123,11 +2124,12 @@ module Google
2123
2124
  # The standard list page token.
2124
2125
  # @param [Boolean] return_partial_success
2125
2126
  # When set to `true`, operations that are reachable are returned as normal, and
2126
- # those that are unreachable are returned in the [ListOperationsResponse.
2127
- # unreachable] field. This can only be `true` when reading across collections e.
2128
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2129
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2130
- # explicitly documented otherwise in service or product specific documentation.
2127
+ # those that are unreachable are returned in the ListOperationsResponse.
2128
+ # unreachable field. This can only be `true` when reading across collections.
2129
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
2130
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
2131
+ # if set unless explicitly documented otherwise in service or product specific
2132
+ # documentation.
2131
2133
  # @param [String] fields
2132
2134
  # Selector specifying which fields to include in a partial response.
2133
2135
  # @param [String] quota_user
@@ -2931,11 +2933,12 @@ module Google
2931
2933
  # The standard list page token.
2932
2934
  # @param [Boolean] return_partial_success
2933
2935
  # When set to `true`, operations that are reachable are returned as normal, and
2934
- # those that are unreachable are returned in the [ListOperationsResponse.
2935
- # unreachable] field. This can only be `true` when reading across collections e.
2936
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2937
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2938
- # explicitly documented otherwise in service or product specific documentation.
2936
+ # those that are unreachable are returned in the ListOperationsResponse.
2937
+ # unreachable field. This can only be `true` when reading across collections.
2938
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
2939
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
2940
+ # if set unless explicitly documented otherwise in service or product specific
2941
+ # documentation.
2939
2942
  # @param [String] fields
2940
2943
  # Selector specifying which fields to include in a partial response.
2941
2944
  # @param [String] quota_user
@@ -3010,11 +3013,12 @@ module Google
3010
3013
  # The standard list page token.
3011
3014
  # @param [Boolean] return_partial_success
3012
3015
  # When set to `true`, operations that are reachable are returned as normal, and
3013
- # those that are unreachable are returned in the [ListOperationsResponse.
3014
- # unreachable] field. This can only be `true` when reading across collections e.
3015
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
3016
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
3017
- # explicitly documented otherwise in service or product specific documentation.
3016
+ # those that are unreachable are returned in the ListOperationsResponse.
3017
+ # unreachable field. This can only be `true` when reading across collections.
3018
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
3019
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
3020
+ # if set unless explicitly documented otherwise in service or product specific
3021
+ # documentation.
3018
3022
  # @param [String] fields
3019
3023
  # Selector specifying which fields to include in a partial response.
3020
3024
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.121.0
4
+ version: 0.122.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_v2beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.121.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.122.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:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="