Skip to content

Commit 4e125f4

Browse files
feat: Automated regeneration of discoveryengine v1alpha client (googleapis#23513)
Auto-created at 2025-06-22 10:28:30 +0000 using the toys pull request generator.
1 parent 043cded commit 4e125f4

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204378,6 +204378,8 @@
204378204378
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSessionTurn/answer": answer
204379204379
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSessionTurn/detailedAnswer": detailed_answer
204380204380
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSessionTurn/query": query
204381+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSessionTurn/queryConfig": query_config
204382+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSessionTurn/queryConfig/query_config": query_config
204381204383
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSessionTurn/queryConfigs": query_configs
204382204384
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSessionTurn/queryConfigs/query_config": query_config
204383204385
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata": google_cloud_discoveryengine_v1alpha_set_dedicated_crawl_rate_metadata

generated/google-apis-discoveryengine_v1alpha/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-discoveryengine_v1alpha
22

3+
### v0.66.0 (2025-06-22)
4+
5+
* Regenerated from discovery document revision 20250617
6+
37
### v0.65.0 (2025-06-15)
48

59
* Regenerated from discovery document revision 20250609

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

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17638,7 +17638,10 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest
1763817638
# relevance and attractiveness of a search result from a user's perspective. A
1763917639
# higher pCTR suggests that the result is more likely to satisfy the user's
1764017640
# query and intent, making it a valuable signal for ranking. * `freshness_rank`:
17641-
# freshness adjustment as a rank * `base_rank`: the default rank of the result
17641+
# freshness adjustment as a rank * `topicality_rank`: topicality adjustment as a
17642+
# rank. Uses proprietary Google model to determine the keyword-based overlap
17643+
# between the query and the document. * `base_rank`: the default rank of the
17644+
# result
1764217645
# Corresponds to the JSON property `rankingExpression`
1764317646
# @return [String]
1764417647
attr_accessor :ranking_expression
@@ -20110,6 +20113,13 @@ class GoogleCloudDiscoveryengineV1alphaSessionTurn
2011020113
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQuery]
2011120114
attr_accessor :query
2011220115

20116+
# Optional. Represents metadata related to the query config, for example LLM
20117+
# model and version used, model parameters (temperature, grounding parameters,
20118+
# etc.). The prefix "google." is reserved for Google-developed functionality.
20119+
# Corresponds to the JSON property `queryConfig`
20120+
# @return [Hash<String,String>]
20121+
attr_accessor :query_config
20122+
2011320123
def initialize(**args)
2011420124
update!(**args)
2011520125
end
@@ -20119,6 +20129,7 @@ def update!(**args)
2011920129
@answer = args[:answer] if args.key?(:answer)
2012020130
@detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
2012120131
@query = args[:query] if args.key?(:query)
20132+
@query_config = args[:query_config] if args.key?(:query_config)
2012220133
end
2012320134
end
2012420135

@@ -25753,7 +25764,10 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest
2575325764
# relevance and attractiveness of a search result from a user's perspective. A
2575425765
# higher pCTR suggests that the result is more likely to satisfy the user's
2575525766
# query and intent, making it a valuable signal for ranking. * `freshness_rank`:
25756-
# freshness adjustment as a rank * `base_rank`: the default rank of the result
25767+
# freshness adjustment as a rank * `topicality_rank`: topicality adjustment as a
25768+
# rank. Uses proprietary Google model to determine the keyword-based overlap
25769+
# between the query and the document. * `base_rank`: the default rank of the
25770+
# result
2575725771
# Corresponds to the JSON property `rankingExpression`
2575825772
# @return [String]
2575925773
attr_accessor :ranking_expression

generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/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 DiscoveryengineV1alpha
1818
# Version of the google-apis-discoveryengine_v1alpha gem
19-
GEM_VERSION = "0.65.0"
19+
GEM_VERSION = "0.66.0"
2020

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

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9760,6 +9760,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
97609760

97619761
property :query, as: 'query', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQuery, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQuery::Representation
97629762

9763+
hash :query_config, as: 'queryConfig'
97639764
end
97649765
end
97659766

0 commit comments

Comments
 (0)