@@ -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
0 commit comments