NAME
Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticCardPrompt - Compiled Protocol Buffers messages for google/actions/sdk/v2/interactionmodel/prompt/content/static_card_prompt.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticCardPrompt;
my $msg = Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticCardPrompt::StaticCardPrompt->new({
title => $title,
subtitle => $subtitle,
text => $text,
image => $image,
});
# Read or update a field
my $val = $msg->title();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticCardPrompt::StaticCardPrompt->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/interactionmodel/prompt/content/static_card_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::StaticCardPrompt::StaticCardPrompt
A basic card for displaying some information, e.g. an image and/or text.
Inherits from Protobuf::Message.
Accessors
$msg->title()/$msg->title($value)Type:
StringOptional. Overall title of the card.
$msg->subtitle()/$msg->subtitle($value)Type:
StringOptional. Subtitle of the card.
$msg->text()/$msg->text($value)Type:
StringRequired. Body text of the card which is needed unless image is present. Supports a limited set of markdown syntax for formatting.
$msg->image()/$msg->image($value)Type:
Message(Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticImagePrompt::StaticImagePrompt)Optional. A hero image for the card. The height is fixed to 192dp.
$msg->image_fill()/$msg->image_fill($value)Type:
Enum(Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticImagePrompt::ImageFill)Optional. How the image background will be filled.
$msg->button()/$msg->button($value)Type:
Message(Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticLinkPrompt::StaticLinkPrompt)Optional. A clickable button to be shown in the Card.
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticCardPrompt::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.