NAME
Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticPrompt - Compiled Protocol Buffers messages for google/actions/sdk/v2/interactionmodel/prompt/static_prompt.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticPrompt;
my $msg = Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticPrompt::StaticPrompt->new({
candidates => $candidates,
});
# Read or update a field
my $val = $msg->candidates();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticPrompt::StaticPrompt->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/interactionmodel/prompt/static_prompt.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::Prompt::StaticPrompt::StaticPrompt
Represents a list of prompt candidates, one of which will be selected as the prompt to be shown in the response to the user. This message is localizable.
Inherits from Protobuf::Message.
Accessors
$msg->candidates()/$msg->candidates($value)Type:
Message(Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticPrompt::StaticPrompt::StaticPromptCandidate)The list of candidate prompts to be sent to the client. Each prompt has a selector to determine when it can be used. The first selector that matches a request will be sent and the rest will be ignored.
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticPrompt::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.