google-apis-retail_v2 0.102.0 → 0.103.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: 50d7c27a64e08e19a6f529f86ae53beb01553354756e8aef1a8805f6b0e3254a
4
- data.tar.gz: 9601ce54bb68ca89eead885cf9cbc7b80f5bb9dea13d14e0b5cd56bad5f2895f
3
+ metadata.gz: 845ece90df9a03d0e6752d7e388be862181bef94869bd0b91df52d40d922390b
4
+ data.tar.gz: d706233e2cfd05bd919ccd226c41747f9e9291ca3ed9116d049a5264f0fc316d
5
5
  SHA512:
6
- metadata.gz: 568da76f00586978646d74b5a85d0ea7ab3acf2228a4f321b848a4fdd1d517abad9b3712717ac4f96a29aae689e797b7a8182dc9887deda7ed703f7a71c46e79
7
- data.tar.gz: d8b8e997e3c4677bd4992528e7a6b5b851f9cdab9ee706f27908b134b4fc27b2990946ddf94cc6807bae61616aba0a23cddb8ae02942c8ae8b3fd7063adb8c5e
6
+ metadata.gz: e1cf3a6043b7a57511b5fa3bad08510be29a0fbddb8b903a9aa7da3d0c9c3e18cb5fcf702459c557b8b2d5c0d5749635fa546d64bec0a1d1a01b4ad3bd3940f7
7
+ data.tar.gz: 7e04aab84e9d7f229eb5b6272875b27677344cb37ad492669b474b74adceaa6719a94b4157ecb4874604df7ab5eb11f2aa0e0f2e39859db31bf2a3cc48fe3728
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.103.0 (2024-10-13)
4
+
5
+ * Regenerated from discovery document revision 20241003
6
+
3
7
  ### v0.102.0 (2024-09-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20240920
@@ -3387,10 +3387,9 @@ module Google
3387
3387
  # attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION,
3388
3388
  # the following fields are always returned in SearchResponse by default: * name
3389
3389
  # For Type.VARIANT, the following fields are always returned in by default: *
3390
- # name * color_info The maximum number of paths is 30. Otherwise, an
3391
- # INVALID_ARGUMENT error is returned. Note: Returning more fields in
3392
- # SearchResponse can increase response payload size and serving latency. This
3393
- # field is deprecated. Use the retrievable site-wide control instead.
3390
+ # name * color_info Note: Returning more fields in SearchResponse can increase
3391
+ # response payload size and serving latency. This field is deprecated. Use the
3392
+ # retrievable site-wide control instead.
3394
3393
  # Corresponds to the JSON property `retrievableFields`
3395
3394
  # @return [String]
3396
3395
  attr_accessor :retrievable_fields
@@ -7413,6 +7412,12 @@ module Google
7413
7412
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig]
7414
7413
  attr_accessor :frequently_bought_together_config
7415
7414
 
7415
+ # Config that turns on usage of llm embeddings as features to the model.
7416
+ # Embeddings leverage unstructured text fields like description and title.
7417
+ # Corresponds to the JSON property `llmEmbeddingConfig`
7418
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig]
7419
+ attr_accessor :llm_embedding_config
7420
+
7416
7421
  def initialize(**args)
7417
7422
  update!(**args)
7418
7423
  end
@@ -7420,6 +7425,28 @@ module Google
7420
7425
  # Update properties of this object
7421
7426
  def update!(**args)
7422
7427
  @frequently_bought_together_config = args[:frequently_bought_together_config] if args.key?(:frequently_bought_together_config)
7428
+ @llm_embedding_config = args[:llm_embedding_config] if args.key?(:llm_embedding_config)
7429
+ end
7430
+ end
7431
+
7432
+ # Config that turns on usage of llm embeddings as features to the model.
7433
+ # Embeddings leverage unstructured text fields like description and title.
7434
+ class GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig
7435
+ include Google::Apis::Core::Hashable
7436
+
7437
+ # Optional. The LLM embedding version to use. Currently only `v0` is supported.
7438
+ # If not specified, feature will not be turned on.
7439
+ # Corresponds to the JSON property `llmEmbeddingVersion`
7440
+ # @return [String]
7441
+ attr_accessor :llm_embedding_version
7442
+
7443
+ def initialize(**args)
7444
+ update!(**args)
7445
+ end
7446
+
7447
+ # Update properties of this object
7448
+ def update!(**args)
7449
+ @llm_embedding_version = args[:llm_embedding_version] if args.key?(:llm_embedding_version)
7423
7450
  end
7424
7451
  end
7425
7452
 
@@ -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.102.0"
19
+ GEM_VERSION = "0.103.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240920"
25
+ REVISION = "20241003"
26
26
  end
27
27
  end
28
28
  end
@@ -1150,6 +1150,12 @@ module Google
1150
1150
  include Google::Apis::Core::JsonObjectSupport
1151
1151
  end
1152
1152
 
1153
+ class GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig
1154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1155
+
1156
+ include Google::Apis::Core::JsonObjectSupport
1157
+ end
1158
+
1153
1159
  class GoogleCloudRetailV2alphaModelPageOptimizationConfig
1154
1160
  class Representation < Google::Apis::Core::JsonRepresentation; end
1155
1161
 
@@ -3382,6 +3388,15 @@ module Google
3382
3388
  class Representation < Google::Apis::Core::JsonRepresentation
3383
3389
  property :frequently_bought_together_config, as: 'frequentlyBoughtTogetherConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig::Representation
3384
3390
 
3391
+ property :llm_embedding_config, as: 'llmEmbeddingConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig::Representation
3392
+
3393
+ end
3394
+ end
3395
+
3396
+ class GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig
3397
+ # @private
3398
+ class Representation < Google::Apis::Core::JsonRepresentation
3399
+ property :llm_embedding_version, as: 'llmEmbeddingVersion'
3385
3400
  end
3386
3401
  end
3387
3402
 
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.102.0
4
+ version: 0.103.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-09-29 00:00:00.000000000 Z
11
+ date: 2024-10-13 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.102.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.103.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Vertex AI Search for Retail API V2