NAME
Google::Actions::Sdk::V2::Conversation::Simple - Compiled Protocol Buffers messages for google/actions/sdk/v2/conversation/prompt/simple.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Conversation::Simple;
my $msg = Google::Actions::Sdk::V2::Conversation::Simple::Simple->new({
speech => $speech,
text => $text,
});
# Read or update a field
my $val = $msg->speech();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Conversation::Simple::Simple->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/conversation/prompt/simple.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::Conversation::Simple::Simple
Represents a simple prompt to be send to a user.
Inherits from Protobuf::Message.
Accessors
$msg->speech()/$msg->speech($value)Type:
StringOptional. Represents the speech to be spoken to the user. Can be SSML or text to speech. If the "override" field in the containing prompt is "true", the speech defined in this field replaces the previous Simple prompt's speech.
$msg->text()/$msg->text($value)Type:
StringOptional text to display in the chat bubble. If not given, a display rendering of the speech field above will be used. Limited to 640 chars. If the "override" field in the containing prompt is "true", the text defined in this field replaces to the previous Simple prompt's text.
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Conversation::Simple::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.