NAME
Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt - Compiled Protocol Buffers messages for google/actions/sdk/v2/interactionmodel/prompt/content/static_media_prompt.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt;
my $msg = Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::StaticMediaPrompt->new({
media_type => $media_type,
start_offset => $start_offset,
optional_media_controls => $optional_media_controls,
media_objects => $media_objects,
});
# Read or update a field
my $val = $msg->media_type();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::StaticMediaPrompt->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_media_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::StaticMediaPrompt::StaticMediaPrompt
Contains information about the media, such as name, description, url, etc. Next id: 11
Inherits from Protobuf::Message.
Accessors
$msg->media_type()/$msg->media_type($value)Type:
Enum(Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::MediaType)Media type of this response.
$msg->start_offset()/$msg->start_offset($value)Type:
Message(Google::Protobuf::Duration::Duration)Start offset of the first media object.
$msg->optional_media_controls()/$msg->optional_media_controls($value)Type:
Enum(Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::OptionalMediaControls)Optional media control types this media response session can support. If set, request will be made to 3p when a certain media event happens. If not set, 3p must still handle two default control type, FINISHED and FAILED.
$msg->media_objects()/$msg->media_objects($value)Type:
Message(Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::MediaObject)List of media objects.
$msg->repeat_mode()/$msg->repeat_mode($value)Type:
Enum(Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::RepeatMode)Repeat mode for the list of Media Objects.
Enum: StaticMediaPrompt::MediaType
MEDIA_TYPE_UNSPECIFIED=>0AUDIO=>1MEDIA_STATUS_ACK=>2
Enum: StaticMediaPrompt::OptionalMediaControls
OPTIONAL_MEDIA_CONTROLS_UNSPECIFIED=>0PAUSED=>1STOPPED=>2
Enum: StaticMediaPrompt::RepeatMode
REPEAT_MODE_UNSPECIFIED=>0OFF=>1ALL=>2
Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::MediaObject
Represents a single media object.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringName of this media object.
$msg->description()/$msg->description($value)Type:
StringDescription of this media object.
$msg->url()/$msg->url($value)Type:
StringThe url pointing to the media content.
$msg->image()/$msg->image($value)Type:
Message(Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::MediaImage)Image to show with the media card.
Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::MediaImage
Image to be shown inside a MediaPrompt.
Inherits from Protobuf::Message.
Accessors
$msg->large()/$msg->large($value)Type:
Message(Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticImagePrompt::StaticImagePrompt)A large image, such as the cover of the album, etc.
$msg->icon()/$msg->icon($value)Type:
Message(Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticImagePrompt::StaticImagePrompt)A small image icon displayed on the right from the title. It's resized to 36x36 dp.
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticMediaPrompt::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.