Skip to content

Commit 964d1be

Browse files
feat: Automated regeneration of retail v2 client (googleapis#20458)
Auto-created at 2024-10-27 09:36:15 +0000 using the toys pull request generator.
1 parent 4746264 commit 964d1be

File tree

4 files changed

+6
-45
lines changed

4 files changed

+6
-45
lines changed

generated/google-apis-retail_v2/CHANGELOG.md

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

3+
### v0.104.0 (2024-10-27)
4+
5+
* Regenerated from discovery document revision 20241017
6+
37
### v0.103.0 (2024-10-13)
48

59
* Regenerated from discovery document revision 20241003

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

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7412,41 +7412,13 @@ class GoogleCloudRetailV2alphaModelModelFeaturesConfig
74127412
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig]
74137413
attr_accessor :frequently_bought_together_config
74147414

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-
74217415
def initialize(**args)
74227416
update!(**args)
74237417
end
74247418

74257419
# Update properties of this object
74267420
def update!(**args)
74277421
@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)
74507422
end
74517423
end
74527424

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module RetailV2
1818
# Version of the google-apis-retail_v2 gem
19-
GEM_VERSION = "0.103.0"
19+
GEM_VERSION = "0.104.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

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

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,12 +1150,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
11501150
include Google::Apis::Core::JsonObjectSupport
11511151
end
11521152

1153-
class GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig
1154-
class Representation < Google::Apis::Core::JsonRepresentation; end
1155-
1156-
include Google::Apis::Core::JsonObjectSupport
1157-
end
1158-
11591153
class GoogleCloudRetailV2alphaModelPageOptimizationConfig
11601154
class Representation < Google::Apis::Core::JsonRepresentation; end
11611155

@@ -3388,15 +3382,6 @@ class GoogleCloudRetailV2alphaModelModelFeaturesConfig
33883382
class Representation < Google::Apis::Core::JsonRepresentation
33893383
property :frequently_bought_together_config, as: 'frequentlyBoughtTogetherConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig::Representation
33903384

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'
34003385
end
34013386
end
34023387

0 commit comments

Comments
 (0)