google-apis-retail_v2 0.58.0 → 0.59.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: d6d9bc6d7be7f7166fd87d768150cb0d62d7e81b369696879e70769985db152c
4
- data.tar.gz: 065e29071751b67531d32b62102e28a0d9d13609af4220da19bca172461f24e7
3
+ metadata.gz: 7a733b3400a8b645dbeabe09c07a79c0ebcfa3593efc748fd691de86945209fb
4
+ data.tar.gz: 66627934ae4887ec030900faab7e5ba577216a22ecc2df2f189013884bea722e
5
5
  SHA512:
6
- metadata.gz: '0768586fd39d9200701722f5f3290f246a3a6915c65e1d1eba4914db2711f35de8b1912beb46e548f91e8a85709815ee464d7026bbc54db86291c673db321edc'
7
- data.tar.gz: b088823120949480e5b9aec6f3b6e021e0e5d27ea4640ff04825a8304846eca211e31090d0787f8ca82823f2814346b5ef82611364600084db3659fb9b31d0e3
6
+ metadata.gz: 125514e0679c3a2292581afea4530a4bee7204194b51911e76a7c65a4d1b7384106210d77b1fead31fb9ac93fd292c4a70890d3752b7b81becef0aa5e7c61c4c
7
+ data.tar.gz: b9f919fba50032cfe10815413816120961558be79a6949e2e6dde5463a902617cdab1d1c07f8dc5097a6d92f4560eb55f4fd83883bd8b752790d1d4e2a09af09
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.59.0 (2022-12-04)
4
+
5
+ * Regenerated from discovery document revision 20221130
6
+
3
7
  ### v0.58.0 (2022-11-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20221107
@@ -720,6 +720,11 @@ module Google
720
720
  # @return [String]
721
721
  attr_accessor :key
722
722
 
723
+ # If RETRIEVABLE_ENABLED, attribute values are retrievable in the search results.
724
+ # Corresponds to the JSON property `retrievableOption`
725
+ # @return [String]
726
+ attr_accessor :retrievable_option
727
+
723
728
  # When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG,
724
729
  # if SEARCHABLE_ENABLED, attribute values are searchable by text queries in
725
730
  # SearchService.Search. If SEARCHABLE_ENABLED but attribute type is numerical,
@@ -747,6 +752,7 @@ module Google
747
752
  @in_use = args[:in_use] if args.key?(:in_use)
748
753
  @indexable_option = args[:indexable_option] if args.key?(:indexable_option)
749
754
  @key = args[:key] if args.key?(:key)
755
+ @retrievable_option = args[:retrievable_option] if args.key?(:retrievable_option)
750
756
  @searchable_option = args[:searchable_option] if args.key?(:searchable_option)
751
757
  @type = args[:type] if args.key?(:type)
752
758
  end
@@ -2389,7 +2395,8 @@ module Google
2389
2395
  # For Type.VARIANT, the following fields are always returned in by default: *
2390
2396
  # name * color_info The maximum number of paths is 30. Otherwise, an
2391
2397
  # INVALID_ARGUMENT error is returned. Note: Returning more fields in
2392
- # SearchResponse can increase response payload size and serving latency.
2398
+ # SearchResponse can increase response payload size and serving latency. This
2399
+ # field is deprecated. Use the retrievable site-wide control instead.
2393
2400
  # Corresponds to the JSON property `retrievableFields`
2394
2401
  # @return [String]
2395
2402
  attr_accessor :retrievable_fields
@@ -5404,14 +5411,14 @@ module Google
5404
5411
 
5405
5412
  # Required. The type of model e.g. `home-page`. Currently supported values: `
5406
5413
  # recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
5407
- # page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(
5408
- # readonly value). This field together with optimization_objective describe
5409
- # model metadata to use to control model training and serving. See https://cloud.
5410
- # google.com/retail/docs/models for more details on what the model metadata
5411
- # control and which combination of parameters are valid. For invalid
5412
- # combinations of parameters (e.g. type = `frequently-bought-together` and
5413
- # optimization_objective = `ctr`), you receive an error 400 if you try to create/
5414
- # update a recommendation with this set of knobs.
5414
+ # page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `
5415
+ # recently-viewed`(readonly value). This field together with
5416
+ # optimization_objective describe model metadata to use to control model
5417
+ # training and serving. See https://cloud.google.com/retail/docs/models for more
5418
+ # details on what the model metadata control and which combination of parameters
5419
+ # are valid. For invalid combinations of parameters (e.g. type = `frequently-
5420
+ # bought-together` and optimization_objective = `ctr`), you receive an error 400
5421
+ # if you try to create/update a recommendation with this set of knobs.
5415
5422
  # Corresponds to the JSON property `type`
5416
5423
  # @return [String]
5417
5424
  attr_accessor :type
@@ -6398,14 +6405,14 @@ module Google
6398
6405
 
6399
6406
  # Required. The type of model e.g. `home-page`. Currently supported values: `
6400
6407
  # recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
6401
- # page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(
6402
- # readonly value). This field together with optimization_objective describe
6403
- # model metadata to use to control model training and serving. See https://cloud.
6404
- # google.com/retail/docs/models for more details on what the model metadata
6405
- # control and which combination of parameters are valid. For invalid
6406
- # combinations of parameters (e.g. type = `frequently-bought-together` and
6407
- # optimization_objective = `ctr`), you receive an error 400 if you try to create/
6408
- # update a recommendation with this set of knobs.
6408
+ # page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `
6409
+ # recently-viewed`(readonly value). This field together with
6410
+ # optimization_objective describe model metadata to use to control model
6411
+ # training and serving. See https://cloud.google.com/retail/docs/models for more
6412
+ # details on what the model metadata control and which combination of parameters
6413
+ # are valid. For invalid combinations of parameters (e.g. type = `frequently-
6414
+ # bought-together` and optimization_objective = `ctr`), you receive an error 400
6415
+ # if you try to create/update a recommendation with this set of knobs.
6409
6416
  # Corresponds to the JSON property `type`
6410
6417
  # @return [String]
6411
6418
  attr_accessor :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.58.0"
19
+ GEM_VERSION = "0.59.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 = "20221107"
25
+ REVISION = "20221130"
26
26
  end
27
27
  end
28
28
  end
@@ -1316,6 +1316,7 @@ module Google
1316
1316
  property :in_use, as: 'inUse'
1317
1317
  property :indexable_option, as: 'indexableOption'
1318
1318
  property :key, as: 'key'
1319
+ property :retrievable_option, as: 'retrievableOption'
1319
1320
  property :searchable_option, as: 'searchableOption'
1320
1321
  property :type, as: 'type'
1321
1322
  end
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.58.0
4
+ version: 0.59.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-11-14 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.59.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: []