Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::Conversation.
External conversation proto definition.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time the conversation finished.
#messages
def messages() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::ConversationMessage>
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1::ConversationMessage>) — Conversation messages.
#messages=
def messages=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::ConversationMessage>
Parameter
- value (::Array<::Google::Cloud::DiscoveryEngine::V1::ConversationMessage>) — Conversation messages.
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1::ConversationMessage>) — Conversation messages.
#name
def name() -> ::String
Returns
-
(::String) — Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
orproject/*/locations/global/collections/{collection}/engines/*/conversations/*
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
orproject/*/locations/global/collections/{collection}/engines/*/conversations/*
.
Returns
-
(::String) — Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
orproject/*/locations/global/collections/{collection}/engines/*/conversations/*
.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time the conversation started.
#state
def state() -> ::Google::Cloud::DiscoveryEngine::V1::Conversation::State
Returns
- (::Google::Cloud::DiscoveryEngine::V1::Conversation::State) — The state of the Conversation.
#state=
def state=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Conversation::State
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1::Conversation::State) — The state of the Conversation.
Returns
- (::Google::Cloud::DiscoveryEngine::V1::Conversation::State) — The state of the Conversation.
#user_pseudo_id
def user_pseudo_id() -> ::String
Returns
- (::String) — A unique identifier for tracking users.
#user_pseudo_id=
def user_pseudo_id=(value) -> ::String
Parameter
- value (::String) — A unique identifier for tracking users.
Returns
- (::String) — A unique identifier for tracking users.