NAME
Google::Actions::Sdk::V2::Interactionmodel::EventHandler - Compiled Protocol Buffers messages for google/actions/sdk/v2/interactionmodel/event_handler.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Interactionmodel::EventHandler;
my $msg = Google::Actions::Sdk::V2::Interactionmodel::EventHandler::EventHandler->new({
webhook_handler => $webhook_handler,
static_prompt => $static_prompt,
static_prompt_name => $static_prompt_name,
});
# Read or update a field
my $val = $msg->webhook_handler();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Interactionmodel::EventHandler::EventHandler->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/interactionmodel/event_handler.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::EventHandler::EventHandler
Defines a handler to be executed after an event. Examples of events are intent and condition based events in a scene.
Inherits from Protobuf::Message.
Accessors
$msg->webhook_handler()/$msg->webhook_handler($value)Type:
StringName of the webhook handler to call.
$msg->static_prompt()/$msg->static_prompt($value)Type:
Message(Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticPrompt::StaticPrompt)Inlined static prompt. Can contain references to string resources in bundles.
$msg->static_prompt_name()/$msg->static_prompt_name($value)Type:
StringName of the static prompt to invoke.
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Interactionmodel::EventHandler::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.