Skip to content

Commit 14e5ad6

Browse files
feat: Automated regeneration of discoveryengine v1beta client (#21492)
Auto-created at 2025-01-26 10:25:34 +0000 using the toys pull request generator.
1 parent 5649978 commit 14e5ad6

File tree

5 files changed

+215
-3
lines changed

5 files changed

+215
-3
lines changed

api_names_out.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196975,6 +196975,8 @@
196975196975
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest/includeTailSuggestions": include_tail_suggestions
196976196976
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest/query": query
196977196977
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest/queryModel": query_model
196978+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest/suggestionTypeSpecs": suggestion_type_specs
196979+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest/suggestionTypeSpecs/suggestion_type_spec": suggestion_type_spec
196978196980
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest/suggestionTypes": suggestion_types
196979196981
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest/suggestionTypes/suggestion_type": suggestion_type
196980196982
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest/userInfo": user_info
@@ -196986,6 +196988,9 @@
196986196988
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec": google_cloud_discoveryengine_v1beta_advanced_complete_query_request_boost_spec_condition_boost_spec
196987196989
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec/boost": boost
196988196990
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec/condition": condition
196991+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestSuggestionTypeSpec": google_cloud_discoveryengine_v1beta_advanced_complete_query_request_suggestion_type_spec
196992+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestSuggestionTypeSpec/maxSuggestions": max_suggestions
196993+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestSuggestionTypeSpec/suggestionType": suggestion_type
196989196994
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse": google_cloud_discoveryengine_v1beta_advanced_complete_query_response
196990196995
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse/contentSuggestions": content_suggestions
196991196996
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse/contentSuggestions/content_suggestion": content_suggestion
@@ -197066,6 +197071,7 @@
197066197071
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequest": google_cloud_discoveryengine_v1beta_answer_query_request
197067197072
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequest/answerGenerationSpec": answer_generation_spec
197068197073
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequest/asynchronousMode": asynchronous_mode
197074+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequest/endUserSpec": end_user_spec
197069197075
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequest/groundingSpec": grounding_spec
197070197076
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequest/query": query
197071197077
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequest/queryUnderstandingSpec": query_understanding_spec
@@ -197089,6 +197095,17 @@
197089197095
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec/modelVersion": model_version
197090197096
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec": google_cloud_discoveryengine_v1beta_answer_query_request_answer_generation_spec_prompt_spec
197091197097
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec/preamble": preamble
197098+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpec": google_cloud_discoveryengine_v1beta_answer_query_request_end_user_spec
197099+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpec/endUserMetadata": end_user_metadata
197100+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpec/endUserMetadata/end_user_metadatum": end_user_metadatum
197101+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaData": google_cloud_discoveryengine_v1beta_answer_query_request_end_user_spec_end_user_meta_data
197102+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaData/chunkInfo": chunk_info
197103+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo": google_cloud_discoveryengine_v1beta_answer_query_request_end_user_spec_end_user_meta_data_chunk_info
197104+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo/content": content
197105+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo/documentMetadata": document_metadata
197106+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata": google_cloud_discoveryengine_v1beta_answer_query_request_end_user_spec_end_user_meta_data_chunk_info_document_metadata
197107+
? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata/title"
197108+
: title
197092197109
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec": google_cloud_discoveryengine_v1beta_answer_query_request_grounding_spec
197093197110
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec/filteringLevel": filtering_level
197094197111
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec/includeGroundingSupports": include_grounding_supports

generated/google-apis-discoveryengine_v1beta/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-discoveryengine_v1beta
22

3-
### v0.56.0 (2025-01-19)
3+
### v0.56.0 (2025-01-26)
44

5-
* Regenerated from discovery document revision 20250114
5+
* Regenerated from discovery document revision 20250121
66

77
### v0.55.0 (2025-01-12)
88

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

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10656,6 +10656,11 @@ class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest
1065610656
# @return [String]
1065710657
attr_accessor :query_model
1065810658

10659+
# Optional. Specification of each suggestion type.
10660+
# Corresponds to the JSON property `suggestionTypeSpecs`
10661+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestSuggestionTypeSpec>]
10662+
attr_accessor :suggestion_type_specs
10663+
1065910664
# Optional. Suggestion types to return. If empty or unspecified, query
1066010665
# suggestions are returned. Only one suggestion type is supported at the moment.
1066110666
# Corresponds to the JSON property `suggestionTypes`
@@ -10688,6 +10693,7 @@ def update!(**args)
1068810693
@include_tail_suggestions = args[:include_tail_suggestions] if args.key?(:include_tail_suggestions)
1068910694
@query = args[:query] if args.key?(:query)
1069010695
@query_model = args[:query_model] if args.key?(:query_model)
10696+
@suggestion_type_specs = args[:suggestion_type_specs] if args.key?(:suggestion_type_specs)
1069110697
@suggestion_types = args[:suggestion_types] if args.key?(:suggestion_types)
1069210698
@user_info = args[:user_info] if args.key?(:user_info)
1069310699
@user_pseudo_id = args[:user_pseudo_id] if args.key?(:user_pseudo_id)
@@ -10750,6 +10756,31 @@ def update!(**args)
1075010756
end
1075110757
end
1075210758

10759+
# Specification of each suggestion type.
10760+
class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestSuggestionTypeSpec
10761+
include Google::Apis::Core::Hashable
10762+
10763+
# Optional. Maximum number of suggestions to return for each suggestion type.
10764+
# Corresponds to the JSON property `maxSuggestions`
10765+
# @return [Fixnum]
10766+
attr_accessor :max_suggestions
10767+
10768+
# Optional. Suggestion type.
10769+
# Corresponds to the JSON property `suggestionType`
10770+
# @return [String]
10771+
attr_accessor :suggestion_type
10772+
10773+
def initialize(**args)
10774+
update!(**args)
10775+
end
10776+
10777+
# Update properties of this object
10778+
def update!(**args)
10779+
@max_suggestions = args[:max_suggestions] if args.key?(:max_suggestions)
10780+
@suggestion_type = args[:suggestion_type] if args.key?(:suggestion_type)
10781+
end
10782+
end
10783+
1075310784
# Response message for CompletionService.AdvancedCompleteQuery method.
1075410785
class GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse
1075510786
include Google::Apis::Core::Hashable
@@ -11239,6 +11270,11 @@ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequest
1123911270
attr_accessor :asynchronous_mode
1124011271
alias_method :asynchronous_mode?, :asynchronous_mode
1124111272

11273+
# End user specification.
11274+
# Corresponds to the JSON property `endUserSpec`
11275+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpec]
11276+
attr_accessor :end_user_spec
11277+
1124211278
# Grounding specification.
1124311279
# Corresponds to the JSON property `groundingSpec`
1124411280
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec]
@@ -11314,6 +11350,7 @@ def initialize(**args)
1131411350
def update!(**args)
1131511351
@answer_generation_spec = args[:answer_generation_spec] if args.key?(:answer_generation_spec)
1131611352
@asynchronous_mode = args[:asynchronous_mode] if args.key?(:asynchronous_mode)
11353+
@end_user_spec = args[:end_user_spec] if args.key?(:end_user_spec)
1131711354
@grounding_spec = args[:grounding_spec] if args.key?(:grounding_spec)
1131811355
@query = args[:query] if args.key?(:query)
1131911356
@query_understanding_spec = args[:query_understanding_spec] if args.key?(:query_understanding_spec)
@@ -11454,6 +11491,90 @@ def update!(**args)
1145411491
end
1145511492
end
1145611493

11494+
# End user specification.
11495+
class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpec
11496+
include Google::Apis::Core::Hashable
11497+
11498+
# Optional. End user metadata.
11499+
# Corresponds to the JSON property `endUserMetadata`
11500+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaData>]
11501+
attr_accessor :end_user_metadata
11502+
11503+
def initialize(**args)
11504+
update!(**args)
11505+
end
11506+
11507+
# Update properties of this object
11508+
def update!(**args)
11509+
@end_user_metadata = args[:end_user_metadata] if args.key?(:end_user_metadata)
11510+
end
11511+
end
11512+
11513+
# End user metadata.
11514+
class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaData
11515+
include Google::Apis::Core::Hashable
11516+
11517+
# Chunk information.
11518+
# Corresponds to the JSON property `chunkInfo`
11519+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo]
11520+
attr_accessor :chunk_info
11521+
11522+
def initialize(**args)
11523+
update!(**args)
11524+
end
11525+
11526+
# Update properties of this object
11527+
def update!(**args)
11528+
@chunk_info = args[:chunk_info] if args.key?(:chunk_info)
11529+
end
11530+
end
11531+
11532+
# Chunk information.
11533+
class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo
11534+
include Google::Apis::Core::Hashable
11535+
11536+
# Chunk textual content. It is limited to 8000 characters.
11537+
# Corresponds to the JSON property `content`
11538+
# @return [String]
11539+
attr_accessor :content
11540+
11541+
# Document metadata contains the information of the document of the current
11542+
# chunk.
11543+
# Corresponds to the JSON property `documentMetadata`
11544+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata]
11545+
attr_accessor :document_metadata
11546+
11547+
def initialize(**args)
11548+
update!(**args)
11549+
end
11550+
11551+
# Update properties of this object
11552+
def update!(**args)
11553+
@content = args[:content] if args.key?(:content)
11554+
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
11555+
end
11556+
end
11557+
11558+
# Document metadata contains the information of the document of the current
11559+
# chunk.
11560+
class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata
11561+
include Google::Apis::Core::Hashable
11562+
11563+
# Title of the document.
11564+
# Corresponds to the JSON property `title`
11565+
# @return [String]
11566+
attr_accessor :title
11567+
11568+
def initialize(**args)
11569+
update!(**args)
11570+
end
11571+
11572+
# Update properties of this object
11573+
def update!(**args)
11574+
@title = args[:title] if args.key?(:title)
11575+
end
11576+
end
11577+
1145711578
# Grounding specification.
1145811579
class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec
1145911580
include Google::Apis::Core::Hashable

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module DiscoveryengineV1beta
2222
GENERATOR_VERSION = "0.16.0"
2323

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

0 commit comments

Comments
 (0)