NAME
Google::Cloud::Discoveryengine::V1beta::Conversation - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1beta/conversation.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1beta::Conversation;
my $msg = Google::Cloud::Discoveryengine::V1beta::Conversation::Conversation->new({
name => $name,
state => $state,
user_pseudo_id => $user_pseudo_id,
messages => $messages,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1beta::Conversation::Conversation->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/conversation.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Discoveryengine::V1beta::Conversation::Conversation
External conversation proto definition.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Discoveryengine::V1beta::Conversation::State)The state of the Conversation.
$msg->user_pseudo_id()/$msg->user_pseudo_id($value)Type:
StringA unique identifier for tracking users.
$msg->messages()/$msg->messages($value)Type:
Message(Google::Cloud::Discoveryengine::V1beta::Conversation::ConversationMessage)Conversation messages.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the conversation started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the conversation finished.
Enum: Conversation::State
STATE_UNSPECIFIED=>0IN_PROGRESS=>1COMPLETED=>2
Google::Cloud::Discoveryengine::V1beta::Conversation::Reply
Defines a reply message to user.
Inherits from Protobuf::Message.
Accessors
$msg->reply()/$msg->reply($value)Type:
StringDEPRECATED: use `summary` instead. Text reply.
$msg->references()/$msg->references($value)Type:
Message(Google::Cloud::Discoveryengine::V1beta::Conversation::Reply::Reference)References in the reply.
$msg->summary()/$msg->summary($value)Type:
Message(Google::Cloud::Discoveryengine::V1beta::SearchService::SearchResponse::Summary)Summary based on search results.
Google::Cloud::Discoveryengine::V1beta::Conversation::ConversationContext
Defines context of the conversation
Inherits from Protobuf::Message.
Accessors
$msg->context_documents()/$msg->context_documents($value)Type:
StringThe current list of documents the user is seeing. It contains the document resource references.
$msg->active_document()/$msg->active_document($value)Type:
StringThe current active document the user opened. It contains the document resource reference.
Google::Cloud::Discoveryengine::V1beta::Conversation::TextInput
Defines text input.
Inherits from Protobuf::Message.
Accessors
$msg->input()/$msg->input($value)Type:
StringText input.
$msg->context()/$msg->context($value)Type:
Message(Google::Cloud::Discoveryengine::V1beta::Conversation::ConversationContext)Conversation context of the input.
Google::Cloud::Discoveryengine::V1beta::Conversation::ConversationMessage
Defines a conversation message.
Inherits from Protobuf::Message.
Accessors
$msg->user_input()/$msg->user_input($value)Type:
Message(Google::Cloud::Discoveryengine::V1beta::Conversation::TextInput)User text input.
$msg->reply()/$msg->reply($value)Type:
Message(Google::Cloud::Discoveryengine::V1beta::Conversation::Reply)Search reply.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Message creation timestamp.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1beta::Conversation::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.