Skip to content

Commit 65c86c4

Browse files
feat: Automated regeneration of discoveryengine v1alpha client (googleapis#21448)
Auto-created at 2025-01-26 09:23:06 +0000 using the toys pull request generator.
1 parent 586f83d commit 65c86c4

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
@@ -191996,6 +191996,8 @@
191996191996
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest/includeTailSuggestions": include_tail_suggestions
191997191997
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest/query": query
191998191998
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest/queryModel": query_model
191999+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest/suggestionTypeSpecs": suggestion_type_specs
192000+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest/suggestionTypeSpecs/suggestion_type_spec": suggestion_type_spec
191999192001
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest/suggestionTypes": suggestion_types
192000192002
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest/suggestionTypes/suggestion_type": suggestion_type
192001192003
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest/userInfo": user_info
@@ -192007,6 +192009,9 @@
192007192009
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec": google_cloud_discoveryengine_v1alpha_advanced_complete_query_request_boost_spec_condition_boost_spec
192008192010
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec/boost": boost
192009192011
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec/condition": condition
192012+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTypeSpec": google_cloud_discoveryengine_v1alpha_advanced_complete_query_request_suggestion_type_spec
192013+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTypeSpec/maxSuggestions": max_suggestions
192014+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTypeSpec/suggestionType": suggestion_type
192010192015
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse": google_cloud_discoveryengine_v1alpha_advanced_complete_query_response
192011192016
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse/contentSuggestions": content_suggestions
192012192017
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse/contentSuggestions/content_suggestion": content_suggestion
@@ -192087,6 +192092,7 @@
192087192092
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest": google_cloud_discoveryengine_v1alpha_answer_query_request
192088192093
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest/answerGenerationSpec": answer_generation_spec
192089192094
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest/asynchronousMode": asynchronous_mode
192095+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest/endUserSpec": end_user_spec
192090192096
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest/groundingSpec": grounding_spec
192091192097
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest/query": query
192092192098
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest/queryUnderstandingSpec": query_understanding_spec
@@ -192110,6 +192116,17 @@
192110192116
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec/modelVersion": model_version
192111192117
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec": google_cloud_discoveryengine_v1alpha_answer_query_request_answer_generation_spec_prompt_spec
192112192118
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec/preamble": preamble
192119+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpec": google_cloud_discoveryengine_v1alpha_answer_query_request_end_user_spec
192120+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpec/endUserMetadata": end_user_metadata
192121+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpec/endUserMetadata/end_user_metadatum": end_user_metadatum
192122+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaData": google_cloud_discoveryengine_v1alpha_answer_query_request_end_user_spec_end_user_meta_data
192123+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaData/chunkInfo": chunk_info
192124+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo": google_cloud_discoveryengine_v1alpha_answer_query_request_end_user_spec_end_user_meta_data_chunk_info
192125+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo/content": content
192126+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo/documentMetadata": document_metadata
192127+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata": google_cloud_discoveryengine_v1alpha_answer_query_request_end_user_spec_end_user_meta_data_chunk_info_document_metadata
192128+
? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata/title"
192129+
: title
192113192130
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec": google_cloud_discoveryengine_v1alpha_answer_query_request_grounding_spec
192114192131
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec/filteringLevel": filtering_level
192115192132
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec/includeGroundingSupports": include_grounding_supports

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

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

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

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

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

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3831,6 +3831,11 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
38313831
# @return [String]
38323832
attr_accessor :query_model
38333833

3834+
# Optional. Specification of each suggestion type.
3835+
# Corresponds to the JSON property `suggestionTypeSpecs`
3836+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTypeSpec>]
3837+
attr_accessor :suggestion_type_specs
3838+
38343839
# Optional. Suggestion types to return. If empty or unspecified, query
38353840
# suggestions are returned. Only one suggestion type is supported at the moment.
38363841
# Corresponds to the JSON property `suggestionTypes`
@@ -3863,6 +3868,7 @@ def update!(**args)
38633868
@include_tail_suggestions = args[:include_tail_suggestions] if args.key?(:include_tail_suggestions)
38643869
@query = args[:query] if args.key?(:query)
38653870
@query_model = args[:query_model] if args.key?(:query_model)
3871+
@suggestion_type_specs = args[:suggestion_type_specs] if args.key?(:suggestion_type_specs)
38663872
@suggestion_types = args[:suggestion_types] if args.key?(:suggestion_types)
38673873
@user_info = args[:user_info] if args.key?(:user_info)
38683874
@user_pseudo_id = args[:user_pseudo_id] if args.key?(:user_pseudo_id)
@@ -3925,6 +3931,31 @@ def update!(**args)
39253931
end
39263932
end
39273933

3934+
# Specification of each suggestion type.
3935+
class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTypeSpec
3936+
include Google::Apis::Core::Hashable
3937+
3938+
# Optional. Maximum number of suggestions to return for each suggestion type.
3939+
# Corresponds to the JSON property `maxSuggestions`
3940+
# @return [Fixnum]
3941+
attr_accessor :max_suggestions
3942+
3943+
# Optional. Suggestion type.
3944+
# Corresponds to the JSON property `suggestionType`
3945+
# @return [String]
3946+
attr_accessor :suggestion_type
3947+
3948+
def initialize(**args)
3949+
update!(**args)
3950+
end
3951+
3952+
# Update properties of this object
3953+
def update!(**args)
3954+
@max_suggestions = args[:max_suggestions] if args.key?(:max_suggestions)
3955+
@suggestion_type = args[:suggestion_type] if args.key?(:suggestion_type)
3956+
end
3957+
end
3958+
39283959
# Response message for CompletionService.AdvancedCompleteQuery method.
39293960
class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse
39303961
include Google::Apis::Core::Hashable
@@ -4414,6 +4445,11 @@ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
44144445
attr_accessor :asynchronous_mode
44154446
alias_method :asynchronous_mode?, :asynchronous_mode
44164447

4448+
# End user specification.
4449+
# Corresponds to the JSON property `endUserSpec`
4450+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpec]
4451+
attr_accessor :end_user_spec
4452+
44174453
# Grounding specification.
44184454
# Corresponds to the JSON property `groundingSpec`
44194455
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec]
@@ -4489,6 +4525,7 @@ def initialize(**args)
44894525
def update!(**args)
44904526
@answer_generation_spec = args[:answer_generation_spec] if args.key?(:answer_generation_spec)
44914527
@asynchronous_mode = args[:asynchronous_mode] if args.key?(:asynchronous_mode)
4528+
@end_user_spec = args[:end_user_spec] if args.key?(:end_user_spec)
44924529
@grounding_spec = args[:grounding_spec] if args.key?(:grounding_spec)
44934530
@query = args[:query] if args.key?(:query)
44944531
@query_understanding_spec = args[:query_understanding_spec] if args.key?(:query_understanding_spec)
@@ -4629,6 +4666,90 @@ def update!(**args)
46294666
end
46304667
end
46314668

4669+
# End user specification.
4670+
class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpec
4671+
include Google::Apis::Core::Hashable
4672+
4673+
# Optional. End user metadata.
4674+
# Corresponds to the JSON property `endUserMetadata`
4675+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaData>]
4676+
attr_accessor :end_user_metadata
4677+
4678+
def initialize(**args)
4679+
update!(**args)
4680+
end
4681+
4682+
# Update properties of this object
4683+
def update!(**args)
4684+
@end_user_metadata = args[:end_user_metadata] if args.key?(:end_user_metadata)
4685+
end
4686+
end
4687+
4688+
# End user metadata.
4689+
class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaData
4690+
include Google::Apis::Core::Hashable
4691+
4692+
# Chunk information.
4693+
# Corresponds to the JSON property `chunkInfo`
4694+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo]
4695+
attr_accessor :chunk_info
4696+
4697+
def initialize(**args)
4698+
update!(**args)
4699+
end
4700+
4701+
# Update properties of this object
4702+
def update!(**args)
4703+
@chunk_info = args[:chunk_info] if args.key?(:chunk_info)
4704+
end
4705+
end
4706+
4707+
# Chunk information.
4708+
class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo
4709+
include Google::Apis::Core::Hashable
4710+
4711+
# Chunk textual content. It is limited to 8000 characters.
4712+
# Corresponds to the JSON property `content`
4713+
# @return [String]
4714+
attr_accessor :content
4715+
4716+
# Document metadata contains the information of the document of the current
4717+
# chunk.
4718+
# Corresponds to the JSON property `documentMetadata`
4719+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata]
4720+
attr_accessor :document_metadata
4721+
4722+
def initialize(**args)
4723+
update!(**args)
4724+
end
4725+
4726+
# Update properties of this object
4727+
def update!(**args)
4728+
@content = args[:content] if args.key?(:content)
4729+
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
4730+
end
4731+
end
4732+
4733+
# Document metadata contains the information of the document of the current
4734+
# chunk.
4735+
class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata
4736+
include Google::Apis::Core::Hashable
4737+
4738+
# Title of the document.
4739+
# Corresponds to the JSON property `title`
4740+
# @return [String]
4741+
attr_accessor :title
4742+
4743+
def initialize(**args)
4744+
update!(**args)
4745+
end
4746+
4747+
# Update properties of this object
4748+
def update!(**args)
4749+
@title = args[:title] if args.key?(:title)
4750+
end
4751+
end
4752+
46324753
# Grounding specification.
46334754
class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec
46344755
include Google::Apis::Core::Hashable

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module DiscoveryengineV1alpha
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)