Class: Google::Cloud::DiscoveryEngine::V1::ConverseConversationRequest
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::ConverseConversationRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb
Overview
Request message for ConversationalSearchService.ConverseConversation method.
Defined Under Namespace
Classes: UserLabelsEntry
Instance Attribute Summary collapse
-
#conversation ⇒ ::Google::Cloud::DiscoveryEngine::V1::Conversation
The conversation to be used by auto session only.
-
#name ⇒ ::String
Required.
-
#query ⇒ ::Google::Cloud::DiscoveryEngine::V1::TextInput
Required.
-
#safe_search ⇒ ::Boolean
Whether to turn on safe search.
-
#serving_config ⇒ ::String
The resource name of the Serving Config to use.
-
#summary_spec ⇒ ::Google::Cloud::DiscoveryEngine::V1::SearchRequest::ContentSearchSpec::SummarySpec
A specification for configuring the summary returned in the response.
-
#user_labels ⇒ ::Google::Protobuf::Map{::String => ::String}
The user labels applied to a resource must meet the following requirements:.
Instance Attribute Details
#conversation ⇒ ::Google::Cloud::DiscoveryEngine::V1::Conversation
Returns The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session.
73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 73 class ConverseConversationRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class UserLabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String
Returns Required. The resource name of the Conversation to get. Format:
projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}
.
Use
projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-
to activate auto session mode, which automatically creates a new
conversation inside a ConverseConversation session.
73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 73 class ConverseConversationRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class UserLabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#query ⇒ ::Google::Cloud::DiscoveryEngine::V1::TextInput
Returns Required. Current user input.
73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 73 class ConverseConversationRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class UserLabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#safe_search ⇒ ::Boolean
Returns Whether to turn on safe search.
73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 73 class ConverseConversationRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class UserLabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#serving_config ⇒ ::String
Returns 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.
73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 73 class ConverseConversationRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class UserLabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#summary_spec ⇒ ::Google::Cloud::DiscoveryEngine::V1::SearchRequest::ContentSearchSpec::SummarySpec
Returns A specification for configuring the summary returned in the response.
73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 73 class ConverseConversationRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class UserLabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#user_labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns 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.
73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 73 class ConverseConversationRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class UserLabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |