Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Request message for ConversationalSearchService.ConverseConversation method.
Instance Attribute Summary collapse
-
#boost_spec ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec
Boost specification to boost certain documents.
-
#conversation ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversation
External conversation proto definition.
-
#filter ⇒ String
The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered.
-
#query ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTextInput
Defines text input.
-
#safe_search ⇒ Boolean
(also: #safe_search?)
Whether to turn on safe search.
-
#serving_config ⇒ String
The resource name of the Serving Config to use.
-
#summary_spec ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec
A specification for configuring a summary returned in a search response.
-
#user_labels ⇒ Hash<String,String>
The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaConverseConversationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaConverseConversationRequest.
5078 5079 5080 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5078 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boost_spec ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec
Boost specification to boost certain documents.
Corresponds to the JSON property boostSpec
5016 5017 5018 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5016 def boost_spec @boost_spec end |
#conversation ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversation
External conversation proto definition.
Corresponds to the JSON property conversation
5021 5022 5023 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5021 def conversation @conversation end |
#filter ⇒ String
The filter syntax consists of an expression language for constructing a
predicate from one or more fields of the documents being filtered. Filter
expression is case-sensitive. This will be used to filter search results which
may affect the summary response. If this field is unrecognizable, an
INVALID_ARGUMENT is returned. Filtering in Vertex AI Search is done by
mapping the LHS filter key to a key property defined in the Vertex AI Search
backend -- this mapping is defined by the customer in their schema. For
example a media customer might have a field 'name' in their schema. In this
case the filter would look like this: filter --> name:'ANY("king kong")' For
more information about filtering including syntax and filter operators, see
Filter
Corresponds to the JSON property filter
5037 5038 5039 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5037 def filter @filter end |
#query ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTextInput
Defines text input.
Corresponds to the JSON property query
5042 5043 5044 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5042 def query @query end |
#safe_search ⇒ Boolean Also known as: safe_search?
Whether to turn on safe search.
Corresponds to the JSON property safeSearch
5047 5048 5049 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5047 def safe_search @safe_search end |
#serving_config ⇒ String
The resource name of the Serving Config to use. Format: projects/
project_number/locations/location_id/collections/collection/dataStores/
data_store_id/servingConfigs/serving_config_id`If this is not set, the
default serving config will be used.
Corresponds to the JSON propertyservingConfig`
5056 5057 5058 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5056 def serving_config @serving_config end |
#summary_spec ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec
A specification for configuring a summary returned in a search response.
Corresponds to the JSON property summarySpec
5061 5062 5063 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5061 def summary_spec @summary_spec end |
#user_labels ⇒ Hash<String,String>
The user labels applied to a resource must meet the following requirements: *
Each resource can have multiple labels, up to a maximum of 64. * Each label
must be a key-value pair. * Keys have a minimum length of 1 character and a
maximum length of 63 characters and cannot be empty. Values can be empty and
have a maximum length of 63 characters. * Keys and values can contain only
lowercase letters, numeric characters, underscores, and dashes. All characters
must use UTF-8 encoding, and international characters are allowed. * The key
portion of a label must be unique. However, you can use the same key with
multiple resources. * Keys must start with a lowercase letter or international
character. See Google Cloud Document for more details.
Corresponds to the JSON property userLabels
5076 5077 5078 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5076 def user_labels @user_labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5083 def update!(**args) @boost_spec = args[:boost_spec] if args.key?(:boost_spec) @conversation = args[:conversation] if args.key?(:conversation) @filter = args[:filter] if args.key?(:filter) @query = args[:query] if args.key?(:query) @safe_search = args[:safe_search] if args.key?(:safe_search) @serving_config = args[:serving_config] if args.key?(:serving_config) @summary_spec = args[:summary_spec] if args.key?(:summary_spec) @user_labels = args[:user_labels] if args.key?(:user_labels) end |