NAME
Google::Actions::Sdk::V2::Conversation::Collection - Compiled Protocol Buffers messages for google/actions/sdk/v2/conversation/prompt/content/collection.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Conversation::Collection;
my $msg = Google::Actions::Sdk::V2::Conversation::Collection::Collection->new({
title => $title,
subtitle => $subtitle,
items => $items,
image_fill => $image_fill,
});
# Read or update a field
my $val = $msg->title();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Conversation::Collection::Collection->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/conversation/prompt/content/collection.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::Collection::Collection
A card for presenting a collection of options to select from.
Inherits from Protobuf::Message.
Accessors
$msg->title()/$msg->title($value)Type:
StringTitle of the collection. Optional.
$msg->subtitle()/$msg->subtitle($value)Type:
StringSubtitle of the collection. Optional.
$msg->items()/$msg->items($value)Type:
Message(Google::Actions::Sdk::V2::Conversation::Collection::Collection::CollectionItem)min: 2 max: 10
$msg->image_fill()/$msg->image_fill($value)Type:
Enum(Google::Actions::Sdk::V2::Conversation::Image::ImageFill)How the image backgrounds of collection items will be filled. Optional.
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Conversation::Collection::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.