NAME
Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticImagePrompt - Compiled Protocol Buffers messages for google/actions/sdk/v2/interactionmodel/prompt/content/static_image_prompt.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticImagePrompt;
my $msg = Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticImagePrompt::StaticImagePrompt->new({
url => $url,
alt => $alt,
height => $height,
width => $width,
});
# Read or update a field
my $val = $msg->url();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticImagePrompt::StaticImagePrompt->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_image_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::StaticImagePrompt::StaticImagePrompt
An image displayed in the card.
Inherits from Protobuf::Message.
Accessors
$msg->url()/$msg->url($value)Type:
StringRequired. The source url of the image. Images can be JPG, PNG and GIF (animated and non-animated). For example,`https://www.agentx.com/logo.png`.
$msg->alt()/$msg->alt($value)Type:
StringRequired. A text description of the image to be used for accessibility, e.g. screen readers.
$msg->height()/$msg->height($value)Type:
Int32Optional. The height of the image in pixels.
$msg->width()/$msg->width($value)Type:
Int32Optional. The width of the image in pixels.
Enum: StaticImagePrompt::ImageFill
UNSPECIFIED=>0GRAY=>1WHITE=>2CROPPED=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticImagePrompt::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.