NAME
Google::Actions::Sdk::V2::ThemeCustomization - Compiled Protocol Buffers messages for google/actions/sdk/v2/theme_customization.proto
SYNOPSIS
use Google::Actions::Sdk::V2::ThemeCustomization;
my $msg = Google::Actions::Sdk::V2::ThemeCustomization::ThemeCustomization->new({
background_color => $background_color,
primary_color => $primary_color,
font_family => $font_family,
image_corner_style => $image_corner_style,
});
# Read or update a field
my $val = $msg->background_color();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::ThemeCustomization::ThemeCustomization->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/theme_customization.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::ThemeCustomization::ThemeCustomization
Styles applied to cards that are presented to users
Inherits from Protobuf::Message.
Accessors
$msg->background_color()/$msg->background_color($value)Type:
StringBackground color of cards. Acts as a fallback if `background_image` is not provided by developers or `background_image` doesn't fit for certain surfaces. Example usage: #FAFAFA
$msg->primary_color()/$msg->primary_color($value)Type:
StringPrimary theme color of the Action will be used to set text color of title, action item background color for Actions on Google cards. Example usage: #FAFAFA
$msg->font_family()/$msg->font_family($value)Type:
StringThe font family that will be used for title of cards. Supported fonts: - Sans Serif - Sans Serif Medium - Sans Serif Bold - Sans Serif Black - Sans Serif Condensed - Sans Serif Condensed Medium - Serif - Serif Bold - Monospace - Cursive - Sans Serif Smallcaps
$msg->image_corner_style()/$msg->image_corner_style($value)Type:
Enum(Google::Actions::Sdk::V2::ThemeCustomization::ImageCornerStyle)Border style of foreground image of cards. For example, can be applied on the foreground image of a basic card or carousel card.
$msg->landscape_background_image()/$msg->landscape_background_image($value)Type:
StringLandscape mode (minimum 1920x1200 pixels). This should be specified as a reference to the corresponding image in the `resources/images/` directory. Eg: `$resources.images.foo` (without the extension) for image in `resources/images/foo.jpg` When working on a project pulled from Console the Google managed url pulled could be used.
$msg->portrait_background_image()/$msg->portrait_background_image($value)Type:
StringPortrait mode (minimum 1200x1920 pixels). This should be specified as a reference to the corresponding image in the `resources/images/` directory. Eg: `$resources.images.foo` (without the extension) for image in `resources/images/foo.jpg` When working on a project pulled from Console the Google managed url pulled could be used.
Enum: ThemeCustomization::ImageCornerStyle
IMAGE_CORNER_STYLE_UNSPECIFIED=>0CURVED=>1ANGLED=>2
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::ThemeCustomization::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.