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

Enum: ConversationEvent::Type

  • TYPE_UNSPECIFIED => 0

  • CONVERSATION_STARTED => 1

  • CONVERSATION_FINISHED => 2

  • HUMAN_INTERVENTION_NEEDED => 3

  • NEW_MESSAGE => 5

  • NEW_RECOGNITION_RESULT => 7

  • UNRECOVERABLE_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.