Skip to content

Commit 49b296c

Browse files
feat: Automated regeneration of retail v2 client (#13181)
Auto-created at 2023-01-04 17:50:57 +0000 using the toys pull request generator.
1 parent a71f07e commit 49b296c

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

generated/google-apis-retail_v2/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-retail_v2
22

3-
### v0.60.0 (2022-12-14)
3+
### v0.60.0 (2023-01-04)
44

5-
* Regenerated from discovery document revision 20221208
5+
* Regenerated from discovery document revision 20230102
66

77
### v0.59.0 (2022-12-04)
88

generated/google-apis-retail_v2/lib/google/apis/retail_v2/classes.rb

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,8 @@ class GoogleCloudRetailV2CatalogAttribute
682682

683683
# If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. This
684684
# property only applies to textual custom attributes and requires indexable set
685-
# to enabled to enable exact-searchable.
685+
# to enabled to enable exact-searchable. If unset, the server behavior defaults
686+
# to EXACT_SEARCHABLE_DISABLED.
686687
# Corresponds to the JSON property `exactSearchableOption`
687688
# @return [String]
688689
attr_accessor :exact_searchable_option
@@ -715,12 +716,15 @@ class GoogleCloudRetailV2CatalogAttribute
715716
# custom_attribute`, such as `attributes.xyz`. To be indexable, the attribute
716717
# name can contain only alpha-numeric characters and underscores. For example,
717718
# an attribute named `attributes.abc_xyz` can be indexed, but an attribute named
718-
# `attributes.abc-xyz` cannot be indexed.
719+
# `attributes.abc-xyz` cannot be indexed. For attributes whoes key start with `
720+
# attributes.`, we refer them as custom attributes. Otherwise they are built-in
721+
# attributes such as `color` and `brands`.
719722
# Corresponds to the JSON property `key`
720723
# @return [String]
721724
attr_accessor :key
722725

723726
# If RETRIEVABLE_ENABLED, attribute values are retrievable in the search results.
727+
# If unset, the server behavior defaults to RETRIEVABLE_DISABLED.
724728
# Corresponds to the JSON property `retrievableOption`
725729
# @return [String]
726730
attr_accessor :retrievable_option
@@ -4273,7 +4277,8 @@ class GoogleCloudRetailV2ServingConfig
42734277
# @return [String]
42744278
attr_accessor :diversity_level
42754279

4276-
# What kind of diversity to use - data driven or rule based.
4280+
# What kind of diversity to use - data driven or rule based. If unset, the
4281+
# server behavior defaults to RULE_BASED_DIVERSITY.
42774282
# Corresponds to the JSON property `diversityType`
42784283
# @return [String]
42794284
attr_accessor :diversity_type
@@ -4361,7 +4366,7 @@ class GoogleCloudRetailV2ServingConfig
43614366
# product items with a similar recommendation probability to be ordered by price,
43624367
# with the highest-priced items first. This setting could result in a decrease
43634368
# in click-through and conversion rates. Allowed values are: * `no-price-
4364-
# reranking` * `low-price-raranking` * `medium-price-reranking` * `high-price-
4369+
# reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-
43654370
# reranking` If not specified, we choose default based on model type. Default
43664371
# value: `no-price-reranking`. Can only be set if solution_types is
43674372
# SOLUTION_TYPE_RECOMMENDATION.

generated/google-apis-retail_v2/lib/google/apis/retail_v2/gem_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module RetailV2
2222
GENERATOR_VERSION = "0.11.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20221208"
25+
REVISION = "20230102"
2626
end
2727
end
2828
end

generated/google-apis-retail_v2/lib/google/apis/retail_v2/service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ def search_project_location_catalog_serving_configs(placement, google_cloud_reta
18301830
# payload bytes.
18311831
# @param [String] prebuilt_rule
18321832
# The prebuilt rule name that can convert a specific type of raw_json. For
1833-
# example: "default_schema/v1.0"
1833+
# example: "ga4_bq" rule for the GA4 user event schema.
18341834
# @param [String] raw_json
18351835
# An arbitrary serialized JSON string that contains necessary information that
18361836
# can comprise a user event. When this field is specified, the user_event field

0 commit comments

Comments
 (0)