NAME

Google::Cloud::Discoveryengine::V1::Conversation - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/conversation.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1::Conversation;

my $msg = Google::Cloud::Discoveryengine::V1::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::V1::Conversation::Conversation->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/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::V1::Conversation::Conversation

External conversation proto definition.

Inherits from Protobuf::Message.

Accessors

Enum: Conversation::State

  • STATE_UNSPECIFIED => 0

  • IN_PROGRESS => 1

  • COMPLETED => 2

Google::Cloud::Discoveryengine::V1::Conversation::Reply

Defines a reply message to user.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Discoveryengine::V1::Conversation::ConversationContext

Defines context of the conversation

Inherits from Protobuf::Message.

Accessors

  • $msg->context_documents() / $msg->context_documents($value)

    Type: String

    The current list of documents the user is seeing. It contains the document resource references.

  • $msg->active_document() / $msg->active_document($value)

    Type: String

    The current active document the user opened. It contains the document resource reference.

Google::Cloud::Discoveryengine::V1::Conversation::TextInput

Defines text input.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Discoveryengine::V1::Conversation::ConversationMessage

Defines a conversation message.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::Conversation::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.