NAME
Google::Actions::Sdk::V2::Interactionmodel::IntentEvent - Compiled Protocol Buffers messages for google/actions/sdk/v2/interactionmodel/intent_event.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Interactionmodel::IntentEvent;
my $msg = Google::Actions::Sdk::V2::Interactionmodel::IntentEvent::IntentEvent->new({
intent => $intent,
transition_to_scene => $transition_to_scene,
handler => $handler,
});
# Read or update a field
my $val = $msg->intent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Interactionmodel::IntentEvent::IntentEvent->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/interactionmodel/intent_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::Actions::Sdk::V2::Interactionmodel::IntentEvent::IntentEvent
Registers Events which trigger as the result of an intent match.
Inherits from Protobuf::Message.
Accessors
$msg->intent()/$msg->intent($value)Type:
StringRequired. Intent triggering the event.
$msg->transition_to_scene()/$msg->transition_to_scene($value)Type:
StringOptional. Destination scene which the conversation should jump to. The state of the current scene is destroyed on the transition.
$msg->handler()/$msg->handler($value)Type:
Message(Google::Actions::Sdk::V2::Interactionmodel::EventHandler::EventHandler)Optional. Event handler which is triggered when the intent is matched. Should execute before transitioning to the destination scene. Useful to generate prompts in response to events.
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Interactionmodel::IntentEvent::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.