NAME
Google::Cloud::Dialogflow::V2::ConversationEvent - Compiled Protocol Buffers messages for google/cloud/dialogflow/v2/conversation_event.proto
SYNOPSIS
use Google::Cloud::Dialogflow::V2::ConversationEvent;
my $msg = Google::Cloud::Dialogflow::V2::ConversationEvent::ConversationEvent->new({
conversation => $conversation,
type => $type,
error_status => $error_status,
new_message_payload => $new_message_payload,
});
# Read or update a field
my $val = $msg->conversation();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::V2::ConversationEvent::ConversationEvent->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/v2/conversation_event.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::Dialogflow::V2::ConversationEvent::ConversationEvent
Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.
Inherits from Protobuf::Message.
Accessors
$msg->conversation()/$msg->conversation($value)Type:
StringThe unique identifier of the conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Dialogflow::V2::ConversationEvent::Type)The type of the event that this notification refers to.
$msg->error_status()/$msg->error_status($value)Type:
Message(Google::Rpc::Status::Status)More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
$msg->new_message_payload()/$msg->new_message_payload($value)Type:
Message(Google::Cloud::Dialogflow::V2::Participant::Message)Payload of NEW_MESSAGE event.
$msg->new_recognition_result_payload()/$msg->new_recognition_result_payload($value)Type:
Message(Google::Cloud::Dialogflow::V2::Session::StreamingRecognitionResult)Payload of NEW_RECOGNITION_RESULT event.
Enum: ConversationEvent::Type
TYPE_UNSPECIFIED=>0CONVERSATION_STARTED=>1CONVERSATION_FINISHED=>2HUMAN_INTERVENTION_NEEDED=>3NEW_MESSAGE=>5NEW_RECOGNITION_RESULT=>7UNRECOVERABLE_ERROR=>4
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::V2::ConversationEvent::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.