NAME
Google::Actions::Sdk::V2::Conversation::Card - Compiled Protocol Buffers messages for google/actions/sdk/v2/conversation/prompt/content/card.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Conversation::Card;
my $msg = Google::Actions::Sdk::V2::Conversation::Card::Card->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::Conversation::Card::Card->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/conversation/prompt/content/card.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::Card::Card
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:
StringOverall title of the card. Optional.
$msg->subtitle()/$msg->subtitle($value)Type:
StringOptional.
$msg->text()/$msg->text($value)Type:
StringBody text of the card. Supports a limited set of markdown syntax for formatting. Required, unless image is present.
$msg->image()/$msg->image($value)Type:
Message(Google::Actions::Sdk::V2::Conversation::Image::Image)A hero image for the card. The height is fixed to 192dp. Optional.
$msg->image_fill()/$msg->image_fill($value)Type:
Enum(Google::Actions::Sdk::V2::Conversation::Image::ImageFill)How the image background will be filled. Optional.
$msg->button()/$msg->button($value)Type:
Message(Google::Actions::Sdk::V2::Conversation::Link::Link)Button. Optional.
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Conversation::Card::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.