google-apis-retail_v2alpha 0.61.0 → 0.63.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: fcfbc08687d85839acdc8aa1d0dbea42aec89ab9394551532fac9fc48cb6e992
4
- data.tar.gz: 37d4aa1f069c972076b406517b0c75d251886107fbb6257c39078c8634dae2c3
3
+ metadata.gz: 2b8223f37d7f8306dd8316069e7b4ea51f57e7a301175defc864f339d10e1d3a
4
+ data.tar.gz: 10daf9bd2650a35d38165447330a03fff5c2839ef3d0829ddb0edada90705a1b
5
5
  SHA512:
6
- metadata.gz: f37ad7977e304578d76ee7a83c0f1af474560977fd07290210dde162924488fd2d04dc25c0aef4beba30bc6638b3a2df52ac8f9a6d3b4c7f56bfbac167d0a8cd
7
- data.tar.gz: aee17ca46b11c2bbe4793b16373a9148ea4aa0d05c7f897a7f621a300a2ee170af4c3a825381f7d9842ee75de872cfc48f11b3c54641b649cb065101102837d4
6
+ metadata.gz: eb63986060615a1aa70d1839afb39ef360400917404bc7b6e35fbec9a789103a9273d25b0a548c2656f8eb24a1505c0c4364c5024f1c7ee0d27fd0dab977ca71
7
+ data.tar.gz: c4adf4add667c56ee9f0531e03d6440bda3cb31dc90d7ee586736b06d391bb1d0ef87d5139e44bb5d127357d907789f1a8caa167d7bf2a375d8866a5ceb016c2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.63.0 (2022-12-05)
4
+
5
+ * Regenerated from discovery document revision 20221130
6
+
7
+ ### v0.62.0 (2022-11-09)
8
+
9
+ * Regenerated from discovery document revision 20221107
10
+
3
11
  ### v0.61.0 (2022-10-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20221024
@@ -1208,6 +1208,11 @@ module Google
1208
1208
  # @return [String]
1209
1209
  attr_accessor :recommendations_filtering_option
1210
1210
 
1211
+ # If RETRIEVABLE_ENABLED, attribute values are retrievable in the search results.
1212
+ # Corresponds to the JSON property `retrievableOption`
1213
+ # @return [String]
1214
+ attr_accessor :retrievable_option
1215
+
1211
1216
  # When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG,
1212
1217
  # if SEARCHABLE_ENABLED, attribute values are searchable by text queries in
1213
1218
  # SearchService.Search. If SEARCHABLE_ENABLED but attribute type is numerical,
@@ -1236,6 +1241,7 @@ module Google
1236
1241
  @indexable_option = args[:indexable_option] if args.key?(:indexable_option)
1237
1242
  @key = args[:key] if args.key?(:key)
1238
1243
  @recommendations_filtering_option = args[:recommendations_filtering_option] if args.key?(:recommendations_filtering_option)
1244
+ @retrievable_option = args[:retrievable_option] if args.key?(:retrievable_option)
1239
1245
  @searchable_option = args[:searchable_option] if args.key?(:searchable_option)
1240
1246
  @type = args[:type] if args.key?(:type)
1241
1247
  end
@@ -1285,8 +1291,8 @@ module Google
1285
1291
  class GoogleCloudRetailV2alphaCompleteQueryResponse
1286
1292
  include Google::Apis::Core::Hashable
1287
1293
 
1288
- # A map of matched attribute suggestions. Current supported keys: * `brands` * `
1289
- # categories`
1294
+ # A map of matched attribute suggestions. This field is only available for "
1295
+ # cloud-retail" dataset. Current supported keys: * `brands` * `categories`
1290
1296
  # Corresponds to the JSON property `attributeResults`
1291
1297
  # @return [Hash<String,Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult>]
1292
1298
  attr_accessor :attribute_results
@@ -2795,14 +2801,14 @@ module Google
2795
2801
 
2796
2802
  # Required. The type of model e.g. `home-page`. Currently supported values: `
2797
2803
  # recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
2798
- # page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(
2799
- # readonly value). This field together with optimization_objective describe
2800
- # model metadata to use to control model training and serving. See https://cloud.
2801
- # google.com/retail/docs/models for more details on what the model metadata
2802
- # control and which combination of parameters are valid. For invalid
2803
- # combinations of parameters (e.g. type = `frequently-bought-together` and
2804
- # optimization_objective = `ctr`), you receive an error 400 if you try to create/
2805
- # update a recommendation with this set of knobs.
2804
+ # page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `
2805
+ # recently-viewed`(readonly value). This field together with
2806
+ # optimization_objective describe model metadata to use to control model
2807
+ # training and serving. See https://cloud.google.com/retail/docs/models for more
2808
+ # details on what the model metadata control and which combination of parameters
2809
+ # are valid. For invalid combinations of parameters (e.g. type = `frequently-
2810
+ # bought-together` and optimization_objective = `ctr`), you receive an error 400
2811
+ # if you try to create/update a recommendation with this set of knobs.
2806
2812
  # Corresponds to the JSON property `type`
2807
2813
  # @return [String]
2808
2814
  attr_accessor :type
@@ -3538,7 +3544,8 @@ module Google
3538
3544
  # For Type.VARIANT, the following fields are always returned in by default: *
3539
3545
  # name * color_info The maximum number of paths is 30. Otherwise, an
3540
3546
  # INVALID_ARGUMENT error is returned. Note: Returning more fields in
3541
- # SearchResponse can increase response payload size and serving latency.
3547
+ # SearchResponse can increase response payload size and serving latency. This
3548
+ # field is deprecated. Use the retrievable site-wide control instead.
3542
3549
  # Corresponds to the JSON property `retrievableFields`
3543
3550
  # @return [String]
3544
3551
  attr_accessor :retrievable_fields
@@ -4432,7 +4439,7 @@ module Google
4432
4439
  attr_accessor :replacement_action
4433
4440
 
4434
4441
  # Creates a set of terms that will be treated as synonyms of each other. Example:
4435
- # synonyms of "sneakers" and "shoes". * "sneakers" will use a synonym of "shoes"
4442
+ # synonyms of "sneakers" and "shoes": * "sneakers" will use a synonym of "shoes"
4436
4443
  # . * "shoes" will use a synonym of "sneakers".
4437
4444
  # Corresponds to the JSON property `twowaySynonymsAction`
4438
4445
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleTwowaySynonymsAction]
@@ -4671,7 +4678,7 @@ module Google
4671
4678
  end
4672
4679
 
4673
4680
  # Creates a set of terms that will be treated as synonyms of each other. Example:
4674
- # synonyms of "sneakers" and "shoes". * "sneakers" will use a synonym of "shoes"
4681
+ # synonyms of "sneakers" and "shoes": * "sneakers" will use a synonym of "shoes"
4675
4682
  # . * "shoes" will use a synonym of "sneakers".
4676
4683
  class GoogleCloudRetailV2alphaRuleTwowaySynonymsAction
4677
4684
  include Google::Apis::Core::Hashable
@@ -6744,14 +6751,14 @@ module Google
6744
6751
 
6745
6752
  # Required. The type of model e.g. `home-page`. Currently supported values: `
6746
6753
  # recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
6747
- # page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(
6748
- # readonly value). This field together with optimization_objective describe
6749
- # model metadata to use to control model training and serving. See https://cloud.
6750
- # google.com/retail/docs/models for more details on what the model metadata
6751
- # control and which combination of parameters are valid. For invalid
6752
- # combinations of parameters (e.g. type = `frequently-bought-together` and
6753
- # optimization_objective = `ctr`), you receive an error 400 if you try to create/
6754
- # update a recommendation with this set of knobs.
6754
+ # page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `
6755
+ # recently-viewed`(readonly value). This field together with
6756
+ # optimization_objective describe model metadata to use to control model
6757
+ # training and serving. See https://cloud.google.com/retail/docs/models for more
6758
+ # details on what the model metadata control and which combination of parameters
6759
+ # are valid. For invalid combinations of parameters (e.g. type = `frequently-
6760
+ # bought-together` and optimization_objective = `ctr`), you receive an error 400
6761
+ # if you try to create/update a recommendation with this set of knobs.
6755
6762
  # Corresponds to the JSON property `type`
6756
6763
  # @return [String]
6757
6764
  attr_accessor :type
@@ -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.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221024"
25
+ REVISION = "20221130"
26
26
  end
27
27
  end
28
28
  end
@@ -1551,6 +1551,7 @@ module Google
1551
1551
  property :indexable_option, as: 'indexableOption'
1552
1552
  property :key, as: 'key'
1553
1553
  property :recommendations_filtering_option, as: 'recommendationsFilteringOption'
1554
+ property :retrievable_option, as: 'retrievableOption'
1554
1555
  property :searchable_option, as: 'searchableOption'
1555
1556
  property :type, as: 'type'
1556
1557
  end
@@ -72,7 +72,8 @@ module Google
72
72
  # all device types. Supported formats: * `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `
73
73
  # MOBILE` * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
74
74
  # @param [Boolean] enable_attribute_suggestions
75
- # If true, attribute suggestions are enabled and provided in response.
75
+ # If true, attribute suggestions are enabled and provided in response. This
76
+ # field is only available for "cloud-retail" dataset.
76
77
  # @param [Array<String>, String] language_codes
77
78
  # Note that this field applies for `user-data` dataset only. For requests with `
78
79
  # cloud-retail` dataset, setting this field has no effect. The language filters
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.0
4
+ version: 0.63.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: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2022-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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_v2alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.61.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.63.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
63
63
  post_install_message:
64
64
  rdoc_options: []